Documentation ¶
Index ¶
- func FromVirtualServiceHandlerToHandler(sync VirtualServiceHandler) generic.Handler
- func UpdateVirtualServiceDeepCopyOnChange(client VirtualServiceClient, obj *v1.VirtualService, ...) (*v1.VirtualService, error)
- type Interface
- type VirtualServiceCache
- type VirtualServiceClient
- type VirtualServiceController
- type VirtualServiceHandler
- type VirtualServiceIndexer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromVirtualServiceHandlerToHandler ¶
func FromVirtualServiceHandlerToHandler(sync VirtualServiceHandler) generic.Handler
func UpdateVirtualServiceDeepCopyOnChange ¶
func UpdateVirtualServiceDeepCopyOnChange(client VirtualServiceClient, obj *v1.VirtualService, handler func(obj *v1.VirtualService) (*v1.VirtualService, error)) (*v1.VirtualService, error)
Types ¶
type Interface ¶
type Interface interface {
VirtualService() VirtualServiceController
}
func New ¶
func New(controllerManager *generic.ControllerManager, client clientset.GatewayV1Interface, informers informers.Interface) Interface
type VirtualServiceCache ¶
type VirtualServiceCache interface { Get(namespace, name string) (*v1.VirtualService, error) List(namespace string, selector labels.Selector) ([]*v1.VirtualService, error) AddIndexer(indexName string, indexer VirtualServiceIndexer) GetByIndex(indexName, key string) ([]*v1.VirtualService, error) }
type VirtualServiceClient ¶
type VirtualServiceClient interface { Create(*v1.VirtualService) (*v1.VirtualService, error) Update(*v1.VirtualService) (*v1.VirtualService, error) Delete(namespace, name string, options *metav1.DeleteOptions) error Get(namespace, name string, options metav1.GetOptions) (*v1.VirtualService, error) List(namespace string, opts metav1.ListOptions) (*v1.VirtualServiceList, error) Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.VirtualService, err error) }
type VirtualServiceController ¶
type VirtualServiceController interface { generic.ControllerMeta VirtualServiceClient OnChange(ctx context.Context, name string, sync VirtualServiceHandler) OnRemove(ctx context.Context, name string, sync VirtualServiceHandler) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, duration time.Duration) Cache() VirtualServiceCache }
func NewVirtualServiceController ¶
func NewVirtualServiceController(gvk schema.GroupVersionKind, controllerManager *generic.ControllerManager, clientGetter clientset.VirtualServicesGetter, informer informers.VirtualServiceInformer) VirtualServiceController
type VirtualServiceHandler ¶
type VirtualServiceHandler func(string, *v1.VirtualService) (*v1.VirtualService, error)
type VirtualServiceIndexer ¶
type VirtualServiceIndexer func(obj *v1.VirtualService) ([]string, error)
Click to show internal directories.
Click to hide internal directories.