ecs

package
v0.0.0-...-6c036ee Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: Apache-2.0 Imports: 83 Imported by: 0

Documentation

Overview

Package ecs is a generated GoMock package.

Index

Constants

View Source
const UserAgentName = "Compose ECS"

UserAgentName is the ECS specific user agent used by the cli

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API interface {
	CheckRequirements(ctx context.Context, region string) error
	ResolveCluster(ctx context.Context, nameOrArn string) (awsResource, error)
	CreateCluster(ctx context.Context, name string) (string, error)
	CheckVPC(ctx context.Context, vpcID string) error
	GetDefaultVPC(ctx context.Context) (string, error)
	GetSubNets(ctx context.Context, vpcID string) ([]awsResource, error)
	IsPublicSubnet(ctx context.Context, subNetID string) (bool, error)
	GetRoleArn(ctx context.Context, name string) (string, error)
	StackExists(ctx context.Context, name string) (bool, error)
	CreateStack(ctx context.Context, name string, region string, template []byte) error
	CreateChangeSet(ctx context.Context, name string, region string, template []byte) (string, error)
	UpdateStack(ctx context.Context, changeset string) error
	WaitStackComplete(ctx context.Context, name string, operation int) error
	GetStackID(ctx context.Context, name string) (string, error)
	ListStacks(ctx context.Context) ([]api.Stack, error)
	GetStackClusterID(ctx context.Context, stack string) (string, error)
	GetServiceTaskDefinition(ctx context.Context, cluster string, serviceArns []string) (map[string]string, error)
	ListStackServices(ctx context.Context, stack string) ([]string, error)
	GetServiceTasks(ctx context.Context, cluster string, service string, stopped bool) ([]*ecs.Task, error)
	GetTaskStoppedReason(ctx context.Context, cluster string, taskArn string) (string, error)
	DescribeStackEvents(ctx context.Context, stackID string) ([]*cloudformation.StackEvent, error)
	ListStackParameters(ctx context.Context, name string) (map[string]string, error)
	ListStackResources(ctx context.Context, name string) (stackResources, error)
	DeleteStack(ctx context.Context, name string) error
	CreateSecret(ctx context.Context, secret secrets.Secret) (string, error)
	InspectSecret(ctx context.Context, id string) (secrets.Secret, error)
	ListSecrets(ctx context.Context) ([]secrets.Secret, error)
	DeleteSecret(ctx context.Context, id string, recover bool) error
	GetLogs(ctx context.Context, name string, consumer func(container string, service string, message string), follow bool) error
	DescribeService(ctx context.Context, cluster string, arn string) (api.ServiceStatus, error)
	DescribeServiceTasks(ctx context.Context, cluster string, project string, service string) ([]api.ContainerSummary, error)

	ListTasks(ctx context.Context, cluster string, family string) ([]string, error)
	GetPublicIPs(ctx context.Context, interfaces ...string) (map[string]string, error)
	ResolveLoadBalancer(ctx context.Context, nameOrArn string) (awsResource, string, string, []awsResource, error)
	GetLoadBalancerURL(ctx context.Context, arn string) (string, error)
	GetParameter(ctx context.Context, name string) (string, error)
	SecurityGroupExists(ctx context.Context, sg string) (bool, error)
	DeleteCapacityProvider(ctx context.Context, arn string) error
	DeleteAutoscalingGroup(ctx context.Context, arn string) error
	ResolveFileSystem(ctx context.Context, id string) (awsResource, error)
	ListFileSystems(ctx context.Context, tags map[string]string) ([]awsResource, error)
	CreateFileSystem(ctx context.Context, tags map[string]string, options VolumeCreateOptions) (awsResource, error)
	DeleteFileSystem(ctx context.Context, id string) error
	// contains filtered or unexported methods
}

API hides aws-go-sdk into a simpler, focussed API subset

type ComposeECS

type ComposeECS struct {
	Region string
	// contains filtered or unexported fields
}

func NewComposeECS

func NewComposeECS() (*ComposeECS, error)

func (*ComposeECS) Build

func (b *ComposeECS) Build(ctx context.Context, project *types.Project, options api.BuildOptions) error

func (*ComposeECS) ComposeService

func (b *ComposeECS) ComposeService() api.Service

func (*ComposeECS) Convert

func (b *ComposeECS) Convert(ctx context.Context, project *types.Project, options api.ConvertOptions) ([]byte, error)

func (*ComposeECS) Copy

func (b *ComposeECS) Copy(ctx context.Context, project *types.Project, options api.CopyOptions) error

func (*ComposeECS) Create

func (b *ComposeECS) Create(ctx context.Context, project *types.Project, opts api.CreateOptions) error

func (*ComposeECS) CreateSecret

func (b *ComposeECS) CreateSecret(ctx context.Context, secret secrets.Secret) (string, error)

func (*ComposeECS) DeleteSecret

func (b *ComposeECS) DeleteSecret(ctx context.Context, id string, recover bool) error

func (*ComposeECS) Down

func (b *ComposeECS) Down(ctx context.Context, projectName string, options api.DownOptions) error

func (*ComposeECS) Events

func (b *ComposeECS) Events(ctx context.Context, project string, options api.EventsOptions) error

func (*ComposeECS) Exec

func (b *ComposeECS) Exec(ctx context.Context, project string, opts api.RunOptions) (int, error)

func (*ComposeECS) Images

func (b *ComposeECS) Images(ctx context.Context, projectName string, options api.ImagesOptions) ([]api.ImageSummary, error)

func (*ComposeECS) InspectSecret

func (b *ComposeECS) InspectSecret(ctx context.Context, id string) (secrets.Secret, error)

func (*ComposeECS) Kill

func (b *ComposeECS) Kill(ctx context.Context, project *types.Project, options api.KillOptions) error

func (*ComposeECS) List

func (b *ComposeECS) List(ctx context.Context, opts api.ListOptions) ([]api.Stack, error)

func (*ComposeECS) ListSecrets

func (b *ComposeECS) ListSecrets(ctx context.Context) ([]secrets.Secret, error)

func (*ComposeECS) Logs

func (b *ComposeECS) Logs(ctx context.Context, projectName string, consumer api.LogConsumer, options api.LogOptions) error

func (*ComposeECS) Pause

func (b *ComposeECS) Pause(ctx context.Context, project string, options api.PauseOptions) error

func (*ComposeECS) Port

func (b *ComposeECS) Port(ctx context.Context, project string, service string, port int, options api.PortOptions) (string, int, error)

func (*ComposeECS) Ps

func (b *ComposeECS) Ps(ctx context.Context, projectName string, options api.PsOptions) ([]api.ContainerSummary, error)

func (*ComposeECS) Pull

func (b *ComposeECS) Pull(ctx context.Context, project *types.Project, options api.PullOptions) error

func (*ComposeECS) Push

func (b *ComposeECS) Push(ctx context.Context, project *types.Project, options api.PushOptions) error

func (*ComposeECS) Remove

func (b *ComposeECS) Remove(ctx context.Context, project *types.Project, options api.RemoveOptions) error

func (*ComposeECS) Restart

func (b *ComposeECS) Restart(ctx context.Context, project *types.Project, options api.RestartOptions) error

func (*ComposeECS) RunOneOffContainer

func (b *ComposeECS) RunOneOffContainer(ctx context.Context, project *types.Project, opts api.RunOptions) (int, error)

func (*ComposeECS) SecretsService

func (b *ComposeECS) SecretsService() secrets.Service

func (*ComposeECS) Start

func (b *ComposeECS) Start(ctx context.Context, project *types.Project, options api.StartOptions) error

func (*ComposeECS) Stop

func (b *ComposeECS) Stop(ctx context.Context, project *types.Project, options api.StopOptions) error

func (*ComposeECS) Top

func (b *ComposeECS) Top(ctx context.Context, projectName string, services []string) ([]api.ContainerProcSummary, error)

func (*ComposeECS) UnPause

func (b *ComposeECS) UnPause(ctx context.Context, project string, options api.PauseOptions) error

func (*ComposeECS) Up

func (b *ComposeECS) Up(ctx context.Context, project *types.Project, options api.UpOptions) error

func (*ComposeECS) VolumeService

func (b *ComposeECS) VolumeService() volumes.Service

func (*ComposeECS) WaitStackCompletion

func (b *ComposeECS) WaitStackCompletion(ctx context.Context, name string, operation int, ignored ...string) error

type Condition

type Condition struct {
	StringEquals map[string]string `json:",omitempty"`
	Bool         map[string]string `json:",omitempty"`
}

Condition is the map of all conditions in the statement entry.

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

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

CheckRequirements mocks base method

func (*MockAPI) CheckVPC

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

CheckVPC mocks base method

func (*MockAPI) CreateChangeSet

func (m *MockAPI) CreateChangeSet(arg0 context.Context, arg1, arg2 string, arg3 []byte) (string, error)

CreateChangeSet mocks base method

func (*MockAPI) CreateCluster

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

CreateCluster mocks base method

func (*MockAPI) CreateFileSystem

func (m *MockAPI) CreateFileSystem(arg0 context.Context, arg1 map[string]string, arg2 VolumeCreateOptions) (awsResource, error)

CreateFileSystem mocks base method

func (*MockAPI) CreateSecret

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

CreateSecret mocks base method

func (*MockAPI) CreateStack

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

CreateStack mocks base method

func (*MockAPI) DeleteAutoscalingGroup

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

DeleteAutoscalingGroup mocks base method

func (*MockAPI) DeleteCapacityProvider

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

DeleteCapacityProvider mocks base method

func (*MockAPI) DeleteFileSystem

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

DeleteFileSystem 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) DescribeService

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

DescribeService mocks base method

func (*MockAPI) DescribeServiceTasks

func (m *MockAPI) DescribeServiceTasks(arg0 context.Context, arg1, arg2, arg3 string) ([]compose.ContainerSummary, error)

DescribeServiceTasks 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) GetLoadBalancerURL

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

GetLoadBalancerURL mocks base method

func (*MockAPI) GetLogs

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

GetLogs mocks base method

func (*MockAPI) GetParameter

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

GetParameter mocks base method

func (*MockAPI) GetPublicIPs

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

GetPublicIPs mocks base method

func (*MockAPI) GetRoleArn

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

GetRoleArn mocks base method

func (*MockAPI) GetServiceTaskDefinition

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

GetServiceTaskDefinition mocks base method

func (*MockAPI) GetServiceTasks

func (m *MockAPI) GetServiceTasks(arg0 context.Context, arg1, arg2 string, arg3 bool) ([]*ecs.Task, error)

GetServiceTasks mocks base method

func (*MockAPI) GetStackClusterID

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

GetStackClusterID 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) ([]awsResource, error)

GetSubNets mocks base method

func (*MockAPI) GetTaskStoppedReason

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

GetTaskStoppedReason mocks base method

func (*MockAPI) InspectSecret

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

InspectSecret mocks base method

func (*MockAPI) IsPublicSubnet

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

IsPublicSubnet mocks base method

func (*MockAPI) ListFileSystems

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

ListFileSystems mocks base method

func (*MockAPI) ListSecrets

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

ListSecrets mocks base method

func (*MockAPI) ListStackParameters

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

ListStackParameters mocks base method

func (*MockAPI) ListStackResources

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

ListStackResources mocks base method

func (*MockAPI) ListStackServices

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

ListStackServices mocks base method

func (*MockAPI) ListStacks

func (m *MockAPI) ListStacks(arg0 context.Context) ([]compose.Stack, error)

ListStacks mocks base method

func (*MockAPI) ListTasks

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

ListTasks mocks base method

func (*MockAPI) ResolveCluster

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

ResolveCluster mocks base method

func (*MockAPI) ResolveFileSystem

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

ResolveFileSystem mocks base method

func (*MockAPI) ResolveLoadBalancer

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

ResolveLoadBalancer mocks base method

func (*MockAPI) SecurityGroupExists

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

SecurityGroupExists mocks base method

func (*MockAPI) StackExists

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

StackExists mocks base method

func (*MockAPI) UpdateStack

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

UpdateStack 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) CheckRequirements

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

CheckRequirements indicates an expected call of CheckRequirements

func (*MockAPIMockRecorder) CheckVPC

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

CheckVPC indicates an expected call of CheckVPC

func (*MockAPIMockRecorder) CreateChangeSet

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

CreateChangeSet indicates an expected call of CreateChangeSet

func (*MockAPIMockRecorder) CreateCluster

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

CreateCluster indicates an expected call of CreateCluster

func (*MockAPIMockRecorder) CreateFileSystem

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

CreateFileSystem indicates an expected call of CreateFileSystem

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

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

DeleteAutoscalingGroup indicates an expected call of DeleteAutoscalingGroup

func (*MockAPIMockRecorder) DeleteCapacityProvider

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

DeleteCapacityProvider indicates an expected call of DeleteCapacityProvider

func (*MockAPIMockRecorder) DeleteFileSystem

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

DeleteFileSystem indicates an expected call of DeleteFileSystem

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

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

DescribeService indicates an expected call of DescribeService

func (*MockAPIMockRecorder) DescribeServiceTasks

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

DescribeServiceTasks indicates an expected call of DescribeServiceTasks

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

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

GetLoadBalancerURL indicates an expected call of GetLoadBalancerURL

func (*MockAPIMockRecorder) GetLogs

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

GetLogs indicates an expected call of GetLogs

func (*MockAPIMockRecorder) GetParameter

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

GetParameter indicates an expected call of GetParameter

func (*MockAPIMockRecorder) GetPublicIPs

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

GetPublicIPs indicates an expected call of GetPublicIPs

func (*MockAPIMockRecorder) GetRoleArn

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

GetRoleArn indicates an expected call of GetRoleArn

func (*MockAPIMockRecorder) GetServiceTaskDefinition

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

GetServiceTaskDefinition indicates an expected call of GetServiceTaskDefinition

func (*MockAPIMockRecorder) GetServiceTasks

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

GetServiceTasks indicates an expected call of GetServiceTasks

func (*MockAPIMockRecorder) GetStackClusterID

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

GetStackClusterID indicates an expected call of GetStackClusterID

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

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

GetTaskStoppedReason indicates an expected call of GetTaskStoppedReason

func (*MockAPIMockRecorder) InspectSecret

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

InspectSecret indicates an expected call of InspectSecret

func (*MockAPIMockRecorder) IsPublicSubnet

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

IsPublicSubnet indicates an expected call of IsPublicSubnet

func (*MockAPIMockRecorder) ListFileSystems

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

ListFileSystems indicates an expected call of ListFileSystems

func (*MockAPIMockRecorder) ListSecrets

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

ListSecrets indicates an expected call of ListSecrets

func (*MockAPIMockRecorder) ListStackParameters

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

ListStackParameters indicates an expected call of ListStackParameters

func (*MockAPIMockRecorder) ListStackResources

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

ListStackResources indicates an expected call of ListStackResources

func (*MockAPIMockRecorder) ListStackServices

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

ListStackServices indicates an expected call of ListStackServices

func (*MockAPIMockRecorder) ListStacks

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

ListStacks indicates an expected call of ListStacks

func (*MockAPIMockRecorder) ListTasks

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

ListTasks indicates an expected call of ListTasks

func (*MockAPIMockRecorder) ResolveCluster

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

ResolveCluster indicates an expected call of ResolveCluster

func (*MockAPIMockRecorder) ResolveFileSystem

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

ResolveFileSystem indicates an expected call of ResolveFileSystem

func (*MockAPIMockRecorder) ResolveLoadBalancer

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

ResolveLoadBalancer indicates an expected call of ResolveLoadBalancer

func (*MockAPIMockRecorder) SecurityGroupExists

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

SecurityGroupExists indicates an expected call of SecurityGroupExists

func (*MockAPIMockRecorder) StackExists

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

StackExists indicates an expected call of StackExists

func (*MockAPIMockRecorder) UpdateStack

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

UpdateStack indicates an expected call of UpdateStack

func (*MockAPIMockRecorder) WaitStackComplete

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

WaitStackComplete indicates an expected call of WaitStackComplete

type PolicyDocument

type PolicyDocument struct {
	Version   string            `json:",omitempty"`
	Statement []PolicyStatement `json:",omitempty"`
}

PolicyDocument describes an IAM policy document could alternatively depend on https://github.com/kubernetes-sigs/cluster-api-provider-aws/blob/master/cmd/clusterawsadm/api/iam/v1alpha1/types.go

type PolicyPrincipal

type PolicyPrincipal struct {
	Service string `json:",omitempty"`
}

PolicyPrincipal describes an IAM policy principal

type PolicyStatement

type PolicyStatement struct {
	Effect    string          `json:",omitempty"`
	Action    []string        `json:",omitempty"`
	Principal PolicyPrincipal `json:",omitempty"`
	Resource  []string        `json:",omitempty"`
	Condition Condition       `json:",omitempty"`
}

PolicyStatement describes an IAM policy statement

type VolumeCreateOptions

type VolumeCreateOptions struct {
	KmsKeyID                     string
	PerformanceMode              string
	ProvisionedThroughputInMibps float64
	ThroughputMode               string
}

VolumeCreateOptions hold EFS filesystem creation options

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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