juju: github.com/juju/juju/apiserver/facades/client/subnets/mocks Index | Files

package mocks

import "github.com/juju/juju/apiserver/facades/client/subnets/mocks"

Package mocks is a generated GoMock package.

Index

Package Files

package_mock.go

type MockBacking Uses

type MockBacking struct {
    // contains filtered or unexported fields
}

MockBacking is a mock of Backing interface

func NewMockBacking Uses

func NewMockBacking(ctrl *gomock.Controller) *MockBacking

NewMockBacking creates a new mock instance

func (*MockBacking) AddSubnet Uses

func (m *MockBacking) AddSubnet(arg0 networkingcommon.BackingSubnetInfo) (networkingcommon.BackingSubnet, error)

AddSubnet mocks base method

func (*MockBacking) AllSpaces Uses

func (m *MockBacking) AllSpaces() ([]networkingcommon.BackingSpace, error)

AllSpaces mocks base method

func (*MockBacking) AllSubnets Uses

func (m *MockBacking) AllSubnets() ([]networkingcommon.BackingSubnet, error)

AllSubnets mocks base method

func (*MockBacking) AvailabilityZones Uses

func (m *MockBacking) AvailabilityZones() (network.AvailabilityZones, error)

AvailabilityZones mocks base method

func (*MockBacking) CloudSpec Uses

func (m *MockBacking) CloudSpec() (cloudspec.CloudSpec, error)

CloudSpec mocks base method

func (*MockBacking) EXPECT Uses

func (m *MockBacking) EXPECT() *MockBackingMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockBacking) ModelConfig Uses

func (m *MockBacking) ModelConfig() (*config.Config, error)

ModelConfig mocks base method

func (*MockBacking) ModelTag Uses

func (m *MockBacking) ModelTag() names.ModelTag

ModelTag mocks base method

func (*MockBacking) SetAvailabilityZones Uses

func (m *MockBacking) SetAvailabilityZones(arg0 network.AvailabilityZones) error

SetAvailabilityZones mocks base method

func (*MockBacking) SubnetByCIDR Uses

func (m *MockBacking) SubnetByCIDR(arg0 string) (networkingcommon.BackingSubnet, error)

SubnetByCIDR mocks base method

func (*MockBacking) SubnetsByCIDR Uses

func (m *MockBacking) SubnetsByCIDR(arg0 string) ([]networkingcommon.BackingSubnet, error)

SubnetsByCIDR mocks base method

type MockBackingMockRecorder Uses

type MockBackingMockRecorder struct {
    // contains filtered or unexported fields
}

MockBackingMockRecorder is the mock recorder for MockBacking

func (*MockBackingMockRecorder) AddSubnet Uses

func (mr *MockBackingMockRecorder) AddSubnet(arg0 interface{}) *gomock.Call

AddSubnet indicates an expected call of AddSubnet

func (*MockBackingMockRecorder) AllSpaces Uses

func (mr *MockBackingMockRecorder) AllSpaces() *gomock.Call

AllSpaces indicates an expected call of AllSpaces

func (*MockBackingMockRecorder) AllSubnets Uses

func (mr *MockBackingMockRecorder) AllSubnets() *gomock.Call

AllSubnets indicates an expected call of AllSubnets

func (*MockBackingMockRecorder) AvailabilityZones Uses

func (mr *MockBackingMockRecorder) AvailabilityZones() *gomock.Call

AvailabilityZones indicates an expected call of AvailabilityZones

func (*MockBackingMockRecorder) CloudSpec Uses

func (mr *MockBackingMockRecorder) CloudSpec() *gomock.Call

CloudSpec indicates an expected call of CloudSpec

func (*MockBackingMockRecorder) ModelConfig Uses

func (mr *MockBackingMockRecorder) ModelConfig() *gomock.Call

ModelConfig indicates an expected call of ModelConfig

func (*MockBackingMockRecorder) ModelTag Uses

func (mr *MockBackingMockRecorder) ModelTag() *gomock.Call

ModelTag indicates an expected call of ModelTag

func (*MockBackingMockRecorder) SetAvailabilityZones Uses

func (mr *MockBackingMockRecorder) SetAvailabilityZones(arg0 interface{}) *gomock.Call

SetAvailabilityZones indicates an expected call of SetAvailabilityZones

func (*MockBackingMockRecorder) SubnetByCIDR Uses

func (mr *MockBackingMockRecorder) SubnetByCIDR(arg0 interface{}) *gomock.Call

SubnetByCIDR indicates an expected call of SubnetByCIDR

func (*MockBackingMockRecorder) SubnetsByCIDR Uses

func (mr *MockBackingMockRecorder) SubnetsByCIDR(arg0 interface{}) *gomock.Call

SubnetsByCIDR indicates an expected call of SubnetsByCIDR

Package mocks imports 7 packages (graph). Updated 2020-08-12. Refresh now. Tools for package owners.