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 ¶
- type MockAwsProvider
- type MockAwsProviderMockRecorder
- type MockAzProvider
- func (m *MockAzProvider) Details(arg0 context.Context, arg1, arg2 string) (*common.DetailsResponse[interface{}], error)
- func (m *MockAzProvider) EXPECT() *MockAzProviderMockRecorder
- func (m *MockAzProvider) GetResources(arg0 context.Context, arg1 string) (map[string]core.AzGenericResource, error)
- func (m *MockAzProvider) ResourceGroupName() string
- func (m *MockAzProvider) ServicePrincipalToken(arg0 string) (*adal.ServicePrincipalToken, error)
- func (m *MockAzProvider) SubscriptionId() string
- type MockAzProviderMockRecorder
- func (mr *MockAzProviderMockRecorder) Details(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAzProviderMockRecorder) GetResources(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAzProviderMockRecorder) ResourceGroupName() *gomock.Call
- func (mr *MockAzProviderMockRecorder) ServicePrincipalToken(arg0 interface{}) *gomock.Call
- func (mr *MockAzProviderMockRecorder) SubscriptionId() *gomock.Call
- type MockGcpProvider
- func (m *MockGcpProvider) Details(arg0 context.Context, arg1, arg2 string) (*common.DetailsResponse[interface{}], error)
- func (m *MockGcpProvider) EXPECT() *MockGcpProviderMockRecorder
- func (m *MockGcpProvider) GetProjectID() (string, error)
- func (m *MockGcpProvider) GetServiceAccountEmail() (string, error)
- type MockGcpProviderMockRecorder
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 ¶
func (m *MockAwsProvider) EXPECT() *MockAwsProviderMockRecorder
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 ¶
func (m *MockAzProvider) EXPECT() *MockAzProviderMockRecorder
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
func (m *MockGcpProvider) EXPECT() *MockGcpProviderMockRecorder
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.