Documentation ¶
Index ¶
- type Context
- func (c *Context) OnLeader(f func(ctx context.Context) error)
- func (c *Context) Run(ctx context.Context)
- func (c *Context) StartHandler(ctx context.Context, worker int) error
- func (c *Context) SupportDiscoveryV1() bool
- func (c *Context) SupportIngressV1() bool
- func (c *Context) WaitForCacheSyncOrDie(ctx context.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { RESTConfig *rest.Config Kubernetes kubernetes.Interface ControllerFactory controller.SharedControllerFactory FlatNetwork flv1.Interface Core corecontroller.Interface Apps appsv1.Interface Networking networkingv1.Interface Batch batchv1.Interface Discovery discoveryv1.Interface Recorder record.EventRecorder // ClientSet for NetworkAttachmentDefinitions NDClientSet *ndClientSet.Clientset // contains filtered or unexported fields }
func NewContextOrDie ¶
func (*Context) StartHandler ¶
func (*Context) SupportDiscoveryV1 ¶
func (*Context) SupportIngressV1 ¶
func (*Context) WaitForCacheSyncOrDie ¶
Click to show internal directories.
Click to hide internal directories.