mocks

package
v0.0.0-...-9ec3720 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2021 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCloudEnvironProvider

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

MockCloudEnvironProvider is a mock of CloudEnvironProvider interface

func NewMockCloudEnvironProvider

func NewMockCloudEnvironProvider(ctrl *gomock.Controller) *MockCloudEnvironProvider

NewMockCloudEnvironProvider creates a new mock instance

func (*MockCloudEnvironProvider) CloudSchema

func (m *MockCloudEnvironProvider) CloudSchema() *jsonschema.Schema

CloudSchema mocks base method

func (*MockCloudEnvironProvider) CredentialSchemas

func (m *MockCloudEnvironProvider) CredentialSchemas() map[cloud.AuthType]cloud.CredentialSchema

CredentialSchemas mocks base method

func (*MockCloudEnvironProvider) DetectCredentials

func (m *MockCloudEnvironProvider) DetectCredentials() (*cloud.CloudCredential, error)

DetectCredentials mocks base method

func (*MockCloudEnvironProvider) EXPECT

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

func (*MockCloudEnvironProvider) FinalizeCredential

FinalizeCredential mocks base method

func (*MockCloudEnvironProvider) Open

Open mocks base method

func (*MockCloudEnvironProvider) Ping

Ping mocks base method

func (*MockCloudEnvironProvider) PrepareConfig

PrepareConfig mocks base method

func (*MockCloudEnvironProvider) Validate

func (m *MockCloudEnvironProvider) Validate(arg0, arg1 *config.Config) (*config.Config, error)

Validate mocks base method

func (*MockCloudEnvironProvider) Version

func (m *MockCloudEnvironProvider) Version() int

Version mocks base method

type MockCloudEnvironProviderMockRecorder

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

MockCloudEnvironProviderMockRecorder is the mock recorder for MockCloudEnvironProvider

func (*MockCloudEnvironProviderMockRecorder) CloudSchema

CloudSchema indicates an expected call of CloudSchema

func (*MockCloudEnvironProviderMockRecorder) CredentialSchemas

func (mr *MockCloudEnvironProviderMockRecorder) CredentialSchemas() *gomock.Call

CredentialSchemas indicates an expected call of CredentialSchemas

func (*MockCloudEnvironProviderMockRecorder) DetectCredentials

func (mr *MockCloudEnvironProviderMockRecorder) DetectCredentials() *gomock.Call

DetectCredentials indicates an expected call of DetectCredentials

func (*MockCloudEnvironProviderMockRecorder) FinalizeCredential

func (mr *MockCloudEnvironProviderMockRecorder) FinalizeCredential(arg0, arg1 interface{}) *gomock.Call

FinalizeCredential indicates an expected call of FinalizeCredential

func (*MockCloudEnvironProviderMockRecorder) Open

func (mr *MockCloudEnvironProviderMockRecorder) Open(arg0 interface{}) *gomock.Call

Open indicates an expected call of Open

func (*MockCloudEnvironProviderMockRecorder) Ping

func (mr *MockCloudEnvironProviderMockRecorder) Ping(arg0, arg1 interface{}) *gomock.Call

Ping indicates an expected call of Ping

func (*MockCloudEnvironProviderMockRecorder) PrepareConfig

func (mr *MockCloudEnvironProviderMockRecorder) PrepareConfig(arg0 interface{}) *gomock.Call

PrepareConfig indicates an expected call of PrepareConfig

func (*MockCloudEnvironProviderMockRecorder) Validate

func (mr *MockCloudEnvironProviderMockRecorder) Validate(arg0, arg1 interface{}) *gomock.Call

Validate indicates an expected call of Validate

func (*MockCloudEnvironProviderMockRecorder) Version

Version indicates an expected call of Version

type MockNetworkingEnviron

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

MockNetworkingEnviron is a mock of NetworkingEnviron interface

func NewMockNetworkingEnviron

func NewMockNetworkingEnviron(ctrl *gomock.Controller) *MockNetworkingEnviron

NewMockNetworkingEnviron creates a new mock instance

func (*MockNetworkingEnviron) AdoptResources

func (m *MockNetworkingEnviron) AdoptResources(arg0 context.ProviderCallContext, arg1 string, arg2 version.Number) error

AdoptResources mocks base method

func (*MockNetworkingEnviron) AllInstances

AllInstances mocks base method

func (*MockNetworkingEnviron) AllRunningInstances

func (m *MockNetworkingEnviron) AllRunningInstances(arg0 context.ProviderCallContext) ([]instances.Instance, error)

AllRunningInstances mocks base method

func (*MockNetworkingEnviron) AllocateContainerAddresses

AllocateContainerAddresses mocks base method

func (*MockNetworkingEnviron) AreSpacesRoutable

func (m *MockNetworkingEnviron) AreSpacesRoutable(arg0 context.ProviderCallContext, arg1, arg2 *environs.ProviderSpaceInfo) (bool, error)

AreSpacesRoutable mocks base method

func (*MockNetworkingEnviron) Bootstrap

Bootstrap mocks base method

func (*MockNetworkingEnviron) Config

func (m *MockNetworkingEnviron) Config() *config.Config

Config mocks base method

func (*MockNetworkingEnviron) ConstraintsValidator

ConstraintsValidator mocks base method

func (*MockNetworkingEnviron) ControllerInstances

func (m *MockNetworkingEnviron) ControllerInstances(arg0 context.ProviderCallContext, arg1 string) ([]instance.Id, error)

ControllerInstances mocks base method

func (*MockNetworkingEnviron) Create

Create mocks base method

func (*MockNetworkingEnviron) Destroy

Destroy mocks base method

func (*MockNetworkingEnviron) DestroyController

func (m *MockNetworkingEnviron) DestroyController(arg0 context.ProviderCallContext, arg1 string) error

DestroyController mocks base method

func (*MockNetworkingEnviron) EXPECT

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

func (*MockNetworkingEnviron) InstanceTypes

InstanceTypes mocks base method

func (*MockNetworkingEnviron) Instances

Instances mocks base method

func (*MockNetworkingEnviron) NetworkInterfaces

func (m *MockNetworkingEnviron) NetworkInterfaces(arg0 context.ProviderCallContext, arg1 []instance.Id) ([]network.InterfaceInfos, error)

NetworkInterfaces mocks base method

func (*MockNetworkingEnviron) PrecheckInstance

PrecheckInstance mocks base method

func (*MockNetworkingEnviron) PrepareForBootstrap

func (m *MockNetworkingEnviron) PrepareForBootstrap(arg0 environs.BootstrapContext, arg1 string) error

PrepareForBootstrap mocks base method

func (*MockNetworkingEnviron) Provider

Provider mocks base method

func (*MockNetworkingEnviron) ProviderSpaceInfo

ProviderSpaceInfo mocks base method

func (*MockNetworkingEnviron) ReleaseContainerAddresses

func (m *MockNetworkingEnviron) ReleaseContainerAddresses(arg0 context.ProviderCallContext, arg1 []network.ProviderInterfaceInfo) error

ReleaseContainerAddresses mocks base method

func (*MockNetworkingEnviron) SSHAddresses

SSHAddresses mocks base method

func (*MockNetworkingEnviron) SetConfig

func (m *MockNetworkingEnviron) SetConfig(arg0 *config.Config) error

SetConfig mocks base method

func (*MockNetworkingEnviron) Spaces

Spaces mocks base method

func (*MockNetworkingEnviron) StartInstance

StartInstance mocks base method

func (*MockNetworkingEnviron) StopInstances

func (m *MockNetworkingEnviron) StopInstances(arg0 context.ProviderCallContext, arg1 ...instance.Id) error

StopInstances mocks base method

func (*MockNetworkingEnviron) StorageProvider

func (m *MockNetworkingEnviron) StorageProvider(arg0 storage.ProviderType) (storage.Provider, error)

StorageProvider mocks base method

func (*MockNetworkingEnviron) StorageProviderTypes

func (m *MockNetworkingEnviron) StorageProviderTypes() ([]storage.ProviderType, error)

StorageProviderTypes mocks base method

func (*MockNetworkingEnviron) Subnets

Subnets mocks base method

func (*MockNetworkingEnviron) SuperSubnets

func (m *MockNetworkingEnviron) SuperSubnets(arg0 context.ProviderCallContext) ([]string, error)

SuperSubnets mocks base method

func (*MockNetworkingEnviron) SupportsContainerAddresses

func (m *MockNetworkingEnviron) SupportsContainerAddresses(arg0 context.ProviderCallContext) (bool, error)

SupportsContainerAddresses mocks base method

func (*MockNetworkingEnviron) SupportsSpaceDiscovery

func (m *MockNetworkingEnviron) SupportsSpaceDiscovery(arg0 context.ProviderCallContext) (bool, error)

SupportsSpaceDiscovery mocks base method

func (*MockNetworkingEnviron) SupportsSpaces

func (m *MockNetworkingEnviron) SupportsSpaces(arg0 context.ProviderCallContext) (bool, error)

SupportsSpaces mocks base method

type MockNetworkingEnvironMockRecorder

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

MockNetworkingEnvironMockRecorder is the mock recorder for MockNetworkingEnviron

func (*MockNetworkingEnvironMockRecorder) AdoptResources

func (mr *MockNetworkingEnvironMockRecorder) AdoptResources(arg0, arg1, arg2 interface{}) *gomock.Call

AdoptResources indicates an expected call of AdoptResources

func (*MockNetworkingEnvironMockRecorder) AllInstances

func (mr *MockNetworkingEnvironMockRecorder) AllInstances(arg0 interface{}) *gomock.Call

AllInstances indicates an expected call of AllInstances

func (*MockNetworkingEnvironMockRecorder) AllRunningInstances

func (mr *MockNetworkingEnvironMockRecorder) AllRunningInstances(arg0 interface{}) *gomock.Call

AllRunningInstances indicates an expected call of AllRunningInstances

func (*MockNetworkingEnvironMockRecorder) AllocateContainerAddresses

func (mr *MockNetworkingEnvironMockRecorder) AllocateContainerAddresses(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

AllocateContainerAddresses indicates an expected call of AllocateContainerAddresses

func (*MockNetworkingEnvironMockRecorder) AreSpacesRoutable

func (mr *MockNetworkingEnvironMockRecorder) AreSpacesRoutable(arg0, arg1, arg2 interface{}) *gomock.Call

AreSpacesRoutable indicates an expected call of AreSpacesRoutable

func (*MockNetworkingEnvironMockRecorder) Bootstrap

func (mr *MockNetworkingEnvironMockRecorder) Bootstrap(arg0, arg1, arg2 interface{}) *gomock.Call

Bootstrap indicates an expected call of Bootstrap

func (*MockNetworkingEnvironMockRecorder) Config

Config indicates an expected call of Config

func (*MockNetworkingEnvironMockRecorder) ConstraintsValidator

func (mr *MockNetworkingEnvironMockRecorder) ConstraintsValidator(arg0 interface{}) *gomock.Call

ConstraintsValidator indicates an expected call of ConstraintsValidator

func (*MockNetworkingEnvironMockRecorder) ControllerInstances

func (mr *MockNetworkingEnvironMockRecorder) ControllerInstances(arg0, arg1 interface{}) *gomock.Call

ControllerInstances indicates an expected call of ControllerInstances

func (*MockNetworkingEnvironMockRecorder) Create

func (mr *MockNetworkingEnvironMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockNetworkingEnvironMockRecorder) Destroy

func (mr *MockNetworkingEnvironMockRecorder) Destroy(arg0 interface{}) *gomock.Call

Destroy indicates an expected call of Destroy

func (*MockNetworkingEnvironMockRecorder) DestroyController

func (mr *MockNetworkingEnvironMockRecorder) DestroyController(arg0, arg1 interface{}) *gomock.Call

DestroyController indicates an expected call of DestroyController

func (*MockNetworkingEnvironMockRecorder) InstanceTypes

func (mr *MockNetworkingEnvironMockRecorder) InstanceTypes(arg0, arg1 interface{}) *gomock.Call

InstanceTypes indicates an expected call of InstanceTypes

func (*MockNetworkingEnvironMockRecorder) Instances

func (mr *MockNetworkingEnvironMockRecorder) Instances(arg0, arg1 interface{}) *gomock.Call

Instances indicates an expected call of Instances

func (*MockNetworkingEnvironMockRecorder) NetworkInterfaces

func (mr *MockNetworkingEnvironMockRecorder) NetworkInterfaces(arg0, arg1 interface{}) *gomock.Call

NetworkInterfaces indicates an expected call of NetworkInterfaces

func (*MockNetworkingEnvironMockRecorder) PrecheckInstance

func (mr *MockNetworkingEnvironMockRecorder) PrecheckInstance(arg0, arg1 interface{}) *gomock.Call

PrecheckInstance indicates an expected call of PrecheckInstance

func (*MockNetworkingEnvironMockRecorder) PrepareForBootstrap

func (mr *MockNetworkingEnvironMockRecorder) PrepareForBootstrap(arg0, arg1 interface{}) *gomock.Call

PrepareForBootstrap indicates an expected call of PrepareForBootstrap

func (*MockNetworkingEnvironMockRecorder) Provider

Provider indicates an expected call of Provider

func (*MockNetworkingEnvironMockRecorder) ProviderSpaceInfo

func (mr *MockNetworkingEnvironMockRecorder) ProviderSpaceInfo(arg0, arg1 interface{}) *gomock.Call

ProviderSpaceInfo indicates an expected call of ProviderSpaceInfo

func (*MockNetworkingEnvironMockRecorder) ReleaseContainerAddresses

func (mr *MockNetworkingEnvironMockRecorder) ReleaseContainerAddresses(arg0, arg1 interface{}) *gomock.Call

ReleaseContainerAddresses indicates an expected call of ReleaseContainerAddresses

func (*MockNetworkingEnvironMockRecorder) SSHAddresses

func (mr *MockNetworkingEnvironMockRecorder) SSHAddresses(arg0, arg1 interface{}) *gomock.Call

SSHAddresses indicates an expected call of SSHAddresses

func (*MockNetworkingEnvironMockRecorder) SetConfig

func (mr *MockNetworkingEnvironMockRecorder) SetConfig(arg0 interface{}) *gomock.Call

SetConfig indicates an expected call of SetConfig

func (*MockNetworkingEnvironMockRecorder) Spaces

func (mr *MockNetworkingEnvironMockRecorder) Spaces(arg0 interface{}) *gomock.Call

Spaces indicates an expected call of Spaces

func (*MockNetworkingEnvironMockRecorder) StartInstance

func (mr *MockNetworkingEnvironMockRecorder) StartInstance(arg0, arg1 interface{}) *gomock.Call

StartInstance indicates an expected call of StartInstance

func (*MockNetworkingEnvironMockRecorder) StopInstances

func (mr *MockNetworkingEnvironMockRecorder) StopInstances(arg0 interface{}, arg1 ...interface{}) *gomock.Call

StopInstances indicates an expected call of StopInstances

func (*MockNetworkingEnvironMockRecorder) StorageProvider

func (mr *MockNetworkingEnvironMockRecorder) StorageProvider(arg0 interface{}) *gomock.Call

StorageProvider indicates an expected call of StorageProvider

func (*MockNetworkingEnvironMockRecorder) StorageProviderTypes

func (mr *MockNetworkingEnvironMockRecorder) StorageProviderTypes() *gomock.Call

StorageProviderTypes indicates an expected call of StorageProviderTypes

func (*MockNetworkingEnvironMockRecorder) Subnets

func (mr *MockNetworkingEnvironMockRecorder) Subnets(arg0, arg1, arg2 interface{}) *gomock.Call

Subnets indicates an expected call of Subnets

func (*MockNetworkingEnvironMockRecorder) SuperSubnets

func (mr *MockNetworkingEnvironMockRecorder) SuperSubnets(arg0 interface{}) *gomock.Call

SuperSubnets indicates an expected call of SuperSubnets

func (*MockNetworkingEnvironMockRecorder) SupportsContainerAddresses

func (mr *MockNetworkingEnvironMockRecorder) SupportsContainerAddresses(arg0 interface{}) *gomock.Call

SupportsContainerAddresses indicates an expected call of SupportsContainerAddresses

func (*MockNetworkingEnvironMockRecorder) SupportsSpaceDiscovery

func (mr *MockNetworkingEnvironMockRecorder) SupportsSpaceDiscovery(arg0 interface{}) *gomock.Call

SupportsSpaceDiscovery indicates an expected call of SupportsSpaceDiscovery

func (*MockNetworkingEnvironMockRecorder) SupportsSpaces

func (mr *MockNetworkingEnvironMockRecorder) SupportsSpaces(arg0 interface{}) *gomock.Call

SupportsSpaces indicates an expected call of SupportsSpaces

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL