Documentation ¶
Overview ¶
Package mock_adminactions is a generated GoMock package.
Index ¶
- type MockAzureActions
- func (m *MockAzureActions) EXPECT() *MockAzureActionsMockRecorder
- func (m *MockAzureActions) ResourcesList(arg0 context.Context) ([]byte, error)
- func (m *MockAzureActions) VMRedeployAndWait(arg0 context.Context, arg1 string) error
- func (m *MockAzureActions) VMSerialConsole(arg0 context.Context, arg1 http.ResponseWriter, arg2 *logrus.Entry, ...) error
- type MockAzureActionsMockRecorder
- type MockKubeActions
- func (m *MockKubeActions) EXPECT() *MockKubeActionsMockRecorder
- func (m *MockKubeActions) KubeCreateOrUpdate(arg0 context.Context, arg1 *unstructured.Unstructured) error
- func (m *MockKubeActions) KubeDelete(arg0 context.Context, arg1, arg2, arg3 string) error
- func (m *MockKubeActions) KubeGet(arg0 context.Context, arg1, arg2, arg3 string) ([]byte, error)
- func (m *MockKubeActions) KubeList(arg0 context.Context, arg1, arg2 string) ([]byte, error)
- func (m *MockKubeActions) Upgrade(arg0 context.Context, arg1 bool) error
- type MockKubeActionsMockRecorder
- func (mr *MockKubeActionsMockRecorder) KubeCreateOrUpdate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockKubeActionsMockRecorder) KubeDelete(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockKubeActionsMockRecorder) KubeGet(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockKubeActionsMockRecorder) KubeList(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockKubeActionsMockRecorder) Upgrade(arg0, arg1 interface{}) *gomock.Call
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 ¶
func (m *MockAzureActions) EXPECT() *MockAzureActionsMockRecorder
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 ¶
func (m *MockKubeActions) EXPECT() *MockKubeActionsMockRecorder
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.
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.