mocks

package
Version: v0.0.0-...-4f11ef6 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2021 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

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 MockAvailabilityZone

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

MockAvailabilityZone is a mock of AvailabilityZone interface

func NewMockAvailabilityZone

func NewMockAvailabilityZone(ctrl *gomock.Controller) *MockAvailabilityZone

NewMockAvailabilityZone creates a new mock instance

func (*MockAvailabilityZone) Available

func (m *MockAvailabilityZone) Available() bool

Available mocks base method

func (*MockAvailabilityZone) EXPECT

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

func (*MockAvailabilityZone) Name

func (m *MockAvailabilityZone) Name() string

Name mocks base method

type MockAvailabilityZoneMockRecorder

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

MockAvailabilityZoneMockRecorder is the mock recorder for MockAvailabilityZone

func (*MockAvailabilityZoneMockRecorder) Available

func (mr *MockAvailabilityZoneMockRecorder) Available() *gomock.Call

Available indicates an expected call of Available

func (*MockAvailabilityZoneMockRecorder) Name

Name indicates an expected call of Name

type MockInstanceConfigurator

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

MockInstanceConfigurator is a mock of InstanceConfigurator interface

func NewMockInstanceConfigurator

func NewMockInstanceConfigurator(ctrl *gomock.Controller) *MockInstanceConfigurator

NewMockInstanceConfigurator creates a new mock instance

func (*MockInstanceConfigurator) ChangeIngressRules

func (m *MockInstanceConfigurator) ChangeIngressRules(arg0 string, arg1 bool, arg2 firewall.IngressRules) error

ChangeIngressRules mocks base method

func (*MockInstanceConfigurator) ConfigureExternalIpAddress

func (m *MockInstanceConfigurator) ConfigureExternalIpAddress(arg0 int) error

ConfigureExternalIpAddress mocks base method

func (*MockInstanceConfigurator) DropAllPorts

func (m *MockInstanceConfigurator) DropAllPorts(arg0 []int, arg1 string) error

DropAllPorts mocks base method

func (*MockInstanceConfigurator) EXPECT

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

func (*MockInstanceConfigurator) FindIngressRules

func (m *MockInstanceConfigurator) FindIngressRules() (firewall.IngressRules, error)

FindIngressRules mocks base method

type MockInstanceConfiguratorMockRecorder

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

MockInstanceConfiguratorMockRecorder is the mock recorder for MockInstanceConfigurator

func (*MockInstanceConfiguratorMockRecorder) ChangeIngressRules

func (mr *MockInstanceConfiguratorMockRecorder) ChangeIngressRules(arg0, arg1, arg2 interface{}) *gomock.Call

ChangeIngressRules indicates an expected call of ChangeIngressRules

func (*MockInstanceConfiguratorMockRecorder) ConfigureExternalIpAddress

func (mr *MockInstanceConfiguratorMockRecorder) ConfigureExternalIpAddress(arg0 interface{}) *gomock.Call

ConfigureExternalIpAddress indicates an expected call of ConfigureExternalIpAddress

func (*MockInstanceConfiguratorMockRecorder) DropAllPorts

func (mr *MockInstanceConfiguratorMockRecorder) DropAllPorts(arg0, arg1 interface{}) *gomock.Call

DropAllPorts indicates an expected call of DropAllPorts

func (*MockInstanceConfiguratorMockRecorder) FindIngressRules

func (mr *MockInstanceConfiguratorMockRecorder) FindIngressRules() *gomock.Call

FindIngressRules indicates an expected call of FindIngressRules

type MockZonedEnviron

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

MockZonedEnviron is a mock of ZonedEnviron interface

func NewMockZonedEnviron

func NewMockZonedEnviron(ctrl *gomock.Controller) *MockZonedEnviron

NewMockZonedEnviron creates a new mock instance

func (*MockZonedEnviron) AdoptResources

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

AdoptResources mocks base method

func (*MockZonedEnviron) AllInstances

AllInstances mocks base method

func (*MockZonedEnviron) AllRunningInstances

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

AllRunningInstances mocks base method

func (*MockZonedEnviron) AvailabilityZones

AvailabilityZones mocks base method

func (*MockZonedEnviron) Bootstrap

Bootstrap mocks base method

func (*MockZonedEnviron) Config

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

Config mocks base method

func (*MockZonedEnviron) ConstraintsValidator

func (m *MockZonedEnviron) ConstraintsValidator(arg0 context.ProviderCallContext) (constraints.Validator, error)

ConstraintsValidator mocks base method

func (*MockZonedEnviron) ControllerInstances

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

ControllerInstances mocks base method

func (*MockZonedEnviron) Create

Create mocks base method

func (*MockZonedEnviron) DeriveAvailabilityZones

func (m *MockZonedEnviron) DeriveAvailabilityZones(arg0 context.ProviderCallContext, arg1 environs.StartInstanceParams) ([]string, error)

DeriveAvailabilityZones mocks base method

func (*MockZonedEnviron) Destroy

Destroy mocks base method

func (*MockZonedEnviron) DestroyController

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

DestroyController mocks base method

func (*MockZonedEnviron) EXPECT

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

func (*MockZonedEnviron) InstanceAvailabilityZoneNames

func (m *MockZonedEnviron) InstanceAvailabilityZoneNames(arg0 context.ProviderCallContext, arg1 []instance.Id) (map[instance.Id]string, error)

InstanceAvailabilityZoneNames mocks base method

func (*MockZonedEnviron) InstanceTypes

InstanceTypes mocks base method

func (*MockZonedEnviron) Instances

Instances mocks base method

func (*MockZonedEnviron) PrecheckInstance

PrecheckInstance mocks base method

func (*MockZonedEnviron) PrepareForBootstrap

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

PrepareForBootstrap mocks base method

func (*MockZonedEnviron) Provider

Provider mocks base method

func (*MockZonedEnviron) SetConfig

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

SetConfig mocks base method

func (*MockZonedEnviron) StartInstance

StartInstance mocks base method

func (*MockZonedEnviron) StopInstances

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

StopInstances mocks base method

func (*MockZonedEnviron) StorageProvider

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

StorageProvider mocks base method

func (*MockZonedEnviron) StorageProviderTypes

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

StorageProviderTypes mocks base method

type MockZonedEnvironMockRecorder

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

MockZonedEnvironMockRecorder is the mock recorder for MockZonedEnviron

func (*MockZonedEnvironMockRecorder) AdoptResources

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

AdoptResources indicates an expected call of AdoptResources

func (*MockZonedEnvironMockRecorder) AllInstances

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

AllInstances indicates an expected call of AllInstances

func (*MockZonedEnvironMockRecorder) AllRunningInstances

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

AllRunningInstances indicates an expected call of AllRunningInstances

func (*MockZonedEnvironMockRecorder) AvailabilityZones

func (mr *MockZonedEnvironMockRecorder) AvailabilityZones(arg0 interface{}) *gomock.Call

AvailabilityZones indicates an expected call of AvailabilityZones

func (*MockZonedEnvironMockRecorder) Bootstrap

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

Bootstrap indicates an expected call of Bootstrap

func (*MockZonedEnvironMockRecorder) Config

Config indicates an expected call of Config

func (*MockZonedEnvironMockRecorder) ConstraintsValidator

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

ConstraintsValidator indicates an expected call of ConstraintsValidator

func (*MockZonedEnvironMockRecorder) ControllerInstances

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

ControllerInstances indicates an expected call of ControllerInstances

func (*MockZonedEnvironMockRecorder) Create

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

Create indicates an expected call of Create

func (*MockZonedEnvironMockRecorder) DeriveAvailabilityZones

func (mr *MockZonedEnvironMockRecorder) DeriveAvailabilityZones(arg0, arg1 interface{}) *gomock.Call

DeriveAvailabilityZones indicates an expected call of DeriveAvailabilityZones

func (*MockZonedEnvironMockRecorder) Destroy

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

Destroy indicates an expected call of Destroy

func (*MockZonedEnvironMockRecorder) DestroyController

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

DestroyController indicates an expected call of DestroyController

func (*MockZonedEnvironMockRecorder) InstanceAvailabilityZoneNames

func (mr *MockZonedEnvironMockRecorder) InstanceAvailabilityZoneNames(arg0, arg1 interface{}) *gomock.Call

InstanceAvailabilityZoneNames indicates an expected call of InstanceAvailabilityZoneNames

func (*MockZonedEnvironMockRecorder) InstanceTypes

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

InstanceTypes indicates an expected call of InstanceTypes

func (*MockZonedEnvironMockRecorder) Instances

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

Instances indicates an expected call of Instances

func (*MockZonedEnvironMockRecorder) PrecheckInstance

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

PrecheckInstance indicates an expected call of PrecheckInstance

func (*MockZonedEnvironMockRecorder) PrepareForBootstrap

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

PrepareForBootstrap indicates an expected call of PrepareForBootstrap

func (*MockZonedEnvironMockRecorder) Provider

func (mr *MockZonedEnvironMockRecorder) Provider() *gomock.Call

Provider indicates an expected call of Provider

func (*MockZonedEnvironMockRecorder) SetConfig

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

SetConfig indicates an expected call of SetConfig

func (*MockZonedEnvironMockRecorder) StartInstance

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

StartInstance indicates an expected call of StartInstance

func (*MockZonedEnvironMockRecorder) StopInstances

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

StopInstances indicates an expected call of StopInstances

func (*MockZonedEnvironMockRecorder) StorageProvider

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

StorageProvider indicates an expected call of StorageProvider

func (*MockZonedEnvironMockRecorder) StorageProviderTypes

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

StorageProviderTypes indicates an expected call of StorageProviderTypes

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL