Documentation ¶
Overview ¶
Package mock_backend is a generated GoMock package.
Index ¶
- type MockBackend
- func (m *MockBackend) CreateDeploy(arg0 string, arg1 []byte) (*models.Deploy, error)
- func (m *MockBackend) CreateEnvironment(arg0, arg1, arg2, arg3 string, arg4 int, arg5 []byte) (*models.Environment, error)
- func (m *MockBackend) CreateEnvironmentLink(arg0, arg1 string) error
- func (m *MockBackend) CreateLoadBalancer(arg0, arg1 string, arg2 bool, arg3 []models.Port, arg4 models.HealthCheck, ...) (*models.LoadBalancer, error)
- func (m *MockBackend) CreateService(arg0, arg1, arg2, arg3 string) (*models.Service, error)
- func (m *MockBackend) CreateTask(arg0, arg1 string, arg2 []models.ContainerOverride) (string, error)
- func (m *MockBackend) DeleteDeploy(arg0 string) error
- func (m *MockBackend) DeleteEnvironment(arg0 string) error
- func (m *MockBackend) DeleteEnvironmentLink(arg0, arg1 string) error
- func (m *MockBackend) DeleteLoadBalancer(arg0 string) error
- func (m *MockBackend) DeleteService(arg0, arg1 string) error
- func (m *MockBackend) DeleteTask(arg0, arg1 string) error
- func (m *MockBackend) EXPECT() *MockBackendMockRecorder
- func (m *MockBackend) GetDeploy(arg0 string) (*models.Deploy, error)
- func (m *MockBackend) GetEnvironment(arg0 string) (*models.Environment, error)
- func (m *MockBackend) GetEnvironmentServices(arg0 string) ([]*models.Service, error)
- func (m *MockBackend) GetEnvironmentTasks(arg0 string) (map[string]*models.Task, error)
- func (m *MockBackend) GetLoadBalancer(arg0 string) (*models.LoadBalancer, error)
- func (m *MockBackend) GetService(arg0, arg1 string) (*models.Service, error)
- func (m *MockBackend) GetServiceLogs(arg0, arg1, arg2, arg3 string, arg4 int) ([]*models.LogFile, error)
- func (m *MockBackend) GetTask(arg0, arg1 string) (*models.Task, error)
- func (m *MockBackend) GetTaskLogs(arg0, arg1, arg2, arg3 string, arg4 int) ([]*models.LogFile, error)
- func (m *MockBackend) ListDeploys() ([]*models.Deploy, error)
- func (m *MockBackend) ListEnvironments() ([]id.ECSEnvironmentID, error)
- func (m *MockBackend) ListLoadBalancers() ([]*models.LoadBalancer, error)
- func (m *MockBackend) ListServices() ([]id.ECSServiceID, error)
- func (m *MockBackend) ListTasks() ([]string, error)
- func (m *MockBackend) ScaleService(arg0, arg1 string, arg2 int) (*models.Service, error)
- func (m *MockBackend) UpdateEnvironment(arg0 string, arg1 int) (*models.Environment, error)
- func (m *MockBackend) UpdateLoadBalancerCrossZone(arg0 string, arg1 bool) (*models.LoadBalancer, error)
- func (m *MockBackend) UpdateLoadBalancerHealthCheck(arg0 string, arg1 models.HealthCheck) (*models.LoadBalancer, error)
- func (m *MockBackend) UpdateLoadBalancerIdleTimeout(arg0 string, arg1 int) (*models.LoadBalancer, error)
- func (m *MockBackend) UpdateLoadBalancerPorts(arg0 string, arg1 []models.Port) (*models.LoadBalancer, error)
- func (m *MockBackend) UpdateService(arg0, arg1, arg2 string) (*models.Service, error)
- type MockBackendMockRecorder
- func (mr *MockBackendMockRecorder) CreateDeploy(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) CreateEnvironment(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) CreateEnvironmentLink(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) CreateLoadBalancer(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) CreateService(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) CreateTask(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) DeleteDeploy(arg0 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) DeleteEnvironment(arg0 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) DeleteEnvironmentLink(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) DeleteLoadBalancer(arg0 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) DeleteService(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) DeleteTask(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) GetDeploy(arg0 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) GetEnvironment(arg0 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) GetEnvironmentServices(arg0 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) GetEnvironmentTasks(arg0 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) GetLoadBalancer(arg0 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) GetService(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) GetServiceLogs(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) GetTask(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) GetTaskLogs(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) ListDeploys() *gomock.Call
- func (mr *MockBackendMockRecorder) ListEnvironments() *gomock.Call
- func (mr *MockBackendMockRecorder) ListLoadBalancers() *gomock.Call
- func (mr *MockBackendMockRecorder) ListServices() *gomock.Call
- func (mr *MockBackendMockRecorder) ListTasks() *gomock.Call
- func (mr *MockBackendMockRecorder) ScaleService(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) UpdateEnvironment(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) UpdateLoadBalancerCrossZone(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) UpdateLoadBalancerHealthCheck(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) UpdateLoadBalancerIdleTimeout(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) UpdateLoadBalancerPorts(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) UpdateService(arg0, arg1, arg2 interface{}) *gomock.Call
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
}
MockBackend is a mock of Backend interface
func NewMockBackend ¶
func NewMockBackend(ctrl *gomock.Controller) *MockBackend
NewMockBackend creates a new mock instance
func (*MockBackend) CreateDeploy ¶
CreateDeploy mocks base method
func (*MockBackend) CreateEnvironment ¶
func (m *MockBackend) CreateEnvironment(arg0, arg1, arg2, arg3 string, arg4 int, arg5 []byte) (*models.Environment, error)
CreateEnvironment mocks base method
func (*MockBackend) CreateEnvironmentLink ¶
func (m *MockBackend) CreateEnvironmentLink(arg0, arg1 string) error
CreateEnvironmentLink mocks base method
func (*MockBackend) CreateLoadBalancer ¶
func (m *MockBackend) CreateLoadBalancer(arg0, arg1 string, arg2 bool, arg3 []models.Port, arg4 models.HealthCheck, arg5 int, arg6 bool) (*models.LoadBalancer, error)
CreateLoadBalancer mocks base method
func (*MockBackend) CreateService ¶
func (m *MockBackend) CreateService(arg0, arg1, arg2, arg3 string) (*models.Service, error)
CreateService mocks base method
func (*MockBackend) CreateTask ¶
func (m *MockBackend) CreateTask(arg0, arg1 string, arg2 []models.ContainerOverride) (string, error)
CreateTask mocks base method
func (*MockBackend) DeleteDeploy ¶
func (m *MockBackend) DeleteDeploy(arg0 string) error
DeleteDeploy mocks base method
func (*MockBackend) DeleteEnvironment ¶
func (m *MockBackend) DeleteEnvironment(arg0 string) error
DeleteEnvironment mocks base method
func (*MockBackend) DeleteEnvironmentLink ¶
func (m *MockBackend) DeleteEnvironmentLink(arg0, arg1 string) error
DeleteEnvironmentLink mocks base method
func (*MockBackend) DeleteLoadBalancer ¶
func (m *MockBackend) DeleteLoadBalancer(arg0 string) error
DeleteLoadBalancer mocks base method
func (*MockBackend) DeleteService ¶
func (m *MockBackend) DeleteService(arg0, arg1 string) error
DeleteService mocks base method
func (*MockBackend) DeleteTask ¶
func (m *MockBackend) DeleteTask(arg0, arg1 string) error
DeleteTask mocks base method
func (*MockBackend) EXPECT ¶
func (m *MockBackend) EXPECT() *MockBackendMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockBackend) GetDeploy ¶
func (m *MockBackend) GetDeploy(arg0 string) (*models.Deploy, error)
GetDeploy mocks base method
func (*MockBackend) GetEnvironment ¶
func (m *MockBackend) GetEnvironment(arg0 string) (*models.Environment, error)
GetEnvironment mocks base method
func (*MockBackend) GetEnvironmentServices ¶ added in v0.10.4
func (m *MockBackend) GetEnvironmentServices(arg0 string) ([]*models.Service, error)
GetEnvironmentServices mocks base method
func (*MockBackend) GetEnvironmentTasks ¶ added in v0.10.4
GetEnvironmentTasks mocks base method
func (*MockBackend) GetLoadBalancer ¶
func (m *MockBackend) GetLoadBalancer(arg0 string) (*models.LoadBalancer, error)
GetLoadBalancer mocks base method
func (*MockBackend) GetService ¶
func (m *MockBackend) GetService(arg0, arg1 string) (*models.Service, error)
GetService mocks base method
func (*MockBackend) GetServiceLogs ¶
func (m *MockBackend) GetServiceLogs(arg0, arg1, arg2, arg3 string, arg4 int) ([]*models.LogFile, error)
GetServiceLogs mocks base method
func (*MockBackend) GetTask ¶
func (m *MockBackend) GetTask(arg0, arg1 string) (*models.Task, error)
GetTask mocks base method
func (*MockBackend) GetTaskLogs ¶
func (m *MockBackend) GetTaskLogs(arg0, arg1, arg2, arg3 string, arg4 int) ([]*models.LogFile, error)
GetTaskLogs mocks base method
func (*MockBackend) ListDeploys ¶
func (m *MockBackend) ListDeploys() ([]*models.Deploy, error)
ListDeploys mocks base method
func (*MockBackend) ListEnvironments ¶
func (m *MockBackend) ListEnvironments() ([]id.ECSEnvironmentID, error)
ListEnvironments mocks base method
func (*MockBackend) ListLoadBalancers ¶
func (m *MockBackend) ListLoadBalancers() ([]*models.LoadBalancer, error)
ListLoadBalancers mocks base method
func (*MockBackend) ListServices ¶
func (m *MockBackend) ListServices() ([]id.ECSServiceID, error)
ListServices mocks base method
func (*MockBackend) ListTasks ¶
func (m *MockBackend) ListTasks() ([]string, error)
ListTasks mocks base method
func (*MockBackend) ScaleService ¶
ScaleService mocks base method
func (*MockBackend) UpdateEnvironment ¶
func (m *MockBackend) UpdateEnvironment(arg0 string, arg1 int) (*models.Environment, error)
UpdateEnvironment mocks base method
func (*MockBackend) UpdateLoadBalancerCrossZone ¶ added in v0.11.0
func (m *MockBackend) UpdateLoadBalancerCrossZone(arg0 string, arg1 bool) (*models.LoadBalancer, error)
UpdateLoadBalancerCrossZone mocks base method
func (*MockBackend) UpdateLoadBalancerHealthCheck ¶
func (m *MockBackend) UpdateLoadBalancerHealthCheck(arg0 string, arg1 models.HealthCheck) (*models.LoadBalancer, error)
UpdateLoadBalancerHealthCheck mocks base method
func (*MockBackend) UpdateLoadBalancerIdleTimeout ¶ added in v0.10.7
func (m *MockBackend) UpdateLoadBalancerIdleTimeout(arg0 string, arg1 int) (*models.LoadBalancer, error)
UpdateLoadBalancerIdleTimeout mocks base method
func (*MockBackend) UpdateLoadBalancerPorts ¶
func (m *MockBackend) UpdateLoadBalancerPorts(arg0 string, arg1 []models.Port) (*models.LoadBalancer, error)
UpdateLoadBalancerPorts mocks base method
func (*MockBackend) UpdateService ¶
func (m *MockBackend) UpdateService(arg0, arg1, arg2 string) (*models.Service, error)
UpdateService mocks base method
type MockBackendMockRecorder ¶ added in v0.10.4
type MockBackendMockRecorder struct {
// contains filtered or unexported fields
}
MockBackendMockRecorder is the mock recorder for MockBackend
func (*MockBackendMockRecorder) CreateDeploy ¶ added in v0.10.4
func (mr *MockBackendMockRecorder) CreateDeploy(arg0, arg1 interface{}) *gomock.Call
CreateDeploy indicates an expected call of CreateDeploy
func (*MockBackendMockRecorder) CreateEnvironment ¶ added in v0.10.4
func (mr *MockBackendMockRecorder) CreateEnvironment(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
CreateEnvironment indicates an expected call of CreateEnvironment
func (*MockBackendMockRecorder) CreateEnvironmentLink ¶ added in v0.10.4
func (mr *MockBackendMockRecorder) CreateEnvironmentLink(arg0, arg1 interface{}) *gomock.Call
CreateEnvironmentLink indicates an expected call of CreateEnvironmentLink
func (*MockBackendMockRecorder) CreateLoadBalancer ¶ added in v0.10.4
func (mr *MockBackendMockRecorder) CreateLoadBalancer(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
CreateLoadBalancer indicates an expected call of CreateLoadBalancer
func (*MockBackendMockRecorder) CreateService ¶ added in v0.10.4
func (mr *MockBackendMockRecorder) CreateService(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
CreateService indicates an expected call of CreateService
func (*MockBackendMockRecorder) CreateTask ¶ added in v0.10.4
func (mr *MockBackendMockRecorder) CreateTask(arg0, arg1, arg2 interface{}) *gomock.Call
CreateTask indicates an expected call of CreateTask
func (*MockBackendMockRecorder) DeleteDeploy ¶ added in v0.10.4
func (mr *MockBackendMockRecorder) DeleteDeploy(arg0 interface{}) *gomock.Call
DeleteDeploy indicates an expected call of DeleteDeploy
func (*MockBackendMockRecorder) DeleteEnvironment ¶ added in v0.10.4
func (mr *MockBackendMockRecorder) DeleteEnvironment(arg0 interface{}) *gomock.Call
DeleteEnvironment indicates an expected call of DeleteEnvironment
func (*MockBackendMockRecorder) DeleteEnvironmentLink ¶ added in v0.10.4
func (mr *MockBackendMockRecorder) DeleteEnvironmentLink(arg0, arg1 interface{}) *gomock.Call
DeleteEnvironmentLink indicates an expected call of DeleteEnvironmentLink
func (*MockBackendMockRecorder) DeleteLoadBalancer ¶ added in v0.10.4
func (mr *MockBackendMockRecorder) DeleteLoadBalancer(arg0 interface{}) *gomock.Call
DeleteLoadBalancer indicates an expected call of DeleteLoadBalancer
func (*MockBackendMockRecorder) DeleteService ¶ added in v0.10.4
func (mr *MockBackendMockRecorder) DeleteService(arg0, arg1 interface{}) *gomock.Call
DeleteService indicates an expected call of DeleteService
func (*MockBackendMockRecorder) DeleteTask ¶ added in v0.10.4
func (mr *MockBackendMockRecorder) DeleteTask(arg0, arg1 interface{}) *gomock.Call
DeleteTask indicates an expected call of DeleteTask
func (*MockBackendMockRecorder) GetDeploy ¶ added in v0.10.4
func (mr *MockBackendMockRecorder) GetDeploy(arg0 interface{}) *gomock.Call
GetDeploy indicates an expected call of GetDeploy
func (*MockBackendMockRecorder) GetEnvironment ¶ added in v0.10.4
func (mr *MockBackendMockRecorder) GetEnvironment(arg0 interface{}) *gomock.Call
GetEnvironment indicates an expected call of GetEnvironment
func (*MockBackendMockRecorder) GetEnvironmentServices ¶ added in v0.10.4
func (mr *MockBackendMockRecorder) GetEnvironmentServices(arg0 interface{}) *gomock.Call
GetEnvironmentServices indicates an expected call of GetEnvironmentServices
func (*MockBackendMockRecorder) GetEnvironmentTasks ¶ added in v0.10.4
func (mr *MockBackendMockRecorder) GetEnvironmentTasks(arg0 interface{}) *gomock.Call
GetEnvironmentTasks indicates an expected call of GetEnvironmentTasks
func (*MockBackendMockRecorder) GetLoadBalancer ¶ added in v0.10.4
func (mr *MockBackendMockRecorder) GetLoadBalancer(arg0 interface{}) *gomock.Call
GetLoadBalancer indicates an expected call of GetLoadBalancer
func (*MockBackendMockRecorder) GetService ¶ added in v0.10.4
func (mr *MockBackendMockRecorder) GetService(arg0, arg1 interface{}) *gomock.Call
GetService indicates an expected call of GetService
func (*MockBackendMockRecorder) GetServiceLogs ¶ added in v0.10.4
func (mr *MockBackendMockRecorder) GetServiceLogs(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
GetServiceLogs indicates an expected call of GetServiceLogs
func (*MockBackendMockRecorder) GetTask ¶ added in v0.10.4
func (mr *MockBackendMockRecorder) GetTask(arg0, arg1 interface{}) *gomock.Call
GetTask indicates an expected call of GetTask
func (*MockBackendMockRecorder) GetTaskLogs ¶ added in v0.10.4
func (mr *MockBackendMockRecorder) GetTaskLogs(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
GetTaskLogs indicates an expected call of GetTaskLogs
func (*MockBackendMockRecorder) ListDeploys ¶ added in v0.10.4
func (mr *MockBackendMockRecorder) ListDeploys() *gomock.Call
ListDeploys indicates an expected call of ListDeploys
func (*MockBackendMockRecorder) ListEnvironments ¶ added in v0.10.4
func (mr *MockBackendMockRecorder) ListEnvironments() *gomock.Call
ListEnvironments indicates an expected call of ListEnvironments
func (*MockBackendMockRecorder) ListLoadBalancers ¶ added in v0.10.4
func (mr *MockBackendMockRecorder) ListLoadBalancers() *gomock.Call
ListLoadBalancers indicates an expected call of ListLoadBalancers
func (*MockBackendMockRecorder) ListServices ¶ added in v0.10.4
func (mr *MockBackendMockRecorder) ListServices() *gomock.Call
ListServices indicates an expected call of ListServices
func (*MockBackendMockRecorder) ListTasks ¶ added in v0.10.4
func (mr *MockBackendMockRecorder) ListTasks() *gomock.Call
ListTasks indicates an expected call of ListTasks
func (*MockBackendMockRecorder) ScaleService ¶ added in v0.10.4
func (mr *MockBackendMockRecorder) ScaleService(arg0, arg1, arg2 interface{}) *gomock.Call
ScaleService indicates an expected call of ScaleService
func (*MockBackendMockRecorder) UpdateEnvironment ¶ added in v0.10.4
func (mr *MockBackendMockRecorder) UpdateEnvironment(arg0, arg1 interface{}) *gomock.Call
UpdateEnvironment indicates an expected call of UpdateEnvironment
func (*MockBackendMockRecorder) UpdateLoadBalancerCrossZone ¶ added in v0.11.0
func (mr *MockBackendMockRecorder) UpdateLoadBalancerCrossZone(arg0, arg1 interface{}) *gomock.Call
UpdateLoadBalancerCrossZone indicates an expected call of UpdateLoadBalancerCrossZone
func (*MockBackendMockRecorder) UpdateLoadBalancerHealthCheck ¶ added in v0.10.4
func (mr *MockBackendMockRecorder) UpdateLoadBalancerHealthCheck(arg0, arg1 interface{}) *gomock.Call
UpdateLoadBalancerHealthCheck indicates an expected call of UpdateLoadBalancerHealthCheck
func (*MockBackendMockRecorder) UpdateLoadBalancerIdleTimeout ¶ added in v0.10.7
func (mr *MockBackendMockRecorder) UpdateLoadBalancerIdleTimeout(arg0, arg1 interface{}) *gomock.Call
UpdateLoadBalancerIdleTimeout indicates an expected call of UpdateLoadBalancerIdleTimeout
func (*MockBackendMockRecorder) UpdateLoadBalancerPorts ¶ added in v0.10.4
func (mr *MockBackendMockRecorder) UpdateLoadBalancerPorts(arg0, arg1 interface{}) *gomock.Call
UpdateLoadBalancerPorts indicates an expected call of UpdateLoadBalancerPorts
func (*MockBackendMockRecorder) UpdateService ¶ added in v0.10.4
func (mr *MockBackendMockRecorder) UpdateService(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateService indicates an expected call of UpdateService