Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunControllerManagerWithInformers ¶ added in v0.12.0
func RunControllerManagerWithInformers( ctx context.Context, controllerContext *controllercmd.ControllerContext, replicaSetClient workclientset.Interface, workClient workclientset.Interface, workInformer workv1informer.ManifestWorkInformer, clusterInformers clusterinformers.SharedInformerFactory, ) error
Types ¶
type WorkHubManagerConfig ¶ added in v0.14.0
type WorkHubManagerConfig struct {
// contains filtered or unexported fields
}
WorkHubManagerConfig holds configuration for work hub manager controller
func NewWorkHubManagerConfig ¶ added in v0.14.0
func NewWorkHubManagerConfig(opts *WorkHubManagerOptions) *WorkHubManagerConfig
NewWorkHubManagerConfig returns a WorkHubManagerConfig
func (*WorkHubManagerConfig) RunWorkHubManager ¶ added in v0.14.0
func (c *WorkHubManagerConfig) RunWorkHubManager(ctx context.Context, controllerContext *controllercmd.ControllerContext) error
RunWorkHubManager starts the controllers on hub.
type WorkHubManagerOptions ¶ added in v0.14.0
type WorkHubManagerOptions struct { WorkDriver string WorkDriverConfig string CloudEventsClientID string }
WorkHubManagerOptions defines the flags for work hub manager
func NewWorkHubManagerOptions ¶ added in v0.14.0
func NewWorkHubManagerOptions() *WorkHubManagerOptions
func (*WorkHubManagerOptions) AddFlags ¶ added in v0.14.0
func (o *WorkHubManagerOptions) AddFlags(fs *pflag.FlagSet)
AddFlags register and binds the default flags
Click to show internal directories.
Click to hide internal directories.