config

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2024 License: Apache-2.0 Imports: 22 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AddToScheme = localSchemeBuilder.AddToScheme
	Scheme      = runtime.NewScheme()
)

Functions

This section is empty.

Types

type Management

type Management struct {
	ControllerFactory controller.SharedControllerFactory

	CloudweavNetworkFactory *ctlnetwork.Factory

	CniFactory   *ctlcni.Factory
	CoreFactory  *ctlcore.Factory
	AppsFactory  *ctlapps.Factory
	BatchFactory *ctlbatch.Factory

	ClientSet *kubernetes.Clientset

	Options *Options
	// contains filtered or unexported fields
}

func SetupManagement

func SetupManagement(ctx context.Context, restConfig *rest.Config, options *Options) (*Management, error)

func (*Management) NewRecorder

func (s *Management) NewRecorder(componentName, namespace, nodeName string) record.EventRecorder

func (*Management) Register

func (s *Management) Register(ctx context.Context, config *rest.Config, registerFuncList []RegisterFunc) error

func (*Management) Start

func (s *Management) Start(threadiness int) error

type Options

type Options struct {
	Namespace   string
	HelperImage string
	NodeName    string
}

type RegisterFunc

type RegisterFunc func(context.Context, *Management) error

Jump to

Keyboard shortcuts

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