hub

package
v0.15.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2024 License: Apache-2.0 Imports: 17 Imported by: 1

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

Directories

Path Synopsis
controllers

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL