Documentation ¶
Overview ¶
Package mock_resource is a generated GoMock package.
Index ¶
- type MockAzResourceResolver
- func (m *MockAzResourceResolver) EXPECT() *MockAzResourceResolverMockRecorder
- func (m *MockAzResourceResolver) GetApiDetails(arg0 context.Context, arg1 string) (*resource.AzureApiMgmtDetails, error)
- func (m *MockAzResourceResolver) GetResources(arg0 context.Context, arg1 string) (map[string]resource.AzGenericResource, error)
- func (m *MockAzResourceResolver) ResourceGroupName() string
- func (m *MockAzResourceResolver) ServicePrincipalToken(arg0 string) (*adal.ServicePrincipalToken, error)
- func (m *MockAzResourceResolver) SubscriptionId() string
- type MockAzResourceResolverMockRecorder
- func (mr *MockAzResourceResolverMockRecorder) GetApiDetails(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAzResourceResolverMockRecorder) GetResources(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAzResourceResolverMockRecorder) ResourceGroupName() *gomock.Call
- func (mr *MockAzResourceResolverMockRecorder) ServicePrincipalToken(arg0 interface{}) *gomock.Call
- func (mr *MockAzResourceResolverMockRecorder) SubscriptionId() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAzResourceResolver ¶
type MockAzResourceResolver struct {
// contains filtered or unexported fields
}
MockAzResourceResolver is a mock of AzResourceResolver interface.
func NewMockAzResourceResolver ¶
func NewMockAzResourceResolver(ctrl *gomock.Controller) *MockAzResourceResolver
NewMockAzResourceResolver creates a new mock instance.
func (*MockAzResourceResolver) EXPECT ¶
func (m *MockAzResourceResolver) EXPECT() *MockAzResourceResolverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAzResourceResolver) GetApiDetails ¶
func (m *MockAzResourceResolver) GetApiDetails(arg0 context.Context, arg1 string) (*resource.AzureApiMgmtDetails, error)
GetApiDetails mocks base method.
func (*MockAzResourceResolver) GetResources ¶
func (m *MockAzResourceResolver) GetResources(arg0 context.Context, arg1 string) (map[string]resource.AzGenericResource, error)
GetResources mocks base method.
func (*MockAzResourceResolver) ResourceGroupName ¶
func (m *MockAzResourceResolver) ResourceGroupName() string
ResourceGroupName mocks base method.
func (*MockAzResourceResolver) ServicePrincipalToken ¶
func (m *MockAzResourceResolver) ServicePrincipalToken(arg0 string) (*adal.ServicePrincipalToken, error)
ServicePrincipalToken mocks base method.
func (*MockAzResourceResolver) SubscriptionId ¶
func (m *MockAzResourceResolver) SubscriptionId() string
SubscriptionId mocks base method.
type MockAzResourceResolverMockRecorder ¶
type MockAzResourceResolverMockRecorder struct {
// contains filtered or unexported fields
}
MockAzResourceResolverMockRecorder is the mock recorder for MockAzResourceResolver.
func (*MockAzResourceResolverMockRecorder) GetApiDetails ¶
func (mr *MockAzResourceResolverMockRecorder) GetApiDetails(arg0, arg1 interface{}) *gomock.Call
GetApiDetails indicates an expected call of GetApiDetails.
func (*MockAzResourceResolverMockRecorder) GetResources ¶
func (mr *MockAzResourceResolverMockRecorder) GetResources(arg0, arg1 interface{}) *gomock.Call
GetResources indicates an expected call of GetResources.
func (*MockAzResourceResolverMockRecorder) ResourceGroupName ¶
func (mr *MockAzResourceResolverMockRecorder) ResourceGroupName() *gomock.Call
ResourceGroupName indicates an expected call of ResourceGroupName.
func (*MockAzResourceResolverMockRecorder) ServicePrincipalToken ¶
func (mr *MockAzResourceResolverMockRecorder) ServicePrincipalToken(arg0 interface{}) *gomock.Call
ServicePrincipalToken indicates an expected call of ServicePrincipalToken.
func (*MockAzResourceResolverMockRecorder) SubscriptionId ¶
func (mr *MockAzResourceResolverMockRecorder) SubscriptionId() *gomock.Call
SubscriptionId indicates an expected call of SubscriptionId.