mock_logic

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_logic is a generated GoMock package.

Package mock_logic is a generated GoMock package.

Package mock_logic is a generated GoMock package.

Package mock_logic is a generated GoMock package.

Package mock_logic is a generated GoMock package.

Package mock_logic is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDeployLogic

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

MockDeployLogic is a mock of DeployLogic interface

func NewMockDeployLogic

func NewMockDeployLogic(ctrl *gomock.Controller) *MockDeployLogic

NewMockDeployLogic creates a new mock instance

func (*MockDeployLogic) CreateDeploy

func (m *MockDeployLogic) CreateDeploy(arg0 models.CreateDeployRequest) (*models.Deploy, error)

CreateDeploy mocks base method

func (*MockDeployLogic) DeleteDeploy

func (m *MockDeployLogic) DeleteDeploy(arg0 string) error

DeleteDeploy mocks base method

func (*MockDeployLogic) EXPECT

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

func (*MockDeployLogic) GetDeploy

func (m *MockDeployLogic) GetDeploy(arg0 string) (*models.Deploy, error)

GetDeploy mocks base method

func (*MockDeployLogic) ListDeploys

func (m *MockDeployLogic) ListDeploys() ([]*models.DeploySummary, error)

ListDeploys mocks base method

type MockDeployLogicMockRecorder added in v0.10.4

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

MockDeployLogicMockRecorder is the mock recorder for MockDeployLogic

func (*MockDeployLogicMockRecorder) CreateDeploy added in v0.10.4

func (mr *MockDeployLogicMockRecorder) CreateDeploy(arg0 interface{}) *gomock.Call

CreateDeploy indicates an expected call of CreateDeploy

func (*MockDeployLogicMockRecorder) DeleteDeploy added in v0.10.4

func (mr *MockDeployLogicMockRecorder) DeleteDeploy(arg0 interface{}) *gomock.Call

DeleteDeploy indicates an expected call of DeleteDeploy

func (*MockDeployLogicMockRecorder) GetDeploy added in v0.10.4

func (mr *MockDeployLogicMockRecorder) GetDeploy(arg0 interface{}) *gomock.Call

GetDeploy indicates an expected call of GetDeploy

func (*MockDeployLogicMockRecorder) ListDeploys added in v0.10.4

func (mr *MockDeployLogicMockRecorder) ListDeploys() *gomock.Call

ListDeploys indicates an expected call of ListDeploys

type MockEnvironmentLogic

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

MockEnvironmentLogic is a mock of EnvironmentLogic interface

func NewMockEnvironmentLogic

func NewMockEnvironmentLogic(ctrl *gomock.Controller) *MockEnvironmentLogic

NewMockEnvironmentLogic creates a new mock instance

func (*MockEnvironmentLogic) CanCreateEnvironment

func (m *MockEnvironmentLogic) CanCreateEnvironment(arg0 models.CreateEnvironmentRequest) (bool, error)

CanCreateEnvironment mocks base method

func (*MockEnvironmentLogic) CreateEnvironment

CreateEnvironment mocks base method

func (m *MockEnvironmentLogic) CreateEnvironmentLink(arg0, arg1 string) error

CreateEnvironmentLink mocks base method

func (*MockEnvironmentLogic) DeleteEnvironment

func (m *MockEnvironmentLogic) DeleteEnvironment(arg0 string) error

DeleteEnvironment mocks base method

func (m *MockEnvironmentLogic) DeleteEnvironmentLink(arg0, arg1 string) error

DeleteEnvironmentLink mocks base method

func (*MockEnvironmentLogic) EXPECT

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

func (*MockEnvironmentLogic) GetEnvironment

func (m *MockEnvironmentLogic) GetEnvironment(arg0 string) (*models.Environment, error)

GetEnvironment mocks base method

func (*MockEnvironmentLogic) ListEnvironments

func (m *MockEnvironmentLogic) ListEnvironments() ([]models.EnvironmentSummary, error)

ListEnvironments mocks base method

func (*MockEnvironmentLogic) UpdateEnvironment

func (m *MockEnvironmentLogic) UpdateEnvironment(arg0 string, arg1 int) (*models.Environment, error)

UpdateEnvironment mocks base method

type MockEnvironmentLogicMockRecorder added in v0.10.4

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

MockEnvironmentLogicMockRecorder is the mock recorder for MockEnvironmentLogic

func (*MockEnvironmentLogicMockRecorder) CanCreateEnvironment added in v0.10.4

func (mr *MockEnvironmentLogicMockRecorder) CanCreateEnvironment(arg0 interface{}) *gomock.Call

CanCreateEnvironment indicates an expected call of CanCreateEnvironment

func (*MockEnvironmentLogicMockRecorder) CreateEnvironment added in v0.10.4

func (mr *MockEnvironmentLogicMockRecorder) CreateEnvironment(arg0 interface{}) *gomock.Call

CreateEnvironment indicates an expected call of CreateEnvironment

func (mr *MockEnvironmentLogicMockRecorder) CreateEnvironmentLink(arg0, arg1 interface{}) *gomock.Call

CreateEnvironmentLink indicates an expected call of CreateEnvironmentLink

func (*MockEnvironmentLogicMockRecorder) DeleteEnvironment added in v0.10.4

func (mr *MockEnvironmentLogicMockRecorder) DeleteEnvironment(arg0 interface{}) *gomock.Call

DeleteEnvironment indicates an expected call of DeleteEnvironment

func (mr *MockEnvironmentLogicMockRecorder) DeleteEnvironmentLink(arg0, arg1 interface{}) *gomock.Call

DeleteEnvironmentLink indicates an expected call of DeleteEnvironmentLink

func (*MockEnvironmentLogicMockRecorder) GetEnvironment added in v0.10.4

func (mr *MockEnvironmentLogicMockRecorder) GetEnvironment(arg0 interface{}) *gomock.Call

GetEnvironment indicates an expected call of GetEnvironment

func (*MockEnvironmentLogicMockRecorder) ListEnvironments added in v0.10.4

func (mr *MockEnvironmentLogicMockRecorder) ListEnvironments() *gomock.Call

ListEnvironments indicates an expected call of ListEnvironments

func (*MockEnvironmentLogicMockRecorder) UpdateEnvironment added in v0.10.4

func (mr *MockEnvironmentLogicMockRecorder) UpdateEnvironment(arg0, arg1 interface{}) *gomock.Call

UpdateEnvironment indicates an expected call of UpdateEnvironment

type MockJobLogic

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

MockJobLogic is a mock of JobLogic interface

func NewMockJobLogic

func NewMockJobLogic(ctrl *gomock.Controller) *MockJobLogic

NewMockJobLogic creates a new mock instance

func (*MockJobLogic) CreateJob

func (m *MockJobLogic) CreateJob(arg0 types.JobType, arg1 interface{}) (*models.Job, error)

CreateJob mocks base method

func (*MockJobLogic) Delete

func (m *MockJobLogic) Delete(arg0 string) error

Delete mocks base method

func (*MockJobLogic) EXPECT

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

func (*MockJobLogic) GetJob

func (m *MockJobLogic) GetJob(arg0 string) (*models.Job, error)

GetJob mocks base method

func (*MockJobLogic) ListJobs

func (m *MockJobLogic) ListJobs() ([]*models.Job, error)

ListJobs mocks base method

type MockJobLogicMockRecorder added in v0.10.4

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

MockJobLogicMockRecorder is the mock recorder for MockJobLogic

func (*MockJobLogicMockRecorder) CreateJob added in v0.10.4

func (mr *MockJobLogicMockRecorder) CreateJob(arg0, arg1 interface{}) *gomock.Call

CreateJob indicates an expected call of CreateJob

func (*MockJobLogicMockRecorder) Delete added in v0.10.4

func (mr *MockJobLogicMockRecorder) Delete(arg0 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockJobLogicMockRecorder) GetJob added in v0.10.4

func (mr *MockJobLogicMockRecorder) GetJob(arg0 interface{}) *gomock.Call

GetJob indicates an expected call of GetJob

func (*MockJobLogicMockRecorder) ListJobs added in v0.10.4

func (mr *MockJobLogicMockRecorder) ListJobs() *gomock.Call

ListJobs indicates an expected call of ListJobs

type MockLoadBalancerLogic

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

MockLoadBalancerLogic is a mock of LoadBalancerLogic interface

func NewMockLoadBalancerLogic

func NewMockLoadBalancerLogic(ctrl *gomock.Controller) *MockLoadBalancerLogic

NewMockLoadBalancerLogic creates a new mock instance

func (*MockLoadBalancerLogic) CreateLoadBalancer

CreateLoadBalancer mocks base method

func (*MockLoadBalancerLogic) DeleteLoadBalancer

func (m *MockLoadBalancerLogic) DeleteLoadBalancer(arg0 string) error

DeleteLoadBalancer mocks base method

func (*MockLoadBalancerLogic) EXPECT

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

func (*MockLoadBalancerLogic) GetLoadBalancer

func (m *MockLoadBalancerLogic) GetLoadBalancer(arg0 string) (*models.LoadBalancer, error)

GetLoadBalancer mocks base method

func (*MockLoadBalancerLogic) ListLoadBalancers

func (m *MockLoadBalancerLogic) ListLoadBalancers() ([]*models.LoadBalancerSummary, error)

ListLoadBalancers mocks base method

func (*MockLoadBalancerLogic) UpdateLoadBalancerCrossZone added in v0.11.0

func (m *MockLoadBalancerLogic) UpdateLoadBalancerCrossZone(arg0 string, arg1 bool) (*models.LoadBalancer, error)

UpdateLoadBalancerCrossZone mocks base method

func (*MockLoadBalancerLogic) UpdateLoadBalancerHealthCheck

func (m *MockLoadBalancerLogic) UpdateLoadBalancerHealthCheck(arg0 string, arg1 models.HealthCheck) (*models.LoadBalancer, error)

UpdateLoadBalancerHealthCheck mocks base method

func (*MockLoadBalancerLogic) UpdateLoadBalancerIdleTimeout added in v0.10.7

func (m *MockLoadBalancerLogic) UpdateLoadBalancerIdleTimeout(arg0 string, arg1 int) (*models.LoadBalancer, error)

UpdateLoadBalancerIdleTimeout mocks base method

func (*MockLoadBalancerLogic) UpdateLoadBalancerPorts

func (m *MockLoadBalancerLogic) UpdateLoadBalancerPorts(arg0 string, arg1 []models.Port) (*models.LoadBalancer, error)

UpdateLoadBalancerPorts mocks base method

type MockLoadBalancerLogicMockRecorder added in v0.10.4

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

MockLoadBalancerLogicMockRecorder is the mock recorder for MockLoadBalancerLogic

func (*MockLoadBalancerLogicMockRecorder) CreateLoadBalancer added in v0.10.4

func (mr *MockLoadBalancerLogicMockRecorder) CreateLoadBalancer(arg0 interface{}) *gomock.Call

CreateLoadBalancer indicates an expected call of CreateLoadBalancer

func (*MockLoadBalancerLogicMockRecorder) DeleteLoadBalancer added in v0.10.4

func (mr *MockLoadBalancerLogicMockRecorder) DeleteLoadBalancer(arg0 interface{}) *gomock.Call

DeleteLoadBalancer indicates an expected call of DeleteLoadBalancer

func (*MockLoadBalancerLogicMockRecorder) GetLoadBalancer added in v0.10.4

func (mr *MockLoadBalancerLogicMockRecorder) GetLoadBalancer(arg0 interface{}) *gomock.Call

GetLoadBalancer indicates an expected call of GetLoadBalancer

func (*MockLoadBalancerLogicMockRecorder) ListLoadBalancers added in v0.10.4

func (mr *MockLoadBalancerLogicMockRecorder) ListLoadBalancers() *gomock.Call

ListLoadBalancers indicates an expected call of ListLoadBalancers

func (*MockLoadBalancerLogicMockRecorder) UpdateLoadBalancerCrossZone added in v0.11.0

func (mr *MockLoadBalancerLogicMockRecorder) UpdateLoadBalancerCrossZone(arg0, arg1 interface{}) *gomock.Call

UpdateLoadBalancerCrossZone indicates an expected call of UpdateLoadBalancerCrossZone

func (*MockLoadBalancerLogicMockRecorder) UpdateLoadBalancerHealthCheck added in v0.10.4

func (mr *MockLoadBalancerLogicMockRecorder) UpdateLoadBalancerHealthCheck(arg0, arg1 interface{}) *gomock.Call

UpdateLoadBalancerHealthCheck indicates an expected call of UpdateLoadBalancerHealthCheck

func (*MockLoadBalancerLogicMockRecorder) UpdateLoadBalancerIdleTimeout added in v0.10.7

func (mr *MockLoadBalancerLogicMockRecorder) UpdateLoadBalancerIdleTimeout(arg0, arg1 interface{}) *gomock.Call

UpdateLoadBalancerIdleTimeout indicates an expected call of UpdateLoadBalancerIdleTimeout

func (*MockLoadBalancerLogicMockRecorder) UpdateLoadBalancerPorts added in v0.10.4

func (mr *MockLoadBalancerLogicMockRecorder) UpdateLoadBalancerPorts(arg0, arg1 interface{}) *gomock.Call

UpdateLoadBalancerPorts indicates an expected call of UpdateLoadBalancerPorts

type MockServiceLogic

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

MockServiceLogic is a mock of ServiceLogic interface

func NewMockServiceLogic

func NewMockServiceLogic(ctrl *gomock.Controller) *MockServiceLogic

NewMockServiceLogic creates a new mock instance

func (*MockServiceLogic) CreateService

func (m *MockServiceLogic) CreateService(arg0 models.CreateServiceRequest) (*models.Service, error)

CreateService mocks base method

func (*MockServiceLogic) DeleteService

func (m *MockServiceLogic) DeleteService(arg0 string) error

DeleteService mocks base method

func (*MockServiceLogic) EXPECT

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

func (*MockServiceLogic) GetEnvironmentServices added in v0.10.4

func (m *MockServiceLogic) GetEnvironmentServices(arg0 string) ([]*models.Service, error)

GetEnvironmentServices mocks base method

func (*MockServiceLogic) GetService

func (m *MockServiceLogic) GetService(arg0 string) (*models.Service, error)

GetService mocks base method

func (*MockServiceLogic) GetServiceLogs

func (m *MockServiceLogic) GetServiceLogs(arg0, arg1, arg2 string, arg3 int) ([]*models.LogFile, error)

GetServiceLogs mocks base method

func (*MockServiceLogic) ListServices

func (m *MockServiceLogic) ListServices() ([]models.ServiceSummary, error)

ListServices mocks base method

func (*MockServiceLogic) ScaleService

func (m *MockServiceLogic) ScaleService(arg0 string, arg1 int) (*models.Service, error)

ScaleService mocks base method

func (*MockServiceLogic) UpdateService

func (m *MockServiceLogic) UpdateService(arg0 string, arg1 models.UpdateServiceRequest) (*models.Service, error)

UpdateService mocks base method

type MockServiceLogicMockRecorder added in v0.10.4

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

MockServiceLogicMockRecorder is the mock recorder for MockServiceLogic

func (*MockServiceLogicMockRecorder) CreateService added in v0.10.4

func (mr *MockServiceLogicMockRecorder) CreateService(arg0 interface{}) *gomock.Call

CreateService indicates an expected call of CreateService

func (*MockServiceLogicMockRecorder) DeleteService added in v0.10.4

func (mr *MockServiceLogicMockRecorder) DeleteService(arg0 interface{}) *gomock.Call

DeleteService indicates an expected call of DeleteService

func (*MockServiceLogicMockRecorder) GetEnvironmentServices added in v0.10.4

func (mr *MockServiceLogicMockRecorder) GetEnvironmentServices(arg0 interface{}) *gomock.Call

GetEnvironmentServices indicates an expected call of GetEnvironmentServices

func (*MockServiceLogicMockRecorder) GetService added in v0.10.4

func (mr *MockServiceLogicMockRecorder) GetService(arg0 interface{}) *gomock.Call

GetService indicates an expected call of GetService

func (*MockServiceLogicMockRecorder) GetServiceLogs added in v0.10.4

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

GetServiceLogs indicates an expected call of GetServiceLogs

func (*MockServiceLogicMockRecorder) ListServices added in v0.10.4

func (mr *MockServiceLogicMockRecorder) ListServices() *gomock.Call

ListServices indicates an expected call of ListServices

func (*MockServiceLogicMockRecorder) ScaleService added in v0.10.4

func (mr *MockServiceLogicMockRecorder) ScaleService(arg0, arg1 interface{}) *gomock.Call

ScaleService indicates an expected call of ScaleService

func (*MockServiceLogicMockRecorder) UpdateService added in v0.10.4

func (mr *MockServiceLogicMockRecorder) UpdateService(arg0, arg1 interface{}) *gomock.Call

UpdateService indicates an expected call of UpdateService

type MockTaskLogic

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

MockTaskLogic is a mock of TaskLogic interface

func NewMockTaskLogic

func NewMockTaskLogic(ctrl *gomock.Controller) *MockTaskLogic

NewMockTaskLogic creates a new mock instance

func (*MockTaskLogic) CreateTask

func (m *MockTaskLogic) CreateTask(arg0 models.CreateTaskRequest) (string, error)

CreateTask mocks base method

func (*MockTaskLogic) DeleteTask

func (m *MockTaskLogic) DeleteTask(arg0 string) error

DeleteTask mocks base method

func (*MockTaskLogic) EXPECT

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

func (*MockTaskLogic) GetEnvironmentTasks added in v0.10.4

func (m *MockTaskLogic) GetEnvironmentTasks(arg0 string) ([]*models.Task, error)

GetEnvironmentTasks mocks base method

func (*MockTaskLogic) GetTask

func (m *MockTaskLogic) GetTask(arg0 string) (*models.Task, error)

GetTask mocks base method

func (*MockTaskLogic) GetTaskLogs

func (m *MockTaskLogic) GetTaskLogs(arg0, arg1, arg2 string, arg3 int) ([]*models.LogFile, error)

GetTaskLogs mocks base method

func (*MockTaskLogic) ListTasks

func (m *MockTaskLogic) ListTasks() ([]*models.TaskSummary, error)

ListTasks mocks base method

type MockTaskLogicMockRecorder added in v0.10.4

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

MockTaskLogicMockRecorder is the mock recorder for MockTaskLogic

func (*MockTaskLogicMockRecorder) CreateTask added in v0.10.4

func (mr *MockTaskLogicMockRecorder) CreateTask(arg0 interface{}) *gomock.Call

CreateTask indicates an expected call of CreateTask

func (*MockTaskLogicMockRecorder) DeleteTask added in v0.10.4

func (mr *MockTaskLogicMockRecorder) DeleteTask(arg0 interface{}) *gomock.Call

DeleteTask indicates an expected call of DeleteTask

func (*MockTaskLogicMockRecorder) GetEnvironmentTasks added in v0.10.4

func (mr *MockTaskLogicMockRecorder) GetEnvironmentTasks(arg0 interface{}) *gomock.Call

GetEnvironmentTasks indicates an expected call of GetEnvironmentTasks

func (*MockTaskLogicMockRecorder) GetTask added in v0.10.4

func (mr *MockTaskLogicMockRecorder) GetTask(arg0 interface{}) *gomock.Call

GetTask indicates an expected call of GetTask

func (*MockTaskLogicMockRecorder) GetTaskLogs added in v0.10.4

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

GetTaskLogs indicates an expected call of GetTaskLogs

func (*MockTaskLogicMockRecorder) ListTasks added in v0.10.4

func (mr *MockTaskLogicMockRecorder) ListTasks() *gomock.Call

ListTasks indicates an expected call of ListTasks

Jump to

Keyboard shortcuts

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