Documentation ¶
Overview ¶
Package mock_internal is a generated GoMock package.
Index ¶
- type MockARMClient
- func (m *MockARMClient) EXPECT() *MockARMClientMockRecorder
- func (m *MockARMClient) GetVirtualMachinePowerState(resourceGroup, vmName string) (string, error)
- func (m *MockARMClient) GetVirtualMachineScaleSetInstancePowerState(resourceGroup, vmssName, instanceID string) (string, error)
- func (m *MockARMClient) RestartVirtualMachine(resourceGroup, vmName string) error
- func (m *MockARMClient) RestartVirtualMachineScaleSets(resourceGroup, vmssName string) error
- type MockARMClientMockRecorder
- func (mr *MockARMClientMockRecorder) GetVirtualMachinePowerState(resourceGroup, vmName interface{}) *gomock.Call
- func (mr *MockARMClientMockRecorder) GetVirtualMachineScaleSetInstancePowerState(resourceGroup, vmssName, instanceID interface{}) *gomock.Call
- func (mr *MockARMClientMockRecorder) RestartVirtualMachine(resourceGroup, vmName interface{}) *gomock.Call
- func (mr *MockARMClientMockRecorder) RestartVirtualMachineScaleSets(resourceGroup, vmssName interface{}) *gomock.Call
- type MockKubeClient
- func (m *MockKubeClient) DeletePods(namespace string, opts v11.ListOptions) error
- func (m *MockKubeClient) DeleteSecret(secret *v10.Secret) error
- func (m *MockKubeClient) DeleteServiceAccount(secret *v10.ServiceAccount) error
- func (m *MockKubeClient) EXPECT() *MockKubeClientMockRecorder
- func (m *MockKubeClient) GetDeployment(namespace, name string) (*v1.Deployment, error)
- func (m *MockKubeClient) ListDaemonSets(namespace string, opts v11.ListOptions) (*v1.DaemonSetList, error)
- func (m *MockKubeClient) ListDeployments(namespace string, opts v11.ListOptions) (*v1.DeploymentList, error)
- func (m *MockKubeClient) ListNodes() (*v10.NodeList, error)
- func (m *MockKubeClient) ListPods(namespace string, opts v11.ListOptions) (*v10.PodList, error)
- func (m *MockKubeClient) ListServiceAccounts(namespace string, opts v11.ListOptions) (*v10.ServiceAccountList, error)
- func (m *MockKubeClient) PatchDaemonSet(namespace, name, jsonPatch string) (*v1.DaemonSet, error)
- func (m *MockKubeClient) PatchDeployment(namespace, name, jsonPatch string) (*v1.Deployment, error)
- type MockKubeClientMockRecorder
- func (mr *MockKubeClientMockRecorder) DeletePods(namespace, opts interface{}) *gomock.Call
- func (mr *MockKubeClientMockRecorder) DeleteSecret(secret interface{}) *gomock.Call
- func (mr *MockKubeClientMockRecorder) DeleteServiceAccount(secret interface{}) *gomock.Call
- func (mr *MockKubeClientMockRecorder) GetDeployment(namespace, name interface{}) *gomock.Call
- func (mr *MockKubeClientMockRecorder) ListDaemonSets(namespace, opts interface{}) *gomock.Call
- func (mr *MockKubeClientMockRecorder) ListDeployments(namespace, opts interface{}) *gomock.Call
- func (mr *MockKubeClientMockRecorder) ListNodes() *gomock.Call
- func (mr *MockKubeClientMockRecorder) ListPods(namespace, opts interface{}) *gomock.Call
- func (mr *MockKubeClientMockRecorder) ListServiceAccounts(namespace, opts interface{}) *gomock.Call
- func (mr *MockKubeClientMockRecorder) PatchDaemonSet(namespace, name, jsonPatch interface{}) *gomock.Call
- func (mr *MockKubeClientMockRecorder) PatchDeployment(namespace, name, jsonPatch interface{}) *gomock.Call
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 ¶
func (m *MockARMClient) EXPECT() *MockARMClientMockRecorder
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 ¶
func (m *MockKubeClient) EXPECT() *MockKubeClientMockRecorder
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