Documentation ¶
Index ¶
- type MockBackend
- func (_m *MockBackend) CreateDeploy(_param0 string, _param1 []byte) (*models.Deploy, error)
- func (_m *MockBackend) CreateEnvironment(_param0 string, _param1 string, _param2 string, _param3 string, _param4 int, ...) (*models.Environment, error)
- func (_m *MockBackend) CreateEnvironmentLink(_param0 string, _param1 string) error
- func (_m *MockBackend) CreateLoadBalancer(_param0 string, _param1 string, _param2 bool, _param3 []models.Port, ...) (*models.LoadBalancer, error)
- func (_m *MockBackend) CreateService(_param0 string, _param1 string, _param2 string, _param3 string) (*models.Service, error)
- func (_m *MockBackend) CreateTask(_param0 string, _param1 string, _param2 string, ...) (*models.Task, error)
- func (_m *MockBackend) DeleteDeploy(_param0 string) error
- func (_m *MockBackend) DeleteEnvironment(_param0 string) error
- func (_m *MockBackend) DeleteEnvironmentLink(_param0 string, _param1 string) error
- func (_m *MockBackend) DeleteLoadBalancer(_param0 string) error
- func (_m *MockBackend) DeleteService(_param0 string, _param1 string) error
- func (_m *MockBackend) DeleteTask(_param0 string, _param1 string) error
- func (_m *MockBackend) EXPECT() *_MockBackendRecorder
- func (_m *MockBackend) GetDeploy(_param0 string) (*models.Deploy, error)
- func (_m *MockBackend) GetEnvironment(_param0 string) (*models.Environment, error)
- func (_m *MockBackend) GetLoadBalancer(_param0 string) (*models.LoadBalancer, error)
- func (_m *MockBackend) GetService(_param0 string, _param1 string) (*models.Service, error)
- func (_m *MockBackend) GetServiceLogs(_param0 string, _param1 string, _param2 int) ([]*models.LogFile, error)
- func (_m *MockBackend) GetTask(_param0 string, _param1 string) (*models.Task, error)
- func (_m *MockBackend) GetTaskLogs(_param0 string, _param1 string, _param2 int) ([]*models.LogFile, error)
- func (_m *MockBackend) ListDeploys() ([]*models.Deploy, error)
- func (_m *MockBackend) ListEnvironments() ([]*models.Environment, error)
- func (_m *MockBackend) ListLoadBalancers() ([]*models.LoadBalancer, error)
- func (_m *MockBackend) ListServices() ([]*models.Service, error)
- func (_m *MockBackend) ListTasks() ([]*models.Task, error)
- func (_m *MockBackend) ScaleService(_param0 string, _param1 string, _param2 int) (*models.Service, error)
- func (_m *MockBackend) UpdateEnvironment(_param0 string, _param1 int) (*models.Environment, error)
- func (_m *MockBackend) UpdateLoadBalancerHealthCheck(_param0 string, _param1 models.HealthCheck) (*models.LoadBalancer, error)
- func (_m *MockBackend) UpdateLoadBalancerPorts(_param0 string, _param1 []models.Port) (*models.LoadBalancer, error)
- func (_m *MockBackend) UpdateService(_param0 string, _param1 string, _param2 string) (*models.Service, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBackend ¶
type MockBackend struct {
// contains filtered or unexported fields
}
Mock of Backend interface
func NewMockBackend ¶
func NewMockBackend(ctrl *gomock.Controller) *MockBackend
func (*MockBackend) CreateDeploy ¶
func (*MockBackend) CreateEnvironment ¶
func (_m *MockBackend) CreateEnvironment(_param0 string, _param1 string, _param2 string, _param3 string, _param4 int, _param5 []byte) (*models.Environment, error)
func (*MockBackend) CreateEnvironmentLink ¶
func (_m *MockBackend) CreateEnvironmentLink(_param0 string, _param1 string) error
func (*MockBackend) CreateLoadBalancer ¶
func (_m *MockBackend) CreateLoadBalancer(_param0 string, _param1 string, _param2 bool, _param3 []models.Port, _param4 models.HealthCheck) (*models.LoadBalancer, error)
func (*MockBackend) CreateService ¶
func (*MockBackend) CreateTask ¶
func (_m *MockBackend) CreateTask(_param0 string, _param1 string, _param2 string, _param3 []models.ContainerOverride) (*models.Task, error)
func (*MockBackend) DeleteDeploy ¶
func (_m *MockBackend) DeleteDeploy(_param0 string) error
func (*MockBackend) DeleteEnvironment ¶
func (_m *MockBackend) DeleteEnvironment(_param0 string) error
func (*MockBackend) DeleteEnvironmentLink ¶
func (_m *MockBackend) DeleteEnvironmentLink(_param0 string, _param1 string) error
func (*MockBackend) DeleteLoadBalancer ¶
func (_m *MockBackend) DeleteLoadBalancer(_param0 string) error
func (*MockBackend) DeleteService ¶
func (_m *MockBackend) DeleteService(_param0 string, _param1 string) error
func (*MockBackend) DeleteTask ¶
func (_m *MockBackend) DeleteTask(_param0 string, _param1 string) error
func (*MockBackend) EXPECT ¶
func (_m *MockBackend) EXPECT() *_MockBackendRecorder
func (*MockBackend) GetDeploy ¶
func (_m *MockBackend) GetDeploy(_param0 string) (*models.Deploy, error)
func (*MockBackend) GetEnvironment ¶
func (_m *MockBackend) GetEnvironment(_param0 string) (*models.Environment, error)
func (*MockBackend) GetLoadBalancer ¶
func (_m *MockBackend) GetLoadBalancer(_param0 string) (*models.LoadBalancer, error)
func (*MockBackend) GetService ¶
func (*MockBackend) GetServiceLogs ¶
func (*MockBackend) GetTaskLogs ¶
func (*MockBackend) ListDeploys ¶
func (_m *MockBackend) ListDeploys() ([]*models.Deploy, error)
func (*MockBackend) ListEnvironments ¶
func (_m *MockBackend) ListEnvironments() ([]*models.Environment, error)
func (*MockBackend) ListLoadBalancers ¶
func (_m *MockBackend) ListLoadBalancers() ([]*models.LoadBalancer, error)
func (*MockBackend) ListServices ¶
func (_m *MockBackend) ListServices() ([]*models.Service, error)
func (*MockBackend) ScaleService ¶
func (*MockBackend) UpdateEnvironment ¶
func (_m *MockBackend) UpdateEnvironment(_param0 string, _param1 int) (*models.Environment, error)
func (*MockBackend) UpdateLoadBalancerHealthCheck ¶
func (_m *MockBackend) UpdateLoadBalancerHealthCheck(_param0 string, _param1 models.HealthCheck) (*models.LoadBalancer, error)
func (*MockBackend) UpdateLoadBalancerPorts ¶
func (_m *MockBackend) UpdateLoadBalancerPorts(_param0 string, _param1 []models.Port) (*models.LoadBalancer, error)
func (*MockBackend) UpdateService ¶
Click to show internal directories.
Click to hide internal directories.