mock_groups

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

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

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

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

func (*MockGroupScope) Enabled

func (m *MockGroupScope) Enabled() bool

Enabled mocks base method.

func (*MockGroupScope) Error

func (m *MockGroupScope) Error(err error, msg string, keysAndValues ...interface{})

Error mocks base method.

func (*MockGroupScope) GetLongRunningOperationState added in v0.5.3

func (m *MockGroupScope) GetLongRunningOperationState(arg0, arg1 string) *v1alpha4.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) Info

func (m *MockGroupScope) Info(msg string, keysAndValues ...interface{})

Info mocks base method.

func (*MockGroupScope) SetLongRunningOperationState added in v0.5.3

func (m *MockGroupScope) SetLongRunningOperationState(arg0 *v1alpha4.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 v1alpha40.ConditionType, arg1 string, arg2 error)

UpdateDeleteStatus mocks base method.

func (*MockGroupScope) UpdatePatchStatus added in v0.5.3

func (m *MockGroupScope) UpdatePatchStatus(arg0 v1alpha40.ConditionType, arg1 string, arg2 error)

UpdatePatchStatus mocks base method.

func (*MockGroupScope) UpdatePutStatus added in v0.5.3

func (m *MockGroupScope) UpdatePutStatus(arg0 v1alpha40.ConditionType, arg1 string, arg2 error)

UpdatePutStatus mocks base method.

func (*MockGroupScope) V

func (m *MockGroupScope) V(level int) logr.Logger

V mocks base method.

func (*MockGroupScope) WithName

func (m *MockGroupScope) WithName(name string) logr.Logger

WithName mocks base method.

func (*MockGroupScope) WithValues

func (m *MockGroupScope) WithValues(keysAndValues ...interface{}) logr.Logger

WithValues 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) Enabled

func (mr *MockGroupScopeMockRecorder) Enabled() *gomock.Call

Enabled indicates an expected call of Enabled.

func (*MockGroupScopeMockRecorder) Error

func (mr *MockGroupScopeMockRecorder) Error(err, msg interface{}, keysAndValues ...interface{}) *gomock.Call

Error indicates an expected call of Error.

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) Info

func (mr *MockGroupScopeMockRecorder) Info(msg interface{}, keysAndValues ...interface{}) *gomock.Call

Info indicates an expected call of Info.

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.

func (*MockGroupScopeMockRecorder) V

func (mr *MockGroupScopeMockRecorder) V(level interface{}) *gomock.Call

V indicates an expected call of V.

func (*MockGroupScopeMockRecorder) WithName

func (mr *MockGroupScopeMockRecorder) WithName(name interface{}) *gomock.Call

WithName indicates an expected call of WithName.

func (*MockGroupScopeMockRecorder) WithValues

func (mr *MockGroupScopeMockRecorder) WithValues(keysAndValues ...interface{}) *gomock.Call

WithValues indicates an expected call of WithValues.

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(arg0 context.Context, arg1 azure0.ResourceSpecGetter) (azure.FutureAPI, error)

CreateOrUpdateAsync mocks base method.

func (*Mockclient) DeleteAsync added in v0.5.3

func (m *Mockclient) DeleteAsync(arg0 context.Context, arg1 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 string) (resources.Group, error)

Get mocks base method.

func (*Mockclient) IsDone added in v0.5.3

func (m *Mockclient) IsDone(arg0 context.Context, arg1 azure.FutureAPI) (bool, error)

IsDone 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(arg0, arg1 interface{}) *gomock.Call

CreateOrUpdateAsync indicates an expected call of CreateOrUpdateAsync.

func (*MockclientMockRecorder) DeleteAsync added in v0.5.3

func (mr *MockclientMockRecorder) DeleteAsync(arg0, arg1 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(arg0, arg1 interface{}) *gomock.Call

IsDone indicates an expected call of IsDone.

Jump to

Keyboard shortcuts

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