Documentation ¶
Index ¶
- func FromKubeCustomResourceDefinition(customResourceDefinition *v1.CustomResourceDefinition) *skkube.CustomResourceDefinition
- func NewCustomResourceDefinitionClient(apiExts apiexts.Interface, cache KubeCustomResourceDefinitionCache) skkube.CustomResourceDefinitionClient
- func NewKubeCustomResourceDefinitionCache(ctx context.Context, apiExtsClient apiexts.Interface) (*kubeCustomResourceDefinitionCache, error)
- func ToKubeCustomResourceDefinition(resource resources.Resource) (*v1.CustomResourceDefinition, error)
- type KubeCustomResourceDefinitionCache
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromKubeCustomResourceDefinition ¶
func FromKubeCustomResourceDefinition(customResourceDefinition *v1.CustomResourceDefinition) *skkube.CustomResourceDefinition
func NewCustomResourceDefinitionClient ¶
func NewCustomResourceDefinitionClient(apiExts apiexts.Interface, cache KubeCustomResourceDefinitionCache) skkube.CustomResourceDefinitionClient
func NewKubeCustomResourceDefinitionCache ¶
func NewKubeCustomResourceDefinitionCache(ctx context.Context, apiExtsClient apiexts.Interface) (*kubeCustomResourceDefinitionCache, error)
This context should live as long as the cache is desired. i.e. if the cache is shared across clients, it should get a context that has a longer lifetime than the clients themselves
func ToKubeCustomResourceDefinition ¶
func ToKubeCustomResourceDefinition(resource resources.Resource) (*v1.CustomResourceDefinition, error)
Types ¶
type KubeCustomResourceDefinitionCache ¶
type KubeCustomResourceDefinitionCache interface { CustomResourceDefinitionLister() apiextslisters.CustomResourceDefinitionLister Subscribe() <-chan struct{} Unsubscribe(<-chan struct{}) }
Click to show internal directories.
Click to hide internal directories.