mock_core

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2022 License: Apache-2.0 Imports: 6 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) Details added in v0.20.0

func (m *MockAwsProvider) Details(arg0 context.Context, arg1, arg2 string) (*common.DetailsResponse[interface{}], error)

Details mocks base method.

func (*MockAwsProvider) EXPECT

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

func (*MockAwsProvider) GetResources

func (m *MockAwsProvider) GetResources(arg0 context.Context, arg1 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) Details added in v0.20.0

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

Details indicates an expected call of Details.

func (*MockAwsProviderMockRecorder) GetResources

func (mr *MockAwsProviderMockRecorder) GetResources(arg0, arg1 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) Details added in v0.20.0

func (m *MockAzProvider) Details(arg0 context.Context, arg1, arg2 string) (*common.DetailsResponse[interface{}], error)

Details mocks base method.

func (*MockAzProvider) EXPECT

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

func (*MockAzProvider) GetResources

func (m *MockAzProvider) GetResources(arg0 context.Context, arg1 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) Details added in v0.20.0

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

Details indicates an expected call of Details.

func (*MockAzProviderMockRecorder) GetResources

func (mr *MockAzProviderMockRecorder) GetResources(arg0, arg1 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 context.Context, arg1, arg2 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, arg2 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