v1

package
v0.6.0-alpha.5 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2019 License: Apache-2.0 Imports: 19 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromClusterDomainHandlerToHandler

func FromClusterDomainHandlerToHandler(sync ClusterDomainHandler) generic.Handler

func FromPublicDomainHandlerToHandler

func FromPublicDomainHandlerToHandler(sync PublicDomainHandler) generic.Handler

func FromRioInfoHandlerToHandler

func FromRioInfoHandlerToHandler(sync RioInfoHandler) generic.Handler

func FromSystemStackHandlerToHandler added in v0.6.0

func FromSystemStackHandlerToHandler(sync SystemStackHandler) generic.Handler

func RegisterClusterDomainGeneratingHandler added in v0.6.0

func RegisterClusterDomainGeneratingHandler(ctx context.Context, controller ClusterDomainController, apply apply.Apply,
	condition condition.Cond, name string, handler ClusterDomainGeneratingHandler, opts *generic.GeneratingHandlerOptions)

func RegisterClusterDomainStatusHandler added in v0.6.0

func RegisterClusterDomainStatusHandler(ctx context.Context, controller ClusterDomainController, condition condition.Cond, name string, handler ClusterDomainStatusHandler)

func RegisterPublicDomainGeneratingHandler added in v0.6.0

func RegisterPublicDomainGeneratingHandler(ctx context.Context, controller PublicDomainController, apply apply.Apply,
	condition condition.Cond, name string, handler PublicDomainGeneratingHandler, opts *generic.GeneratingHandlerOptions)

func RegisterPublicDomainStatusHandler added in v0.6.0

func RegisterPublicDomainStatusHandler(ctx context.Context, controller PublicDomainController, condition condition.Cond, name string, handler PublicDomainStatusHandler)

func RegisterRioInfoGeneratingHandler added in v0.6.0

func RegisterRioInfoGeneratingHandler(ctx context.Context, controller RioInfoController, apply apply.Apply,
	condition condition.Cond, name string, handler RioInfoGeneratingHandler, opts *generic.GeneratingHandlerOptions)

func RegisterRioInfoStatusHandler added in v0.6.0

func RegisterRioInfoStatusHandler(ctx context.Context, controller RioInfoController, condition condition.Cond, name string, handler RioInfoStatusHandler)

func UpdateClusterDomainDeepCopyOnChange added in v0.6.0

func UpdateClusterDomainDeepCopyOnChange(client ClusterDomainClient, obj *v1.ClusterDomain, handler func(obj *v1.ClusterDomain) (*v1.ClusterDomain, error)) (*v1.ClusterDomain, error)

func UpdatePublicDomainDeepCopyOnChange added in v0.6.0

func UpdatePublicDomainDeepCopyOnChange(client PublicDomainClient, obj *v1.PublicDomain, handler func(obj *v1.PublicDomain) (*v1.PublicDomain, error)) (*v1.PublicDomain, error)

func UpdateRioInfoDeepCopyOnChange added in v0.6.0

func UpdateRioInfoDeepCopyOnChange(client RioInfoClient, obj *v1.RioInfo, handler func(obj *v1.RioInfo) (*v1.RioInfo, error)) (*v1.RioInfo, error)

func UpdateSystemStackDeepCopyOnChange added in v0.6.0

func UpdateSystemStackDeepCopyOnChange(client SystemStackClient, obj *v1.SystemStack, handler func(obj *v1.SystemStack) (*v1.SystemStack, error)) (*v1.SystemStack, error)

Types

type ClusterDomainCache

type ClusterDomainCache interface {
	Get(name string) (*v1.ClusterDomain, error)
	List(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(name string, options *metav1.DeleteOptions) error
	Get(name string, options metav1.GetOptions) (*v1.ClusterDomain, error)
	List(opts metav1.ListOptions) (*v1.ClusterDomainList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.ClusterDomain, err error)
}

type ClusterDomainController

type ClusterDomainController interface {
	generic.ControllerMeta
	ClusterDomainClient

	OnChange(ctx context.Context, name string, sync ClusterDomainHandler)
	OnRemove(ctx context.Context, name string, sync ClusterDomainHandler)
	Enqueue(name string)
	EnqueueAfter(name string, duration time.Duration)

	Cache() ClusterDomainCache
}

type ClusterDomainGeneratingHandler added in v0.6.0

type ClusterDomainGeneratingHandler func(obj *v1.ClusterDomain, status v1.ClusterDomainStatus) ([]runtime.Object, v1.ClusterDomainStatus, error)

type ClusterDomainHandler

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

type ClusterDomainIndexer

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

type ClusterDomainStatusHandler added in v0.6.0

type ClusterDomainStatusHandler func(obj *v1.ClusterDomain, status v1.ClusterDomainStatus) (v1.ClusterDomainStatus, error)

type Interface

type Interface interface {
	ClusterDomain() ClusterDomainController
	PublicDomain() PublicDomainController
	RioInfo() RioInfoController
	SystemStack() SystemStackController
}

func New

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

type PublicDomainCache

type PublicDomainCache interface {
	Get(name string) (*v1.PublicDomain, error)
	List(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(name string, options *metav1.DeleteOptions) error
	Get(name string, options metav1.GetOptions) (*v1.PublicDomain, error)
	List(opts metav1.ListOptions) (*v1.PublicDomainList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.PublicDomain, err error)
}

type PublicDomainController

type PublicDomainController interface {
	generic.ControllerMeta
	PublicDomainClient

	OnChange(ctx context.Context, name string, sync PublicDomainHandler)
	OnRemove(ctx context.Context, name string, sync PublicDomainHandler)
	Enqueue(name string)
	EnqueueAfter(name string, duration time.Duration)

	Cache() PublicDomainCache
}

type PublicDomainGeneratingHandler added in v0.6.0

type PublicDomainGeneratingHandler func(obj *v1.PublicDomain, status v1.PublicDomainStatus) ([]runtime.Object, v1.PublicDomainStatus, error)

type PublicDomainHandler

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

type PublicDomainIndexer

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

type PublicDomainStatusHandler added in v0.6.0

type PublicDomainStatusHandler func(obj *v1.PublicDomain, status v1.PublicDomainStatus) (v1.PublicDomainStatus, 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 {
	generic.ControllerMeta
	RioInfoClient

	OnChange(ctx context.Context, name string, sync RioInfoHandler)
	OnRemove(ctx context.Context, name string, sync RioInfoHandler)
	Enqueue(name string)
	EnqueueAfter(name string, duration time.Duration)

	Cache() RioInfoCache
}

func NewRioInfoController

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

type RioInfoGeneratingHandler added in v0.6.0

type RioInfoGeneratingHandler func(obj *v1.RioInfo, status v1.RioInfoStatus) ([]runtime.Object, v1.RioInfoStatus, error)

type RioInfoHandler

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

type RioInfoIndexer

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

type RioInfoStatusHandler added in v0.6.0

type RioInfoStatusHandler func(obj *v1.RioInfo, status v1.RioInfoStatus) (v1.RioInfoStatus, error)

type SystemStackCache added in v0.6.0

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

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

type SystemStackClient added in v0.6.0

type SystemStackClient interface {
	Create(*v1.SystemStack) (*v1.SystemStack, error)
	Update(*v1.SystemStack) (*v1.SystemStack, error)

	Delete(name string, options *metav1.DeleteOptions) error
	Get(name string, options metav1.GetOptions) (*v1.SystemStack, error)
	List(opts metav1.ListOptions) (*v1.SystemStackList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.SystemStack, err error)
}

type SystemStackController added in v0.6.0

type SystemStackController interface {
	generic.ControllerMeta
	SystemStackClient

	OnChange(ctx context.Context, name string, sync SystemStackHandler)
	OnRemove(ctx context.Context, name string, sync SystemStackHandler)
	Enqueue(name string)
	EnqueueAfter(name string, duration time.Duration)

	Cache() SystemStackCache
}

func NewSystemStackController added in v0.6.0

func NewSystemStackController(gvk schema.GroupVersionKind, controllerManager *generic.ControllerManager, clientGetter clientset.SystemStacksGetter, informer informers.SystemStackInformer) SystemStackController

type SystemStackHandler added in v0.6.0

type SystemStackHandler func(string, *v1.SystemStack) (*v1.SystemStack, error)

type SystemStackIndexer added in v0.6.0

type SystemStackIndexer func(obj *v1.SystemStack) ([]string, error)

Jump to

Keyboard shortcuts

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