mock_core

package
v0.20.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_core is a generated GoMock package.

Package mock_core is a generated GoMock package.

Package mock_core is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAwsProvider

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

MockAwsProvider is a mock of AwsProvider interface.

func NewMockAwsProvider

func NewMockAwsProvider(ctrl *gomock.Controller) *MockAwsProvider

NewMockAwsProvider creates a new mock instance.

func (*MockAwsProvider) EXPECT

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

func (*MockAwsProvider) GetResources

func (m *MockAwsProvider) GetResources(arg0 string) (map[string]string, error)

GetResources mocks base method.

type MockAwsProviderMockRecorder

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

MockAwsProviderMockRecorder is the mock recorder for MockAwsProvider.

func (*MockAwsProviderMockRecorder) GetResources

func (mr *MockAwsProviderMockRecorder) GetResources(arg0 interface{}) *gomock.Call

GetResources indicates an expected call of GetResources.

type MockAzProvider

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

MockAzProvider is a mock of AzProvider interface.

func NewMockAzProvider

func NewMockAzProvider(ctrl *gomock.Controller) *MockAzProvider

NewMockAzProvider creates a new mock instance.

func (*MockAzProvider) EXPECT

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

func (*MockAzProvider) GetResources

func (m *MockAzProvider) GetResources(arg0 string) (map[string]core.AzGenericResource, error)

GetResources mocks base method.

func (*MockAzProvider) ResourceGroupName

func (m *MockAzProvider) ResourceGroupName() string

ResourceGroupName mocks base method.

func (*MockAzProvider) ServicePrincipalToken

func (m *MockAzProvider) ServicePrincipalToken(arg0 string) (*adal.ServicePrincipalToken, error)

ServicePrincipalToken mocks base method.

func (*MockAzProvider) SubscriptionId

func (m *MockAzProvider) SubscriptionId() string

SubscriptionId mocks base method.

type MockAzProviderMockRecorder

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

MockAzProviderMockRecorder is the mock recorder for MockAzProvider.

func (*MockAzProviderMockRecorder) GetResources

func (mr *MockAzProviderMockRecorder) GetResources(arg0 interface{}) *gomock.Call

GetResources indicates an expected call of GetResources.

func (*MockAzProviderMockRecorder) ResourceGroupName

func (mr *MockAzProviderMockRecorder) ResourceGroupName() *gomock.Call

ResourceGroupName indicates an expected call of ResourceGroupName.

func (*MockAzProviderMockRecorder) ServicePrincipalToken

func (mr *MockAzProviderMockRecorder) ServicePrincipalToken(arg0 interface{}) *gomock.Call

ServicePrincipalToken indicates an expected call of ServicePrincipalToken.

func (*MockAzProviderMockRecorder) SubscriptionId

func (mr *MockAzProviderMockRecorder) SubscriptionId() *gomock.Call

SubscriptionId indicates an expected call of SubscriptionId.

type MockGcpProvider added in v0.19.0

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

MockGcpProvider is a mock of GcpProvider interface.

func NewMockGcpProvider added in v0.19.0

func NewMockGcpProvider(ctrl *gomock.Controller) *MockGcpProvider

NewMockGcpProvider creates a new mock instance.

func (*MockGcpProvider) Details added in v0.20.0

func (m *MockGcpProvider) Details(arg0, arg1 string) (*common.DetailsResponse[interface{}], error)

Details mocks base method.

func (*MockGcpProvider) EXPECT added in v0.19.0

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

func (*MockGcpProvider) GetProjectID added in v0.19.0

func (m *MockGcpProvider) GetProjectID() (string, error)

GetProjectID mocks base method.

func (*MockGcpProvider) GetServiceAccountEmail added in v0.19.0

func (m *MockGcpProvider) GetServiceAccountEmail() (string, error)

GetServiceAccountEmail mocks base method.

type MockGcpProviderMockRecorder added in v0.19.0

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

MockGcpProviderMockRecorder is the mock recorder for MockGcpProvider.

func (*MockGcpProviderMockRecorder) Details added in v0.20.0

func (mr *MockGcpProviderMockRecorder) Details(arg0, arg1 interface{}) *gomock.Call

Details indicates an expected call of Details.

func (*MockGcpProviderMockRecorder) GetProjectID added in v0.19.0

func (mr *MockGcpProviderMockRecorder) GetProjectID() *gomock.Call

GetProjectID indicates an expected call of GetProjectID.

func (*MockGcpProviderMockRecorder) GetServiceAccountEmail added in v0.19.0

func (mr *MockGcpProviderMockRecorder) GetServiceAccountEmail() *gomock.Call

GetServiceAccountEmail indicates an expected call of GetServiceAccountEmail.

Jump to

Keyboard shortcuts

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