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 FromServiceScaleRecommendationHandlerToHandler

func FromServiceScaleRecommendationHandlerToHandler(sync ServiceScaleRecommendationHandler) generic.Handler

Types

type Interface

type Interface interface {
	ServiceScaleRecommendation() ServiceScaleRecommendationController
}

func New

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

type ServiceScaleRecommendationCache

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

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

type ServiceScaleRecommendationClient

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

type ServiceScaleRecommendationController

type ServiceScaleRecommendationController interface {
	ServiceScaleRecommendationClient

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

	Cache() ServiceScaleRecommendationCache

	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 ServiceScaleRecommendationIndexer

type ServiceScaleRecommendationIndexer func(obj *v1.ServiceScaleRecommendation) ([]string, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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