Documentation ¶
Index ¶
- func FromServiceScaleRecommendationHandlerToHandler(sync ServiceScaleRecommendationHandler) generic.Handler
- type Interface
- type ServiceScaleRecommendationCache
- type ServiceScaleRecommendationClient
- type ServiceScaleRecommendationController
- type ServiceScaleRecommendationHandler
- type ServiceScaleRecommendationIndexer
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 }
func NewServiceScaleRecommendationController ¶
func NewServiceScaleRecommendationController(gvk schema.GroupVersionKind, controllerManager *generic.ControllerManager, clientGetter clientset.ServiceScaleRecommendationsGetter, informer informers.ServiceScaleRecommendationInformer) ServiceScaleRecommendationController
type ServiceScaleRecommendationHandler ¶
type ServiceScaleRecommendationHandler func(string, *v1.ServiceScaleRecommendation) (*v1.ServiceScaleRecommendation, error)
func UpdateServiceScaleRecommendationOnChange ¶
func UpdateServiceScaleRecommendationOnChange(updater generic.Updater, handler ServiceScaleRecommendationHandler) ServiceScaleRecommendationHandler
type ServiceScaleRecommendationIndexer ¶
type ServiceScaleRecommendationIndexer func(obj *v1.ServiceScaleRecommendation) ([]string, error)
Click to show internal directories.
Click to hide internal directories.