v1

package
v0.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromClusterDomainHandlerToHandler

func FromClusterDomainHandlerToHandler(sync ClusterDomainHandler) generic.Handler

func FromFeatureHandlerToHandler

func FromFeatureHandlerToHandler(sync FeatureHandler) generic.Handler

func FromPublicDomainHandlerToHandler

func FromPublicDomainHandlerToHandler(sync PublicDomainHandler) generic.Handler

func FromRioInfoHandlerToHandler

func FromRioInfoHandlerToHandler(sync RioInfoHandler) generic.Handler

Types

type ClusterDomainCache

type ClusterDomainCache interface {
	Get(namespace, name string) (*v1.ClusterDomain, error)
	List(namespace string, selector labels.Selector) ([]*v1.ClusterDomain, error)

	AddIndexer(indexName string, indexer ClusterDomainIndexer)
	GetByIndex(indexName, key string) ([]*v1.ClusterDomain, error)
}

type ClusterDomainClient

type ClusterDomainClient interface {
	Create(*v1.ClusterDomain) (*v1.ClusterDomain, error)
	Update(*v1.ClusterDomain) (*v1.ClusterDomain, error)
	UpdateStatus(*v1.ClusterDomain) (*v1.ClusterDomain, error)
	Delete(namespace, name string, options *metav1.DeleteOptions) error
	Get(namespace, name string, options metav1.GetOptions) (*v1.ClusterDomain, error)
	List(namespace string, opts metav1.ListOptions) (*v1.ClusterDomainList, error)
	Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error)
	Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.ClusterDomain, err error)
}

type ClusterDomainController

type ClusterDomainController interface {
	ClusterDomainClient

	OnChange(ctx context.Context, name string, sync ClusterDomainHandler)
	OnRemove(ctx context.Context, name string, sync ClusterDomainHandler)
	Enqueue(namespace, name string)

	Cache() ClusterDomainCache

	Informer() cache.SharedIndexInformer
	GroupVersionKind() schema.GroupVersionKind

	AddGenericHandler(ctx context.Context, name string, handler generic.Handler)
	AddGenericRemoveHandler(ctx context.Context, name string, handler generic.Handler)
	Updater() generic.Updater
}

type ClusterDomainHandler

type ClusterDomainHandler func(string, *v1.ClusterDomain) (*v1.ClusterDomain, error)

func UpdateClusterDomainOnChange

func UpdateClusterDomainOnChange(updater generic.Updater, handler ClusterDomainHandler) ClusterDomainHandler

type ClusterDomainIndexer

type ClusterDomainIndexer func(obj *v1.ClusterDomain) ([]string, error)

type FeatureCache

type FeatureCache interface {
	Get(namespace, name string) (*v1.Feature, error)
	List(namespace string, selector labels.Selector) ([]*v1.Feature, error)

	AddIndexer(indexName string, indexer FeatureIndexer)
	GetByIndex(indexName, key string) ([]*v1.Feature, error)
}

type FeatureClient

type FeatureClient interface {
	Create(*v1.Feature) (*v1.Feature, error)
	Update(*v1.Feature) (*v1.Feature, error)
	UpdateStatus(*v1.Feature) (*v1.Feature, error)
	Delete(namespace, name string, options *metav1.DeleteOptions) error
	Get(namespace, name string, options metav1.GetOptions) (*v1.Feature, error)
	List(namespace string, opts metav1.ListOptions) (*v1.FeatureList, error)
	Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error)
	Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Feature, err error)
}

type FeatureController

type FeatureController interface {
	FeatureClient

	OnChange(ctx context.Context, name string, sync FeatureHandler)
	OnRemove(ctx context.Context, name string, sync FeatureHandler)
	Enqueue(namespace, name string)

	Cache() FeatureCache

	Informer() cache.SharedIndexInformer
	GroupVersionKind() schema.GroupVersionKind

	AddGenericHandler(ctx context.Context, name string, handler generic.Handler)
	AddGenericRemoveHandler(ctx context.Context, name string, handler generic.Handler)
	Updater() generic.Updater
}

func NewFeatureController

func NewFeatureController(gvk schema.GroupVersionKind, controllerManager *generic.ControllerManager, clientGetter clientset.FeaturesGetter, informer informers.FeatureInformer) FeatureController

type FeatureHandler

type FeatureHandler func(string, *v1.Feature) (*v1.Feature, error)

func UpdateFeatureOnChange

func UpdateFeatureOnChange(updater generic.Updater, handler FeatureHandler) FeatureHandler

type FeatureIndexer

type FeatureIndexer func(obj *v1.Feature) ([]string, error)

type Interface

type Interface interface {
	ClusterDomain() ClusterDomainController
	Feature() FeatureController
	PublicDomain() PublicDomainController
	RioInfo() RioInfoController
}

func New

func New(controllerManager *generic.ControllerManager, client clientset.AdminV1Interface,
	informers informers.Interface) Interface

type PublicDomainCache

type PublicDomainCache interface {
	Get(namespace, name string) (*v1.PublicDomain, error)
	List(namespace string, selector labels.Selector) ([]*v1.PublicDomain, error)

	AddIndexer(indexName string, indexer PublicDomainIndexer)
	GetByIndex(indexName, key string) ([]*v1.PublicDomain, error)
}

type PublicDomainClient

type PublicDomainClient interface {
	Create(*v1.PublicDomain) (*v1.PublicDomain, error)
	Update(*v1.PublicDomain) (*v1.PublicDomain, error)
	UpdateStatus(*v1.PublicDomain) (*v1.PublicDomain, error)
	Delete(namespace, name string, options *metav1.DeleteOptions) error
	Get(namespace, name string, options metav1.GetOptions) (*v1.PublicDomain, error)
	List(namespace string, opts metav1.ListOptions) (*v1.PublicDomainList, error)
	Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error)
	Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.PublicDomain, err error)
}

type PublicDomainController

type PublicDomainController interface {
	PublicDomainClient

	OnChange(ctx context.Context, name string, sync PublicDomainHandler)
	OnRemove(ctx context.Context, name string, sync PublicDomainHandler)
	Enqueue(namespace, name string)

	Cache() PublicDomainCache

	Informer() cache.SharedIndexInformer
	GroupVersionKind() schema.GroupVersionKind

	AddGenericHandler(ctx context.Context, name string, handler generic.Handler)
	AddGenericRemoveHandler(ctx context.Context, name string, handler generic.Handler)
	Updater() generic.Updater
}

type PublicDomainHandler

type PublicDomainHandler func(string, *v1.PublicDomain) (*v1.PublicDomain, error)

func UpdatePublicDomainOnChange

func UpdatePublicDomainOnChange(updater generic.Updater, handler PublicDomainHandler) PublicDomainHandler

type PublicDomainIndexer

type PublicDomainIndexer func(obj *v1.PublicDomain) ([]string, error)

type RioInfoCache

type RioInfoCache interface {
	Get(name string) (*v1.RioInfo, error)
	List(selector labels.Selector) ([]*v1.RioInfo, error)

	AddIndexer(indexName string, indexer RioInfoIndexer)
	GetByIndex(indexName, key string) ([]*v1.RioInfo, error)
}

type RioInfoClient

type RioInfoClient interface {
	Create(*v1.RioInfo) (*v1.RioInfo, error)
	Update(*v1.RioInfo) (*v1.RioInfo, error)
	UpdateStatus(*v1.RioInfo) (*v1.RioInfo, error)
	Delete(name string, options *metav1.DeleteOptions) error
	Get(name string, options metav1.GetOptions) (*v1.RioInfo, error)
	List(opts metav1.ListOptions) (*v1.RioInfoList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.RioInfo, err error)
}

type RioInfoController

type RioInfoController interface {
	RioInfoClient

	OnChange(ctx context.Context, name string, sync RioInfoHandler)
	OnRemove(ctx context.Context, name string, sync RioInfoHandler)
	Enqueue(name string)

	Cache() RioInfoCache

	Informer() cache.SharedIndexInformer
	GroupVersionKind() schema.GroupVersionKind

	AddGenericHandler(ctx context.Context, name string, handler generic.Handler)
	AddGenericRemoveHandler(ctx context.Context, name string, handler generic.Handler)
	Updater() generic.Updater
}

func NewRioInfoController

func NewRioInfoController(gvk schema.GroupVersionKind, controllerManager *generic.ControllerManager, clientGetter clientset.RioInfosGetter, informer informers.RioInfoInformer) RioInfoController

type RioInfoHandler

type RioInfoHandler func(string, *v1.RioInfo) (*v1.RioInfo, error)

func UpdateRioInfoOnChange

func UpdateRioInfoOnChange(updater generic.Updater, handler RioInfoHandler) RioInfoHandler

type RioInfoIndexer

type RioInfoIndexer func(obj *v1.RioInfo) ([]string, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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