Skip to content

Commit

Permalink
Merge pull request #522 from DirectXMan12/docs/extra-manager-client-docs
Browse files Browse the repository at this point in the history
📖 Note on Manager#GetClient about delegating clients
  • Loading branch information
k8s-ci-robot committed Jul 17, 2019
2 parents 4e3e16b + 19ac705 commit 8f633b1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/manager/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@ type Manager interface {
// GetScheme returns an initialized Scheme
GetScheme() *runtime.Scheme

// GetClient returns a client configured with the Config
// GetClient returns a client configured with the Config. This client may
// not be a fully "direct" client -- it may read from a cache, for
// instance. See Options.NewClient for more information on how the default
// implementation works.
GetClient() client.Client

// GetFieldIndexer returns a client.FieldIndexer configured with the client
Expand Down

0 comments on commit 8f633b1

Please sign in to comment.