Documentation ¶
Overview ¶
Package mock_networkinterfaces is a generated GoMock package.
Run go generate to regenerate this mock.
Package mock_networkinterfaces is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) CreateOrUpdate(arg0 context.Context, arg1, arg2 string, arg3 network.Interface) error
- func (m *MockClient) Delete(arg0 context.Context, arg1, arg2 string) error
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) Get(arg0 context.Context, arg1, arg2 string) (network.Interface, error)
- type MockClientMockRecorder
- type MockNICScope
- func (m *MockNICScope) AdditionalTags() v1alpha4.Tags
- func (m *MockNICScope) Authorizer() autorest.Authorizer
- func (m *MockNICScope) AvailabilitySetEnabled() bool
- func (m *MockNICScope) BaseURI() string
- func (m *MockNICScope) ClientID() string
- func (m *MockNICScope) ClientSecret() string
- func (m *MockNICScope) CloudEnvironment() string
- func (m *MockNICScope) CloudProviderConfigOverrides() *v1alpha4.CloudProviderConfigOverrides
- func (m *MockNICScope) ClusterName() string
- func (m *MockNICScope) EXPECT() *MockNICScopeMockRecorder
- func (m *MockNICScope) Enabled() bool
- func (m *MockNICScope) Error(err error, msg string, keysAndValues ...interface{})
- func (m *MockNICScope) FailureDomains() []string
- func (m *MockNICScope) HashKey() string
- func (m *MockNICScope) Info(msg string, keysAndValues ...interface{})
- func (m *MockNICScope) Location() string
- func (m *MockNICScope) NICSpecs() []azure.NICSpec
- func (m *MockNICScope) ResourceGroup() string
- func (m *MockNICScope) SubscriptionID() string
- func (m *MockNICScope) TenantID() string
- func (m *MockNICScope) V(level int) logr.Logger
- func (m *MockNICScope) WithName(name string) logr.Logger
- func (m *MockNICScope) WithValues(keysAndValues ...interface{}) logr.Logger
- type MockNICScopeMockRecorder
- func (mr *MockNICScopeMockRecorder) AdditionalTags() *gomock.Call
- func (mr *MockNICScopeMockRecorder) Authorizer() *gomock.Call
- func (mr *MockNICScopeMockRecorder) AvailabilitySetEnabled() *gomock.Call
- func (mr *MockNICScopeMockRecorder) BaseURI() *gomock.Call
- func (mr *MockNICScopeMockRecorder) ClientID() *gomock.Call
- func (mr *MockNICScopeMockRecorder) ClientSecret() *gomock.Call
- func (mr *MockNICScopeMockRecorder) CloudEnvironment() *gomock.Call
- func (mr *MockNICScopeMockRecorder) CloudProviderConfigOverrides() *gomock.Call
- func (mr *MockNICScopeMockRecorder) ClusterName() *gomock.Call
- func (mr *MockNICScopeMockRecorder) Enabled() *gomock.Call
- func (mr *MockNICScopeMockRecorder) Error(err, msg interface{}, keysAndValues ...interface{}) *gomock.Call
- func (mr *MockNICScopeMockRecorder) FailureDomains() *gomock.Call
- func (mr *MockNICScopeMockRecorder) HashKey() *gomock.Call
- func (mr *MockNICScopeMockRecorder) Info(msg interface{}, keysAndValues ...interface{}) *gomock.Call
- func (mr *MockNICScopeMockRecorder) Location() *gomock.Call
- func (mr *MockNICScopeMockRecorder) NICSpecs() *gomock.Call
- func (mr *MockNICScopeMockRecorder) ResourceGroup() *gomock.Call
- func (mr *MockNICScopeMockRecorder) SubscriptionID() *gomock.Call
- func (mr *MockNICScopeMockRecorder) TenantID() *gomock.Call
- func (mr *MockNICScopeMockRecorder) V(level interface{}) *gomock.Call
- func (mr *MockNICScopeMockRecorder) WithName(name interface{}) *gomock.Call
- func (mr *MockNICScopeMockRecorder) WithValues(keysAndValues ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) CreateOrUpdate ¶
func (m *MockClient) CreateOrUpdate(arg0 context.Context, arg1, arg2 string, arg3 network.Interface) error
CreateOrUpdate mocks base method.
func (*MockClient) Delete ¶
func (m *MockClient) Delete(arg0 context.Context, arg1, arg2 string) error
Delete mocks base method.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) CreateOrUpdate ¶
func (mr *MockClientMockRecorder) CreateOrUpdate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
CreateOrUpdate indicates an expected call of CreateOrUpdate.
func (*MockClientMockRecorder) Delete ¶
func (mr *MockClientMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockClientMockRecorder) Get ¶
func (mr *MockClientMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
Get indicates an expected call of Get.
type MockNICScope ¶
type MockNICScope struct {
// contains filtered or unexported fields
}
MockNICScope is a mock of NICScope interface.
func NewMockNICScope ¶
func NewMockNICScope(ctrl *gomock.Controller) *MockNICScope
NewMockNICScope creates a new mock instance.
func (*MockNICScope) AdditionalTags ¶
func (m *MockNICScope) AdditionalTags() v1alpha4.Tags
AdditionalTags mocks base method.
func (*MockNICScope) Authorizer ¶
func (m *MockNICScope) Authorizer() autorest.Authorizer
Authorizer mocks base method.
func (*MockNICScope) AvailabilitySetEnabled ¶
func (m *MockNICScope) AvailabilitySetEnabled() bool
AvailabilitySetEnabled mocks base method.
func (*MockNICScope) ClientID ¶
func (m *MockNICScope) ClientID() string
ClientID mocks base method.
func (*MockNICScope) ClientSecret ¶
func (m *MockNICScope) ClientSecret() string
ClientSecret mocks base method.
func (*MockNICScope) CloudEnvironment ¶
func (m *MockNICScope) CloudEnvironment() string
CloudEnvironment mocks base method.
func (*MockNICScope) CloudProviderConfigOverrides ¶
func (m *MockNICScope) CloudProviderConfigOverrides() *v1alpha4.CloudProviderConfigOverrides
CloudProviderConfigOverrides mocks base method.
func (*MockNICScope) ClusterName ¶
func (m *MockNICScope) ClusterName() string
ClusterName mocks base method.
func (*MockNICScope) EXPECT ¶
func (m *MockNICScope) EXPECT() *MockNICScopeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNICScope) Error ¶
func (m *MockNICScope) Error(err error, msg string, keysAndValues ...interface{})
Error mocks base method.
func (*MockNICScope) FailureDomains ¶ added in v0.5.3
func (m *MockNICScope) FailureDomains() []string
FailureDomains mocks base method.
func (*MockNICScope) Info ¶
func (m *MockNICScope) Info(msg string, keysAndValues ...interface{})
Info mocks base method.
func (*MockNICScope) Location ¶
func (m *MockNICScope) Location() string
Location mocks base method.
func (*MockNICScope) NICSpecs ¶
func (m *MockNICScope) NICSpecs() []azure.NICSpec
NICSpecs mocks base method.
func (*MockNICScope) ResourceGroup ¶
func (m *MockNICScope) ResourceGroup() string
ResourceGroup mocks base method.
func (*MockNICScope) SubscriptionID ¶
func (m *MockNICScope) SubscriptionID() string
SubscriptionID mocks base method.
func (*MockNICScope) TenantID ¶
func (m *MockNICScope) TenantID() string
TenantID mocks base method.
func (*MockNICScope) WithName ¶
func (m *MockNICScope) WithName(name string) logr.Logger
WithName mocks base method.
func (*MockNICScope) WithValues ¶
func (m *MockNICScope) WithValues(keysAndValues ...interface{}) logr.Logger
WithValues mocks base method.
type MockNICScopeMockRecorder ¶
type MockNICScopeMockRecorder struct {
// contains filtered or unexported fields
}
MockNICScopeMockRecorder is the mock recorder for MockNICScope.
func (*MockNICScopeMockRecorder) AdditionalTags ¶
func (mr *MockNICScopeMockRecorder) AdditionalTags() *gomock.Call
AdditionalTags indicates an expected call of AdditionalTags.
func (*MockNICScopeMockRecorder) Authorizer ¶
func (mr *MockNICScopeMockRecorder) Authorizer() *gomock.Call
Authorizer indicates an expected call of Authorizer.
func (*MockNICScopeMockRecorder) AvailabilitySetEnabled ¶
func (mr *MockNICScopeMockRecorder) AvailabilitySetEnabled() *gomock.Call
AvailabilitySetEnabled indicates an expected call of AvailabilitySetEnabled.
func (*MockNICScopeMockRecorder) BaseURI ¶
func (mr *MockNICScopeMockRecorder) BaseURI() *gomock.Call
BaseURI indicates an expected call of BaseURI.
func (*MockNICScopeMockRecorder) ClientID ¶
func (mr *MockNICScopeMockRecorder) ClientID() *gomock.Call
ClientID indicates an expected call of ClientID.
func (*MockNICScopeMockRecorder) ClientSecret ¶
func (mr *MockNICScopeMockRecorder) ClientSecret() *gomock.Call
ClientSecret indicates an expected call of ClientSecret.
func (*MockNICScopeMockRecorder) CloudEnvironment ¶
func (mr *MockNICScopeMockRecorder) CloudEnvironment() *gomock.Call
CloudEnvironment indicates an expected call of CloudEnvironment.
func (*MockNICScopeMockRecorder) CloudProviderConfigOverrides ¶
func (mr *MockNICScopeMockRecorder) CloudProviderConfigOverrides() *gomock.Call
CloudProviderConfigOverrides indicates an expected call of CloudProviderConfigOverrides.
func (*MockNICScopeMockRecorder) ClusterName ¶
func (mr *MockNICScopeMockRecorder) ClusterName() *gomock.Call
ClusterName indicates an expected call of ClusterName.
func (*MockNICScopeMockRecorder) Enabled ¶
func (mr *MockNICScopeMockRecorder) Enabled() *gomock.Call
Enabled indicates an expected call of Enabled.
func (*MockNICScopeMockRecorder) Error ¶
func (mr *MockNICScopeMockRecorder) Error(err, msg interface{}, keysAndValues ...interface{}) *gomock.Call
Error indicates an expected call of Error.
func (*MockNICScopeMockRecorder) FailureDomains ¶ added in v0.5.3
func (mr *MockNICScopeMockRecorder) FailureDomains() *gomock.Call
FailureDomains indicates an expected call of FailureDomains.
func (*MockNICScopeMockRecorder) HashKey ¶
func (mr *MockNICScopeMockRecorder) HashKey() *gomock.Call
HashKey indicates an expected call of HashKey.
func (*MockNICScopeMockRecorder) Info ¶
func (mr *MockNICScopeMockRecorder) Info(msg interface{}, keysAndValues ...interface{}) *gomock.Call
Info indicates an expected call of Info.
func (*MockNICScopeMockRecorder) Location ¶
func (mr *MockNICScopeMockRecorder) Location() *gomock.Call
Location indicates an expected call of Location.
func (*MockNICScopeMockRecorder) NICSpecs ¶
func (mr *MockNICScopeMockRecorder) NICSpecs() *gomock.Call
NICSpecs indicates an expected call of NICSpecs.
func (*MockNICScopeMockRecorder) ResourceGroup ¶
func (mr *MockNICScopeMockRecorder) ResourceGroup() *gomock.Call
ResourceGroup indicates an expected call of ResourceGroup.
func (*MockNICScopeMockRecorder) SubscriptionID ¶
func (mr *MockNICScopeMockRecorder) SubscriptionID() *gomock.Call
SubscriptionID indicates an expected call of SubscriptionID.
func (*MockNICScopeMockRecorder) TenantID ¶
func (mr *MockNICScopeMockRecorder) TenantID() *gomock.Call
TenantID indicates an expected call of TenantID.
func (*MockNICScopeMockRecorder) V ¶
func (mr *MockNICScopeMockRecorder) V(level interface{}) *gomock.Call
V indicates an expected call of V.
func (*MockNICScopeMockRecorder) WithName ¶
func (mr *MockNICScopeMockRecorder) WithName(name interface{}) *gomock.Call
WithName indicates an expected call of WithName.
func (*MockNICScopeMockRecorder) WithValues ¶
func (mr *MockNICScopeMockRecorder) WithValues(keysAndValues ...interface{}) *gomock.Call
WithValues indicates an expected call of WithValues.