Documentation ¶
Index ¶
- type MockDeployLogic
- func (_m *MockDeployLogic) CreateDeploy(_param0 models.CreateDeployRequest) (*models.Deploy, error)
- func (_m *MockDeployLogic) DeleteDeploy(_param0 string) error
- func (_m *MockDeployLogic) EXPECT() *_MockDeployLogicRecorder
- func (_m *MockDeployLogic) GetDeploy(_param0 string) (*models.Deploy, error)
- func (_m *MockDeployLogic) ListDeploys() ([]*models.DeploySummary, error)
- type MockEnvironmentLogic
- func (_m *MockEnvironmentLogic) CanCreateEnvironment(_param0 models.CreateEnvironmentRequest) (bool, error)
- func (_m *MockEnvironmentLogic) CreateEnvironment(_param0 models.CreateEnvironmentRequest) (*models.Environment, error)
- func (_m *MockEnvironmentLogic) CreateEnvironmentLink(_param0 string, _param1 string) error
- func (_m *MockEnvironmentLogic) DeleteEnvironment(_param0 string) error
- func (_m *MockEnvironmentLogic) DeleteEnvironmentLink(_param0 string, _param1 string) error
- func (_m *MockEnvironmentLogic) EXPECT() *_MockEnvironmentLogicRecorder
- func (_m *MockEnvironmentLogic) GetEnvironment(_param0 string) (*models.Environment, error)
- func (_m *MockEnvironmentLogic) ListEnvironments() ([]*models.EnvironmentSummary, error)
- func (_m *MockEnvironmentLogic) UpdateEnvironment(_param0 string, _param1 int) (*models.Environment, error)
- type MockJobLogic
- func (_m *MockJobLogic) CreateJob(_param0 types.JobType, _param1 interface{}) (*models.Job, error)
- func (_m *MockJobLogic) Delete(_param0 string) error
- func (_m *MockJobLogic) EXPECT() *_MockJobLogicRecorder
- func (_m *MockJobLogic) GetJob(_param0 string) (*models.Job, error)
- func (_m *MockJobLogic) ListJobs() ([]*models.Job, error)
- type MockLoadBalancerLogic
- func (_m *MockLoadBalancerLogic) CreateLoadBalancer(_param0 models.CreateLoadBalancerRequest) (*models.LoadBalancer, error)
- func (_m *MockLoadBalancerLogic) DeleteLoadBalancer(_param0 string) error
- func (_m *MockLoadBalancerLogic) EXPECT() *_MockLoadBalancerLogicRecorder
- func (_m *MockLoadBalancerLogic) GetLoadBalancer(_param0 string) (*models.LoadBalancer, error)
- func (_m *MockLoadBalancerLogic) ListLoadBalancers() ([]*models.LoadBalancerSummary, error)
- func (_m *MockLoadBalancerLogic) UpdateLoadBalancerHealthCheck(_param0 string, _param1 models.HealthCheck) (*models.LoadBalancer, error)
- func (_m *MockLoadBalancerLogic) UpdateLoadBalancerPorts(_param0 string, _param1 []models.Port) (*models.LoadBalancer, error)
- type MockServiceLogic
- func (_m *MockServiceLogic) CreateService(_param0 models.CreateServiceRequest) (*models.Service, error)
- func (_m *MockServiceLogic) DeleteService(_param0 string) error
- func (_m *MockServiceLogic) EXPECT() *_MockServiceLogicRecorder
- func (_m *MockServiceLogic) GetService(_param0 string) (*models.Service, error)
- func (_m *MockServiceLogic) GetServiceLogs(_param0 string, _param1 int) ([]*models.LogFile, error)
- func (_m *MockServiceLogic) ListServices() ([]*models.ServiceSummary, error)
- func (_m *MockServiceLogic) ScaleService(_param0 string, _param1 int) (*models.Service, error)
- func (_m *MockServiceLogic) UpdateService(_param0 string, _param1 models.UpdateServiceRequest) (*models.Service, error)
- type MockTaskLogic
- func (_m *MockTaskLogic) CreateTask(_param0 models.CreateTaskRequest) (*models.Task, error)
- func (_m *MockTaskLogic) DeleteTask(_param0 string) error
- func (_m *MockTaskLogic) EXPECT() *_MockTaskLogicRecorder
- func (_m *MockTaskLogic) GetTask(_param0 string) (*models.Task, error)
- func (_m *MockTaskLogic) GetTaskLogs(_param0 string, _param1 int) ([]*models.LogFile, error)
- func (_m *MockTaskLogic) ListTasks() ([]*models.TaskSummary, error)
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
}
Mock of DeployLogic interface
func NewMockDeployLogic ¶
func NewMockDeployLogic(ctrl *gomock.Controller) *MockDeployLogic
func (*MockDeployLogic) CreateDeploy ¶
func (_m *MockDeployLogic) CreateDeploy(_param0 models.CreateDeployRequest) (*models.Deploy, error)
func (*MockDeployLogic) DeleteDeploy ¶
func (_m *MockDeployLogic) DeleteDeploy(_param0 string) error
func (*MockDeployLogic) EXPECT ¶
func (_m *MockDeployLogic) EXPECT() *_MockDeployLogicRecorder
func (*MockDeployLogic) GetDeploy ¶
func (_m *MockDeployLogic) GetDeploy(_param0 string) (*models.Deploy, error)
func (*MockDeployLogic) ListDeploys ¶
func (_m *MockDeployLogic) ListDeploys() ([]*models.DeploySummary, error)
type MockEnvironmentLogic ¶
type MockEnvironmentLogic struct {
// contains filtered or unexported fields
}
Mock of EnvironmentLogic interface
func NewMockEnvironmentLogic ¶
func NewMockEnvironmentLogic(ctrl *gomock.Controller) *MockEnvironmentLogic
func (*MockEnvironmentLogic) CanCreateEnvironment ¶
func (_m *MockEnvironmentLogic) CanCreateEnvironment(_param0 models.CreateEnvironmentRequest) (bool, error)
func (*MockEnvironmentLogic) CreateEnvironment ¶
func (_m *MockEnvironmentLogic) CreateEnvironment(_param0 models.CreateEnvironmentRequest) (*models.Environment, error)
func (*MockEnvironmentLogic) CreateEnvironmentLink ¶
func (_m *MockEnvironmentLogic) CreateEnvironmentLink(_param0 string, _param1 string) error
func (*MockEnvironmentLogic) DeleteEnvironment ¶
func (_m *MockEnvironmentLogic) DeleteEnvironment(_param0 string) error
func (*MockEnvironmentLogic) DeleteEnvironmentLink ¶
func (_m *MockEnvironmentLogic) DeleteEnvironmentLink(_param0 string, _param1 string) error
func (*MockEnvironmentLogic) EXPECT ¶
func (_m *MockEnvironmentLogic) EXPECT() *_MockEnvironmentLogicRecorder
func (*MockEnvironmentLogic) GetEnvironment ¶
func (_m *MockEnvironmentLogic) GetEnvironment(_param0 string) (*models.Environment, error)
func (*MockEnvironmentLogic) ListEnvironments ¶
func (_m *MockEnvironmentLogic) ListEnvironments() ([]*models.EnvironmentSummary, error)
func (*MockEnvironmentLogic) UpdateEnvironment ¶
func (_m *MockEnvironmentLogic) UpdateEnvironment(_param0 string, _param1 int) (*models.Environment, error)
type MockJobLogic ¶
type MockJobLogic struct {
// contains filtered or unexported fields
}
Mock of JobLogic interface
func NewMockJobLogic ¶
func NewMockJobLogic(ctrl *gomock.Controller) *MockJobLogic
func (*MockJobLogic) Delete ¶
func (_m *MockJobLogic) Delete(_param0 string) error
func (*MockJobLogic) EXPECT ¶
func (_m *MockJobLogic) EXPECT() *_MockJobLogicRecorder
type MockLoadBalancerLogic ¶
type MockLoadBalancerLogic struct {
// contains filtered or unexported fields
}
Mock of LoadBalancerLogic interface
func NewMockLoadBalancerLogic ¶
func NewMockLoadBalancerLogic(ctrl *gomock.Controller) *MockLoadBalancerLogic
func (*MockLoadBalancerLogic) CreateLoadBalancer ¶
func (_m *MockLoadBalancerLogic) CreateLoadBalancer(_param0 models.CreateLoadBalancerRequest) (*models.LoadBalancer, error)
func (*MockLoadBalancerLogic) DeleteLoadBalancer ¶
func (_m *MockLoadBalancerLogic) DeleteLoadBalancer(_param0 string) error
func (*MockLoadBalancerLogic) EXPECT ¶
func (_m *MockLoadBalancerLogic) EXPECT() *_MockLoadBalancerLogicRecorder
func (*MockLoadBalancerLogic) GetLoadBalancer ¶
func (_m *MockLoadBalancerLogic) GetLoadBalancer(_param0 string) (*models.LoadBalancer, error)
func (*MockLoadBalancerLogic) ListLoadBalancers ¶
func (_m *MockLoadBalancerLogic) ListLoadBalancers() ([]*models.LoadBalancerSummary, error)
func (*MockLoadBalancerLogic) UpdateLoadBalancerHealthCheck ¶
func (_m *MockLoadBalancerLogic) UpdateLoadBalancerHealthCheck(_param0 string, _param1 models.HealthCheck) (*models.LoadBalancer, error)
func (*MockLoadBalancerLogic) UpdateLoadBalancerPorts ¶
func (_m *MockLoadBalancerLogic) UpdateLoadBalancerPorts(_param0 string, _param1 []models.Port) (*models.LoadBalancer, error)
type MockServiceLogic ¶
type MockServiceLogic struct {
// contains filtered or unexported fields
}
Mock of ServiceLogic interface
func NewMockServiceLogic ¶
func NewMockServiceLogic(ctrl *gomock.Controller) *MockServiceLogic
func (*MockServiceLogic) CreateService ¶
func (_m *MockServiceLogic) CreateService(_param0 models.CreateServiceRequest) (*models.Service, error)
func (*MockServiceLogic) DeleteService ¶
func (_m *MockServiceLogic) DeleteService(_param0 string) error
func (*MockServiceLogic) EXPECT ¶
func (_m *MockServiceLogic) EXPECT() *_MockServiceLogicRecorder
func (*MockServiceLogic) GetService ¶
func (_m *MockServiceLogic) GetService(_param0 string) (*models.Service, error)
func (*MockServiceLogic) GetServiceLogs ¶
func (*MockServiceLogic) ListServices ¶
func (_m *MockServiceLogic) ListServices() ([]*models.ServiceSummary, error)
func (*MockServiceLogic) ScaleService ¶
func (*MockServiceLogic) UpdateService ¶
func (_m *MockServiceLogic) UpdateService(_param0 string, _param1 models.UpdateServiceRequest) (*models.Service, error)
type MockTaskLogic ¶
type MockTaskLogic struct {
// contains filtered or unexported fields
}
Mock of TaskLogic interface
func NewMockTaskLogic ¶
func NewMockTaskLogic(ctrl *gomock.Controller) *MockTaskLogic
func (*MockTaskLogic) CreateTask ¶
func (_m *MockTaskLogic) CreateTask(_param0 models.CreateTaskRequest) (*models.Task, error)
func (*MockTaskLogic) DeleteTask ¶
func (_m *MockTaskLogic) DeleteTask(_param0 string) error
func (*MockTaskLogic) EXPECT ¶
func (_m *MockTaskLogic) EXPECT() *_MockTaskLogicRecorder
func (*MockTaskLogic) GetTask ¶
func (_m *MockTaskLogic) GetTask(_param0 string) (*models.Task, error)
func (*MockTaskLogic) GetTaskLogs ¶
func (*MockTaskLogic) ListTasks ¶
func (_m *MockTaskLogic) ListTasks() ([]*models.TaskSummary, error)
Click to show internal directories.
Click to hide internal directories.