volumegroup

package
v0.15.4 Latest Latest
Warning

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

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

Documentation

Overview

Package volumegroup is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewManager

func NewManager(cli client.Client, informersCache runtimecache.Cache) apisv1alpha1.VolumeGroupManager

Types

type MockVolumeGroupManager

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

MockVolumeGroupManager is a mock of VolumeGroupManager interface.

func NewMockVolumeGroupManager

func NewMockVolumeGroupManager(ctrl *gomock.Controller) *MockVolumeGroupManager

NewMockVolumeGroupManager creates a new mock instance.

func (*MockVolumeGroupManager) EXPECT

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

func (*MockVolumeGroupManager) GetLocalVolumeGroupByLocalVolume

func (m *MockVolumeGroupManager) GetLocalVolumeGroupByLocalVolume(nameSpace, lvName string) (*v1alpha1.LocalVolumeGroup, error)

GetLocalVolumeGroupByLocalVolume mocks base method.

func (*MockVolumeGroupManager) GetLocalVolumeGroupByName

func (m *MockVolumeGroupManager) GetLocalVolumeGroupByName(nameSpace, lvgName string) (*v1alpha1.LocalVolumeGroup, error)

GetLocalVolumeGroupByName mocks base method.

func (*MockVolumeGroupManager) GetLocalVolumeGroupByPVC

func (m *MockVolumeGroupManager) GetLocalVolumeGroupByPVC(pvcName, pvcNamespace string) (*v1alpha1.LocalVolumeGroup, error)

GetLocalVolumeGroupByPVC mocks base method.

func (*MockVolumeGroupManager) Init

func (m *MockVolumeGroupManager) Init(stopCh <-chan struct{})

Init mocks base method.

func (*MockVolumeGroupManager) ReconcileVolumeGroup

func (m *MockVolumeGroupManager) ReconcileVolumeGroup(volGroup *v1alpha1.LocalVolumeGroup)

ReconcileVolumeGroup mocks base method.

type MockVolumeGroupManagerMockRecorder

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

MockVolumeGroupManagerMockRecorder is the mock recorder for MockVolumeGroupManager.

func (*MockVolumeGroupManagerMockRecorder) GetLocalVolumeGroupByLocalVolume

func (mr *MockVolumeGroupManagerMockRecorder) GetLocalVolumeGroupByLocalVolume(nameSpace, lvName interface{}) *gomock.Call

GetLocalVolumeGroupByLocalVolume indicates an expected call of GetLocalVolumeGroupByLocalVolume.

func (*MockVolumeGroupManagerMockRecorder) GetLocalVolumeGroupByName

func (mr *MockVolumeGroupManagerMockRecorder) GetLocalVolumeGroupByName(nameSpace, lvgName interface{}) *gomock.Call

GetLocalVolumeGroupByName indicates an expected call of GetLocalVolumeGroupByName.

func (*MockVolumeGroupManagerMockRecorder) GetLocalVolumeGroupByPVC

func (mr *MockVolumeGroupManagerMockRecorder) GetLocalVolumeGroupByPVC(pvcName, pvcNamespace interface{}) *gomock.Call

GetLocalVolumeGroupByPVC indicates an expected call of GetLocalVolumeGroupByPVC.

func (*MockVolumeGroupManagerMockRecorder) Init

func (mr *MockVolumeGroupManagerMockRecorder) Init(stopCh interface{}) *gomock.Call

Init indicates an expected call of Init.

func (*MockVolumeGroupManagerMockRecorder) ReconcileVolumeGroup

func (mr *MockVolumeGroupManagerMockRecorder) ReconcileVolumeGroup(volGroup interface{}) *gomock.Call

ReconcileVolumeGroup indicates an expected call of ReconcileVolumeGroup.

type MockVolumeScheduler

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

MockVolumeScheduler is a mock of VolumeScheduler interface.

func NewMockVolumeScheduler

func NewMockVolumeScheduler(ctrl *gomock.Controller) *MockVolumeScheduler

NewMockVolumeScheduler creates a new mock instance.

func (*MockVolumeScheduler) Allocate

Allocate mocks base method.

func (*MockVolumeScheduler) EXPECT

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

func (*MockVolumeScheduler) GetNodeCandidates

func (m *MockVolumeScheduler) GetNodeCandidates(vols []*v1alpha1.LocalVolume) []*v1alpha1.LocalStorageNode

GetNodeCandidates mocks base method.

func (*MockVolumeScheduler) Init

func (m *MockVolumeScheduler) Init()

Init mocks base method.

type MockVolumeSchedulerMockRecorder

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

MockVolumeSchedulerMockRecorder is the mock recorder for MockVolumeScheduler.

func (*MockVolumeSchedulerMockRecorder) Allocate

func (mr *MockVolumeSchedulerMockRecorder) Allocate(vol interface{}) *gomock.Call

Allocate indicates an expected call of Allocate.

func (*MockVolumeSchedulerMockRecorder) GetNodeCandidates

func (mr *MockVolumeSchedulerMockRecorder) GetNodeCandidates(vols interface{}) *gomock.Call

GetNodeCandidates indicates an expected call of GetNodeCandidates.

func (*MockVolumeSchedulerMockRecorder) Init

Init indicates an expected call of Init.

Jump to

Keyboard shortcuts

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