Documentation ¶
Overview ¶
Package mock_groups is a generated GoMock package.
Run go generate to regenerate this mock.
Package mock_groups is a generated GoMock package.
Index ¶
- type MockGroupScope
- func (m *MockGroupScope) Authorizer() autorest.Authorizer
- func (m *MockGroupScope) BaseURI() string
- func (m *MockGroupScope) ClientID() string
- func (m *MockGroupScope) ClientSecret() string
- func (m *MockGroupScope) CloudEnvironment() string
- func (m *MockGroupScope) ClusterName() string
- func (m *MockGroupScope) DeleteLongRunningOperationState(arg0, arg1 string)
- func (m *MockGroupScope) EXPECT() *MockGroupScopeMockRecorder
- func (m *MockGroupScope) GetLongRunningOperationState(arg0, arg1 string) *v1beta1.Future
- func (m *MockGroupScope) GroupSpec() azure.ResourceSpecGetter
- func (m *MockGroupScope) HashKey() string
- func (m *MockGroupScope) SetLongRunningOperationState(arg0 *v1beta1.Future)
- func (m *MockGroupScope) SubscriptionID() string
- func (m *MockGroupScope) TenantID() string
- func (m *MockGroupScope) UpdateDeleteStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)
- func (m *MockGroupScope) UpdatePatchStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)
- func (m *MockGroupScope) UpdatePutStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)
- type MockGroupScopeMockRecorder
- func (mr *MockGroupScopeMockRecorder) Authorizer() *gomock.Call
- func (mr *MockGroupScopeMockRecorder) BaseURI() *gomock.Call
- func (mr *MockGroupScopeMockRecorder) ClientID() *gomock.Call
- func (mr *MockGroupScopeMockRecorder) ClientSecret() *gomock.Call
- func (mr *MockGroupScopeMockRecorder) CloudEnvironment() *gomock.Call
- func (mr *MockGroupScopeMockRecorder) ClusterName() *gomock.Call
- func (mr *MockGroupScopeMockRecorder) DeleteLongRunningOperationState(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGroupScopeMockRecorder) GetLongRunningOperationState(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGroupScopeMockRecorder) GroupSpec() *gomock.Call
- func (mr *MockGroupScopeMockRecorder) HashKey() *gomock.Call
- func (mr *MockGroupScopeMockRecorder) SetLongRunningOperationState(arg0 interface{}) *gomock.Call
- func (mr *MockGroupScopeMockRecorder) SubscriptionID() *gomock.Call
- func (mr *MockGroupScopeMockRecorder) TenantID() *gomock.Call
- func (mr *MockGroupScopeMockRecorder) UpdateDeleteStatus(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockGroupScopeMockRecorder) UpdatePatchStatus(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockGroupScopeMockRecorder) UpdatePutStatus(arg0, arg1, arg2 interface{}) *gomock.Call
- type Mockclient
- func (m *Mockclient) CreateOrUpdateAsync(ctx context.Context, spec azure0.ResourceSpecGetter, parameters interface{}) (interface{}, azure.FutureAPI, error)
- func (m *Mockclient) DeleteAsync(ctx context.Context, spec azure0.ResourceSpecGetter) (azure.FutureAPI, error)
- func (m *Mockclient) EXPECT() *MockclientMockRecorder
- func (m *Mockclient) Get(arg0 context.Context, arg1 azure0.ResourceSpecGetter) (interface{}, error)
- func (m *Mockclient) IsDone(ctx context.Context, future azure.FutureAPI) (bool, error)
- func (m *Mockclient) Result(ctx context.Context, future azure.FutureAPI, futureType string) (interface{}, error)
- type MockclientMockRecorder
- func (mr *MockclientMockRecorder) CreateOrUpdateAsync(ctx, spec, parameters interface{}) *gomock.Call
- func (mr *MockclientMockRecorder) DeleteAsync(ctx, spec interface{}) *gomock.Call
- func (mr *MockclientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockclientMockRecorder) IsDone(ctx, future interface{}) *gomock.Call
- func (mr *MockclientMockRecorder) Result(ctx, future, futureType interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockGroupScope ¶
type MockGroupScope struct {
// contains filtered or unexported fields
}
MockGroupScope is a mock of GroupScope interface.
func NewMockGroupScope ¶
func NewMockGroupScope(ctrl *gomock.Controller) *MockGroupScope
NewMockGroupScope creates a new mock instance.
func (*MockGroupScope) Authorizer ¶
func (m *MockGroupScope) Authorizer() autorest.Authorizer
Authorizer mocks base method.
func (*MockGroupScope) BaseURI ¶
func (m *MockGroupScope) BaseURI() string
BaseURI mocks base method.
func (*MockGroupScope) ClientID ¶
func (m *MockGroupScope) ClientID() string
ClientID mocks base method.
func (*MockGroupScope) ClientSecret ¶
func (m *MockGroupScope) ClientSecret() string
ClientSecret mocks base method.
func (*MockGroupScope) CloudEnvironment ¶
func (m *MockGroupScope) CloudEnvironment() string
CloudEnvironment mocks base method.
func (*MockGroupScope) ClusterName ¶
func (m *MockGroupScope) ClusterName() string
ClusterName mocks base method.
func (*MockGroupScope) DeleteLongRunningOperationState ¶ added in v0.5.3
func (m *MockGroupScope) DeleteLongRunningOperationState(arg0, arg1 string)
DeleteLongRunningOperationState mocks base method.
func (*MockGroupScope) EXPECT ¶
func (m *MockGroupScope) EXPECT() *MockGroupScopeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGroupScope) GetLongRunningOperationState ¶ added in v0.5.3
func (m *MockGroupScope) GetLongRunningOperationState(arg0, arg1 string) *v1beta1.Future
GetLongRunningOperationState mocks base method.
func (*MockGroupScope) GroupSpec ¶ added in v0.5.3
func (m *MockGroupScope) GroupSpec() azure.ResourceSpecGetter
GroupSpec mocks base method.
func (*MockGroupScope) HashKey ¶
func (m *MockGroupScope) HashKey() string
HashKey mocks base method.
func (*MockGroupScope) SetLongRunningOperationState ¶ added in v0.5.3
func (m *MockGroupScope) SetLongRunningOperationState(arg0 *v1beta1.Future)
SetLongRunningOperationState mocks base method.
func (*MockGroupScope) SubscriptionID ¶
func (m *MockGroupScope) SubscriptionID() string
SubscriptionID mocks base method.
func (*MockGroupScope) TenantID ¶
func (m *MockGroupScope) TenantID() string
TenantID mocks base method.
func (*MockGroupScope) UpdateDeleteStatus ¶ added in v0.5.3
func (m *MockGroupScope) UpdateDeleteStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)
UpdateDeleteStatus mocks base method.
func (*MockGroupScope) UpdatePatchStatus ¶ added in v0.5.3
func (m *MockGroupScope) UpdatePatchStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)
UpdatePatchStatus mocks base method.
func (*MockGroupScope) UpdatePutStatus ¶ added in v0.5.3
func (m *MockGroupScope) UpdatePutStatus(arg0 v1beta10.ConditionType, arg1 string, arg2 error)
UpdatePutStatus mocks base method.
type MockGroupScopeMockRecorder ¶
type MockGroupScopeMockRecorder struct {
// contains filtered or unexported fields
}
MockGroupScopeMockRecorder is the mock recorder for MockGroupScope.
func (*MockGroupScopeMockRecorder) Authorizer ¶
func (mr *MockGroupScopeMockRecorder) Authorizer() *gomock.Call
Authorizer indicates an expected call of Authorizer.
func (*MockGroupScopeMockRecorder) BaseURI ¶
func (mr *MockGroupScopeMockRecorder) BaseURI() *gomock.Call
BaseURI indicates an expected call of BaseURI.
func (*MockGroupScopeMockRecorder) ClientID ¶
func (mr *MockGroupScopeMockRecorder) ClientID() *gomock.Call
ClientID indicates an expected call of ClientID.
func (*MockGroupScopeMockRecorder) ClientSecret ¶
func (mr *MockGroupScopeMockRecorder) ClientSecret() *gomock.Call
ClientSecret indicates an expected call of ClientSecret.
func (*MockGroupScopeMockRecorder) CloudEnvironment ¶
func (mr *MockGroupScopeMockRecorder) CloudEnvironment() *gomock.Call
CloudEnvironment indicates an expected call of CloudEnvironment.
func (*MockGroupScopeMockRecorder) ClusterName ¶
func (mr *MockGroupScopeMockRecorder) ClusterName() *gomock.Call
ClusterName indicates an expected call of ClusterName.
func (*MockGroupScopeMockRecorder) DeleteLongRunningOperationState ¶ added in v0.5.3
func (mr *MockGroupScopeMockRecorder) DeleteLongRunningOperationState(arg0, arg1 interface{}) *gomock.Call
DeleteLongRunningOperationState indicates an expected call of DeleteLongRunningOperationState.
func (*MockGroupScopeMockRecorder) GetLongRunningOperationState ¶ added in v0.5.3
func (mr *MockGroupScopeMockRecorder) GetLongRunningOperationState(arg0, arg1 interface{}) *gomock.Call
GetLongRunningOperationState indicates an expected call of GetLongRunningOperationState.
func (*MockGroupScopeMockRecorder) GroupSpec ¶ added in v0.5.3
func (mr *MockGroupScopeMockRecorder) GroupSpec() *gomock.Call
GroupSpec indicates an expected call of GroupSpec.
func (*MockGroupScopeMockRecorder) HashKey ¶
func (mr *MockGroupScopeMockRecorder) HashKey() *gomock.Call
HashKey indicates an expected call of HashKey.
func (*MockGroupScopeMockRecorder) SetLongRunningOperationState ¶ added in v0.5.3
func (mr *MockGroupScopeMockRecorder) SetLongRunningOperationState(arg0 interface{}) *gomock.Call
SetLongRunningOperationState indicates an expected call of SetLongRunningOperationState.
func (*MockGroupScopeMockRecorder) SubscriptionID ¶
func (mr *MockGroupScopeMockRecorder) SubscriptionID() *gomock.Call
SubscriptionID indicates an expected call of SubscriptionID.
func (*MockGroupScopeMockRecorder) TenantID ¶
func (mr *MockGroupScopeMockRecorder) TenantID() *gomock.Call
TenantID indicates an expected call of TenantID.
func (*MockGroupScopeMockRecorder) UpdateDeleteStatus ¶ added in v0.5.3
func (mr *MockGroupScopeMockRecorder) UpdateDeleteStatus(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateDeleteStatus indicates an expected call of UpdateDeleteStatus.
func (*MockGroupScopeMockRecorder) UpdatePatchStatus ¶ added in v0.5.3
func (mr *MockGroupScopeMockRecorder) UpdatePatchStatus(arg0, arg1, arg2 interface{}) *gomock.Call
UpdatePatchStatus indicates an expected call of UpdatePatchStatus.
func (*MockGroupScopeMockRecorder) UpdatePutStatus ¶ added in v0.5.3
func (mr *MockGroupScopeMockRecorder) UpdatePutStatus(arg0, arg1, arg2 interface{}) *gomock.Call
UpdatePutStatus indicates an expected call of UpdatePutStatus.
type Mockclient ¶
type Mockclient struct {
// contains filtered or unexported fields
}
Mockclient is a mock of client interface.
func NewMockclient ¶
func NewMockclient(ctrl *gomock.Controller) *Mockclient
NewMockclient creates a new mock instance.
func (*Mockclient) CreateOrUpdateAsync ¶ added in v0.5.3
func (m *Mockclient) CreateOrUpdateAsync(ctx context.Context, spec azure0.ResourceSpecGetter, parameters interface{}) (interface{}, azure.FutureAPI, error)
CreateOrUpdateAsync mocks base method.
func (*Mockclient) DeleteAsync ¶ added in v0.5.3
func (m *Mockclient) DeleteAsync(ctx context.Context, spec azure0.ResourceSpecGetter) (azure.FutureAPI, error)
DeleteAsync mocks base method.
func (*Mockclient) EXPECT ¶
func (m *Mockclient) EXPECT() *MockclientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*Mockclient) Get ¶
func (m *Mockclient) Get(arg0 context.Context, arg1 azure0.ResourceSpecGetter) (interface{}, error)
Get mocks base method.
type MockclientMockRecorder ¶
type MockclientMockRecorder struct {
// contains filtered or unexported fields
}
MockclientMockRecorder is the mock recorder for Mockclient.
func (*MockclientMockRecorder) CreateOrUpdateAsync ¶ added in v0.5.3
func (mr *MockclientMockRecorder) CreateOrUpdateAsync(ctx, spec, parameters interface{}) *gomock.Call
CreateOrUpdateAsync indicates an expected call of CreateOrUpdateAsync.
func (*MockclientMockRecorder) DeleteAsync ¶ added in v0.5.3
func (mr *MockclientMockRecorder) DeleteAsync(ctx, spec interface{}) *gomock.Call
DeleteAsync indicates an expected call of DeleteAsync.
func (*MockclientMockRecorder) Get ¶
func (mr *MockclientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockclientMockRecorder) IsDone ¶ added in v0.5.3
func (mr *MockclientMockRecorder) IsDone(ctx, future interface{}) *gomock.Call
IsDone indicates an expected call of IsDone.
func (*MockclientMockRecorder) Result ¶ added in v1.1.0
func (mr *MockclientMockRecorder) Result(ctx, future, futureType interface{}) *gomock.Call
Result indicates an expected call of Result.