Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: ../client.go
Generated by this command:
mockgen -destination client_mock.go -package mock_resourcehealth -source ../client.go Client
Package mock_resourcehealth is a generated GoMock package.
Run go generate to regenerate this mock.
Code generated by MockGen. DO NOT EDIT. Source: ../resourcehealth.go
Generated by this command:
mockgen -destination resourcehealth_mock.go -package mock_resourcehealth -source ../resourcehealth.go ResourceHealthScope,AvailabilityStatusFilterer
Package mock_resourcehealth is a generated GoMock package.
Index ¶
- type MockAvailabilityStatusFilterer
- type MockAvailabilityStatusFiltererMockRecorder
- type MockResourceHealthScope
- func (m *MockResourceHealthScope) AvailabilityStatusResource() conditions.Setter
- func (m *MockResourceHealthScope) AvailabilityStatusResourceURI() string
- func (m *MockResourceHealthScope) BaseURI() string
- func (m *MockResourceHealthScope) ClientID() string
- func (m *MockResourceHealthScope) ClientSecret() string
- func (m *MockResourceHealthScope) CloudEnvironment() string
- func (m *MockResourceHealthScope) EXPECT() *MockResourceHealthScopeMockRecorder
- func (m *MockResourceHealthScope) HashKey() string
- func (m *MockResourceHealthScope) SubscriptionID() string
- func (m *MockResourceHealthScope) TenantID() string
- func (m *MockResourceHealthScope) Token() azcore.TokenCredential
- type MockResourceHealthScopeMockRecorder
- func (mr *MockResourceHealthScopeMockRecorder) AvailabilityStatusResource() *gomock.Call
- func (mr *MockResourceHealthScopeMockRecorder) AvailabilityStatusResourceURI() *gomock.Call
- func (mr *MockResourceHealthScopeMockRecorder) BaseURI() *gomock.Call
- func (mr *MockResourceHealthScopeMockRecorder) ClientID() *gomock.Call
- func (mr *MockResourceHealthScopeMockRecorder) ClientSecret() *gomock.Call
- func (mr *MockResourceHealthScopeMockRecorder) CloudEnvironment() *gomock.Call
- func (mr *MockResourceHealthScopeMockRecorder) HashKey() *gomock.Call
- func (mr *MockResourceHealthScopeMockRecorder) SubscriptionID() *gomock.Call
- func (mr *MockResourceHealthScopeMockRecorder) TenantID() *gomock.Call
- func (mr *MockResourceHealthScopeMockRecorder) Token() *gomock.Call
- type Mockclient
- type MockclientMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAvailabilityStatusFilterer ¶
type MockAvailabilityStatusFilterer struct {
// contains filtered or unexported fields
}
MockAvailabilityStatusFilterer is a mock of AvailabilityStatusFilterer interface.
func NewMockAvailabilityStatusFilterer ¶
func NewMockAvailabilityStatusFilterer(ctrl *gomock.Controller) *MockAvailabilityStatusFilterer
NewMockAvailabilityStatusFilterer creates a new mock instance.
func (*MockAvailabilityStatusFilterer) AvailabilityStatusFilter ¶
func (m *MockAvailabilityStatusFilterer) AvailabilityStatusFilter(cond *v1beta1.Condition) *v1beta1.Condition
AvailabilityStatusFilter mocks base method.
func (*MockAvailabilityStatusFilterer) EXPECT ¶
func (m *MockAvailabilityStatusFilterer) EXPECT() *MockAvailabilityStatusFiltererMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockAvailabilityStatusFiltererMockRecorder ¶
type MockAvailabilityStatusFiltererMockRecorder struct {
// contains filtered or unexported fields
}
MockAvailabilityStatusFiltererMockRecorder is the mock recorder for MockAvailabilityStatusFilterer.
func (*MockAvailabilityStatusFiltererMockRecorder) AvailabilityStatusFilter ¶
func (mr *MockAvailabilityStatusFiltererMockRecorder) AvailabilityStatusFilter(cond any) *gomock.Call
AvailabilityStatusFilter indicates an expected call of AvailabilityStatusFilter.
type MockResourceHealthScope ¶
type MockResourceHealthScope struct {
// contains filtered or unexported fields
}
MockResourceHealthScope is a mock of ResourceHealthScope interface.
func NewMockResourceHealthScope ¶
func NewMockResourceHealthScope(ctrl *gomock.Controller) *MockResourceHealthScope
NewMockResourceHealthScope creates a new mock instance.
func (*MockResourceHealthScope) AvailabilityStatusResource ¶
func (m *MockResourceHealthScope) AvailabilityStatusResource() conditions.Setter
AvailabilityStatusResource mocks base method.
func (*MockResourceHealthScope) AvailabilityStatusResourceURI ¶
func (m *MockResourceHealthScope) AvailabilityStatusResourceURI() string
AvailabilityStatusResourceURI mocks base method.
func (*MockResourceHealthScope) BaseURI ¶
func (m *MockResourceHealthScope) BaseURI() string
BaseURI mocks base method.
func (*MockResourceHealthScope) ClientID ¶
func (m *MockResourceHealthScope) ClientID() string
ClientID mocks base method.
func (*MockResourceHealthScope) ClientSecret ¶
func (m *MockResourceHealthScope) ClientSecret() string
ClientSecret mocks base method.
func (*MockResourceHealthScope) CloudEnvironment ¶
func (m *MockResourceHealthScope) CloudEnvironment() string
CloudEnvironment mocks base method.
func (*MockResourceHealthScope) EXPECT ¶
func (m *MockResourceHealthScope) EXPECT() *MockResourceHealthScopeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockResourceHealthScope) HashKey ¶
func (m *MockResourceHealthScope) HashKey() string
HashKey mocks base method.
func (*MockResourceHealthScope) SubscriptionID ¶
func (m *MockResourceHealthScope) SubscriptionID() string
SubscriptionID mocks base method.
func (*MockResourceHealthScope) TenantID ¶
func (m *MockResourceHealthScope) TenantID() string
TenantID mocks base method.
func (*MockResourceHealthScope) Token ¶ added in v1.11.0
func (m *MockResourceHealthScope) Token() azcore.TokenCredential
Token mocks base method.
type MockResourceHealthScopeMockRecorder ¶
type MockResourceHealthScopeMockRecorder struct {
// contains filtered or unexported fields
}
MockResourceHealthScopeMockRecorder is the mock recorder for MockResourceHealthScope.
func (*MockResourceHealthScopeMockRecorder) AvailabilityStatusResource ¶
func (mr *MockResourceHealthScopeMockRecorder) AvailabilityStatusResource() *gomock.Call
AvailabilityStatusResource indicates an expected call of AvailabilityStatusResource.
func (*MockResourceHealthScopeMockRecorder) AvailabilityStatusResourceURI ¶
func (mr *MockResourceHealthScopeMockRecorder) AvailabilityStatusResourceURI() *gomock.Call
AvailabilityStatusResourceURI indicates an expected call of AvailabilityStatusResourceURI.
func (*MockResourceHealthScopeMockRecorder) BaseURI ¶
func (mr *MockResourceHealthScopeMockRecorder) BaseURI() *gomock.Call
BaseURI indicates an expected call of BaseURI.
func (*MockResourceHealthScopeMockRecorder) ClientID ¶
func (mr *MockResourceHealthScopeMockRecorder) ClientID() *gomock.Call
ClientID indicates an expected call of ClientID.
func (*MockResourceHealthScopeMockRecorder) ClientSecret ¶
func (mr *MockResourceHealthScopeMockRecorder) ClientSecret() *gomock.Call
ClientSecret indicates an expected call of ClientSecret.
func (*MockResourceHealthScopeMockRecorder) CloudEnvironment ¶
func (mr *MockResourceHealthScopeMockRecorder) CloudEnvironment() *gomock.Call
CloudEnvironment indicates an expected call of CloudEnvironment.
func (*MockResourceHealthScopeMockRecorder) HashKey ¶
func (mr *MockResourceHealthScopeMockRecorder) HashKey() *gomock.Call
HashKey indicates an expected call of HashKey.
func (*MockResourceHealthScopeMockRecorder) SubscriptionID ¶
func (mr *MockResourceHealthScopeMockRecorder) SubscriptionID() *gomock.Call
SubscriptionID indicates an expected call of SubscriptionID.
func (*MockResourceHealthScopeMockRecorder) TenantID ¶
func (mr *MockResourceHealthScopeMockRecorder) TenantID() *gomock.Call
TenantID indicates an expected call of TenantID.
func (*MockResourceHealthScopeMockRecorder) Token ¶ added in v1.11.0
func (mr *MockResourceHealthScopeMockRecorder) Token() *gomock.Call
Token indicates an expected call of Token.
type Mockclient ¶
type Mockclient struct {
// contains filtered or unexported fields
}
Mockclient is a mock of client interface.
func NewMockclient ¶
func NewMockclient(ctrl *gomock.Controller) *Mockclient
NewMockclient creates a new mock instance.
func (*Mockclient) EXPECT ¶
func (m *Mockclient) EXPECT() *MockclientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*Mockclient) GetByResource ¶
func (m *Mockclient) GetByResource(arg0 context.Context, arg1 string) (armresourcehealth.AvailabilityStatus, error)
GetByResource mocks base method.
type MockclientMockRecorder ¶
type MockclientMockRecorder struct {
// contains filtered or unexported fields
}
MockclientMockRecorder is the mock recorder for Mockclient.
func (*MockclientMockRecorder) GetByResource ¶
func (mr *MockclientMockRecorder) GetByResource(arg0, arg1 any) *gomock.Call
GetByResource indicates an expected call of GetByResource.