sdk

package
v1.0.0-preview.1 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2020 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Overview

Package sdk is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API interface {
	// contains filtered or unexported methods
}

func NewAPI

func NewAPI(sess *session.Session) API

type MockAPI

type MockAPI struct {
	// contains filtered or unexported fields
}

MockAPI is a mock of API interface

func NewMockAPI

func NewMockAPI(ctrl *gomock.Controller) *MockAPI

NewMockAPI creates a new mock instance

func (*MockAPI) ClusterExists

func (m *MockAPI) ClusterExists(arg0 context.Context, arg1 string) (bool, error)

ClusterExists mocks base method

func (*MockAPI) CreateSecret

func (m *MockAPI) CreateSecret(arg0 context.Context, arg1 compose.Secret) (string, error)

CreateSecret mocks base method

func (*MockAPI) CreateStack

func (m *MockAPI) CreateStack(arg0 context.Context, arg1 string, arg2 *cloudformation0.Template, arg3 map[string]string) error

CreateStack mocks base method

func (*MockAPI) DeleteCluster

func (m *MockAPI) DeleteCluster(arg0 context.Context, arg1 string) error

DeleteCluster mocks base method

func (*MockAPI) DeleteSecret

func (m *MockAPI) DeleteSecret(arg0 context.Context, arg1 string, arg2 bool) error

DeleteSecret mocks base method

func (*MockAPI) DeleteStack

func (m *MockAPI) DeleteStack(arg0 context.Context, arg1 string) error

DeleteStack mocks base method

func (*MockAPI) DescribeServices

func (m *MockAPI) DescribeServices(arg0 context.Context, arg1, arg2 string) ([]compose.ServiceStatus, error)

DescribeServices mocks base method

func (*MockAPI) DescribeStackEvents

func (m *MockAPI) DescribeStackEvents(arg0 context.Context, arg1 string) ([]*cloudformation.StackEvent, error)

DescribeStackEvents mocks base method

func (*MockAPI) EXPECT

func (m *MockAPI) EXPECT() *MockAPIMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockAPI) GetDefaultVPC

func (m *MockAPI) GetDefaultVPC(arg0 context.Context) (string, error)

GetDefaultVPC mocks base method

func (*MockAPI) GetLoadBalancerARN

func (m *MockAPI) GetLoadBalancerARN(arg0 context.Context, arg1 string) (string, error)

GetLoadBalancerARN mocks base method

func (*MockAPI) GetLogs

func (m *MockAPI) GetLogs(arg0 context.Context, arg1 string, arg2 compose.LogConsumer) error

GetLogs mocks base method

func (*MockAPI) GetStackID

func (m *MockAPI) GetStackID(arg0 context.Context, arg1 string) (string, error)

GetStackID mocks base method

func (*MockAPI) GetSubNets

func (m *MockAPI) GetSubNets(arg0 context.Context, arg1 string) ([]string, error)

GetSubNets mocks base method

func (*MockAPI) InspectSecret

func (m *MockAPI) InspectSecret(arg0 context.Context, arg1 string) (compose.Secret, error)

InspectSecret mocks base method

func (*MockAPI) ListSecrets

func (m *MockAPI) ListSecrets(arg0 context.Context) ([]compose.Secret, error)

ListSecrets mocks base method

func (*MockAPI) LoadBalancerExists

func (m *MockAPI) LoadBalancerExists(arg0 context.Context, arg1 string) (bool, error)

LoadBalancerExists mocks base method

func (*MockAPI) StackExists

func (m *MockAPI) StackExists(arg0 context.Context, arg1 string) (bool, error)

StackExists mocks base method

func (*MockAPI) VpcExists

func (m *MockAPI) VpcExists(arg0 context.Context, arg1 string) (bool, error)

VpcExists mocks base method

func (*MockAPI) WaitStackComplete

func (m *MockAPI) WaitStackComplete(arg0 context.Context, arg1 string, arg2 int) error

WaitStackComplete mocks base method

type MockAPIMockRecorder

type MockAPIMockRecorder struct {
	// contains filtered or unexported fields
}

MockAPIMockRecorder is the mock recorder for MockAPI

func (*MockAPIMockRecorder) ClusterExists

func (mr *MockAPIMockRecorder) ClusterExists(arg0, arg1 interface{}) *gomock.Call

ClusterExists indicates an expected call of ClusterExists

func (*MockAPIMockRecorder) CreateSecret

func (mr *MockAPIMockRecorder) CreateSecret(arg0, arg1 interface{}) *gomock.Call

CreateSecret indicates an expected call of CreateSecret

func (*MockAPIMockRecorder) CreateStack

func (mr *MockAPIMockRecorder) CreateStack(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

CreateStack indicates an expected call of CreateStack

func (*MockAPIMockRecorder) DeleteCluster

func (mr *MockAPIMockRecorder) DeleteCluster(arg0, arg1 interface{}) *gomock.Call

DeleteCluster indicates an expected call of DeleteCluster

func (*MockAPIMockRecorder) DeleteSecret

func (mr *MockAPIMockRecorder) DeleteSecret(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteSecret indicates an expected call of DeleteSecret

func (*MockAPIMockRecorder) DeleteStack

func (mr *MockAPIMockRecorder) DeleteStack(arg0, arg1 interface{}) *gomock.Call

DeleteStack indicates an expected call of DeleteStack

func (*MockAPIMockRecorder) DescribeServices

func (mr *MockAPIMockRecorder) DescribeServices(arg0, arg1, arg2 interface{}) *gomock.Call

DescribeServices indicates an expected call of DescribeServices

func (*MockAPIMockRecorder) DescribeStackEvents

func (mr *MockAPIMockRecorder) DescribeStackEvents(arg0, arg1 interface{}) *gomock.Call

DescribeStackEvents indicates an expected call of DescribeStackEvents

func (*MockAPIMockRecorder) GetDefaultVPC

func (mr *MockAPIMockRecorder) GetDefaultVPC(arg0 interface{}) *gomock.Call

GetDefaultVPC indicates an expected call of GetDefaultVPC

func (*MockAPIMockRecorder) GetLoadBalancerARN

func (mr *MockAPIMockRecorder) GetLoadBalancerARN(arg0, arg1 interface{}) *gomock.Call

GetLoadBalancerARN indicates an expected call of GetLoadBalancerARN

func (*MockAPIMockRecorder) GetLogs

func (mr *MockAPIMockRecorder) GetLogs(arg0, arg1, arg2 interface{}) *gomock.Call

GetLogs indicates an expected call of GetLogs

func (*MockAPIMockRecorder) GetStackID

func (mr *MockAPIMockRecorder) GetStackID(arg0, arg1 interface{}) *gomock.Call

GetStackID indicates an expected call of GetStackID

func (*MockAPIMockRecorder) GetSubNets

func (mr *MockAPIMockRecorder) GetSubNets(arg0, arg1 interface{}) *gomock.Call

GetSubNets indicates an expected call of GetSubNets

func (*MockAPIMockRecorder) InspectSecret

func (mr *MockAPIMockRecorder) InspectSecret(arg0, arg1 interface{}) *gomock.Call

InspectSecret indicates an expected call of InspectSecret

func (*MockAPIMockRecorder) ListSecrets

func (mr *MockAPIMockRecorder) ListSecrets(arg0 interface{}) *gomock.Call

ListSecrets indicates an expected call of ListSecrets

func (*MockAPIMockRecorder) LoadBalancerExists

func (mr *MockAPIMockRecorder) LoadBalancerExists(arg0, arg1 interface{}) *gomock.Call

LoadBalancerExists indicates an expected call of LoadBalancerExists

func (*MockAPIMockRecorder) StackExists

func (mr *MockAPIMockRecorder) StackExists(arg0, arg1 interface{}) *gomock.Call

StackExists indicates an expected call of StackExists

func (*MockAPIMockRecorder) VpcExists

func (mr *MockAPIMockRecorder) VpcExists(arg0, arg1 interface{}) *gomock.Call

VpcExists indicates an expected call of VpcExists

func (*MockAPIMockRecorder) WaitStackComplete

func (mr *MockAPIMockRecorder) WaitStackComplete(arg0, arg1, arg2 interface{}) *gomock.Call

WaitStackComplete indicates an expected call of WaitStackComplete

Jump to

Keyboard shortcuts

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