mock_internal

package
v0.79.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_internal is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockARMClient

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

MockARMClient is a mock of ARMClient interface

func NewMockARMClient

func NewMockARMClient(ctrl *gomock.Controller) *MockARMClient

NewMockARMClient creates a new mock instance

func (*MockARMClient) EXPECT

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

func (*MockARMClient) GetVirtualMachinePowerState

func (m *MockARMClient) GetVirtualMachinePowerState(resourceGroup, vmName string) (string, error)

GetVirtualMachinePowerState mocks base method

func (*MockARMClient) GetVirtualMachineScaleSetInstancePowerState

func (m *MockARMClient) GetVirtualMachineScaleSetInstancePowerState(resourceGroup, vmssName, instanceID string) (string, error)

GetVirtualMachineScaleSetInstancePowerState mocks base method

func (*MockARMClient) RestartVirtualMachine

func (m *MockARMClient) RestartVirtualMachine(resourceGroup, vmName string) error

RestartVirtualMachine mocks base method

func (*MockARMClient) RestartVirtualMachineScaleSets

func (m *MockARMClient) RestartVirtualMachineScaleSets(resourceGroup, vmssName string) error

RestartVirtualMachineScaleSets mocks base method

type MockARMClientMockRecorder

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

MockARMClientMockRecorder is the mock recorder for MockARMClient

func (*MockARMClientMockRecorder) GetVirtualMachinePowerState

func (mr *MockARMClientMockRecorder) GetVirtualMachinePowerState(resourceGroup, vmName interface{}) *gomock.Call

GetVirtualMachinePowerState indicates an expected call of GetVirtualMachinePowerState

func (*MockARMClientMockRecorder) GetVirtualMachineScaleSetInstancePowerState

func (mr *MockARMClientMockRecorder) GetVirtualMachineScaleSetInstancePowerState(resourceGroup, vmssName, instanceID interface{}) *gomock.Call

GetVirtualMachineScaleSetInstancePowerState indicates an expected call of GetVirtualMachineScaleSetInstancePowerState

func (*MockARMClientMockRecorder) RestartVirtualMachine

func (mr *MockARMClientMockRecorder) RestartVirtualMachine(resourceGroup, vmName interface{}) *gomock.Call

RestartVirtualMachine indicates an expected call of RestartVirtualMachine

func (*MockARMClientMockRecorder) RestartVirtualMachineScaleSets

func (mr *MockARMClientMockRecorder) RestartVirtualMachineScaleSets(resourceGroup, vmssName interface{}) *gomock.Call

RestartVirtualMachineScaleSets indicates an expected call of RestartVirtualMachineScaleSets

type MockKubeClient

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

MockKubeClient is a mock of KubeClient interface

func NewMockKubeClient

func NewMockKubeClient(ctrl *gomock.Controller) *MockKubeClient

NewMockKubeClient creates a new mock instance

func (*MockKubeClient) DeletePods

func (m *MockKubeClient) DeletePods(namespace string, opts v11.ListOptions) error

DeletePods mocks base method

func (*MockKubeClient) DeleteSecret

func (m *MockKubeClient) DeleteSecret(secret *v10.Secret) error

DeleteSecret mocks base method

func (*MockKubeClient) DeleteServiceAccount

func (m *MockKubeClient) DeleteServiceAccount(secret *v10.ServiceAccount) error

DeleteServiceAccount mocks base method

func (*MockKubeClient) EXPECT

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

func (*MockKubeClient) GetDeployment

func (m *MockKubeClient) GetDeployment(namespace, name string) (*v1.Deployment, error)

GetDeployment mocks base method

func (*MockKubeClient) ListDaemonSets

func (m *MockKubeClient) ListDaemonSets(namespace string, opts v11.ListOptions) (*v1.DaemonSetList, error)

ListDaemonSets mocks base method

func (*MockKubeClient) ListDeployments

func (m *MockKubeClient) ListDeployments(namespace string, opts v11.ListOptions) (*v1.DeploymentList, error)

ListDeployments mocks base method

func (*MockKubeClient) ListNodes

func (m *MockKubeClient) ListNodes() (*v10.NodeList, error)

ListNodes mocks base method

func (*MockKubeClient) ListPods

func (m *MockKubeClient) ListPods(namespace string, opts v11.ListOptions) (*v10.PodList, error)

ListPods mocks base method

func (*MockKubeClient) ListServiceAccounts

func (m *MockKubeClient) ListServiceAccounts(namespace string, opts v11.ListOptions) (*v10.ServiceAccountList, error)

ListServiceAccounts mocks base method

func (*MockKubeClient) PatchDaemonSet

func (m *MockKubeClient) PatchDaemonSet(namespace, name, jsonPatch string) (*v1.DaemonSet, error)

PatchDaemonSet mocks base method

func (*MockKubeClient) PatchDeployment

func (m *MockKubeClient) PatchDeployment(namespace, name, jsonPatch string) (*v1.Deployment, error)

PatchDeployment mocks base method

type MockKubeClientMockRecorder

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

MockKubeClientMockRecorder is the mock recorder for MockKubeClient

func (*MockKubeClientMockRecorder) DeletePods

func (mr *MockKubeClientMockRecorder) DeletePods(namespace, opts interface{}) *gomock.Call

DeletePods indicates an expected call of DeletePods

func (*MockKubeClientMockRecorder) DeleteSecret

func (mr *MockKubeClientMockRecorder) DeleteSecret(secret interface{}) *gomock.Call

DeleteSecret indicates an expected call of DeleteSecret

func (*MockKubeClientMockRecorder) DeleteServiceAccount

func (mr *MockKubeClientMockRecorder) DeleteServiceAccount(secret interface{}) *gomock.Call

DeleteServiceAccount indicates an expected call of DeleteServiceAccount

func (*MockKubeClientMockRecorder) GetDeployment

func (mr *MockKubeClientMockRecorder) GetDeployment(namespace, name interface{}) *gomock.Call

GetDeployment indicates an expected call of GetDeployment

func (*MockKubeClientMockRecorder) ListDaemonSets

func (mr *MockKubeClientMockRecorder) ListDaemonSets(namespace, opts interface{}) *gomock.Call

ListDaemonSets indicates an expected call of ListDaemonSets

func (*MockKubeClientMockRecorder) ListDeployments

func (mr *MockKubeClientMockRecorder) ListDeployments(namespace, opts interface{}) *gomock.Call

ListDeployments indicates an expected call of ListDeployments

func (*MockKubeClientMockRecorder) ListNodes

func (mr *MockKubeClientMockRecorder) ListNodes() *gomock.Call

ListNodes indicates an expected call of ListNodes

func (*MockKubeClientMockRecorder) ListPods

func (mr *MockKubeClientMockRecorder) ListPods(namespace, opts interface{}) *gomock.Call

ListPods indicates an expected call of ListPods

func (*MockKubeClientMockRecorder) ListServiceAccounts

func (mr *MockKubeClientMockRecorder) ListServiceAccounts(namespace, opts interface{}) *gomock.Call

ListServiceAccounts indicates an expected call of ListServiceAccounts

func (*MockKubeClientMockRecorder) PatchDaemonSet

func (mr *MockKubeClientMockRecorder) PatchDaemonSet(namespace, name, jsonPatch interface{}) *gomock.Call

PatchDaemonSet indicates an expected call of PatchDaemonSet

func (*MockKubeClientMockRecorder) PatchDeployment

func (mr *MockKubeClientMockRecorder) PatchDeployment(namespace, name, jsonPatch interface{}) *gomock.Call

PatchDeployment indicates an expected call of PatchDeployment

Jump to

Keyboard shortcuts

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