customresourcedefinition

package
v0.34.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromKubeCustomResourceDefinition

func FromKubeCustomResourceDefinition(customResourceDefinition *v1.CustomResourceDefinition) *skkube.CustomResourceDefinition

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{})
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL