mock_env

package
v0.0.0-...-823d357 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package mock_env is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCore

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

MockCore is a mock of Core interface.

func NewMockCore

func NewMockCore(ctrl *gomock.Controller) *MockCore

NewMockCore creates a new mock instance.

func (*MockCore) EXPECT

func (m *MockCore) EXPECT() *MockCoreMockRecorder

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

func (*MockCore) Environment

func (m *MockCore) Environment() *azureclient.AROEnvironment

Environment mocks base method.

func (*MockCore) Hostname

func (m *MockCore) Hostname() string

Hostname mocks base method.

func (*MockCore) IsLocalDevelopmentMode

func (m *MockCore) IsLocalDevelopmentMode() bool

IsLocalDevelopmentMode mocks base method.

func (*MockCore) Location

func (m *MockCore) Location() string

Location mocks base method.

func (*MockCore) NewMSIAuthorizer

func (m *MockCore) NewMSIAuthorizer(arg0 env.MSIContext, arg1 string) (autorest.Authorizer, error)

NewMSIAuthorizer mocks base method.

func (*MockCore) ResourceGroup

func (m *MockCore) ResourceGroup() string

ResourceGroup mocks base method.

func (*MockCore) SubscriptionID

func (m *MockCore) SubscriptionID() string

SubscriptionID mocks base method.

func (*MockCore) TenantID

func (m *MockCore) TenantID() string

TenantID mocks base method.

type MockCoreMockRecorder

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

MockCoreMockRecorder is the mock recorder for MockCore.

func (*MockCoreMockRecorder) Environment

func (mr *MockCoreMockRecorder) Environment() *gomock.Call

Environment indicates an expected call of Environment.

func (*MockCoreMockRecorder) Hostname

func (mr *MockCoreMockRecorder) Hostname() *gomock.Call

Hostname indicates an expected call of Hostname.

func (*MockCoreMockRecorder) IsLocalDevelopmentMode

func (mr *MockCoreMockRecorder) IsLocalDevelopmentMode() *gomock.Call

IsLocalDevelopmentMode indicates an expected call of IsLocalDevelopmentMode.

func (*MockCoreMockRecorder) Location

func (mr *MockCoreMockRecorder) Location() *gomock.Call

Location indicates an expected call of Location.

func (*MockCoreMockRecorder) NewMSIAuthorizer

func (mr *MockCoreMockRecorder) NewMSIAuthorizer(arg0, arg1 interface{}) *gomock.Call

NewMSIAuthorizer indicates an expected call of NewMSIAuthorizer.

func (*MockCoreMockRecorder) ResourceGroup

func (mr *MockCoreMockRecorder) ResourceGroup() *gomock.Call

ResourceGroup indicates an expected call of ResourceGroup.

func (*MockCoreMockRecorder) SubscriptionID

func (mr *MockCoreMockRecorder) SubscriptionID() *gomock.Call

SubscriptionID indicates an expected call of SubscriptionID.

func (*MockCoreMockRecorder) TenantID

func (mr *MockCoreMockRecorder) TenantID() *gomock.Call

TenantID indicates an expected call of TenantID.

type MockInterface

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

MockInterface is a mock of Interface interface.

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance.

func (*MockInterface) ACRDomain

func (m *MockInterface) ACRDomain() string

ACRDomain mocks base method.

func (*MockInterface) ACRResourceID

func (m *MockInterface) ACRResourceID() string

ACRResourceID mocks base method.

func (*MockInterface) AROOperatorImage

func (m *MockInterface) AROOperatorImage() string

AROOperatorImage mocks base method.

func (*MockInterface) AdminClientAuthorizer

func (m *MockInterface) AdminClientAuthorizer() clientauthorizer.ClientAuthorizer

AdminClientAuthorizer mocks base method.

func (*MockInterface) ArmClientAuthorizer

func (m *MockInterface) ArmClientAuthorizer() clientauthorizer.ClientAuthorizer

ArmClientAuthorizer mocks base method.

func (*MockInterface) ClusterGenevaLoggingConfigVersion

func (m *MockInterface) ClusterGenevaLoggingConfigVersion() string

ClusterGenevaLoggingConfigVersion mocks base method.

func (*MockInterface) ClusterGenevaLoggingEnvironment

func (m *MockInterface) ClusterGenevaLoggingEnvironment() string

ClusterGenevaLoggingEnvironment mocks base method.

func (*MockInterface) ClusterGenevaLoggingSecret

func (m *MockInterface) ClusterGenevaLoggingSecret() (*rsa.PrivateKey, *x509.Certificate)

ClusterGenevaLoggingSecret mocks base method.

func (*MockInterface) ClusterKeyvault

func (m *MockInterface) ClusterKeyvault() keyvault.Manager

ClusterKeyvault mocks base method.

func (*MockInterface) DialContext

func (m *MockInterface) DialContext(arg0 context.Context, arg1, arg2 string) (net.Conn, error)

DialContext mocks base method.

func (*MockInterface) Domain

func (m *MockInterface) Domain() string

Domain mocks base method.

func (*MockInterface) EXPECT

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

func (*MockInterface) EnsureARMResourceGroupRoleAssignment

func (m *MockInterface) EnsureARMResourceGroupRoleAssignment(arg0 context.Context, arg1 refreshable.Authorizer, arg2 string) error

EnsureARMResourceGroupRoleAssignment mocks base method.

func (*MockInterface) Environment

func (m *MockInterface) Environment() *azureclient.AROEnvironment

Environment mocks base method.

func (*MockInterface) FPAuthorizer

func (m *MockInterface) FPAuthorizer(arg0, arg1 string) (refreshable.Authorizer, error)

FPAuthorizer mocks base method.

func (*MockInterface) FPClientID

func (m *MockInterface) FPClientID() string

FPClientID mocks base method.

func (*MockInterface) FeatureIsSet

func (m *MockInterface) FeatureIsSet(arg0 env.Feature) bool

FeatureIsSet mocks base method.

func (*MockInterface) Hostname

func (m *MockInterface) Hostname() string

Hostname mocks base method.

func (*MockInterface) InitializeAuthorizers

func (m *MockInterface) InitializeAuthorizers() error

InitializeAuthorizers mocks base method.

func (*MockInterface) IsLocalDevelopmentMode

func (m *MockInterface) IsLocalDevelopmentMode() bool

IsLocalDevelopmentMode mocks base method.

func (*MockInterface) Listen

func (m *MockInterface) Listen() (net.Listener, error)

Listen mocks base method.

func (*MockInterface) Location

func (m *MockInterface) Location() string

Location mocks base method.

func (*MockInterface) NewMSIAuthorizer

func (m *MockInterface) NewMSIAuthorizer(arg0 env.MSIContext, arg1 string) (autorest.Authorizer, error)

NewMSIAuthorizer mocks base method.

func (*MockInterface) ResourceGroup

func (m *MockInterface) ResourceGroup() string

ResourceGroup mocks base method.

func (*MockInterface) ServiceKeyvault

func (m *MockInterface) ServiceKeyvault() keyvault.Manager

ServiceKeyvault mocks base method.

func (*MockInterface) SubscriptionID

func (m *MockInterface) SubscriptionID() string

SubscriptionID mocks base method.

func (*MockInterface) TenantID

func (m *MockInterface) TenantID() string

TenantID mocks base method.

func (*MockInterface) Zones

func (m *MockInterface) Zones(arg0 string) ([]string, error)

Zones mocks base method.

type MockInterfaceMockRecorder

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

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) ACRDomain

func (mr *MockInterfaceMockRecorder) ACRDomain() *gomock.Call

ACRDomain indicates an expected call of ACRDomain.

func (*MockInterfaceMockRecorder) ACRResourceID

func (mr *MockInterfaceMockRecorder) ACRResourceID() *gomock.Call

ACRResourceID indicates an expected call of ACRResourceID.

func (*MockInterfaceMockRecorder) AROOperatorImage

func (mr *MockInterfaceMockRecorder) AROOperatorImage() *gomock.Call

AROOperatorImage indicates an expected call of AROOperatorImage.

func (*MockInterfaceMockRecorder) AdminClientAuthorizer

func (mr *MockInterfaceMockRecorder) AdminClientAuthorizer() *gomock.Call

AdminClientAuthorizer indicates an expected call of AdminClientAuthorizer.

func (*MockInterfaceMockRecorder) ArmClientAuthorizer

func (mr *MockInterfaceMockRecorder) ArmClientAuthorizer() *gomock.Call

ArmClientAuthorizer indicates an expected call of ArmClientAuthorizer.

func (*MockInterfaceMockRecorder) ClusterGenevaLoggingConfigVersion

func (mr *MockInterfaceMockRecorder) ClusterGenevaLoggingConfigVersion() *gomock.Call

ClusterGenevaLoggingConfigVersion indicates an expected call of ClusterGenevaLoggingConfigVersion.

func (*MockInterfaceMockRecorder) ClusterGenevaLoggingEnvironment

func (mr *MockInterfaceMockRecorder) ClusterGenevaLoggingEnvironment() *gomock.Call

ClusterGenevaLoggingEnvironment indicates an expected call of ClusterGenevaLoggingEnvironment.

func (*MockInterfaceMockRecorder) ClusterGenevaLoggingSecret

func (mr *MockInterfaceMockRecorder) ClusterGenevaLoggingSecret() *gomock.Call

ClusterGenevaLoggingSecret indicates an expected call of ClusterGenevaLoggingSecret.

func (*MockInterfaceMockRecorder) ClusterKeyvault

func (mr *MockInterfaceMockRecorder) ClusterKeyvault() *gomock.Call

ClusterKeyvault indicates an expected call of ClusterKeyvault.

func (*MockInterfaceMockRecorder) DialContext

func (mr *MockInterfaceMockRecorder) DialContext(arg0, arg1, arg2 interface{}) *gomock.Call

DialContext indicates an expected call of DialContext.

func (*MockInterfaceMockRecorder) Domain

func (mr *MockInterfaceMockRecorder) Domain() *gomock.Call

Domain indicates an expected call of Domain.

func (*MockInterfaceMockRecorder) EnsureARMResourceGroupRoleAssignment

func (mr *MockInterfaceMockRecorder) EnsureARMResourceGroupRoleAssignment(arg0, arg1, arg2 interface{}) *gomock.Call

EnsureARMResourceGroupRoleAssignment indicates an expected call of EnsureARMResourceGroupRoleAssignment.

func (*MockInterfaceMockRecorder) Environment

func (mr *MockInterfaceMockRecorder) Environment() *gomock.Call

Environment indicates an expected call of Environment.

func (*MockInterfaceMockRecorder) FPAuthorizer

func (mr *MockInterfaceMockRecorder) FPAuthorizer(arg0, arg1 interface{}) *gomock.Call

FPAuthorizer indicates an expected call of FPAuthorizer.

func (*MockInterfaceMockRecorder) FPClientID

func (mr *MockInterfaceMockRecorder) FPClientID() *gomock.Call

FPClientID indicates an expected call of FPClientID.

func (*MockInterfaceMockRecorder) FeatureIsSet

func (mr *MockInterfaceMockRecorder) FeatureIsSet(arg0 interface{}) *gomock.Call

FeatureIsSet indicates an expected call of FeatureIsSet.

func (*MockInterfaceMockRecorder) Hostname

func (mr *MockInterfaceMockRecorder) Hostname() *gomock.Call

Hostname indicates an expected call of Hostname.

func (*MockInterfaceMockRecorder) InitializeAuthorizers

func (mr *MockInterfaceMockRecorder) InitializeAuthorizers() *gomock.Call

InitializeAuthorizers indicates an expected call of InitializeAuthorizers.

func (*MockInterfaceMockRecorder) IsLocalDevelopmentMode

func (mr *MockInterfaceMockRecorder) IsLocalDevelopmentMode() *gomock.Call

IsLocalDevelopmentMode indicates an expected call of IsLocalDevelopmentMode.

func (*MockInterfaceMockRecorder) Listen

func (mr *MockInterfaceMockRecorder) Listen() *gomock.Call

Listen indicates an expected call of Listen.

func (*MockInterfaceMockRecorder) Location

func (mr *MockInterfaceMockRecorder) Location() *gomock.Call

Location indicates an expected call of Location.

func (*MockInterfaceMockRecorder) NewMSIAuthorizer

func (mr *MockInterfaceMockRecorder) NewMSIAuthorizer(arg0, arg1 interface{}) *gomock.Call

NewMSIAuthorizer indicates an expected call of NewMSIAuthorizer.

func (*MockInterfaceMockRecorder) ResourceGroup

func (mr *MockInterfaceMockRecorder) ResourceGroup() *gomock.Call

ResourceGroup indicates an expected call of ResourceGroup.

func (*MockInterfaceMockRecorder) ServiceKeyvault

func (mr *MockInterfaceMockRecorder) ServiceKeyvault() *gomock.Call

ServiceKeyvault indicates an expected call of ServiceKeyvault.

func (*MockInterfaceMockRecorder) SubscriptionID

func (mr *MockInterfaceMockRecorder) SubscriptionID() *gomock.Call

SubscriptionID indicates an expected call of SubscriptionID.

func (*MockInterfaceMockRecorder) TenantID

func (mr *MockInterfaceMockRecorder) TenantID() *gomock.Call

TenantID indicates an expected call of TenantID.

func (*MockInterfaceMockRecorder) Zones

func (mr *MockInterfaceMockRecorder) Zones(arg0 interface{}) *gomock.Call

Zones indicates an expected call of Zones.

Jump to

Keyboard shortcuts

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