Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to follow Datadog OSS standards #1

Merged
merged 3 commits into from
Jul 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
101 changes: 101 additions & 0 deletions LICENSE-3rdparty.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
Component,Origin,License,Copyright
github.com/DataDog/temporal-worker-controller,,MIT,
github.com/beorn7/perks/quantile,https://github.com/beorn7/perks,MIT,Blake Mizerany
github.com/cespare/xxhash/v2,https://github.com/cespare/xxhash,MIT,Caleb Spare
github.com/davecgh/go-spew/spew,https://github.com/davecgh/go-spew,ISC,Dave Collins <[email protected]>
github.com/emicklei/go-restful/v3,https://github.com/emicklei/go-restful,MIT,Ernest Micklei
github.com/emirpasic/gods,https://github.com/emirpasic/gods,BSD-2-Clause,Emir Pasic
github.com/evanphx/json-patch/v5,https://github.com/evanphx/json-patch,BSD-3-Clause,Evan Phoenix
github.com/facebookgo/clock,https://github.com/facebookgo/clock,MIT,Ben Johnson
github.com/fsnotify/fsnotify,https://github.com/fsnotify/fsnotify,BSD-3-Clause,The Go Authors
github.com/go-logr/logr,https://github.com/go-logr/logr,Apache-2.0,
github.com/go-logr/zapr,https://github.com/go-logr/zapr,Apache-2.0,
github.com/go-openapi/jsonpointer,https://github.com/go-openapi/jsonpointer,Apache-2.0,
github.com/go-openapi/jsonreference,https://github.com/go-openapi/jsonreference,Apache-2.0,
github.com/go-openapi/swag,https://github.com/go-openapi/swag,Apache-2.0,
github.com/gogo/googleapis/google/rpc,https://github.com/gogo/googleapis,Apache-2.0,Google Inc
github.com/gogo/protobuf,https://github.com/gogo/protobuf,BSD-3-Clause,The GoGo Authors
github.com/gogo/status,https://github.com/gogo/status,Apache-2.0,gRPC authors
github.com/golang/glog,https://github.com/golang/glog,Apache-2.0,Google Inc
github.com/golang/groupcache/lru,https://github.com/golang/groupcache,Apache-2.0,
github.com/golang/mock/gomock,https://github.com/golang/mock,Apache-2.0,Google Inc
github.com/golang/protobuf,https://github.com/golang/protobuf,BSD-3-Clause,The Go Authors
github.com/google/gnostic-models,https://github.com/google/gnostic-models,Apache-2.0,Google LLC
github.com/google/go-cmp/cmp,https://github.com/google/go-cmp,BSD-3-Clause,The Go Authors
github.com/google/go-licenses/licenses,https://github.com/google/go-licenses,Apache-2.0,Google Inc
github.com/google/gofuzz,https://github.com/google/gofuzz,Apache-2.0,Google Inc
github.com/google/licenseclassifier,https://github.com/google/licenseclassifier,Apache-2.0,
github.com/google/licenseclassifier/stringclassifier,https://github.com/google/licenseclassifier,Apache-2.0,
github.com/google/uuid,https://github.com/google/uuid,BSD-3-Clause,Google Inc.
github.com/grpc-ecosystem/go-grpc-middleware,https://github.com/grpc-ecosystem/go-grpc-middleware,Apache-2.0,
github.com/grpc-ecosystem/grpc-gateway,https://github.com/grpc-ecosystem/grpc-gateway,BSD-3-Clause,"Gengo, Inc."
github.com/imdario/mergo,https://github.com/imdario/mergo,BSD-3-Clause,Dario Castañé
github.com/jbenet/go-context/io,https://github.com/jbenet/go-context,MIT,Juan Batiz-Benet
github.com/josharian/intern,https://github.com/josharian/intern,MIT,Josh Bleecher Snyder
github.com/json-iterator/go,https://github.com/json-iterator/go,MIT,json-iterator
github.com/kevinburke/ssh_config,https://github.com/kevinburke/ssh_config,MIT,Kevin Burke
github.com/mailru/easyjson,https://github.com/mailru/easyjson,MIT,Mail.Ru Group
github.com/matttproud/golang_protobuf_extensions/v2/pbutil,https://github.com/matttproud/golang_protobuf_extensions,Apache-2.0,Matt T. Proud
github.com/mitchellh/go-homedir,https://github.com/mitchellh/go-homedir,MIT,Mitchell Hashimoto
github.com/modern-go/concurrent,https://github.com/modern-go/concurrent,Apache-2.0,
github.com/modern-go/reflect2,https://github.com/modern-go/reflect2,Apache-2.0,
github.com/munnerz/goautoneg,https://github.com/munnerz/goautoneg,BSD-3-Clause,Open Knowledge Foundation Ltd
github.com/pborman/uuid,https://github.com/pborman/uuid,BSD-3-Clause,Google Inc.
github.com/pkg/errors,https://github.com/pkg/errors,BSD-2-Clause,Dave Cheney <[email protected]>
github.com/pmezard/go-difflib/difflib,https://github.com/pmezard/go-difflib,BSD-3-Clause,Patrick Mezard
github.com/prometheus/client_golang/prometheus,https://github.com/prometheus/client_golang,Apache-2.0,The Prometheus Authors
github.com/prometheus/client_model/go,https://github.com/prometheus/client_model,Apache-2.0,The Prometheus Authors
github.com/prometheus/common,https://github.com/prometheus/common,Apache-2.0,The Prometheus Authors
github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg,https://github.com/prometheus/common,BSD-3-Clause,Open Knowledge Foundation Ltd
github.com/prometheus/procfs,https://github.com/prometheus/procfs,Apache-2.0,The Prometheus Authors
github.com/robfig/cron,https://github.com/robfig/cron,MIT,Rob Figueiredo
github.com/sergi/go-diff/diffmatchpatch,https://github.com/sergi/go-diff,MIT,The go-diff Authors
github.com/spf13/pflag,https://github.com/spf13/pflag,BSD-3-Clause,Alex Ogier
github.com/src-d/gcfg,https://github.com/src-d/gcfg,BSD-3-Clause,Péter Surányi. Portions Copyright (c) 2009 The Go
github.com/stretchr/objx,https://github.com/stretchr/objx,MIT,"Stretchr, Inc."
github.com/stretchr/testify,https://github.com/stretchr/testify,MIT,"Mat Ryer, Tyler Bunnell and contributors"
github.com/xanzy/ssh-agent,https://github.com/xanzy/ssh-agent,Apache-2.0,
go.temporal.io/api,,MIT,Temporal Technologies Inc.
go.temporal.io/sdk,,MIT,Temporal Technologies Inc.
go.uber.org/atomic,,MIT,"Uber Technologies, Inc."
go.uber.org/multierr,,MIT,"Uber Technologies, Inc."
go.uber.org/zap,,MIT,"Uber Technologies, Inc."
golang.org/x/crypto,,BSD-3-Clause,The Go Authors
golang.org/x/exp,,BSD-3-Clause,The Go Authors
golang.org/x/mod/semver,,BSD-3-Clause,The Go Authors
golang.org/x/net,,BSD-3-Clause,The Go Authors
golang.org/x/oauth2,,BSD-3-Clause,The Go Authors
golang.org/x/sys/unix,,BSD-3-Clause,The Go Authors
golang.org/x/term,,BSD-3-Clause,The Go Authors
golang.org/x/text,,BSD-3-Clause,The Go Authors
golang.org/x/time/rate,,BSD-3-Clause,The Go Authors
golang.org/x/tools,,BSD-3-Clause,The Go Authors
gomodules.xyz/jsonpatch/v2,,Apache-2.0,
google.golang.org/genproto/googleapis/api,,Apache-2.0,
google.golang.org/genproto/googleapis/rpc/status,,Apache-2.0,
google.golang.org/genproto/protobuf/field_mask,,Apache-2.0,
google.golang.org/grpc,,Apache-2.0,
google.golang.org/protobuf,,BSD-3-Clause,The Go Authors
gopkg.in/inf.v0,,BSD-3-Clause,Péter Surányi. Portions Copyright (c) 2009 The Go
gopkg.in/src-d/go-billy.v4,,Apache-2.0,Sourced Technologies S.L
gopkg.in/src-d/go-git.v4,,Apache-2.0,"Sourced Technologies, S.L"
gopkg.in/warnings.v0,,BSD-2-Clause,Péter Surányi
gopkg.in/yaml.v2,,Apache-2.0,
gopkg.in/yaml.v3,,MIT,Kirill Simonov
k8s.io/api,,Apache-2.0,
k8s.io/apiextensions-apiserver/pkg/apis/apiextensions,,Apache-2.0,
k8s.io/apimachinery/pkg,,Apache-2.0,
k8s.io/apimachinery/third_party/forked/golang,,BSD-3-Clause,The Go Authors
k8s.io/client-go,,Apache-2.0,
k8s.io/component-base/config,,Apache-2.0,
k8s.io/klog/v2,,Apache-2.0,
k8s.io/kube-openapi/pkg,,Apache-2.0,
k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json,,BSD-3-Clause,The Go Authors
k8s.io/kube-openapi/pkg/validation/spec,,Apache-2.0,
k8s.io/utils,,Apache-2.0,
k8s.io/utils/internal/third_party/forked/golang/net,,BSD-3-Clause,The Go Authors
sigs.k8s.io/controller-runtime,,Apache-2.0,
sigs.k8s.io/json,,Apache-2.0,The Go Authors
sigs.k8s.io/structured-merge-diff/v4,,Apache-2.0,
sigs.k8s.io/yaml,,Apache-2.0,Sam Ghods
sigs.k8s.io/yaml/goyaml.v2,,Apache-2.0,
4 changes: 4 additions & 0 deletions api/v1alpha1/groupversion_info.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Unless explicitly stated otherwise all files in this repository are licensed under the MIT License.
//
// This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2024 Datadog, Inc.

// Package v1alpha1 contains API Schema definitions for the temporal.io v1alpha1 API group
// +kubebuilder:object:generate=true
// +groupName=temporal.io
Expand Down
4 changes: 4 additions & 0 deletions api/v1alpha1/worker_types.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Unless explicitly stated otherwise all files in this repository are licensed under the MIT License.
//
// This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2024 Datadog, Inc.

package v1alpha1

import (
Expand Down
4 changes: 4 additions & 0 deletions api/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions cmd/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Unless explicitly stated otherwise all files in this repository are licensed under the MIT License.
//
// This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2024 Datadog, Inc.

package main

import (
Expand All @@ -18,8 +22,8 @@ import (

"go.temporal.io/sdk/client"

temporaliov1alpha1 "github.com/temporalio/worker-controller/api/v1alpha1"
"github.com/temporalio/worker-controller/internal/controller"
temporaliov1alpha1 "github.com/DataDog/temporal-worker-controller/api/v1alpha1"
"github.com/DataDog/temporal-worker-controller/internal/controller"
//+kubebuilder:scaffold:imports
)

Expand Down
6 changes: 6 additions & 0 deletions config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
resources:
- manager.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
images:
- name: controller
newName: controller
newTag: latest
21 changes: 18 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
module github.com/temporalio/worker-controller
module github.com/DataDog/temporal-worker-controller

go 1.20
go 1.22

require (
github.com/davecgh/go-spew v1.1.1
github.com/go-logr/logr v1.3.0
github.com/google/go-licenses v0.0.0-20210816172045-3099c18c36e1
github.com/google/licenseclassifier v0.0.0-20210722185704-3043a050f148
github.com/onsi/ginkgo/v2 v2.11.0
github.com/onsi/gomega v1.27.10
github.com/stretchr/testify v1.8.4
go.temporal.io/api v1.26.0
go.temporal.io/sdk v1.25.1
golang.org/x/exp v0.0.0-20231127185646-65229373498e
k8s.io/api v0.28.4
k8s.io/apimachinery v0.28.4
k8s.io/client-go v0.28.4
Expand All @@ -20,6 +23,7 @@ require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
github.com/emirpasic/gods v1.12.0 // indirect
github.com/evanphx/json-patch/v5 v5.7.0 // indirect
github.com/facebookgo/clock v0.0.0-20150410010913-600d898af40a // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
Expand All @@ -31,6 +35,7 @@ require (
github.com/gogo/googleapis v1.4.1 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/gogo/status v1.1.1 // indirect
github.com/golang/glog v1.1.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/mock v1.6.0 // indirect
github.com/golang/protobuf v1.5.3 // indirect
Expand All @@ -42,10 +47,13 @@ require (
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 // indirect
github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect
github.com/imdario/mergo v0.3.16 // indirect
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 // indirect
github.com/mitchellh/go-homedir v1.1.0 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
Expand All @@ -57,12 +65,16 @@ require (
github.com/prometheus/common v0.45.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
github.com/robfig/cron v1.2.0 // indirect
github.com/sergi/go-diff v1.2.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/src-d/gcfg v1.4.0 // indirect
github.com/stretchr/objx v0.5.0 // indirect
github.com/xanzy/ssh-agent v0.2.1 // indirect
go.uber.org/atomic v1.10.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.25.0 // indirect
golang.org/x/exp v0.0.0-20231127185646-65229373498e // indirect
golang.org/x/crypto v0.16.0 // indirect
golang.org/x/mod v0.14.0 // indirect
golang.org/x/net v0.19.0 // indirect
golang.org/x/oauth2 v0.15.0 // indirect
golang.org/x/sys v0.15.0 // indirect
Expand All @@ -78,6 +90,9 @@ require (
google.golang.org/grpc v1.59.0 // indirect
google.golang.org/protobuf v1.31.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/src-d/go-billy.v4 v4.3.2 // indirect
gopkg.in/src-d/go-git.v4 v4.13.1 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/apiextensions-apiserver v0.28.4 // indirect
Expand Down
Loading