mock_adminactions

package
v0.0.0-...-823d357 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_adminactions is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAzureActions

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

MockAzureActions is a mock of AzureActions interface.

func NewMockAzureActions

func NewMockAzureActions(ctrl *gomock.Controller) *MockAzureActions

NewMockAzureActions creates a new mock instance.

func (*MockAzureActions) EXPECT

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

func (*MockAzureActions) ResourcesList

func (m *MockAzureActions) ResourcesList(arg0 context.Context) ([]byte, error)

ResourcesList mocks base method.

func (*MockAzureActions) VMRedeployAndWait

func (m *MockAzureActions) VMRedeployAndWait(arg0 context.Context, arg1 string) error

VMRedeployAndWait mocks base method.

func (*MockAzureActions) VMSerialConsole

func (m *MockAzureActions) VMSerialConsole(arg0 context.Context, arg1 http.ResponseWriter, arg2 *logrus.Entry, arg3 string) error

VMSerialConsole mocks base method.

type MockAzureActionsMockRecorder

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

MockAzureActionsMockRecorder is the mock recorder for MockAzureActions.

func (*MockAzureActionsMockRecorder) ResourcesList

func (mr *MockAzureActionsMockRecorder) ResourcesList(arg0 interface{}) *gomock.Call

ResourcesList indicates an expected call of ResourcesList.

func (*MockAzureActionsMockRecorder) VMRedeployAndWait

func (mr *MockAzureActionsMockRecorder) VMRedeployAndWait(arg0, arg1 interface{}) *gomock.Call

VMRedeployAndWait indicates an expected call of VMRedeployAndWait.

func (*MockAzureActionsMockRecorder) VMSerialConsole

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

VMSerialConsole indicates an expected call of VMSerialConsole.

type MockKubeActions

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

MockKubeActions is a mock of KubeActions interface.

func NewMockKubeActions

func NewMockKubeActions(ctrl *gomock.Controller) *MockKubeActions

NewMockKubeActions creates a new mock instance.

func (*MockKubeActions) EXPECT

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

func (*MockKubeActions) KubeCreateOrUpdate

func (m *MockKubeActions) KubeCreateOrUpdate(arg0 context.Context, arg1 *unstructured.Unstructured) error

KubeCreateOrUpdate mocks base method.

func (*MockKubeActions) KubeDelete

func (m *MockKubeActions) KubeDelete(arg0 context.Context, arg1, arg2, arg3 string) error

KubeDelete mocks base method.

func (*MockKubeActions) KubeGet

func (m *MockKubeActions) KubeGet(arg0 context.Context, arg1, arg2, arg3 string) ([]byte, error)

KubeGet mocks base method.

func (*MockKubeActions) KubeList

func (m *MockKubeActions) KubeList(arg0 context.Context, arg1, arg2 string) ([]byte, error)

KubeList mocks base method.

func (*MockKubeActions) Upgrade

func (m *MockKubeActions) Upgrade(arg0 context.Context, arg1 bool) error

Upgrade mocks base method.

type MockKubeActionsMockRecorder

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

MockKubeActionsMockRecorder is the mock recorder for MockKubeActions.

func (*MockKubeActionsMockRecorder) KubeCreateOrUpdate

func (mr *MockKubeActionsMockRecorder) KubeCreateOrUpdate(arg0, arg1 interface{}) *gomock.Call

KubeCreateOrUpdate indicates an expected call of KubeCreateOrUpdate.

func (*MockKubeActionsMockRecorder) KubeDelete

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

KubeDelete indicates an expected call of KubeDelete.

func (*MockKubeActionsMockRecorder) KubeGet

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

KubeGet indicates an expected call of KubeGet.

func (*MockKubeActionsMockRecorder) KubeList

func (mr *MockKubeActionsMockRecorder) KubeList(arg0, arg1, arg2 interface{}) *gomock.Call

KubeList indicates an expected call of KubeList.

func (*MockKubeActionsMockRecorder) Upgrade

func (mr *MockKubeActionsMockRecorder) Upgrade(arg0, arg1 interface{}) *gomock.Call

Upgrade indicates an expected call of Upgrade.

Jump to

Keyboard shortcuts

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