controller

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package controller is a generated GoMock package.

Index

Constants

View Source
const (
	VolumeModificationStarted = "VolumeModificationStarted"

	VolumeModificationFailed = "VolumeModificationFailed"

	VolumeModificationSuccessful = "VolumeModificationSuccessful"

	AnnotationPrefixPattern = "%s/"

	AnnotationStatusPrefixPattern = "%s/%s-status"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MockModifyController added in v0.1.3

type MockModifyController struct {
	// contains filtered or unexported fields
}

MockModifyController is a mock of ModifyController interface.

func NewMockModifyController added in v0.1.3

func NewMockModifyController(ctrl *gomock.Controller) *MockModifyController

NewMockModifyController creates a new mock instance.

func (*MockModifyController) EXPECT added in v0.1.3

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockModifyController) Run added in v0.1.3

func (m *MockModifyController) Run(arg0 int, arg1 context.Context)

Run mocks base method.

type MockModifyControllerMockRecorder added in v0.1.3

type MockModifyControllerMockRecorder struct {
	// contains filtered or unexported fields
}

MockModifyControllerMockRecorder is the mock recorder for MockModifyController.

func (*MockModifyControllerMockRecorder) Run added in v0.1.3

func (mr *MockModifyControllerMockRecorder) Run(arg0, arg1 interface{}) *gomock.Call

Run indicates an expected call of Run.

type ModifyController

type ModifyController interface {
	Run(int, context.Context)
}

func NewModifyController

func NewModifyController(
	name string,
	modifier modifier.Modifier,
	kubeClient kubernetes.Interface,
	resyncPeriod time.Duration,
	informerFactory informers.SharedInformerFactory,
	pvcRateLimiter workqueue.RateLimiter,
	retryModificationFailures bool,
) ModifyController

Jump to

Keyboard shortcuts

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