-
Notifications
You must be signed in to change notification settings - Fork 17
Controller-runtime allows building kcp-aware controllers #1
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
Controller-runtime allows building kcp-aware controllers #1
Conversation
pkg/cache/cache_test.go
Outdated
@@ -26,7 +26,6 @@ import ( | |||
. "github.com/onsi/ginkgo" | |||
. "github.com/onsi/ginkgo/extensions/table" | |||
. "github.com/onsi/gomega" | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Undo
pkg/cache/internal/cache_reader.go
Outdated
@@ -54,7 +54,7 @@ type CacheReader struct { | |||
} | |||
|
|||
// Get checks the indexer for the object and writes a copy of it if found. | |||
func (c *CacheReader) Get(_ context.Context, key client.ObjectKey, out client.Object) error { | |||
func (c *CacheReader) Get(ctx context.Context, key client.ObjectKey, out client.Object) error { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Undo
0ed834f
to
d2929c2
Compare
pkg/client/apiutil/apimachinery.go
Outdated
@@ -1,5 +1,5 @@ | |||
/* | |||
Copyright 2018 The Kubernetes Authors. | |||
opyright 2018 The Kubernetes Authors. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Undo
pkg/client/watch.go
Outdated
@@ -33,10 +33,12 @@ func NewWithWatch(config *rest.Config, options Options) (WithWatch, error) { | |||
if err != nil { | |||
return nil, err | |||
} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Undo these 2 changes
Co-authored-by: Joe Lanford <joe.lanford@gmail.com> Co-authored-by: Varsha Prasad <varshaprasad96@gmail.com> Co-authored-by: Andy Goldstein <andy.goldstein@redhat.com> Co-authored-by: Nick Hale <njohnhale@gmail.com>
No description provided.