mock_backend

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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 (_m *MockBackend) CreateDeploy(_param0 string, _param1 []byte) (*models.Deploy, error)

func (*MockBackend) CreateEnvironment

func (_m *MockBackend) CreateEnvironment(_param0 string, _param1 string, _param2 string, _param3 string, _param4 int, _param5 []byte) (*models.Environment, error)
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 (_m *MockBackend) CreateService(_param0 string, _param1 string, _param2 string, _param3 string) (*models.Service, error)

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 (_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 (_m *MockBackend) GetService(_param0 string, _param1 string) (*models.Service, error)

func (*MockBackend) GetServiceLogs

func (_m *MockBackend) GetServiceLogs(_param0 string, _param1 string, _param2 int) ([]*models.LogFile, error)

func (*MockBackend) GetTask

func (_m *MockBackend) GetTask(_param0 string, _param1 string) (*models.Task, error)

func (*MockBackend) GetTaskLogs

func (_m *MockBackend) GetTaskLogs(_param0 string, _param1 string, _param2 int) ([]*models.LogFile, error)

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) ListTasks

func (_m *MockBackend) ListTasks() ([]*models.Task, error)

func (*MockBackend) ScaleService

func (_m *MockBackend) ScaleService(_param0 string, _param1 string, _param2 int) (*models.Service, error)

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

func (_m *MockBackend) UpdateService(_param0 string, _param1 string, _param2 string) (*models.Service, error)

Jump to

Keyboard shortcuts

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