mock_client

package
v0.12.7 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_client is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

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

MockClient is a mock of Client interface.

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) CreateDeploy

func (m *MockClient) CreateDeploy(arg0 string, arg1 []byte) (*models.Deploy, error)

CreateDeploy mocks base method.

func (*MockClient) CreateEnvironment

func (m *MockClient) CreateEnvironment(arg0, arg1 string, arg2, arg3, arg4 int, arg5 []byte, arg6, arg7 string) (*models.Environment, error)

CreateEnvironment mocks base method.

func (m *MockClient) CreateLink(arg0, arg1 string) error

CreateLink mocks base method.

func (*MockClient) CreateLoadBalancer

func (m *MockClient) CreateLoadBalancer(arg0, arg1 string, arg2 models.HealthCheck, arg3 []models.Port, arg4 bool, arg5 int, arg6 bool) (*models.LoadBalancer, error)

CreateLoadBalancer mocks base method.

func (*MockClient) CreateService

func (m *MockClient) CreateService(arg0, arg1, arg2, arg3 string) (*models.Service, error)

CreateService mocks base method.

func (*MockClient) CreateTask

func (m *MockClient) CreateTask(arg0, arg1, arg2 string, arg3 []models.ContainerOverride) (string, error)

CreateTask mocks base method.

func (*MockClient) Delete

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

Delete mocks base method.

func (*MockClient) DeleteDeploy

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

DeleteDeploy mocks base method.

func (*MockClient) DeleteEnvironment

func (m *MockClient) DeleteEnvironment(arg0 string) (string, error)

DeleteEnvironment mocks base method.

func (m *MockClient) DeleteLink(arg0, arg1 string) error

DeleteLink mocks base method.

func (*MockClient) DeleteLoadBalancer

func (m *MockClient) DeleteLoadBalancer(arg0 string) (string, error)

DeleteLoadBalancer mocks base method.

func (*MockClient) DeleteService

func (m *MockClient) DeleteService(arg0 string) (string, error)

DeleteService mocks base method.

func (*MockClient) DeleteTask

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

DeleteTask mocks base method.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) GetConfig

func (m *MockClient) GetConfig() (*models.APIConfig, error)

GetConfig mocks base method.

func (*MockClient) GetDeploy

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

GetDeploy mocks base method.

func (*MockClient) GetEnvironment

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

GetEnvironment mocks base method.

func (*MockClient) GetJob

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

GetJob mocks base method.

func (*MockClient) GetLoadBalancer

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

GetLoadBalancer mocks base method.

func (*MockClient) GetService

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

GetService mocks base method.

func (*MockClient) GetServiceLogs

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

GetServiceLogs mocks base method.

func (*MockClient) GetTask

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

GetTask mocks base method.

func (*MockClient) GetTaskLogs

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

GetTaskLogs mocks base method.

func (*MockClient) GetVersion

func (m *MockClient) GetVersion() (string, error)

GetVersion mocks base method.

func (*MockClient) ListDeploys

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

ListDeploys mocks base method.

func (*MockClient) ListEnvironments

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

ListEnvironments mocks base method.

func (*MockClient) ListJobs

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

ListJobs mocks base method.

func (*MockClient) ListLoadBalancers

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

ListLoadBalancers mocks base method.

func (*MockClient) ListServices

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

ListServices mocks base method.

func (*MockClient) ListTasks

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

ListTasks mocks base method.

func (*MockClient) RunScaler

func (m *MockClient) RunScaler(arg0 string) (*models.ScalerRunInfo, error)

RunScaler mocks base method.

func (*MockClient) ScaleService

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

ScaleService mocks base method.

func (*MockClient) SelectByQuery

func (m *MockClient) SelectByQuery(arg0 map[string]string) ([]*models.EntityWithTags, error)

SelectByQuery mocks base method.

func (*MockClient) UpdateEnvironment

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

UpdateEnvironment mocks base method.

func (*MockClient) UpdateLoadBalancerCrossZone added in v0.11.0

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

UpdateLoadBalancerCrossZone mocks base method.

func (*MockClient) UpdateLoadBalancerHealthCheck

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

UpdateLoadBalancerHealthCheck mocks base method.

func (*MockClient) UpdateLoadBalancerIdleTimeout added in v0.10.7

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

UpdateLoadBalancerIdleTimeout mocks base method.

func (*MockClient) UpdateLoadBalancerPorts

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

UpdateLoadBalancerPorts mocks base method.

func (*MockClient) UpdateSQL

func (m *MockClient) UpdateSQL() error

UpdateSQL mocks base method.

func (*MockClient) UpdateService

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

UpdateService mocks base method.

func (*MockClient) WaitForDeployment

func (m *MockClient) WaitForDeployment(arg0 string, arg1 time.Duration) (*models.Service, error)

WaitForDeployment mocks base method.

func (*MockClient) WaitForJob

func (m *MockClient) WaitForJob(arg0 string, arg1 time.Duration) error

WaitForJob mocks base method.

type MockClientMockRecorder added in v0.10.4

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) CreateDeploy added in v0.10.4

func (mr *MockClientMockRecorder) CreateDeploy(arg0, arg1 interface{}) *gomock.Call

CreateDeploy indicates an expected call of CreateDeploy.

func (*MockClientMockRecorder) CreateEnvironment added in v0.10.4

func (mr *MockClientMockRecorder) CreateEnvironment(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 interface{}) *gomock.Call

CreateEnvironment indicates an expected call of CreateEnvironment.

func (mr *MockClientMockRecorder) CreateLink(arg0, arg1 interface{}) *gomock.Call

CreateLink indicates an expected call of CreateLink.

func (*MockClientMockRecorder) CreateLoadBalancer added in v0.10.4

func (mr *MockClientMockRecorder) CreateLoadBalancer(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call

CreateLoadBalancer indicates an expected call of CreateLoadBalancer.

func (*MockClientMockRecorder) CreateService added in v0.10.4

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

CreateService indicates an expected call of CreateService.

func (*MockClientMockRecorder) CreateTask added in v0.10.4

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

CreateTask indicates an expected call of CreateTask.

func (*MockClientMockRecorder) Delete added in v0.10.4

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

Delete indicates an expected call of Delete.

func (*MockClientMockRecorder) DeleteDeploy added in v0.10.4

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

DeleteDeploy indicates an expected call of DeleteDeploy.

func (*MockClientMockRecorder) DeleteEnvironment added in v0.10.4

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

DeleteEnvironment indicates an expected call of DeleteEnvironment.

func (mr *MockClientMockRecorder) DeleteLink(arg0, arg1 interface{}) *gomock.Call

DeleteLink indicates an expected call of DeleteLink.

func (*MockClientMockRecorder) DeleteLoadBalancer added in v0.10.4

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

DeleteLoadBalancer indicates an expected call of DeleteLoadBalancer.

func (*MockClientMockRecorder) DeleteService added in v0.10.4

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

DeleteService indicates an expected call of DeleteService.

func (*MockClientMockRecorder) DeleteTask added in v0.10.4

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

DeleteTask indicates an expected call of DeleteTask.

func (*MockClientMockRecorder) GetConfig added in v0.10.4

func (mr *MockClientMockRecorder) GetConfig() *gomock.Call

GetConfig indicates an expected call of GetConfig.

func (*MockClientMockRecorder) GetDeploy added in v0.10.4

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

GetDeploy indicates an expected call of GetDeploy.

func (*MockClientMockRecorder) GetEnvironment added in v0.10.4

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

GetEnvironment indicates an expected call of GetEnvironment.

func (*MockClientMockRecorder) GetJob added in v0.10.4

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

GetJob indicates an expected call of GetJob.

func (*MockClientMockRecorder) GetLoadBalancer added in v0.10.4

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

GetLoadBalancer indicates an expected call of GetLoadBalancer.

func (*MockClientMockRecorder) GetService added in v0.10.4

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

GetService indicates an expected call of GetService.

func (*MockClientMockRecorder) GetServiceLogs added in v0.10.4

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

GetServiceLogs indicates an expected call of GetServiceLogs.

func (*MockClientMockRecorder) GetTask added in v0.10.4

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

GetTask indicates an expected call of GetTask.

func (*MockClientMockRecorder) GetTaskLogs added in v0.10.4

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

GetTaskLogs indicates an expected call of GetTaskLogs.

func (*MockClientMockRecorder) GetVersion added in v0.10.4

func (mr *MockClientMockRecorder) GetVersion() *gomock.Call

GetVersion indicates an expected call of GetVersion.

func (*MockClientMockRecorder) ListDeploys added in v0.10.4

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

ListDeploys indicates an expected call of ListDeploys.

func (*MockClientMockRecorder) ListEnvironments added in v0.10.4

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

ListEnvironments indicates an expected call of ListEnvironments.

func (*MockClientMockRecorder) ListJobs added in v0.10.4

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

ListJobs indicates an expected call of ListJobs.

func (*MockClientMockRecorder) ListLoadBalancers added in v0.10.4

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

ListLoadBalancers indicates an expected call of ListLoadBalancers.

func (*MockClientMockRecorder) ListServices added in v0.10.4

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

ListServices indicates an expected call of ListServices.

func (*MockClientMockRecorder) ListTasks added in v0.10.4

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

ListTasks indicates an expected call of ListTasks.

func (*MockClientMockRecorder) RunScaler added in v0.10.4

func (mr *MockClientMockRecorder) RunScaler(arg0 interface{}) *gomock.Call

RunScaler indicates an expected call of RunScaler.

func (*MockClientMockRecorder) ScaleService added in v0.10.4

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

ScaleService indicates an expected call of ScaleService.

func (*MockClientMockRecorder) SelectByQuery added in v0.10.4

func (mr *MockClientMockRecorder) SelectByQuery(arg0 interface{}) *gomock.Call

SelectByQuery indicates an expected call of SelectByQuery.

func (*MockClientMockRecorder) UpdateEnvironment added in v0.10.4

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

UpdateEnvironment indicates an expected call of UpdateEnvironment.

func (*MockClientMockRecorder) UpdateLoadBalancerCrossZone added in v0.11.0

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

UpdateLoadBalancerCrossZone indicates an expected call of UpdateLoadBalancerCrossZone.

func (*MockClientMockRecorder) UpdateLoadBalancerHealthCheck added in v0.10.4

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

UpdateLoadBalancerHealthCheck indicates an expected call of UpdateLoadBalancerHealthCheck.

func (*MockClientMockRecorder) UpdateLoadBalancerIdleTimeout added in v0.10.7

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

UpdateLoadBalancerIdleTimeout indicates an expected call of UpdateLoadBalancerIdleTimeout.

func (*MockClientMockRecorder) UpdateLoadBalancerPorts added in v0.10.4

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

UpdateLoadBalancerPorts indicates an expected call of UpdateLoadBalancerPorts.

func (*MockClientMockRecorder) UpdateSQL added in v0.10.4

func (mr *MockClientMockRecorder) UpdateSQL() *gomock.Call

UpdateSQL indicates an expected call of UpdateSQL.

func (*MockClientMockRecorder) UpdateService added in v0.10.4

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

UpdateService indicates an expected call of UpdateService.

func (*MockClientMockRecorder) WaitForDeployment added in v0.10.4

func (mr *MockClientMockRecorder) WaitForDeployment(arg0, arg1 interface{}) *gomock.Call

WaitForDeployment indicates an expected call of WaitForDeployment.

func (*MockClientMockRecorder) WaitForJob added in v0.10.4

func (mr *MockClientMockRecorder) WaitForJob(arg0, arg1 interface{}) *gomock.Call

WaitForJob indicates an expected call of WaitForJob.

Jump to

Keyboard shortcuts

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