Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CachedHostClientInit ¶
type CachedHostClientInit struct {
// contains filtered or unexported fields
}
CachedHostClientInit takes care of initializing a cached host cluster client
func NewCachedHostClientInitializer ¶
func NewCachedHostClientInitializer(scheme *runtime.Scheme, getHostCluster cluster.GetHostClusterFunc) *CachedHostClientInit
func (*CachedHostClientInit) GetHostClient ¶
func (c *CachedHostClientInit) GetHostClient(ctx context.Context) (*NamespacedClient, error)
GetHostClient returns NamespacedClient backed by cached client for host operator namespace.
type ClientGetter ¶
type ClientGetter func(ctx context.Context) (*NamespacedClient, error)
type NamespacedClient ¶
NamespacedClient holds the client and the operator namespace
func NewNamespacedClient ¶
func NewNamespacedClient(client client.Client, namespace string) *NamespacedClient
Click to show internal directories.
Click to hide internal directories.