Documentation ¶
Overview ¶
Package mock_virtualmachines is a generated GoMock package.
Run go generate to regenerate this mock.
Package mock_virtualmachines is a generated GoMock package.
Index ¶
- type MockVMScope
- func (m *MockVMScope) Authorizer() autorest.Authorizer
- func (m *MockVMScope) BaseURI() string
- func (m *MockVMScope) ClientID() string
- func (m *MockVMScope) ClientSecret() string
- func (m *MockVMScope) CloudEnvironment() string
- func (m *MockVMScope) DeleteLongRunningOperationState(arg0, arg1 string)
- func (m *MockVMScope) EXPECT() *MockVMScopeMockRecorder
- func (m *MockVMScope) GetLongRunningOperationState(arg0, arg1 string) *v1beta1.Future
- func (m *MockVMScope) HashKey() string
- func (m *MockVMScope) SetAddresses(arg0 []v1.NodeAddress)
- func (m *MockVMScope) SetAnnotation(arg0, arg1 string)
- func (m *MockVMScope) SetLongRunningOperationState(arg0 *v1beta1.Future)
- func (m *MockVMScope) SetProviderID(arg0 string)
- func (m *MockVMScope) SetVMState(arg0 v1beta1.ProvisioningState)
- func (m *MockVMScope) SubscriptionID() string
- func (m *MockVMScope) TenantID() string
- func (m *MockVMScope) UpdateDeleteStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)
- func (m *MockVMScope) UpdatePatchStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)
- func (m *MockVMScope) UpdatePutStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)
- func (m *MockVMScope) VMSpec() azure.ResourceSpecGetter
- type MockVMScopeMockRecorder
- func (mr *MockVMScopeMockRecorder) Authorizer() *gomock.Call
- func (mr *MockVMScopeMockRecorder) BaseURI() *gomock.Call
- func (mr *MockVMScopeMockRecorder) ClientID() *gomock.Call
- func (mr *MockVMScopeMockRecorder) ClientSecret() *gomock.Call
- func (mr *MockVMScopeMockRecorder) CloudEnvironment() *gomock.Call
- func (mr *MockVMScopeMockRecorder) DeleteLongRunningOperationState(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVMScopeMockRecorder) GetLongRunningOperationState(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVMScopeMockRecorder) HashKey() *gomock.Call
- func (mr *MockVMScopeMockRecorder) SetAddresses(arg0 interface{}) *gomock.Call
- func (mr *MockVMScopeMockRecorder) SetAnnotation(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVMScopeMockRecorder) SetLongRunningOperationState(arg0 interface{}) *gomock.Call
- func (mr *MockVMScopeMockRecorder) SetProviderID(arg0 interface{}) *gomock.Call
- func (mr *MockVMScopeMockRecorder) SetVMState(arg0 interface{}) *gomock.Call
- func (mr *MockVMScopeMockRecorder) SubscriptionID() *gomock.Call
- func (mr *MockVMScopeMockRecorder) TenantID() *gomock.Call
- func (mr *MockVMScopeMockRecorder) UpdateDeleteStatus(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockVMScopeMockRecorder) UpdatePatchStatus(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockVMScopeMockRecorder) UpdatePutStatus(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockVMScopeMockRecorder) VMSpec() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockVMScope ¶
type MockVMScope struct {
// contains filtered or unexported fields
}
MockVMScope is a mock of VMScope interface.
func NewMockVMScope ¶
func NewMockVMScope(ctrl *gomock.Controller) *MockVMScope
NewMockVMScope creates a new mock instance.
func (*MockVMScope) Authorizer ¶
func (m *MockVMScope) Authorizer() autorest.Authorizer
Authorizer mocks base method.
func (*MockVMScope) ClientSecret ¶
func (m *MockVMScope) ClientSecret() string
ClientSecret mocks base method.
func (*MockVMScope) CloudEnvironment ¶
func (m *MockVMScope) CloudEnvironment() string
CloudEnvironment mocks base method.
func (*MockVMScope) DeleteLongRunningOperationState ¶ added in v1.1.0
func (m *MockVMScope) DeleteLongRunningOperationState(arg0, arg1 string)
DeleteLongRunningOperationState mocks base method.
func (*MockVMScope) EXPECT ¶
func (m *MockVMScope) EXPECT() *MockVMScopeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVMScope) GetLongRunningOperationState ¶ added in v1.1.0
func (m *MockVMScope) GetLongRunningOperationState(arg0, arg1 string) *v1beta1.Future
GetLongRunningOperationState mocks base method.
func (*MockVMScope) SetAddresses ¶
func (m *MockVMScope) SetAddresses(arg0 []v1.NodeAddress)
SetAddresses mocks base method.
func (*MockVMScope) SetAnnotation ¶
func (m *MockVMScope) SetAnnotation(arg0, arg1 string)
SetAnnotation mocks base method.
func (*MockVMScope) SetLongRunningOperationState ¶ added in v1.1.0
func (m *MockVMScope) SetLongRunningOperationState(arg0 *v1beta1.Future)
SetLongRunningOperationState mocks base method.
func (*MockVMScope) SetProviderID ¶
func (m *MockVMScope) SetProviderID(arg0 string)
SetProviderID mocks base method.
func (*MockVMScope) SetVMState ¶
func (m *MockVMScope) SetVMState(arg0 v1beta1.ProvisioningState)
SetVMState mocks base method.
func (*MockVMScope) SubscriptionID ¶
func (m *MockVMScope) SubscriptionID() string
SubscriptionID mocks base method.
func (*MockVMScope) UpdateDeleteStatus ¶ added in v1.1.0
func (m *MockVMScope) UpdateDeleteStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)
UpdateDeleteStatus mocks base method.
func (*MockVMScope) UpdatePatchStatus ¶ added in v1.1.0
func (m *MockVMScope) UpdatePatchStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)
UpdatePatchStatus mocks base method.
func (*MockVMScope) UpdatePutStatus ¶ added in v1.1.0
func (m *MockVMScope) UpdatePutStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)
UpdatePutStatus mocks base method.
func (*MockVMScope) VMSpec ¶
func (m *MockVMScope) VMSpec() azure.ResourceSpecGetter
VMSpec mocks base method.
type MockVMScopeMockRecorder ¶
type MockVMScopeMockRecorder struct {
// contains filtered or unexported fields
}
MockVMScopeMockRecorder is the mock recorder for MockVMScope.
func (*MockVMScopeMockRecorder) Authorizer ¶
func (mr *MockVMScopeMockRecorder) Authorizer() *gomock.Call
Authorizer indicates an expected call of Authorizer.
func (*MockVMScopeMockRecorder) BaseURI ¶
func (mr *MockVMScopeMockRecorder) BaseURI() *gomock.Call
BaseURI indicates an expected call of BaseURI.
func (*MockVMScopeMockRecorder) ClientID ¶
func (mr *MockVMScopeMockRecorder) ClientID() *gomock.Call
ClientID indicates an expected call of ClientID.
func (*MockVMScopeMockRecorder) ClientSecret ¶
func (mr *MockVMScopeMockRecorder) ClientSecret() *gomock.Call
ClientSecret indicates an expected call of ClientSecret.
func (*MockVMScopeMockRecorder) CloudEnvironment ¶
func (mr *MockVMScopeMockRecorder) CloudEnvironment() *gomock.Call
CloudEnvironment indicates an expected call of CloudEnvironment.
func (*MockVMScopeMockRecorder) DeleteLongRunningOperationState ¶ added in v1.1.0
func (mr *MockVMScopeMockRecorder) DeleteLongRunningOperationState(arg0, arg1 interface{}) *gomock.Call
DeleteLongRunningOperationState indicates an expected call of DeleteLongRunningOperationState.
func (*MockVMScopeMockRecorder) GetLongRunningOperationState ¶ added in v1.1.0
func (mr *MockVMScopeMockRecorder) GetLongRunningOperationState(arg0, arg1 interface{}) *gomock.Call
GetLongRunningOperationState indicates an expected call of GetLongRunningOperationState.
func (*MockVMScopeMockRecorder) HashKey ¶
func (mr *MockVMScopeMockRecorder) HashKey() *gomock.Call
HashKey indicates an expected call of HashKey.
func (*MockVMScopeMockRecorder) SetAddresses ¶
func (mr *MockVMScopeMockRecorder) SetAddresses(arg0 interface{}) *gomock.Call
SetAddresses indicates an expected call of SetAddresses.
func (*MockVMScopeMockRecorder) SetAnnotation ¶
func (mr *MockVMScopeMockRecorder) SetAnnotation(arg0, arg1 interface{}) *gomock.Call
SetAnnotation indicates an expected call of SetAnnotation.
func (*MockVMScopeMockRecorder) SetLongRunningOperationState ¶ added in v1.1.0
func (mr *MockVMScopeMockRecorder) SetLongRunningOperationState(arg0 interface{}) *gomock.Call
SetLongRunningOperationState indicates an expected call of SetLongRunningOperationState.
func (*MockVMScopeMockRecorder) SetProviderID ¶
func (mr *MockVMScopeMockRecorder) SetProviderID(arg0 interface{}) *gomock.Call
SetProviderID indicates an expected call of SetProviderID.
func (*MockVMScopeMockRecorder) SetVMState ¶
func (mr *MockVMScopeMockRecorder) SetVMState(arg0 interface{}) *gomock.Call
SetVMState indicates an expected call of SetVMState.
func (*MockVMScopeMockRecorder) SubscriptionID ¶
func (mr *MockVMScopeMockRecorder) SubscriptionID() *gomock.Call
SubscriptionID indicates an expected call of SubscriptionID.
func (*MockVMScopeMockRecorder) TenantID ¶
func (mr *MockVMScopeMockRecorder) TenantID() *gomock.Call
TenantID indicates an expected call of TenantID.
func (*MockVMScopeMockRecorder) UpdateDeleteStatus ¶ added in v1.1.0
func (mr *MockVMScopeMockRecorder) UpdateDeleteStatus(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateDeleteStatus indicates an expected call of UpdateDeleteStatus.
func (*MockVMScopeMockRecorder) UpdatePatchStatus ¶ added in v1.1.0
func (mr *MockVMScopeMockRecorder) UpdatePatchStatus(arg0, arg1, arg2 interface{}) *gomock.Call
UpdatePatchStatus indicates an expected call of UpdatePatchStatus.
func (*MockVMScopeMockRecorder) UpdatePutStatus ¶ added in v1.1.0
func (mr *MockVMScopeMockRecorder) UpdatePutStatus(arg0, arg1, arg2 interface{}) *gomock.Call
UpdatePutStatus indicates an expected call of UpdatePutStatus.
func (*MockVMScopeMockRecorder) VMSpec ¶
func (mr *MockVMScopeMockRecorder) VMSpec() *gomock.Call
VMSpec indicates an expected call of VMSpec.