Documentation
¶
Overview ¶
Package sdk is a generated GoMock package.
Index ¶
- type API
- type MockAPI
- func (m *MockAPI) ClusterExists(arg0 context.Context, arg1 string) (bool, error)
- func (m *MockAPI) CreateSecret(arg0 context.Context, arg1 compose.Secret) (string, error)
- func (m *MockAPI) CreateStack(arg0 context.Context, arg1 string, arg2 *cloudformation0.Template, ...) error
- func (m *MockAPI) DeleteCluster(arg0 context.Context, arg1 string) error
- func (m *MockAPI) DeleteSecret(arg0 context.Context, arg1 string, arg2 bool) error
- func (m *MockAPI) DeleteStack(arg0 context.Context, arg1 string) error
- func (m *MockAPI) DescribeServices(arg0 context.Context, arg1, arg2 string) ([]compose.ServiceStatus, error)
- func (m *MockAPI) DescribeStackEvents(arg0 context.Context, arg1 string) ([]*cloudformation.StackEvent, error)
- func (m *MockAPI) EXPECT() *MockAPIMockRecorder
- func (m *MockAPI) GetDefaultVPC(arg0 context.Context) (string, error)
- func (m *MockAPI) GetLoadBalancerARN(arg0 context.Context, arg1 string) (string, error)
- func (m *MockAPI) GetLogs(arg0 context.Context, arg1 string, arg2 compose.LogConsumer) error
- func (m *MockAPI) GetStackID(arg0 context.Context, arg1 string) (string, error)
- func (m *MockAPI) GetSubNets(arg0 context.Context, arg1 string) ([]string, error)
- func (m *MockAPI) InspectSecret(arg0 context.Context, arg1 string) (compose.Secret, error)
- func (m *MockAPI) ListSecrets(arg0 context.Context) ([]compose.Secret, error)
- func (m *MockAPI) LoadBalancerExists(arg0 context.Context, arg1 string) (bool, error)
- func (m *MockAPI) StackExists(arg0 context.Context, arg1 string) (bool, error)
- func (m *MockAPI) VpcExists(arg0 context.Context, arg1 string) (bool, error)
- func (m *MockAPI) WaitStackComplete(arg0 context.Context, arg1 string, arg2 int) error
- type MockAPIMockRecorder
- func (mr *MockAPIMockRecorder) ClusterExists(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) CreateSecret(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) CreateStack(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) DeleteCluster(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) DeleteSecret(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) DeleteStack(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) DescribeServices(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) DescribeStackEvents(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) GetDefaultVPC(arg0 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) GetLoadBalancerARN(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) GetLogs(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) GetStackID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) GetSubNets(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) InspectSecret(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) ListSecrets(arg0 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) LoadBalancerExists(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) StackExists(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) VpcExists(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) WaitStackComplete(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 ¶
ClusterExists mocks base method
func (*MockAPI) CreateSecret ¶
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 ¶
DeleteCluster mocks base method
func (*MockAPI) DeleteSecret ¶
DeleteSecret mocks base method
func (*MockAPI) DeleteStack ¶
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 ¶
GetDefaultVPC mocks base method
func (*MockAPI) GetLoadBalancerARN ¶
GetLoadBalancerARN mocks base method
func (*MockAPI) GetStackID ¶
GetStackID mocks base method
func (*MockAPI) GetSubNets ¶
GetSubNets mocks base method
func (*MockAPI) InspectSecret ¶
InspectSecret mocks base method
func (*MockAPI) ListSecrets ¶
ListSecrets mocks base method
func (*MockAPI) LoadBalancerExists ¶
LoadBalancerExists mocks base method
func (*MockAPI) StackExists ¶
StackExists 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