Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockBacking
- func (m *MockBacking) AddSubnet(arg0 networkingcommon.BackingSubnetInfo) (networkingcommon.BackingSubnet, error)
- func (m *MockBacking) AllSpaces() ([]networkingcommon.BackingSpace, error)
- func (m *MockBacking) AllSubnets() ([]networkingcommon.BackingSubnet, error)
- func (m *MockBacking) AvailabilityZones() (network.AvailabilityZones, error)
- func (m *MockBacking) CloudSpec() (cloudspec.CloudSpec, error)
- func (m *MockBacking) EXPECT() *MockBackingMockRecorder
- func (m *MockBacking) ModelConfig() (*config.Config, error)
- func (m *MockBacking) ModelTag() names.ModelTag
- func (m *MockBacking) SetAvailabilityZones(arg0 network.AvailabilityZones) error
- func (m *MockBacking) SubnetByCIDR(arg0 string) (networkingcommon.BackingSubnet, error)
- func (m *MockBacking) SubnetsByCIDR(arg0 string) ([]networkingcommon.BackingSubnet, error)
- type MockBackingMockRecorder
- func (mr *MockBackingMockRecorder) AddSubnet(arg0 interface{}) *gomock.Call
- func (mr *MockBackingMockRecorder) AllSpaces() *gomock.Call
- func (mr *MockBackingMockRecorder) AllSubnets() *gomock.Call
- func (mr *MockBackingMockRecorder) AvailabilityZones() *gomock.Call
- func (mr *MockBackingMockRecorder) CloudSpec() *gomock.Call
- func (mr *MockBackingMockRecorder) ModelConfig() *gomock.Call
- func (mr *MockBackingMockRecorder) ModelTag() *gomock.Call
- func (mr *MockBackingMockRecorder) SetAvailabilityZones(arg0 interface{}) *gomock.Call
- func (mr *MockBackingMockRecorder) SubnetByCIDR(arg0 interface{}) *gomock.Call
- func (mr *MockBackingMockRecorder) SubnetsByCIDR(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBacking ¶
type MockBacking struct {
// contains filtered or unexported fields
}
MockBacking is a mock of Backing interface
func NewMockBacking ¶
func NewMockBacking(ctrl *gomock.Controller) *MockBacking
NewMockBacking creates a new mock instance
func (*MockBacking) AddSubnet ¶
func (m *MockBacking) AddSubnet(arg0 networkingcommon.BackingSubnetInfo) (networkingcommon.BackingSubnet, error)
AddSubnet mocks base method
func (*MockBacking) AllSpaces ¶
func (m *MockBacking) AllSpaces() ([]networkingcommon.BackingSpace, error)
AllSpaces mocks base method
func (*MockBacking) AllSubnets ¶
func (m *MockBacking) AllSubnets() ([]networkingcommon.BackingSubnet, error)
AllSubnets mocks base method
func (*MockBacking) AvailabilityZones ¶
func (m *MockBacking) AvailabilityZones() (network.AvailabilityZones, error)
AvailabilityZones mocks base method
func (*MockBacking) CloudSpec ¶
func (m *MockBacking) CloudSpec() (cloudspec.CloudSpec, error)
CloudSpec mocks base method
func (*MockBacking) EXPECT ¶
func (m *MockBacking) EXPECT() *MockBackingMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockBacking) ModelConfig ¶
func (m *MockBacking) ModelConfig() (*config.Config, error)
ModelConfig mocks base method
func (*MockBacking) ModelTag ¶
func (m *MockBacking) ModelTag() names.ModelTag
ModelTag mocks base method
func (*MockBacking) SetAvailabilityZones ¶
func (m *MockBacking) SetAvailabilityZones(arg0 network.AvailabilityZones) error
SetAvailabilityZones mocks base method
func (*MockBacking) SubnetByCIDR ¶
func (m *MockBacking) SubnetByCIDR(arg0 string) (networkingcommon.BackingSubnet, error)
SubnetByCIDR mocks base method
func (*MockBacking) SubnetsByCIDR ¶
func (m *MockBacking) SubnetsByCIDR(arg0 string) ([]networkingcommon.BackingSubnet, error)
SubnetsByCIDR mocks base method
type MockBackingMockRecorder ¶
type MockBackingMockRecorder struct {
// contains filtered or unexported fields
}
MockBackingMockRecorder is the mock recorder for MockBacking
func (*MockBackingMockRecorder) AddSubnet ¶
func (mr *MockBackingMockRecorder) AddSubnet(arg0 interface{}) *gomock.Call
AddSubnet indicates an expected call of AddSubnet
func (*MockBackingMockRecorder) AllSpaces ¶
func (mr *MockBackingMockRecorder) AllSpaces() *gomock.Call
AllSpaces indicates an expected call of AllSpaces
func (*MockBackingMockRecorder) AllSubnets ¶
func (mr *MockBackingMockRecorder) AllSubnets() *gomock.Call
AllSubnets indicates an expected call of AllSubnets
func (*MockBackingMockRecorder) AvailabilityZones ¶
func (mr *MockBackingMockRecorder) AvailabilityZones() *gomock.Call
AvailabilityZones indicates an expected call of AvailabilityZones
func (*MockBackingMockRecorder) CloudSpec ¶
func (mr *MockBackingMockRecorder) CloudSpec() *gomock.Call
CloudSpec indicates an expected call of CloudSpec
func (*MockBackingMockRecorder) ModelConfig ¶
func (mr *MockBackingMockRecorder) ModelConfig() *gomock.Call
ModelConfig indicates an expected call of ModelConfig
func (*MockBackingMockRecorder) ModelTag ¶
func (mr *MockBackingMockRecorder) ModelTag() *gomock.Call
ModelTag indicates an expected call of ModelTag
func (*MockBackingMockRecorder) SetAvailabilityZones ¶
func (mr *MockBackingMockRecorder) SetAvailabilityZones(arg0 interface{}) *gomock.Call
SetAvailabilityZones indicates an expected call of SetAvailabilityZones
func (*MockBackingMockRecorder) SubnetByCIDR ¶
func (mr *MockBackingMockRecorder) SubnetByCIDR(arg0 interface{}) *gomock.Call
SubnetByCIDR indicates an expected call of SubnetByCIDR
func (*MockBackingMockRecorder) SubnetsByCIDR ¶
func (mr *MockBackingMockRecorder) SubnetsByCIDR(arg0 interface{}) *gomock.Call
SubnetsByCIDR indicates an expected call of SubnetsByCIDR