Documentation ¶
Overview ¶
Package mock_securitygroups is a generated GoMock package.
Run go generate to regenerate this mock.
Package mock_securitygroups is a generated GoMock package.
Index ¶
- type MockNSGScope
- func (m *MockNSGScope) APIServerLBName() string
- func (m *MockNSGScope) APIServerLBPoolName(arg0 string) string
- func (m *MockNSGScope) AdditionalTags() v1beta1.Tags
- func (m *MockNSGScope) Authorizer() autorest.Authorizer
- func (m *MockNSGScope) AvailabilitySetEnabled() bool
- func (m *MockNSGScope) BaseURI() string
- func (m *MockNSGScope) ClientID() string
- func (m *MockNSGScope) ClientSecret() string
- func (m *MockNSGScope) CloudEnvironment() string
- func (m *MockNSGScope) CloudProviderConfigOverrides() *v1beta1.CloudProviderConfigOverrides
- func (m *MockNSGScope) ClusterName() string
- func (m *MockNSGScope) ControlPlaneRouteTable() v1beta1.RouteTable
- func (m *MockNSGScope) ControlPlaneSubnet() v1beta1.SubnetSpec
- func (m *MockNSGScope) EXPECT() *MockNSGScopeMockRecorder
- func (m *MockNSGScope) FailureDomains() []string
- func (m *MockNSGScope) GetPrivateDNSZoneName() string
- func (m *MockNSGScope) HashKey() string
- func (m *MockNSGScope) IsAPIServerPrivate() bool
- func (m *MockNSGScope) IsIPv6Enabled() bool
- func (m *MockNSGScope) IsVnetManaged() bool
- func (m *MockNSGScope) Location() string
- func (m *MockNSGScope) NSGSpecs() []azure.NSGSpec
- func (m *MockNSGScope) NodeSubnets() []v1beta1.SubnetSpec
- func (m *MockNSGScope) OutboundLBName(arg0 string) string
- func (m *MockNSGScope) OutboundPoolName(arg0 string) string
- func (m *MockNSGScope) ResourceGroup() string
- func (m *MockNSGScope) SetSubnet(arg0 v1beta1.SubnetSpec)
- func (m *MockNSGScope) Subnet(arg0 string) v1beta1.SubnetSpec
- func (m *MockNSGScope) Subnets() v1beta1.Subnets
- func (m *MockNSGScope) SubscriptionID() string
- func (m *MockNSGScope) TenantID() string
- func (m *MockNSGScope) Vnet() *v1beta1.VnetSpec
- type MockNSGScopeMockRecorder
- func (mr *MockNSGScopeMockRecorder) APIServerLBName() *gomock.Call
- func (mr *MockNSGScopeMockRecorder) APIServerLBPoolName(arg0 interface{}) *gomock.Call
- func (mr *MockNSGScopeMockRecorder) AdditionalTags() *gomock.Call
- func (mr *MockNSGScopeMockRecorder) Authorizer() *gomock.Call
- func (mr *MockNSGScopeMockRecorder) AvailabilitySetEnabled() *gomock.Call
- func (mr *MockNSGScopeMockRecorder) BaseURI() *gomock.Call
- func (mr *MockNSGScopeMockRecorder) ClientID() *gomock.Call
- func (mr *MockNSGScopeMockRecorder) ClientSecret() *gomock.Call
- func (mr *MockNSGScopeMockRecorder) CloudEnvironment() *gomock.Call
- func (mr *MockNSGScopeMockRecorder) CloudProviderConfigOverrides() *gomock.Call
- func (mr *MockNSGScopeMockRecorder) ClusterName() *gomock.Call
- func (mr *MockNSGScopeMockRecorder) ControlPlaneRouteTable() *gomock.Call
- func (mr *MockNSGScopeMockRecorder) ControlPlaneSubnet() *gomock.Call
- func (mr *MockNSGScopeMockRecorder) FailureDomains() *gomock.Call
- func (mr *MockNSGScopeMockRecorder) GetPrivateDNSZoneName() *gomock.Call
- func (mr *MockNSGScopeMockRecorder) HashKey() *gomock.Call
- func (mr *MockNSGScopeMockRecorder) IsAPIServerPrivate() *gomock.Call
- func (mr *MockNSGScopeMockRecorder) IsIPv6Enabled() *gomock.Call
- func (mr *MockNSGScopeMockRecorder) IsVnetManaged() *gomock.Call
- func (mr *MockNSGScopeMockRecorder) Location() *gomock.Call
- func (mr *MockNSGScopeMockRecorder) NSGSpecs() *gomock.Call
- func (mr *MockNSGScopeMockRecorder) NodeSubnets() *gomock.Call
- func (mr *MockNSGScopeMockRecorder) OutboundLBName(arg0 interface{}) *gomock.Call
- func (mr *MockNSGScopeMockRecorder) OutboundPoolName(arg0 interface{}) *gomock.Call
- func (mr *MockNSGScopeMockRecorder) ResourceGroup() *gomock.Call
- func (mr *MockNSGScopeMockRecorder) SetSubnet(arg0 interface{}) *gomock.Call
- func (mr *MockNSGScopeMockRecorder) Subnet(arg0 interface{}) *gomock.Call
- func (mr *MockNSGScopeMockRecorder) Subnets() *gomock.Call
- func (mr *MockNSGScopeMockRecorder) SubscriptionID() *gomock.Call
- func (mr *MockNSGScopeMockRecorder) TenantID() *gomock.Call
- func (mr *MockNSGScopeMockRecorder) Vnet() *gomock.Call
- type Mockclient
- func (m *Mockclient) CreateOrUpdate(arg0 context.Context, arg1, arg2 string, arg3 network.SecurityGroup) 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.SecurityGroup, error)
- type MockclientMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockNSGScope ¶
type MockNSGScope struct {
// contains filtered or unexported fields
}
MockNSGScope is a mock of NSGScope interface.
func NewMockNSGScope ¶
func NewMockNSGScope(ctrl *gomock.Controller) *MockNSGScope
NewMockNSGScope creates a new mock instance.
func (*MockNSGScope) APIServerLBName ¶
func (m *MockNSGScope) APIServerLBName() string
APIServerLBName mocks base method.
func (*MockNSGScope) APIServerLBPoolName ¶
func (m *MockNSGScope) APIServerLBPoolName(arg0 string) string
APIServerLBPoolName mocks base method.
func (*MockNSGScope) AdditionalTags ¶
func (m *MockNSGScope) AdditionalTags() v1beta1.Tags
AdditionalTags mocks base method.
func (*MockNSGScope) Authorizer ¶
func (m *MockNSGScope) Authorizer() autorest.Authorizer
Authorizer mocks base method.
func (*MockNSGScope) AvailabilitySetEnabled ¶
func (m *MockNSGScope) AvailabilitySetEnabled() bool
AvailabilitySetEnabled mocks base method.
func (*MockNSGScope) ClientID ¶
func (m *MockNSGScope) ClientID() string
ClientID mocks base method.
func (*MockNSGScope) ClientSecret ¶
func (m *MockNSGScope) ClientSecret() string
ClientSecret mocks base method.
func (*MockNSGScope) CloudEnvironment ¶
func (m *MockNSGScope) CloudEnvironment() string
CloudEnvironment mocks base method.
func (*MockNSGScope) CloudProviderConfigOverrides ¶
func (m *MockNSGScope) CloudProviderConfigOverrides() *v1beta1.CloudProviderConfigOverrides
CloudProviderConfigOverrides mocks base method.
func (*MockNSGScope) ClusterName ¶
func (m *MockNSGScope) ClusterName() string
ClusterName mocks base method.
func (*MockNSGScope) ControlPlaneRouteTable ¶
func (m *MockNSGScope) ControlPlaneRouteTable() v1beta1.RouteTable
ControlPlaneRouteTable mocks base method.
func (*MockNSGScope) ControlPlaneSubnet ¶
func (m *MockNSGScope) ControlPlaneSubnet() v1beta1.SubnetSpec
ControlPlaneSubnet mocks base method.
func (*MockNSGScope) EXPECT ¶
func (m *MockNSGScope) EXPECT() *MockNSGScopeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNSGScope) FailureDomains ¶ added in v0.5.3
func (m *MockNSGScope) FailureDomains() []string
FailureDomains mocks base method.
func (*MockNSGScope) GetPrivateDNSZoneName ¶
func (m *MockNSGScope) GetPrivateDNSZoneName() string
GetPrivateDNSZoneName mocks base method.
func (*MockNSGScope) IsAPIServerPrivate ¶
func (m *MockNSGScope) IsAPIServerPrivate() bool
IsAPIServerPrivate mocks base method.
func (*MockNSGScope) IsIPv6Enabled ¶
func (m *MockNSGScope) IsIPv6Enabled() bool
IsIPv6Enabled mocks base method.
func (*MockNSGScope) IsVnetManaged ¶
func (m *MockNSGScope) IsVnetManaged() bool
IsVnetManaged mocks base method.
func (*MockNSGScope) Location ¶
func (m *MockNSGScope) Location() string
Location mocks base method.
func (*MockNSGScope) NSGSpecs ¶
func (m *MockNSGScope) NSGSpecs() []azure.NSGSpec
NSGSpecs mocks base method.
func (*MockNSGScope) NodeSubnets ¶ added in v0.5.1
func (m *MockNSGScope) NodeSubnets() []v1beta1.SubnetSpec
NodeSubnets mocks base method.
func (*MockNSGScope) OutboundLBName ¶
func (m *MockNSGScope) OutboundLBName(arg0 string) string
OutboundLBName mocks base method.
func (*MockNSGScope) OutboundPoolName ¶
func (m *MockNSGScope) OutboundPoolName(arg0 string) string
OutboundPoolName mocks base method.
func (*MockNSGScope) ResourceGroup ¶
func (m *MockNSGScope) ResourceGroup() string
ResourceGroup mocks base method.
func (*MockNSGScope) SetSubnet ¶
func (m *MockNSGScope) SetSubnet(arg0 v1beta1.SubnetSpec)
SetSubnet mocks base method.
func (*MockNSGScope) Subnet ¶ added in v0.5.1
func (m *MockNSGScope) Subnet(arg0 string) v1beta1.SubnetSpec
Subnet mocks base method.
func (*MockNSGScope) Subnets ¶ added in v0.5.1
func (m *MockNSGScope) Subnets() v1beta1.Subnets
Subnets mocks base method.
func (*MockNSGScope) SubscriptionID ¶
func (m *MockNSGScope) SubscriptionID() string
SubscriptionID mocks base method.
func (*MockNSGScope) TenantID ¶
func (m *MockNSGScope) TenantID() string
TenantID mocks base method.
type MockNSGScopeMockRecorder ¶
type MockNSGScopeMockRecorder struct {
// contains filtered or unexported fields
}
MockNSGScopeMockRecorder is the mock recorder for MockNSGScope.
func (*MockNSGScopeMockRecorder) APIServerLBName ¶
func (mr *MockNSGScopeMockRecorder) APIServerLBName() *gomock.Call
APIServerLBName indicates an expected call of APIServerLBName.
func (*MockNSGScopeMockRecorder) APIServerLBPoolName ¶
func (mr *MockNSGScopeMockRecorder) APIServerLBPoolName(arg0 interface{}) *gomock.Call
APIServerLBPoolName indicates an expected call of APIServerLBPoolName.
func (*MockNSGScopeMockRecorder) AdditionalTags ¶
func (mr *MockNSGScopeMockRecorder) AdditionalTags() *gomock.Call
AdditionalTags indicates an expected call of AdditionalTags.
func (*MockNSGScopeMockRecorder) Authorizer ¶
func (mr *MockNSGScopeMockRecorder) Authorizer() *gomock.Call
Authorizer indicates an expected call of Authorizer.
func (*MockNSGScopeMockRecorder) AvailabilitySetEnabled ¶
func (mr *MockNSGScopeMockRecorder) AvailabilitySetEnabled() *gomock.Call
AvailabilitySetEnabled indicates an expected call of AvailabilitySetEnabled.
func (*MockNSGScopeMockRecorder) BaseURI ¶
func (mr *MockNSGScopeMockRecorder) BaseURI() *gomock.Call
BaseURI indicates an expected call of BaseURI.
func (*MockNSGScopeMockRecorder) ClientID ¶
func (mr *MockNSGScopeMockRecorder) ClientID() *gomock.Call
ClientID indicates an expected call of ClientID.
func (*MockNSGScopeMockRecorder) ClientSecret ¶
func (mr *MockNSGScopeMockRecorder) ClientSecret() *gomock.Call
ClientSecret indicates an expected call of ClientSecret.
func (*MockNSGScopeMockRecorder) CloudEnvironment ¶
func (mr *MockNSGScopeMockRecorder) CloudEnvironment() *gomock.Call
CloudEnvironment indicates an expected call of CloudEnvironment.
func (*MockNSGScopeMockRecorder) CloudProviderConfigOverrides ¶
func (mr *MockNSGScopeMockRecorder) CloudProviderConfigOverrides() *gomock.Call
CloudProviderConfigOverrides indicates an expected call of CloudProviderConfigOverrides.
func (*MockNSGScopeMockRecorder) ClusterName ¶
func (mr *MockNSGScopeMockRecorder) ClusterName() *gomock.Call
ClusterName indicates an expected call of ClusterName.
func (*MockNSGScopeMockRecorder) ControlPlaneRouteTable ¶
func (mr *MockNSGScopeMockRecorder) ControlPlaneRouteTable() *gomock.Call
ControlPlaneRouteTable indicates an expected call of ControlPlaneRouteTable.
func (*MockNSGScopeMockRecorder) ControlPlaneSubnet ¶
func (mr *MockNSGScopeMockRecorder) ControlPlaneSubnet() *gomock.Call
ControlPlaneSubnet indicates an expected call of ControlPlaneSubnet.
func (*MockNSGScopeMockRecorder) FailureDomains ¶ added in v0.5.3
func (mr *MockNSGScopeMockRecorder) FailureDomains() *gomock.Call
FailureDomains indicates an expected call of FailureDomains.
func (*MockNSGScopeMockRecorder) GetPrivateDNSZoneName ¶
func (mr *MockNSGScopeMockRecorder) GetPrivateDNSZoneName() *gomock.Call
GetPrivateDNSZoneName indicates an expected call of GetPrivateDNSZoneName.
func (*MockNSGScopeMockRecorder) HashKey ¶
func (mr *MockNSGScopeMockRecorder) HashKey() *gomock.Call
HashKey indicates an expected call of HashKey.
func (*MockNSGScopeMockRecorder) IsAPIServerPrivate ¶
func (mr *MockNSGScopeMockRecorder) IsAPIServerPrivate() *gomock.Call
IsAPIServerPrivate indicates an expected call of IsAPIServerPrivate.
func (*MockNSGScopeMockRecorder) IsIPv6Enabled ¶
func (mr *MockNSGScopeMockRecorder) IsIPv6Enabled() *gomock.Call
IsIPv6Enabled indicates an expected call of IsIPv6Enabled.
func (*MockNSGScopeMockRecorder) IsVnetManaged ¶
func (mr *MockNSGScopeMockRecorder) IsVnetManaged() *gomock.Call
IsVnetManaged indicates an expected call of IsVnetManaged.
func (*MockNSGScopeMockRecorder) Location ¶
func (mr *MockNSGScopeMockRecorder) Location() *gomock.Call
Location indicates an expected call of Location.
func (*MockNSGScopeMockRecorder) NSGSpecs ¶
func (mr *MockNSGScopeMockRecorder) NSGSpecs() *gomock.Call
NSGSpecs indicates an expected call of NSGSpecs.
func (*MockNSGScopeMockRecorder) NodeSubnets ¶ added in v0.5.1
func (mr *MockNSGScopeMockRecorder) NodeSubnets() *gomock.Call
NodeSubnets indicates an expected call of NodeSubnets.
func (*MockNSGScopeMockRecorder) OutboundLBName ¶
func (mr *MockNSGScopeMockRecorder) OutboundLBName(arg0 interface{}) *gomock.Call
OutboundLBName indicates an expected call of OutboundLBName.
func (*MockNSGScopeMockRecorder) OutboundPoolName ¶
func (mr *MockNSGScopeMockRecorder) OutboundPoolName(arg0 interface{}) *gomock.Call
OutboundPoolName indicates an expected call of OutboundPoolName.
func (*MockNSGScopeMockRecorder) ResourceGroup ¶
func (mr *MockNSGScopeMockRecorder) ResourceGroup() *gomock.Call
ResourceGroup indicates an expected call of ResourceGroup.
func (*MockNSGScopeMockRecorder) SetSubnet ¶
func (mr *MockNSGScopeMockRecorder) SetSubnet(arg0 interface{}) *gomock.Call
SetSubnet indicates an expected call of SetSubnet.
func (*MockNSGScopeMockRecorder) Subnet ¶ added in v0.5.1
func (mr *MockNSGScopeMockRecorder) Subnet(arg0 interface{}) *gomock.Call
Subnet indicates an expected call of Subnet.
func (*MockNSGScopeMockRecorder) Subnets ¶ added in v0.5.1
func (mr *MockNSGScopeMockRecorder) Subnets() *gomock.Call
Subnets indicates an expected call of Subnets.
func (*MockNSGScopeMockRecorder) SubscriptionID ¶
func (mr *MockNSGScopeMockRecorder) SubscriptionID() *gomock.Call
SubscriptionID indicates an expected call of SubscriptionID.
func (*MockNSGScopeMockRecorder) TenantID ¶
func (mr *MockNSGScopeMockRecorder) TenantID() *gomock.Call
TenantID indicates an expected call of TenantID.
func (*MockNSGScopeMockRecorder) Vnet ¶
func (mr *MockNSGScopeMockRecorder) Vnet() *gomock.Call
Vnet indicates an expected call of Vnet.
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.SecurityGroup) 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.
func (*Mockclient) Get ¶
func (m *Mockclient) Get(arg0 context.Context, arg1, arg2 string) (network.SecurityGroup, error)
Get mocks base method.
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.