customresourcedefinition

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromKubeCustomResourceDefinition

func FromKubeCustomResourceDefinition(customResourceDefinition *v1beta1.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) (*v1beta1.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