Documentation

Overview

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 MockCAASBroker

type MockCAASBroker struct {

	// contains filtered or unexported fields

}

MockCAASBroker is a mock of CAASBroker interface

func NewMockCAASBroker

func NewMockCAASBroker(ctrl *gomock.Controller) *MockCAASBroker

NewMockCAASBroker creates a new mock instance

func (*MockCAASBroker) AnnotateUnit

func (m *MockCAASBroker) AnnotateUnit(arg0 string, arg1 caas.DeploymentMode, arg2 string, arg3 names.UnitTag) error

AnnotateUnit mocks base method

func (*MockCAASBroker) Application

func (m *MockCAASBroker) Application(arg0 string, arg1 caas.DeploymentType) caas.Application

Application mocks base method

func (*MockCAASBroker) EXPECT

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

type MockCAASBrokerMockRecorder

type MockCAASBrokerMockRecorder struct {
	// contains filtered or unexported fields

}

MockCAASBrokerMockRecorder is the mock recorder for MockCAASBroker

func (*MockCAASBrokerMockRecorder) AnnotateUnit

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

AnnotateUnit indicates an expected call of AnnotateUnit

func (*MockCAASBrokerMockRecorder) Application

func (mr *MockCAASBrokerMockRecorder) Application(arg0, arg1 interface{}) *gomock.Call

Application indicates an expected call of Application

type MockCAASProvisionerFacade

type MockCAASProvisionerFacade struct {

	// contains filtered or unexported fields

}

MockCAASProvisionerFacade is a mock of CAASProvisionerFacade interface

func NewMockCAASProvisionerFacade

func NewMockCAASProvisionerFacade(ctrl *gomock.Controller) *MockCAASProvisionerFacade

NewMockCAASProvisionerFacade creates a new mock instance

func (*MockCAASProvisionerFacade) ApplicationCharmURL

func (m *MockCAASProvisionerFacade) ApplicationCharmURL(arg0 string) (*charm.URL, error)

ApplicationCharmURL mocks base method

func (*MockCAASProvisionerFacade) ApplicationOCIResources

func (m *MockCAASProvisionerFacade) ApplicationOCIResources(arg0 string) (map[string]resources.DockerImageDetails, error)

ApplicationOCIResources mocks base method

func (*MockCAASProvisionerFacade) CharmInfo

func (m *MockCAASProvisionerFacade) CharmInfo(arg0 string) (*charms.CharmInfo, error)

CharmInfo mocks base method

func (*MockCAASProvisionerFacade) EXPECT

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

func (*MockCAASProvisionerFacade) GarbageCollect

func (m *MockCAASProvisionerFacade) GarbageCollect(arg0 string, arg1 []names.Tag, arg2 int, arg3 []string, arg4 bool) error

GarbageCollect mocks base method

func (*MockCAASProvisionerFacade) Life

func (m *MockCAASProvisionerFacade) Life(arg0 string) (life.Value, error)

Life mocks base method

func (*MockCAASProvisionerFacade) ProvisioningInfo

ProvisioningInfo mocks base method

func (*MockCAASProvisionerFacade) SetOperatorStatus

func (m *MockCAASProvisionerFacade) SetOperatorStatus(arg0 string, arg1 status.Status, arg2 string, arg3 map[string]interface{}) error

SetOperatorStatus mocks base method

func (*MockCAASProvisionerFacade) SetPassword

func (m *MockCAASProvisionerFacade) SetPassword(arg0, arg1 string) error

SetPassword mocks base method

func (*MockCAASProvisionerFacade) Units

func (m *MockCAASProvisionerFacade) Units(arg0 string) ([]names.Tag, error)

Units mocks base method

func (*MockCAASProvisionerFacade) UpdateUnits

UpdateUnits mocks base method

func (*MockCAASProvisionerFacade) WatchApplication

func (m *MockCAASProvisionerFacade) WatchApplication(arg0 string) (watcher.NotifyWatcher, error)

WatchApplication mocks base method

func (*MockCAASProvisionerFacade) WatchApplications

func (m *MockCAASProvisionerFacade) WatchApplications() (watcher.StringsWatcher, error)

WatchApplications mocks base method

type MockCAASProvisionerFacadeMockRecorder

type MockCAASProvisionerFacadeMockRecorder struct {
	// contains filtered or unexported fields

}

MockCAASProvisionerFacadeMockRecorder is the mock recorder for MockCAASProvisionerFacade

func (*MockCAASProvisionerFacadeMockRecorder) ApplicationCharmURL

func (mr *MockCAASProvisionerFacadeMockRecorder) ApplicationCharmURL(arg0 interface{}) *gomock.Call

ApplicationCharmURL indicates an expected call of ApplicationCharmURL

func (*MockCAASProvisionerFacadeMockRecorder) ApplicationOCIResources

func (mr *MockCAASProvisionerFacadeMockRecorder) ApplicationOCIResources(arg0 interface{}) *gomock.Call

ApplicationOCIResources indicates an expected call of ApplicationOCIResources

func (*MockCAASProvisionerFacadeMockRecorder) CharmInfo

func (mr *MockCAASProvisionerFacadeMockRecorder) CharmInfo(arg0 interface{}) *gomock.Call

CharmInfo indicates an expected call of CharmInfo

func (*MockCAASProvisionerFacadeMockRecorder) GarbageCollect

func (mr *MockCAASProvisionerFacadeMockRecorder) GarbageCollect(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

GarbageCollect indicates an expected call of GarbageCollect

func (*MockCAASProvisionerFacadeMockRecorder) Life

func (mr *MockCAASProvisionerFacadeMockRecorder) Life(arg0 interface{}) *gomock.Call

Life indicates an expected call of Life

func (*MockCAASProvisionerFacadeMockRecorder) ProvisioningInfo

func (mr *MockCAASProvisionerFacadeMockRecorder) ProvisioningInfo(arg0 interface{}) *gomock.Call

ProvisioningInfo indicates an expected call of ProvisioningInfo

func (*MockCAASProvisionerFacadeMockRecorder) SetOperatorStatus

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

SetOperatorStatus indicates an expected call of SetOperatorStatus

func (*MockCAASProvisionerFacadeMockRecorder) SetPassword

func (mr *MockCAASProvisionerFacadeMockRecorder) SetPassword(arg0, arg1 interface{}) *gomock.Call

SetPassword indicates an expected call of SetPassword

func (*MockCAASProvisionerFacadeMockRecorder) Units

func (mr *MockCAASProvisionerFacadeMockRecorder) Units(arg0 interface{}) *gomock.Call

Units indicates an expected call of Units

func (*MockCAASProvisionerFacadeMockRecorder) UpdateUnits

func (mr *MockCAASProvisionerFacadeMockRecorder) UpdateUnits(arg0 interface{}) *gomock.Call

UpdateUnits indicates an expected call of UpdateUnits

func (*MockCAASProvisionerFacadeMockRecorder) WatchApplication

func (mr *MockCAASProvisionerFacadeMockRecorder) WatchApplication(arg0 interface{}) *gomock.Call

WatchApplication indicates an expected call of WatchApplication

func (*MockCAASProvisionerFacadeMockRecorder) WatchApplications

func (mr *MockCAASProvisionerFacadeMockRecorder) WatchApplications() *gomock.Call

WatchApplications indicates an expected call of WatchApplications