mocks

package
v1.1.3-alpha3 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockControlPlane

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

MockControlPlane is a mock of ControlPlane interface.

func NewMockControlPlane

func NewMockControlPlane(ctrl *gomock.Controller) *MockControlPlane

NewMockControlPlane creates a new mock instance.

func (*MockControlPlane) AuthenticateUser

func (m *MockControlPlane) AuthenticateUser(arg0 context.Context, arg1 api.AuthUserData) (api.UserSession, *http.Response, error)

AuthenticateUser mocks base method.

func (*MockControlPlane) DeleteNamespace

func (m *MockControlPlane) DeleteNamespace(arg0 context.Context, arg1, arg2 string, arg3 *api.DeleteNamespaceOpts) (*http.Response, error)

DeleteNamespace mocks base method.

func (*MockControlPlane) DeleteNode

func (m *MockControlPlane) DeleteNode(arg0 context.Context, arg1, arg2 string, arg3 *api.DeleteNodeOpts) (*http.Response, error)

DeleteNode mocks base method.

func (*MockControlPlane) EXPECT

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

func (*MockControlPlane) GetVolume

func (m *MockControlPlane) GetVolume(arg0 context.Context, arg1, arg2 string) (api.Volume, *http.Response, error)

GetVolume mocks base method.

func (*MockControlPlane) ListNamespaces

func (m *MockControlPlane) ListNamespaces(arg0 context.Context) ([]api.Namespace, *http.Response, error)

ListNamespaces mocks base method.

func (*MockControlPlane) ListNodes

func (m *MockControlPlane) ListNodes(arg0 context.Context) ([]api.Node, *http.Response, error)

ListNodes mocks base method.

func (*MockControlPlane) ListVolumes

func (m *MockControlPlane) ListVolumes(arg0 context.Context, arg1 string) ([]api.Volume, *http.Response, error)

ListVolumes mocks base method.

func (*MockControlPlane) RefreshJwt

func (m *MockControlPlane) RefreshJwt(arg0 context.Context) (api.UserSession, *http.Response, error)

RefreshJwt mocks base method.

func (*MockControlPlane) SetComputeOnly added in v1.1.0

SetComputeOnly mocks base method.

func (*MockControlPlane) SetFailureMode added in v1.1.0

func (m *MockControlPlane) SetFailureMode(arg0 context.Context, arg1, arg2 string, arg3 api.SetFailureModeRequest, arg4 *api.SetFailureModeOpts) (api.Volume, *http.Response, error)

SetFailureMode mocks base method.

func (*MockControlPlane) SetPlacementStrategy added in v1.2.0

SetPlacementStrategy mocks base method.

func (*MockControlPlane) SetReplicas

SetReplicas mocks base method.

func (*MockControlPlane) UpdateNFSVolumeMountEndpoint

func (m *MockControlPlane) UpdateNFSVolumeMountEndpoint(arg0 context.Context, arg1, arg2 string, arg3 api.NfsVolumeMountEndpoint, arg4 *api.UpdateNFSVolumeMountEndpointOpts) (*http.Response, error)

UpdateNFSVolumeMountEndpoint mocks base method.

func (*MockControlPlane) UpdateNode

func (m *MockControlPlane) UpdateNode(arg0 context.Context, arg1 string, arg2 api.UpdateNodeData) (api.Node, *http.Response, error)

UpdateNode mocks base method.

func (*MockControlPlane) UpdateVolume

func (m *MockControlPlane) UpdateVolume(arg0 context.Context, arg1, arg2 string, arg3 api.UpdateVolumeData, arg4 *api.UpdateVolumeOpts) (api.Volume, *http.Response, error)

UpdateVolume mocks base method.

type MockControlPlaneMockRecorder

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

MockControlPlaneMockRecorder is the mock recorder for MockControlPlane.

func (*MockControlPlaneMockRecorder) AuthenticateUser

func (mr *MockControlPlaneMockRecorder) AuthenticateUser(arg0, arg1 interface{}) *gomock.Call

AuthenticateUser indicates an expected call of AuthenticateUser.

func (*MockControlPlaneMockRecorder) DeleteNamespace

func (mr *MockControlPlaneMockRecorder) DeleteNamespace(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

DeleteNamespace indicates an expected call of DeleteNamespace.

func (*MockControlPlaneMockRecorder) DeleteNode

func (mr *MockControlPlaneMockRecorder) DeleteNode(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

DeleteNode indicates an expected call of DeleteNode.

func (*MockControlPlaneMockRecorder) GetVolume

func (mr *MockControlPlaneMockRecorder) GetVolume(arg0, arg1, arg2 interface{}) *gomock.Call

GetVolume indicates an expected call of GetVolume.

func (*MockControlPlaneMockRecorder) ListNamespaces

func (mr *MockControlPlaneMockRecorder) ListNamespaces(arg0 interface{}) *gomock.Call

ListNamespaces indicates an expected call of ListNamespaces.

func (*MockControlPlaneMockRecorder) ListNodes

func (mr *MockControlPlaneMockRecorder) ListNodes(arg0 interface{}) *gomock.Call

ListNodes indicates an expected call of ListNodes.

func (*MockControlPlaneMockRecorder) ListVolumes

func (mr *MockControlPlaneMockRecorder) ListVolumes(arg0, arg1 interface{}) *gomock.Call

ListVolumes indicates an expected call of ListVolumes.

func (*MockControlPlaneMockRecorder) RefreshJwt

func (mr *MockControlPlaneMockRecorder) RefreshJwt(arg0 interface{}) *gomock.Call

RefreshJwt indicates an expected call of RefreshJwt.

func (*MockControlPlaneMockRecorder) SetComputeOnly added in v1.1.0

func (mr *MockControlPlaneMockRecorder) SetComputeOnly(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

SetComputeOnly indicates an expected call of SetComputeOnly.

func (*MockControlPlaneMockRecorder) SetFailureMode added in v1.1.0

func (mr *MockControlPlaneMockRecorder) SetFailureMode(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

SetFailureMode indicates an expected call of SetFailureMode.

func (*MockControlPlaneMockRecorder) SetPlacementStrategy added in v1.2.0

func (mr *MockControlPlaneMockRecorder) SetPlacementStrategy(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

SetPlacementStrategy indicates an expected call of SetPlacementStrategy.

func (*MockControlPlaneMockRecorder) SetReplicas

func (mr *MockControlPlaneMockRecorder) SetReplicas(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

SetReplicas indicates an expected call of SetReplicas.

func (*MockControlPlaneMockRecorder) UpdateNFSVolumeMountEndpoint

func (mr *MockControlPlaneMockRecorder) UpdateNFSVolumeMountEndpoint(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

UpdateNFSVolumeMountEndpoint indicates an expected call of UpdateNFSVolumeMountEndpoint.

func (*MockControlPlaneMockRecorder) UpdateNode

func (mr *MockControlPlaneMockRecorder) UpdateNode(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateNode indicates an expected call of UpdateNode.

func (*MockControlPlaneMockRecorder) UpdateVolume

func (mr *MockControlPlaneMockRecorder) UpdateVolume(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

UpdateVolume indicates an expected call of UpdateVolume.

type MockIdentifier added in v1.1.0

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

MockIdentifier is a mock of Identifier interface.

func NewMockIdentifier added in v1.1.0

func NewMockIdentifier(ctrl *gomock.Controller) *MockIdentifier

NewMockIdentifier creates a new mock instance.

func (*MockIdentifier) EXPECT added in v1.1.0

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

func (*MockIdentifier) GetID added in v1.1.0

func (m *MockIdentifier) GetID() string

GetID mocks base method.

func (*MockIdentifier) GetName added in v1.1.0

func (m *MockIdentifier) GetName() string

GetName mocks base method.

func (*MockIdentifier) GetNamespace added in v1.1.0

func (m *MockIdentifier) GetNamespace() string

GetNamespace mocks base method.

type MockIdentifierMockRecorder added in v1.1.0

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

MockIdentifierMockRecorder is the mock recorder for MockIdentifier.

func (*MockIdentifierMockRecorder) GetID added in v1.1.0

func (mr *MockIdentifierMockRecorder) GetID() *gomock.Call

GetID indicates an expected call of GetID.

func (*MockIdentifierMockRecorder) GetName added in v1.1.0

func (mr *MockIdentifierMockRecorder) GetName() *gomock.Call

GetName indicates an expected call of GetName.

func (*MockIdentifierMockRecorder) GetNamespace added in v1.1.0

func (mr *MockIdentifierMockRecorder) GetNamespace() *gomock.Call

GetNamespace indicates an expected call of GetNamespace.

type MockObject added in v1.1.0

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

MockObject is a mock of Object interface.

func NewMockObject added in v1.1.0

func NewMockObject(ctrl *gomock.Controller) *MockObject

NewMockObject creates a new mock instance.

func (*MockObject) EXPECT added in v1.1.0

func (m *MockObject) EXPECT() *MockObjectMockRecorder

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

func (*MockObject) GetID added in v1.1.0

func (m *MockObject) GetID() string

GetID mocks base method.

func (*MockObject) GetLabels added in v1.1.0

func (m *MockObject) GetLabels() map[string]string

GetLabels mocks base method.

func (*MockObject) GetName added in v1.1.0

func (m *MockObject) GetName() string

GetName mocks base method.

func (*MockObject) GetNamespace added in v1.1.0

func (m *MockObject) GetNamespace() string

GetNamespace mocks base method.

func (*MockObject) IsHealthy added in v1.1.0

func (m *MockObject) IsHealthy() bool

IsHealthy mocks base method.

type MockObjectMockRecorder added in v1.1.0

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

MockObjectMockRecorder is the mock recorder for MockObject.

func (*MockObjectMockRecorder) GetID added in v1.1.0

func (mr *MockObjectMockRecorder) GetID() *gomock.Call

GetID indicates an expected call of GetID.

func (*MockObjectMockRecorder) GetLabels added in v1.1.0

func (mr *MockObjectMockRecorder) GetLabels() *gomock.Call

GetLabels indicates an expected call of GetLabels.

func (*MockObjectMockRecorder) GetName added in v1.1.0

func (mr *MockObjectMockRecorder) GetName() *gomock.Call

GetName indicates an expected call of GetName.

func (*MockObjectMockRecorder) GetNamespace added in v1.1.0

func (mr *MockObjectMockRecorder) GetNamespace() *gomock.Call

GetNamespace indicates an expected call of GetNamespace.

func (*MockObjectMockRecorder) IsHealthy added in v1.1.0

func (mr *MockObjectMockRecorder) IsHealthy() *gomock.Call

IsHealthy indicates an expected call of IsHealthy.

Jump to

Keyboard shortcuts

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