Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromSettingsHandlerToHandler ¶
func FromSettingsHandlerToHandler(sync SettingsHandler) generic.Handler
Types ¶
type Interface ¶
type Interface interface {
Settings() SettingsController
}
func New ¶
func New(controllerManager *generic.ControllerManager, client clientset.GlooV1Interface, informers informers.Interface) Interface
type SettingsCache ¶
type SettingsClient ¶
type SettingsClient interface {
Create(*v1.Settings) (*v1.Settings, error)
Update(*v1.Settings) (*v1.Settings, error)
Delete(namespace, name string, options *metav1.DeleteOptions) error
Get(namespace, name string, options metav1.GetOptions) (*v1.Settings, error)
List(namespace string, opts metav1.ListOptions) (*v1.SettingsList, error)
Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error)
Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Settings, err error)
}
type SettingsController ¶
type SettingsController interface {
generic.ControllerMeta
SettingsClient
OnChange(ctx context.Context, name string, sync SettingsHandler)
OnRemove(ctx context.Context, name string, sync SettingsHandler)
Enqueue(namespace, name string)
EnqueueAfter(namespace, name string, duration time.Duration)
Cache() SettingsCache
}
func NewSettingsController ¶
func NewSettingsController(gvk schema.GroupVersionKind, controllerManager *generic.ControllerManager, clientGetter clientset.SettingsesGetter, informer informers.SettingsInformer) SettingsController
Click to show internal directories.
Click to hide internal directories.