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