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() v1alpha3.Tags
- func (m *MockBastionScope) Authorizer() autorest.Authorizer
- func (m *MockBastionScope) BaseURI() string
- func (m *MockBastionScope) BastionSpecs() []azure.BastionSpec
- func (m *MockBastionScope) ClientID() string
- func (m *MockBastionScope) ClientSecret() string
- func (m *MockBastionScope) CloudEnvironment() string
- func (m *MockBastionScope) ClusterName() string
- func (m *MockBastionScope) ControlPlaneRouteTable() *v1alpha3.RouteTable
- func (m *MockBastionScope) ControlPlaneSubnet() *v1alpha3.SubnetSpec
- func (m *MockBastionScope) EXPECT() *MockBastionScopeMockRecorder
- func (m *MockBastionScope) Enabled() bool
- func (m *MockBastionScope) Error(err error, msg string, keysAndValues ...interface{})
- func (m *MockBastionScope) Info(msg string, keysAndValues ...interface{})
- func (m *MockBastionScope) IsAPIServerPrivate() bool
- func (m *MockBastionScope) IsIPv6Enabled() bool
- func (m *MockBastionScope) IsVnetManaged() bool
- func (m *MockBastionScope) Location() string
- func (m *MockBastionScope) NodeRouteTable() *v1alpha3.RouteTable
- func (m *MockBastionScope) NodeSubnet() *v1alpha3.SubnetSpec
- func (m *MockBastionScope) OutboundLBName(arg0 string) string
- func (m *MockBastionScope) OutboundPoolName(arg0 string) string
- func (m *MockBastionScope) ResourceGroup() string
- func (m *MockBastionScope) SubscriptionID() string
- func (m *MockBastionScope) TenantID() string
- func (m *MockBastionScope) V(level int) logr.InfoLogger
- func (m *MockBastionScope) Vnet() *v1alpha3.VnetSpec
- func (m *MockBastionScope) WithName(name string) logr.Logger
- func (m *MockBastionScope) WithValues(keysAndValues ...interface{}) logr.Logger
- 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) BaseURI() *gomock.Call
- func (mr *MockBastionScopeMockRecorder) BastionSpecs() *gomock.Call
- func (mr *MockBastionScopeMockRecorder) ClientID() *gomock.Call
- func (mr *MockBastionScopeMockRecorder) ClientSecret() *gomock.Call
- func (mr *MockBastionScopeMockRecorder) CloudEnvironment() *gomock.Call
- func (mr *MockBastionScopeMockRecorder) ClusterName() *gomock.Call
- func (mr *MockBastionScopeMockRecorder) ControlPlaneRouteTable() *gomock.Call
- func (mr *MockBastionScopeMockRecorder) ControlPlaneSubnet() *gomock.Call
- func (mr *MockBastionScopeMockRecorder) Enabled() *gomock.Call
- func (mr *MockBastionScopeMockRecorder) Error(err, msg interface{}, keysAndValues ...interface{}) *gomock.Call
- func (mr *MockBastionScopeMockRecorder) Info(msg interface{}, keysAndValues ...interface{}) *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) NodeRouteTable() *gomock.Call
- func (mr *MockBastionScopeMockRecorder) NodeSubnet() *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) SubscriptionID() *gomock.Call
- func (mr *MockBastionScopeMockRecorder) TenantID() *gomock.Call
- func (mr *MockBastionScopeMockRecorder) V(level interface{}) *gomock.Call
- func (mr *MockBastionScopeMockRecorder) Vnet() *gomock.Call
- func (mr *MockBastionScopeMockRecorder) WithName(name interface{}) *gomock.Call
- func (mr *MockBastionScopeMockRecorder) WithValues(keysAndValues ...interface{}) *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 ¶ added in v0.4.10
func (m *MockBastionScope) APIServerLBName() string
APIServerLBName mocks base method.
func (*MockBastionScope) APIServerLBPoolName ¶ added in v0.4.10
func (m *MockBastionScope) APIServerLBPoolName(arg0 string) string
APIServerLBPoolName mocks base method.
func (*MockBastionScope) AdditionalTags ¶
func (m *MockBastionScope) AdditionalTags() v1alpha3.Tags
AdditionalTags mocks base method.
func (*MockBastionScope) Authorizer ¶
func (m *MockBastionScope) Authorizer() autorest.Authorizer
Authorizer mocks base method.
func (*MockBastionScope) BaseURI ¶
func (m *MockBastionScope) BaseURI() string
BaseURI mocks base method.
func (*MockBastionScope) BastionSpecs ¶
func (m *MockBastionScope) BastionSpecs() []azure.BastionSpec
BastionSpecs 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) ClusterName ¶
func (m *MockBastionScope) ClusterName() string
ClusterName mocks base method.
func (*MockBastionScope) ControlPlaneRouteTable ¶ added in v0.4.10
func (m *MockBastionScope) ControlPlaneRouteTable() *v1alpha3.RouteTable
ControlPlaneRouteTable mocks base method.
func (*MockBastionScope) ControlPlaneSubnet ¶
func (m *MockBastionScope) ControlPlaneSubnet() *v1alpha3.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) Enabled ¶
func (m *MockBastionScope) Enabled() bool
Enabled mocks base method.
func (*MockBastionScope) Error ¶
func (m *MockBastionScope) Error(err error, msg string, keysAndValues ...interface{})
Error mocks base method.
func (*MockBastionScope) Info ¶
func (m *MockBastionScope) Info(msg string, keysAndValues ...interface{})
Info mocks base method.
func (*MockBastionScope) IsAPIServerPrivate ¶ added in v0.4.10
func (m *MockBastionScope) IsAPIServerPrivate() bool
IsAPIServerPrivate mocks base method.
func (*MockBastionScope) IsIPv6Enabled ¶ added in v0.4.9
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) NodeRouteTable ¶ added in v0.4.10
func (m *MockBastionScope) NodeRouteTable() *v1alpha3.RouteTable
NodeRouteTable mocks base method.
func (*MockBastionScope) NodeSubnet ¶
func (m *MockBastionScope) NodeSubnet() *v1alpha3.SubnetSpec
NodeSubnet mocks base method.
func (*MockBastionScope) OutboundLBName ¶ added in v0.4.10
func (m *MockBastionScope) OutboundLBName(arg0 string) string
OutboundLBName mocks base method.
func (*MockBastionScope) OutboundPoolName ¶ added in v0.4.10
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) SubscriptionID ¶
func (m *MockBastionScope) SubscriptionID() string
SubscriptionID mocks base method.
func (*MockBastionScope) TenantID ¶
func (m *MockBastionScope) TenantID() string
TenantID mocks base method.
func (*MockBastionScope) V ¶
func (m *MockBastionScope) V(level int) logr.InfoLogger
V mocks base method.
func (*MockBastionScope) Vnet ¶
func (m *MockBastionScope) Vnet() *v1alpha3.VnetSpec
Vnet mocks base method.
func (*MockBastionScope) WithName ¶
func (m *MockBastionScope) WithName(name string) logr.Logger
WithName mocks base method.
func (*MockBastionScope) WithValues ¶
func (m *MockBastionScope) WithValues(keysAndValues ...interface{}) logr.Logger
WithValues mocks base method.
type MockBastionScopeMockRecorder ¶
type MockBastionScopeMockRecorder struct {
// contains filtered or unexported fields
}
MockBastionScopeMockRecorder is the mock recorder for MockBastionScope.
func (*MockBastionScopeMockRecorder) APIServerLBName ¶ added in v0.4.10
func (mr *MockBastionScopeMockRecorder) APIServerLBName() *gomock.Call
APIServerLBName indicates an expected call of APIServerLBName.
func (*MockBastionScopeMockRecorder) APIServerLBPoolName ¶ added in v0.4.10
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) BaseURI ¶
func (mr *MockBastionScopeMockRecorder) BaseURI() *gomock.Call
BaseURI indicates an expected call of BaseURI.
func (*MockBastionScopeMockRecorder) BastionSpecs ¶
func (mr *MockBastionScopeMockRecorder) BastionSpecs() *gomock.Call
BastionSpecs indicates an expected call of BastionSpecs.
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) ClusterName ¶
func (mr *MockBastionScopeMockRecorder) ClusterName() *gomock.Call
ClusterName indicates an expected call of ClusterName.
func (*MockBastionScopeMockRecorder) ControlPlaneRouteTable ¶ added in v0.4.10
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) Enabled ¶
func (mr *MockBastionScopeMockRecorder) Enabled() *gomock.Call
Enabled indicates an expected call of Enabled.
func (*MockBastionScopeMockRecorder) Error ¶
func (mr *MockBastionScopeMockRecorder) Error(err, msg interface{}, keysAndValues ...interface{}) *gomock.Call
Error indicates an expected call of Error.
func (*MockBastionScopeMockRecorder) Info ¶
func (mr *MockBastionScopeMockRecorder) Info(msg interface{}, keysAndValues ...interface{}) *gomock.Call
Info indicates an expected call of Info.
func (*MockBastionScopeMockRecorder) IsAPIServerPrivate ¶ added in v0.4.10
func (mr *MockBastionScopeMockRecorder) IsAPIServerPrivate() *gomock.Call
IsAPIServerPrivate indicates an expected call of IsAPIServerPrivate.
func (*MockBastionScopeMockRecorder) IsIPv6Enabled ¶ added in v0.4.9
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) NodeRouteTable ¶ added in v0.4.10
func (mr *MockBastionScopeMockRecorder) NodeRouteTable() *gomock.Call
NodeRouteTable indicates an expected call of NodeRouteTable.
func (*MockBastionScopeMockRecorder) NodeSubnet ¶
func (mr *MockBastionScopeMockRecorder) NodeSubnet() *gomock.Call
NodeSubnet indicates an expected call of NodeSubnet.
func (*MockBastionScopeMockRecorder) OutboundLBName ¶ added in v0.4.10
func (mr *MockBastionScopeMockRecorder) OutboundLBName(arg0 interface{}) *gomock.Call
OutboundLBName indicates an expected call of OutboundLBName.
func (*MockBastionScopeMockRecorder) OutboundPoolName ¶ added in v0.4.10
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) 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) V ¶
func (mr *MockBastionScopeMockRecorder) V(level interface{}) *gomock.Call
V indicates an expected call of V.
func (*MockBastionScopeMockRecorder) Vnet ¶
func (mr *MockBastionScopeMockRecorder) Vnet() *gomock.Call
Vnet indicates an expected call of Vnet.
func (*MockBastionScopeMockRecorder) WithName ¶
func (mr *MockBastionScopeMockRecorder) WithName(name interface{}) *gomock.Call
WithName indicates an expected call of WithName.
func (*MockBastionScopeMockRecorder) WithValues ¶
func (mr *MockBastionScopeMockRecorder) WithValues(keysAndValues ...interface{}) *gomock.Call
WithValues indicates an expected call of WithValues.
type Mockclient ¶ added in v0.4.10
type Mockclient struct {
// contains filtered or unexported fields
}
Mockclient is a mock of client interface.
func NewMockclient ¶ added in v0.4.10
func NewMockclient(ctrl *gomock.Controller) *Mockclient
NewMockclient creates a new mock instance.
func (*Mockclient) CreateOrUpdate ¶ added in v0.4.10
func (m *Mockclient) CreateOrUpdate(arg0 context.Context, arg1, arg2 string, arg3 network.BastionHost) error
CreateOrUpdate mocks base method.
func (*Mockclient) Delete ¶ added in v0.4.10
func (m *Mockclient) Delete(arg0 context.Context, arg1, arg2 string) error
Delete mocks base method.
func (*Mockclient) EXPECT ¶ added in v0.4.10
func (m *Mockclient) EXPECT() *MockclientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*Mockclient) Get ¶ added in v0.4.10
func (m *Mockclient) Get(arg0 context.Context, arg1, arg2 string) (network.BastionHost, error)
Get mocks base method.
type MockclientMockRecorder ¶ added in v0.4.10
type MockclientMockRecorder struct {
// contains filtered or unexported fields
}
MockclientMockRecorder is the mock recorder for Mockclient.
func (*MockclientMockRecorder) CreateOrUpdate ¶ added in v0.4.10
func (mr *MockclientMockRecorder) CreateOrUpdate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
CreateOrUpdate indicates an expected call of CreateOrUpdate.
func (*MockclientMockRecorder) Delete ¶ added in v0.4.10
func (mr *MockclientMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockclientMockRecorder) Get ¶ added in v0.4.10
func (mr *MockclientMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
Get indicates an expected call of Get.