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() v1alpha3.Tags
- func (m *MockNICScope) Authorizer() autorest.Authorizer
- func (m *MockNICScope) BaseURI() string
- func (m *MockNICScope) ClientID() string
- func (m *MockNICScope) ClientSecret() string
- func (m *MockNICScope) CloudEnvironment() string
- func (m *MockNICScope) ClusterName() string
- func (m *MockNICScope) ControlPlaneSubnet() *v1alpha3.SubnetSpec
- func (m *MockNICScope) EXPECT() *MockNICScopeMockRecorder
- func (m *MockNICScope) Enabled() bool
- func (m *MockNICScope) Error(err error, msg string, keysAndValues ...interface{})
- func (m *MockNICScope) Info(msg string, keysAndValues ...interface{})
- func (m *MockNICScope) IsIPv6Enabled() bool
- func (m *MockNICScope) IsVnetManaged() bool
- func (m *MockNICScope) Location() string
- func (m *MockNICScope) NICSpecs() []azure.NICSpec
- func (m *MockNICScope) NodeSubnet() *v1alpha3.SubnetSpec
- func (m *MockNICScope) ResourceGroup() string
- func (m *MockNICScope) RouteTable() *v1alpha3.RouteTable
- func (m *MockNICScope) SubscriptionID() string
- func (m *MockNICScope) TenantID() string
- func (m *MockNICScope) V(level int) logr.InfoLogger
- func (m *MockNICScope) Vnet() *v1alpha3.VnetSpec
- 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) BaseURI() *gomock.Call
- func (mr *MockNICScopeMockRecorder) ClientID() *gomock.Call
- func (mr *MockNICScopeMockRecorder) ClientSecret() *gomock.Call
- func (mr *MockNICScopeMockRecorder) CloudEnvironment() *gomock.Call
- func (mr *MockNICScopeMockRecorder) ClusterName() *gomock.Call
- func (mr *MockNICScopeMockRecorder) ControlPlaneSubnet() *gomock.Call
- func (mr *MockNICScopeMockRecorder) Enabled() *gomock.Call
- func (mr *MockNICScopeMockRecorder) Error(err, msg interface{}, keysAndValues ...interface{}) *gomock.Call
- func (mr *MockNICScopeMockRecorder) Info(msg interface{}, keysAndValues ...interface{}) *gomock.Call
- func (mr *MockNICScopeMockRecorder) IsIPv6Enabled() *gomock.Call
- func (mr *MockNICScopeMockRecorder) IsVnetManaged() *gomock.Call
- func (mr *MockNICScopeMockRecorder) Location() *gomock.Call
- func (mr *MockNICScopeMockRecorder) NICSpecs() *gomock.Call
- func (mr *MockNICScopeMockRecorder) NodeSubnet() *gomock.Call
- func (mr *MockNICScopeMockRecorder) ResourceGroup() *gomock.Call
- func (mr *MockNICScopeMockRecorder) RouteTable() *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) Vnet() *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 ¶ added in v0.4.6
type MockNICScope struct {
// contains filtered or unexported fields
}
MockNICScope is a mock of NICScope interface.
func NewMockNICScope ¶ added in v0.4.6
func NewMockNICScope(ctrl *gomock.Controller) *MockNICScope
NewMockNICScope creates a new mock instance.
func (*MockNICScope) AdditionalTags ¶ added in v0.4.6
func (m *MockNICScope) AdditionalTags() v1alpha3.Tags
AdditionalTags mocks base method.
func (*MockNICScope) Authorizer ¶ added in v0.4.6
func (m *MockNICScope) Authorizer() autorest.Authorizer
Authorizer mocks base method.
func (*MockNICScope) BaseURI ¶ added in v0.4.6
func (m *MockNICScope) BaseURI() string
BaseURI mocks base method.
func (*MockNICScope) ClientID ¶ added in v0.4.7
func (m *MockNICScope) ClientID() string
ClientID mocks base method.
func (*MockNICScope) ClientSecret ¶ added in v0.4.7
func (m *MockNICScope) ClientSecret() string
ClientSecret mocks base method.
func (*MockNICScope) CloudEnvironment ¶ added in v0.4.7
func (m *MockNICScope) CloudEnvironment() string
CloudEnvironment mocks base method.
func (*MockNICScope) ClusterName ¶ added in v0.4.6
func (m *MockNICScope) ClusterName() string
ClusterName mocks base method.
func (*MockNICScope) ControlPlaneSubnet ¶ added in v0.4.6
func (m *MockNICScope) ControlPlaneSubnet() *v1alpha3.SubnetSpec
ControlPlaneSubnet mocks base method.
func (*MockNICScope) EXPECT ¶ added in v0.4.6
func (m *MockNICScope) EXPECT() *MockNICScopeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNICScope) Enabled ¶ added in v0.4.6
func (m *MockNICScope) Enabled() bool
Enabled mocks base method.
func (*MockNICScope) Error ¶ added in v0.4.6
func (m *MockNICScope) Error(err error, msg string, keysAndValues ...interface{})
Error mocks base method.
func (*MockNICScope) Info ¶ added in v0.4.6
func (m *MockNICScope) Info(msg string, keysAndValues ...interface{})
Info mocks base method.
func (*MockNICScope) IsIPv6Enabled ¶ added in v0.4.9
func (m *MockNICScope) IsIPv6Enabled() bool
IsIPv6Enabled mocks base method.
func (*MockNICScope) IsVnetManaged ¶ added in v0.4.7
func (m *MockNICScope) IsVnetManaged() bool
IsVnetManaged mocks base method.
func (*MockNICScope) Location ¶ added in v0.4.6
func (m *MockNICScope) Location() string
Location mocks base method.
func (*MockNICScope) NICSpecs ¶ added in v0.4.6
func (m *MockNICScope) NICSpecs() []azure.NICSpec
NICSpecs mocks base method.
func (*MockNICScope) NodeSubnet ¶ added in v0.4.6
func (m *MockNICScope) NodeSubnet() *v1alpha3.SubnetSpec
NodeSubnet mocks base method.
func (*MockNICScope) ResourceGroup ¶ added in v0.4.6
func (m *MockNICScope) ResourceGroup() string
ResourceGroup mocks base method.
func (*MockNICScope) RouteTable ¶ added in v0.4.7
func (m *MockNICScope) RouteTable() *v1alpha3.RouteTable
RouteTable mocks base method.
func (*MockNICScope) SubscriptionID ¶ added in v0.4.6
func (m *MockNICScope) SubscriptionID() string
SubscriptionID mocks base method.
func (*MockNICScope) TenantID ¶ added in v0.4.7
func (m *MockNICScope) TenantID() string
TenantID mocks base method.
func (*MockNICScope) V ¶ added in v0.4.6
func (m *MockNICScope) V(level int) logr.InfoLogger
V mocks base method.
func (*MockNICScope) Vnet ¶ added in v0.4.6
func (m *MockNICScope) Vnet() *v1alpha3.VnetSpec
Vnet mocks base method.
func (*MockNICScope) WithName ¶ added in v0.4.6
func (m *MockNICScope) WithName(name string) logr.Logger
WithName mocks base method.
func (*MockNICScope) WithValues ¶ added in v0.4.6
func (m *MockNICScope) WithValues(keysAndValues ...interface{}) logr.Logger
WithValues mocks base method.
type MockNICScopeMockRecorder ¶ added in v0.4.6
type MockNICScopeMockRecorder struct {
// contains filtered or unexported fields
}
MockNICScopeMockRecorder is the mock recorder for MockNICScope.
func (*MockNICScopeMockRecorder) AdditionalTags ¶ added in v0.4.6
func (mr *MockNICScopeMockRecorder) AdditionalTags() *gomock.Call
AdditionalTags indicates an expected call of AdditionalTags.
func (*MockNICScopeMockRecorder) Authorizer ¶ added in v0.4.6
func (mr *MockNICScopeMockRecorder) Authorizer() *gomock.Call
Authorizer indicates an expected call of Authorizer.
func (*MockNICScopeMockRecorder) BaseURI ¶ added in v0.4.6
func (mr *MockNICScopeMockRecorder) BaseURI() *gomock.Call
BaseURI indicates an expected call of BaseURI.
func (*MockNICScopeMockRecorder) ClientID ¶ added in v0.4.7
func (mr *MockNICScopeMockRecorder) ClientID() *gomock.Call
ClientID indicates an expected call of ClientID.
func (*MockNICScopeMockRecorder) ClientSecret ¶ added in v0.4.7
func (mr *MockNICScopeMockRecorder) ClientSecret() *gomock.Call
ClientSecret indicates an expected call of ClientSecret.
func (*MockNICScopeMockRecorder) CloudEnvironment ¶ added in v0.4.7
func (mr *MockNICScopeMockRecorder) CloudEnvironment() *gomock.Call
CloudEnvironment indicates an expected call of CloudEnvironment.
func (*MockNICScopeMockRecorder) ClusterName ¶ added in v0.4.6
func (mr *MockNICScopeMockRecorder) ClusterName() *gomock.Call
ClusterName indicates an expected call of ClusterName.
func (*MockNICScopeMockRecorder) ControlPlaneSubnet ¶ added in v0.4.6
func (mr *MockNICScopeMockRecorder) ControlPlaneSubnet() *gomock.Call
ControlPlaneSubnet indicates an expected call of ControlPlaneSubnet.
func (*MockNICScopeMockRecorder) Enabled ¶ added in v0.4.6
func (mr *MockNICScopeMockRecorder) Enabled() *gomock.Call
Enabled indicates an expected call of Enabled.
func (*MockNICScopeMockRecorder) Error ¶ added in v0.4.6
func (mr *MockNICScopeMockRecorder) Error(err, msg interface{}, keysAndValues ...interface{}) *gomock.Call
Error indicates an expected call of Error.
func (*MockNICScopeMockRecorder) Info ¶ added in v0.4.6
func (mr *MockNICScopeMockRecorder) Info(msg interface{}, keysAndValues ...interface{}) *gomock.Call
Info indicates an expected call of Info.
func (*MockNICScopeMockRecorder) IsIPv6Enabled ¶ added in v0.4.9
func (mr *MockNICScopeMockRecorder) IsIPv6Enabled() *gomock.Call
IsIPv6Enabled indicates an expected call of IsIPv6Enabled.
func (*MockNICScopeMockRecorder) IsVnetManaged ¶ added in v0.4.7
func (mr *MockNICScopeMockRecorder) IsVnetManaged() *gomock.Call
IsVnetManaged indicates an expected call of IsVnetManaged.
func (*MockNICScopeMockRecorder) Location ¶ added in v0.4.6
func (mr *MockNICScopeMockRecorder) Location() *gomock.Call
Location indicates an expected call of Location.
func (*MockNICScopeMockRecorder) NICSpecs ¶ added in v0.4.6
func (mr *MockNICScopeMockRecorder) NICSpecs() *gomock.Call
NICSpecs indicates an expected call of NICSpecs.
func (*MockNICScopeMockRecorder) NodeSubnet ¶ added in v0.4.6
func (mr *MockNICScopeMockRecorder) NodeSubnet() *gomock.Call
NodeSubnet indicates an expected call of NodeSubnet.
func (*MockNICScopeMockRecorder) ResourceGroup ¶ added in v0.4.6
func (mr *MockNICScopeMockRecorder) ResourceGroup() *gomock.Call
ResourceGroup indicates an expected call of ResourceGroup.
func (*MockNICScopeMockRecorder) RouteTable ¶ added in v0.4.7
func (mr *MockNICScopeMockRecorder) RouteTable() *gomock.Call
RouteTable indicates an expected call of RouteTable.
func (*MockNICScopeMockRecorder) SubscriptionID ¶ added in v0.4.6
func (mr *MockNICScopeMockRecorder) SubscriptionID() *gomock.Call
SubscriptionID indicates an expected call of SubscriptionID.
func (*MockNICScopeMockRecorder) TenantID ¶ added in v0.4.7
func (mr *MockNICScopeMockRecorder) TenantID() *gomock.Call
TenantID indicates an expected call of TenantID.
func (*MockNICScopeMockRecorder) V ¶ added in v0.4.6
func (mr *MockNICScopeMockRecorder) V(level interface{}) *gomock.Call
V indicates an expected call of V.
func (*MockNICScopeMockRecorder) Vnet ¶ added in v0.4.6
func (mr *MockNICScopeMockRecorder) Vnet() *gomock.Call
Vnet indicates an expected call of Vnet.
func (*MockNICScopeMockRecorder) WithName ¶ added in v0.4.6
func (mr *MockNICScopeMockRecorder) WithName(name interface{}) *gomock.Call
WithName indicates an expected call of WithName.
func (*MockNICScopeMockRecorder) WithValues ¶ added in v0.4.6
func (mr *MockNICScopeMockRecorder) WithValues(keysAndValues ...interface{}) *gomock.Call
WithValues indicates an expected call of WithValues.