mockpersistentvolume

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package mockpersistentvolume implements the mock client for persistentvolumegetter.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockInterface

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

MockInterface is a mock of PersistentVolumeInterface interface

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance

func (*MockInterface) Apply added in v1.2.0

func (m *MockInterface) Apply(ctx context.Context, persistentVolume *corev1.PersistentVolumeApplyConfiguration, opts metav1.ApplyOptions) (result *v1.PersistentVolume, err error)

Apply mocks base method

func (*MockInterface) ApplyStatus added in v1.2.0

func (m *MockInterface) ApplyStatus(ctx context.Context, persistentVolume *corev1.PersistentVolumeApplyConfiguration, opts metav1.ApplyOptions) (result *v1.PersistentVolume, err error)

ApplyStatus mocks base method

func (*MockInterface) Create

func (m *MockInterface) Create(ctx context.Context, persistentVolume *v1.PersistentVolume, opts v10.CreateOptions) (*v1.PersistentVolume, error)

Create mocks base method

func (*MockInterface) Delete

func (m *MockInterface) Delete(ctx context.Context, name string, opts v10.DeleteOptions) error

Delete mocks base method

func (*MockInterface) DeleteCollection

func (m *MockInterface) DeleteCollection(ctx context.Context, opts v10.DeleteOptions, listOpts v10.ListOptions) error

DeleteCollection mocks base method

func (*MockInterface) EXPECT

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

func (*MockInterface) Get

Get mocks base method

func (*MockInterface) List

List mocks base method

func (*MockInterface) Patch

func (m *MockInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v10.PatchOptions, subresources ...string) (*v1.PersistentVolume, error)

Patch mocks base method

func (*MockInterface) Update

func (m *MockInterface) Update(ctx context.Context, persistentVolume *v1.PersistentVolume, opts v10.UpdateOptions) (*v1.PersistentVolume, error)

Update mocks base method

func (*MockInterface) UpdateStatus

func (m *MockInterface) UpdateStatus(ctx context.Context, persistentVolume *v1.PersistentVolume, opts v10.UpdateOptions) (*v1.PersistentVolume, error)

UpdateStatus mocks base method

func (*MockInterface) Watch

Watch mocks base method

type MockInterfaceMockRecorder

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

MockInterfaceMockRecorder is the mock recorder for MockInterface

func (*MockInterfaceMockRecorder) Create

func (mr *MockInterfaceMockRecorder) Create(ctx, persistentVolume, opts interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockInterfaceMockRecorder) Delete

func (mr *MockInterfaceMockRecorder) Delete(ctx, name, opts interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockInterfaceMockRecorder) DeleteCollection

func (mr *MockInterfaceMockRecorder) DeleteCollection(ctx, opts, listOpts interface{}) *gomock.Call

DeleteCollection indicates an expected call of DeleteCollection

func (*MockInterfaceMockRecorder) Get

func (mr *MockInterfaceMockRecorder) Get(ctx, name, opts interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockInterfaceMockRecorder) List

func (mr *MockInterfaceMockRecorder) List(ctx, opts interface{}) *gomock.Call

List indicates an expected call of List

func (*MockInterfaceMockRecorder) Patch

func (mr *MockInterfaceMockRecorder) Patch(ctx, name, pt, data, opts interface{}, subresources ...interface{}) *gomock.Call

Patch indicates an expected call of Patch

func (*MockInterfaceMockRecorder) Update

func (mr *MockInterfaceMockRecorder) Update(ctx, persistentVolume, opts interface{}) *gomock.Call

Update indicates an expected call of Update

func (*MockInterfaceMockRecorder) UpdateStatus

func (mr *MockInterfaceMockRecorder) UpdateStatus(ctx, persistentVolume, opts interface{}) *gomock.Call

UpdateStatus indicates an expected call of UpdateStatus

func (*MockInterfaceMockRecorder) Watch

func (mr *MockInterfaceMockRecorder) Watch(ctx, opts interface{}) *gomock.Call

Watch indicates an expected call of Watch

type MockPersistentVolumesGetter

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

MockPersistentVolumesGetter is a mock of PersistentVolumesGetter interface

func NewMockPersistentVolumesGetter

func NewMockPersistentVolumesGetter(ctrl *gomock.Controller) *MockPersistentVolumesGetter

NewMockPersistentVolumesGetter creates a new mock instance

func (*MockPersistentVolumesGetter) EXPECT

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

func (*MockPersistentVolumesGetter) PersistentVolumes

PersistentVolumes mocks base method

type MockPersistentVolumesGetterMockRecorder

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

MockPersistentVolumesGetterMockRecorder is the mock recorder for MockPersistentVolumesGetter

func (*MockPersistentVolumesGetterMockRecorder) PersistentVolumes

func (mr *MockPersistentVolumesGetterMockRecorder) PersistentVolumes() *gomock.Call

PersistentVolumes indicates an expected call of PersistentVolumes

Jump to

Keyboard shortcuts

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