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 ¶
- type MockDeployLogic
- func (m *MockDeployLogic) CreateDeploy(arg0 models.CreateDeployRequest) (*models.Deploy, error)
- func (m *MockDeployLogic) DeleteDeploy(arg0 string) error
- func (m *MockDeployLogic) EXPECT() *MockDeployLogicMockRecorder
- func (m *MockDeployLogic) GetDeploy(arg0 string) (*models.Deploy, error)
- func (m *MockDeployLogic) ListDeploys() ([]*models.DeploySummary, error)
- type MockDeployLogicMockRecorder
- func (mr *MockDeployLogicMockRecorder) CreateDeploy(arg0 interface{}) *gomock.Call
- func (mr *MockDeployLogicMockRecorder) DeleteDeploy(arg0 interface{}) *gomock.Call
- func (mr *MockDeployLogicMockRecorder) GetDeploy(arg0 interface{}) *gomock.Call
- func (mr *MockDeployLogicMockRecorder) ListDeploys() *gomock.Call
- type MockEnvironmentLogic
- func (m *MockEnvironmentLogic) CanCreateEnvironment(arg0 models.CreateEnvironmentRequest) (bool, error)
- func (m *MockEnvironmentLogic) CreateEnvironment(arg0 models.CreateEnvironmentRequest) (*models.Environment, error)
- func (m *MockEnvironmentLogic) CreateEnvironmentLink(arg0, arg1 string) error
- func (m *MockEnvironmentLogic) DeleteEnvironment(arg0 string) error
- func (m *MockEnvironmentLogic) DeleteEnvironmentLink(arg0, arg1 string) error
- func (m *MockEnvironmentLogic) EXPECT() *MockEnvironmentLogicMockRecorder
- func (m *MockEnvironmentLogic) GetEnvironment(arg0 string) (*models.Environment, error)
- func (m *MockEnvironmentLogic) ListEnvironments() ([]models.EnvironmentSummary, error)
- func (m *MockEnvironmentLogic) UpdateEnvironment(arg0 string, arg1 int) (*models.Environment, error)
- type MockEnvironmentLogicMockRecorder
- func (mr *MockEnvironmentLogicMockRecorder) CanCreateEnvironment(arg0 interface{}) *gomock.Call
- func (mr *MockEnvironmentLogicMockRecorder) CreateEnvironment(arg0 interface{}) *gomock.Call
- func (mr *MockEnvironmentLogicMockRecorder) CreateEnvironmentLink(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEnvironmentLogicMockRecorder) DeleteEnvironment(arg0 interface{}) *gomock.Call
- func (mr *MockEnvironmentLogicMockRecorder) DeleteEnvironmentLink(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEnvironmentLogicMockRecorder) GetEnvironment(arg0 interface{}) *gomock.Call
- func (mr *MockEnvironmentLogicMockRecorder) ListEnvironments() *gomock.Call
- func (mr *MockEnvironmentLogicMockRecorder) UpdateEnvironment(arg0, arg1 interface{}) *gomock.Call
- type MockJobLogic
- func (m *MockJobLogic) CreateJob(arg0 types.JobType, arg1 interface{}) (*models.Job, error)
- func (m *MockJobLogic) Delete(arg0 string) error
- func (m *MockJobLogic) EXPECT() *MockJobLogicMockRecorder
- func (m *MockJobLogic) GetJob(arg0 string) (*models.Job, error)
- func (m *MockJobLogic) ListJobs() ([]*models.Job, error)
- type MockJobLogicMockRecorder
- type MockLoadBalancerLogic
- func (m *MockLoadBalancerLogic) CreateLoadBalancer(arg0 models.CreateLoadBalancerRequest) (*models.LoadBalancer, error)
- func (m *MockLoadBalancerLogic) DeleteLoadBalancer(arg0 string) error
- func (m *MockLoadBalancerLogic) EXPECT() *MockLoadBalancerLogicMockRecorder
- func (m *MockLoadBalancerLogic) GetLoadBalancer(arg0 string) (*models.LoadBalancer, error)
- func (m *MockLoadBalancerLogic) ListLoadBalancers() ([]*models.LoadBalancerSummary, error)
- func (m *MockLoadBalancerLogic) UpdateLoadBalancerCrossZone(arg0 string, arg1 bool) (*models.LoadBalancer, error)
- func (m *MockLoadBalancerLogic) UpdateLoadBalancerHealthCheck(arg0 string, arg1 models.HealthCheck) (*models.LoadBalancer, error)
- func (m *MockLoadBalancerLogic) UpdateLoadBalancerIdleTimeout(arg0 string, arg1 int) (*models.LoadBalancer, error)
- func (m *MockLoadBalancerLogic) UpdateLoadBalancerPorts(arg0 string, arg1 []models.Port) (*models.LoadBalancer, error)
- type MockLoadBalancerLogicMockRecorder
- func (mr *MockLoadBalancerLogicMockRecorder) CreateLoadBalancer(arg0 interface{}) *gomock.Call
- func (mr *MockLoadBalancerLogicMockRecorder) DeleteLoadBalancer(arg0 interface{}) *gomock.Call
- func (mr *MockLoadBalancerLogicMockRecorder) GetLoadBalancer(arg0 interface{}) *gomock.Call
- func (mr *MockLoadBalancerLogicMockRecorder) ListLoadBalancers() *gomock.Call
- func (mr *MockLoadBalancerLogicMockRecorder) UpdateLoadBalancerCrossZone(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLoadBalancerLogicMockRecorder) UpdateLoadBalancerHealthCheck(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLoadBalancerLogicMockRecorder) UpdateLoadBalancerIdleTimeout(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLoadBalancerLogicMockRecorder) UpdateLoadBalancerPorts(arg0, arg1 interface{}) *gomock.Call
- type MockServiceLogic
- func (m *MockServiceLogic) CreateService(arg0 models.CreateServiceRequest) (*models.Service, error)
- func (m *MockServiceLogic) DeleteService(arg0 string) error
- func (m *MockServiceLogic) EXPECT() *MockServiceLogicMockRecorder
- func (m *MockServiceLogic) GetEnvironmentServices(arg0 string) ([]*models.Service, error)
- func (m *MockServiceLogic) GetService(arg0 string) (*models.Service, error)
- func (m *MockServiceLogic) GetServiceLogs(arg0, arg1, arg2 string, arg3 int) ([]*models.LogFile, error)
- func (m *MockServiceLogic) ListServices() ([]models.ServiceSummary, error)
- func (m *MockServiceLogic) ScaleService(arg0 string, arg1 int) (*models.Service, error)
- func (m *MockServiceLogic) UpdateService(arg0 string, arg1 models.UpdateServiceRequest) (*models.Service, error)
- type MockServiceLogicMockRecorder
- func (mr *MockServiceLogicMockRecorder) CreateService(arg0 interface{}) *gomock.Call
- func (mr *MockServiceLogicMockRecorder) DeleteService(arg0 interface{}) *gomock.Call
- func (mr *MockServiceLogicMockRecorder) GetEnvironmentServices(arg0 interface{}) *gomock.Call
- func (mr *MockServiceLogicMockRecorder) GetService(arg0 interface{}) *gomock.Call
- func (mr *MockServiceLogicMockRecorder) GetServiceLogs(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockServiceLogicMockRecorder) ListServices() *gomock.Call
- func (mr *MockServiceLogicMockRecorder) ScaleService(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceLogicMockRecorder) UpdateService(arg0, arg1 interface{}) *gomock.Call
- type MockTaskLogic
- func (m *MockTaskLogic) CreateTask(arg0 models.CreateTaskRequest) (string, error)
- func (m *MockTaskLogic) DeleteTask(arg0 string) error
- func (m *MockTaskLogic) EXPECT() *MockTaskLogicMockRecorder
- func (m *MockTaskLogic) GetEnvironmentTasks(arg0 string) ([]*models.Task, error)
- func (m *MockTaskLogic) GetTask(arg0 string) (*models.Task, error)
- func (m *MockTaskLogic) GetTaskLogs(arg0, arg1, arg2 string, arg3 int) ([]*models.LogFile, error)
- func (m *MockTaskLogic) ListTasks() ([]*models.TaskSummary, error)
- type MockTaskLogicMockRecorder
- func (mr *MockTaskLogicMockRecorder) CreateTask(arg0 interface{}) *gomock.Call
- func (mr *MockTaskLogicMockRecorder) DeleteTask(arg0 interface{}) *gomock.Call
- func (mr *MockTaskLogicMockRecorder) GetEnvironmentTasks(arg0 interface{}) *gomock.Call
- func (mr *MockTaskLogicMockRecorder) GetTask(arg0 interface{}) *gomock.Call
- func (mr *MockTaskLogicMockRecorder) GetTaskLogs(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockTaskLogicMockRecorder) ListTasks() *gomock.Call
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 ¶
func (m *MockDeployLogic) EXPECT() *MockDeployLogicMockRecorder
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 ¶
func (m *MockEnvironmentLogic) CreateEnvironment(arg0 models.CreateEnvironmentRequest) (*models.Environment, error)
CreateEnvironment mocks base method
func (*MockEnvironmentLogic) CreateEnvironmentLink ¶
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 (*MockEnvironmentLogic) DeleteEnvironmentLink ¶
func (m *MockEnvironmentLogic) DeleteEnvironmentLink(arg0, arg1 string) error
DeleteEnvironmentLink mocks base method
func (*MockEnvironmentLogic) EXPECT ¶
func (m *MockEnvironmentLogic) EXPECT() *MockEnvironmentLogicMockRecorder
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 (*MockEnvironmentLogicMockRecorder) CreateEnvironmentLink ¶ added in v0.10.4
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 (*MockEnvironmentLogicMockRecorder) DeleteEnvironmentLink ¶ added in v0.10.4
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) Delete ¶
func (m *MockJobLogic) Delete(arg0 string) error
Delete mocks base method
func (*MockJobLogic) EXPECT ¶
func (m *MockJobLogic) EXPECT() *MockJobLogicMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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 ¶
func (m *MockLoadBalancerLogic) CreateLoadBalancer(arg0 models.CreateLoadBalancerRequest) (*models.LoadBalancer, error)
CreateLoadBalancer mocks base method
func (*MockLoadBalancerLogic) DeleteLoadBalancer ¶
func (m *MockLoadBalancerLogic) DeleteLoadBalancer(arg0 string) error
DeleteLoadBalancer mocks base method
func (*MockLoadBalancerLogic) EXPECT ¶
func (m *MockLoadBalancerLogic) EXPECT() *MockLoadBalancerLogicMockRecorder
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 ¶
func (m *MockServiceLogic) EXPECT() *MockServiceLogicMockRecorder
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 ¶
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 ¶
func (m *MockTaskLogic) EXPECT() *MockTaskLogicMockRecorder
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 ¶
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