controller

package
v1.2.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2021 License: Apache-2.0 Imports: 32 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	// Run runs the component.
	Run(ctx context.Context, workers int) error
}

Interface represents a runnable component.

func NewDownloadController

func NewDownloadController(
	logger logrus.FieldLogger,
	downloadInformer informers.DownloadInformer,
	downloadClient pluginv1client.DownloadsGetter,
	kubeClient kubernetes.Interface,
	dataMover *dataMover.DataMover,
	nodeName string,
) Interface

func NewUploadController

func NewUploadController(
	logger logrus.FieldLogger,
	uploadInformer informers.UploadInformer,
	uploadClient pluginv1client.UploadsGetter,
	kubeClient kubernetes.Interface,
	dataMover *dataMover.DataMover,
	snapMgr *snapshotmgr.SnapshotManager,
	nodeName string,
	externalDataMgr bool,
) Interface

func NewVcConfigController added in v1.1.0

func NewVcConfigController(
	logger logrus.FieldLogger,
	secretInformer v1.SecretInformer,
	dataMover *dataMover.DataMover,
	snapMgr *snapshotmgr.SnapshotManager,
) Interface

Jump to

Keyboard shortcuts

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