Documentation ¶
Index ¶
- func NewClientFuncWithDisabledCacheFor(directlyReadingObjects ...runtime.Object) manager.NewClientFunc
- func NewClientFuncWithEnabledCacheFor(cachedObjects ...runtime.Object) manager.NewClientFunc
- func NewClientFuncWithSpecificallyCachedReader(readSpecifiedFromCache bool, specifiedObjects ...runtime.Object) manager.NewClientFunc
- func NewClientWithSpecificallyCachedReader(cache cache.Cache, config *rest.Config, options client.Options, ...) (client.Client, error)
- func NewReaderWithDisabledCacheFor(cacheReader, clientReader client.Reader, scheme *runtime.Scheme, ...) (client.Reader, error)
- func NewReaderWithEnabledCacheFor(cacheReader, clientReader client.Reader, scheme *runtime.Scheme, ...) (client.Reader, error)
- func NewSpecificallyCachedReaderFor(cacheReader, clientReader client.Reader, scheme *runtime.Scheme, ...) (client.Reader, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClientFuncWithDisabledCacheFor ¶
func NewClientFuncWithDisabledCacheFor(directlyReadingObjects ...runtime.Object) manager.NewClientFunc
NewClientFuncWithDisabledCacheFor returns a manager.NewClientFunc that creates a new client.Client that reads from the cache by default but reads the specified objects directly from the API server.
func NewClientFuncWithEnabledCacheFor ¶
func NewClientFuncWithEnabledCacheFor(cachedObjects ...runtime.Object) manager.NewClientFunc
NewClientFuncWithEnabledCacheFor returns a manager.NewClientFunc that creates a new client.Client that reads directly from the API server by default but reads the specified objects from the cache.
func NewClientFuncWithSpecificallyCachedReader ¶
func NewClientFuncWithSpecificallyCachedReader(readSpecifiedFromCache bool, specifiedObjects ...runtime.Object) manager.NewClientFunc
NewClientFuncWithSpecificallyCachedReader returns a manager.NewClientFunc that creates a new client.Client that either - reads directly from the API server by default but reads the specified objects from the cache (readSpecifiedFromCache=true) - or reads from the cache by default but reads the specified objects directly from the API server (readSpecifiedFromCache=true).
func NewClientWithSpecificallyCachedReader ¶
func NewClientWithSpecificallyCachedReader(cache cache.Cache, config *rest.Config, options client.Options, readSpecifiedFromCache bool, specifiedObjects ...runtime.Object) (client.Client, error)
NewClientWithSpecificallyCachedReader creates a new client.Client that either - reads directly from the API server by default but reads the specified objects from the cache (readSpecifiedFromCache=true) - or reads from the cache by default but reads the specified objects directly from the API server (readSpecifiedFromCache=false).
func NewReaderWithDisabledCacheFor ¶
func NewReaderWithDisabledCacheFor(cacheReader, clientReader client.Reader, scheme *runtime.Scheme, directlyReadingObjects ...runtime.Object) (client.Reader, error)
NewReaderWithDisabledCacheFor creates a new client.Reader that reads from the cache by default but reads the specified objects directly from the API server.
func NewReaderWithEnabledCacheFor ¶
func NewReaderWithEnabledCacheFor(cacheReader, clientReader client.Reader, scheme *runtime.Scheme, cachedObjects ...runtime.Object) (client.Reader, error)
NewReaderWithEnabledCacheFor creates a new client.Reader that reads directly from the API server by default but reads the specified objects from the cache.
func NewSpecificallyCachedReaderFor ¶
func NewSpecificallyCachedReaderFor(cacheReader, clientReader client.Reader, scheme *runtime.Scheme, readSpecifiedFromCache bool, objectKinds ...runtime.Object) (client.Reader, error)
NewSpecificallyCachedReaderFor creates a new client.Reader that either - reads directly from the API server by default but reads the specified objects from the cache (readSpecifiedFromCache=true) - or reads from the cache by default but reads the specified objects directly from the API server (readSpecifiedFromCache=false).
Types ¶
This section is empty.