ecs

package
v1.0.35 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 95 Imported by: 0

Documentation

Overview

Package ecs is a generated GoMock package.

Index

Constants

View Source
const UserAgentName = "Docker CLI"

UserAgentName is the ECS specific user agent used by the cli

Variables

This section is empty.

Functions

This section is empty.

Types

type API added in v0.1.21

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 Condition added in v0.1.23

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 ContextParams

type ContextParams struct {
	Name         string
	Description  string
	AccessKey    string
	SecretKey    string
	Profile      string
	Region       string
	CredsFromEnv bool
}

ContextParams options for creating AWS context

type MockAPI added in v0.1.21

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

MockAPI is a mock of API interface

func NewMockAPI added in v0.1.21

func NewMockAPI(ctrl *gomock.Controller) *MockAPI

NewMockAPI creates a new mock instance

func (*MockAPI) CheckRequirements added in v0.1.21

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

CheckRequirements mocks base method

func (*MockAPI) CheckVPC added in v0.1.21

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

CheckVPC mocks base method

func (*MockAPI) CreateChangeSet added in v0.1.21

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

CreateChangeSet mocks base method

func (*MockAPI) CreateCluster added in v0.1.21

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

CreateCluster mocks base method

func (*MockAPI) CreateFileSystem added in v0.1.22

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

CreateFileSystem mocks base method

func (*MockAPI) CreateSecret added in v0.1.21

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

CreateSecret mocks base method

func (*MockAPI) CreateStack added in v0.1.21

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

CreateStack mocks base method

func (*MockAPI) DeleteAutoscalingGroup added in v0.1.21

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

DeleteAutoscalingGroup mocks base method

func (*MockAPI) DeleteCapacityProvider added in v0.1.21

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

DeleteCapacityProvider mocks base method

func (*MockAPI) DeleteFileSystem added in v0.1.22

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

DeleteFileSystem mocks base method

func (*MockAPI) DeleteSecret added in v0.1.21

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

DeleteSecret mocks base method

func (*MockAPI) DeleteStack added in v0.1.21

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

DeleteStack mocks base method

func (*MockAPI) DescribeService added in v0.1.21

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

DescribeService mocks base method

func (*MockAPI) DescribeServiceTasks added in v1.0.5

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

DescribeServiceTasks mocks base method

func (*MockAPI) DescribeStackEvents added in v0.1.21

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

DescribeStackEvents mocks base method

func (*MockAPI) EXPECT added in v0.1.21

func (m *MockAPI) EXPECT() *MockAPIMockRecorder

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

func (*MockAPI) GetDefaultVPC added in v0.1.21

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

GetDefaultVPC mocks base method

func (*MockAPI) GetLoadBalancerURL added in v0.1.21

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

GetLoadBalancerURL mocks base method

func (*MockAPI) GetLogs added in v0.1.21

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

GetLogs mocks base method

func (*MockAPI) GetParameter added in v0.1.21

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

GetParameter mocks base method

func (*MockAPI) GetPublicIPs added in v0.1.21

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

GetPublicIPs mocks base method

func (*MockAPI) GetRoleArn added in v0.1.21

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

GetRoleArn mocks base method

func (*MockAPI) GetServiceTaskDefinition added in v0.1.21

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

GetServiceTaskDefinition mocks base method

func (*MockAPI) GetServiceTasks added in v0.1.21

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

GetServiceTasks mocks base method

func (*MockAPI) GetStackClusterID added in v0.1.21

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

GetStackClusterID mocks base method

func (*MockAPI) GetStackID added in v0.1.21

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

GetStackID mocks base method

func (*MockAPI) GetSubNets added in v0.1.21

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

GetSubNets mocks base method

func (*MockAPI) GetTaskStoppedReason added in v0.1.21

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

GetTaskStoppedReason mocks base method

func (*MockAPI) InspectSecret added in v0.1.21

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

InspectSecret mocks base method

func (*MockAPI) IsPublicSubnet added in v1.0.5

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

IsPublicSubnet mocks base method

func (*MockAPI) ListFileSystems added in v0.1.23

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

ListFileSystems mocks base method

func (*MockAPI) ListSecrets added in v0.1.21

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

ListSecrets mocks base method

func (*MockAPI) ListStackParameters added in v0.1.21

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

ListStackParameters mocks base method

func (*MockAPI) ListStackResources added in v0.1.21

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

ListStackResources mocks base method

func (*MockAPI) ListStackServices added in v0.1.21

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

ListStackServices mocks base method

func (*MockAPI) ListStacks added in v0.1.21

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

ListStacks mocks base method

func (*MockAPI) ListTasks added in v0.1.21

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

ListTasks mocks base method

func (*MockAPI) ResolveCluster added in v0.1.23

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

ResolveCluster mocks base method

func (*MockAPI) ResolveFileSystem added in v0.1.23

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

ResolveFileSystem mocks base method

func (*MockAPI) ResolveLoadBalancer added in v0.1.23

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

ResolveLoadBalancer mocks base method

func (*MockAPI) SecurityGroupExists added in v0.1.21

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

SecurityGroupExists mocks base method

func (*MockAPI) StackExists added in v0.1.21

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

StackExists mocks base method

func (*MockAPI) UpdateStack added in v0.1.21

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

UpdateStack mocks base method

func (*MockAPI) WaitStackComplete added in v0.1.21

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

WaitStackComplete mocks base method

type MockAPIMockRecorder added in v0.1.21

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

MockAPIMockRecorder is the mock recorder for MockAPI

func (*MockAPIMockRecorder) CheckRequirements added in v0.1.21

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

CheckRequirements indicates an expected call of CheckRequirements

func (*MockAPIMockRecorder) CheckVPC added in v0.1.21

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

CheckVPC indicates an expected call of CheckVPC

func (*MockAPIMockRecorder) CreateChangeSet added in v0.1.21

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

CreateChangeSet indicates an expected call of CreateChangeSet

func (*MockAPIMockRecorder) CreateCluster added in v0.1.21

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

CreateCluster indicates an expected call of CreateCluster

func (*MockAPIMockRecorder) CreateFileSystem added in v0.1.22

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

CreateFileSystem indicates an expected call of CreateFileSystem

func (*MockAPIMockRecorder) CreateSecret added in v0.1.21

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

CreateSecret indicates an expected call of CreateSecret

func (*MockAPIMockRecorder) CreateStack added in v0.1.21

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

CreateStack indicates an expected call of CreateStack

func (*MockAPIMockRecorder) DeleteAutoscalingGroup added in v0.1.21

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

DeleteAutoscalingGroup indicates an expected call of DeleteAutoscalingGroup

func (*MockAPIMockRecorder) DeleteCapacityProvider added in v0.1.21

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

DeleteCapacityProvider indicates an expected call of DeleteCapacityProvider

func (*MockAPIMockRecorder) DeleteFileSystem added in v0.1.22

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

DeleteFileSystem indicates an expected call of DeleteFileSystem

func (*MockAPIMockRecorder) DeleteSecret added in v0.1.21

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

DeleteSecret indicates an expected call of DeleteSecret

func (*MockAPIMockRecorder) DeleteStack added in v0.1.21

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

DeleteStack indicates an expected call of DeleteStack

func (*MockAPIMockRecorder) DescribeService added in v0.1.21

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

DescribeService indicates an expected call of DescribeService

func (*MockAPIMockRecorder) DescribeServiceTasks added in v1.0.5

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

DescribeServiceTasks indicates an expected call of DescribeServiceTasks

func (*MockAPIMockRecorder) DescribeStackEvents added in v0.1.21

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

DescribeStackEvents indicates an expected call of DescribeStackEvents

func (*MockAPIMockRecorder) GetDefaultVPC added in v0.1.21

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

GetDefaultVPC indicates an expected call of GetDefaultVPC

func (*MockAPIMockRecorder) GetLoadBalancerURL added in v0.1.21

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

GetLoadBalancerURL indicates an expected call of GetLoadBalancerURL

func (*MockAPIMockRecorder) GetLogs added in v0.1.21

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

GetLogs indicates an expected call of GetLogs

func (*MockAPIMockRecorder) GetParameter added in v0.1.21

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

GetParameter indicates an expected call of GetParameter

func (*MockAPIMockRecorder) GetPublicIPs added in v0.1.21

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

GetPublicIPs indicates an expected call of GetPublicIPs

func (*MockAPIMockRecorder) GetRoleArn added in v0.1.21

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

GetRoleArn indicates an expected call of GetRoleArn

func (*MockAPIMockRecorder) GetServiceTaskDefinition added in v0.1.21

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

GetServiceTaskDefinition indicates an expected call of GetServiceTaskDefinition

func (*MockAPIMockRecorder) GetServiceTasks added in v0.1.21

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

GetServiceTasks indicates an expected call of GetServiceTasks

func (*MockAPIMockRecorder) GetStackClusterID added in v0.1.21

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

GetStackClusterID indicates an expected call of GetStackClusterID

func (*MockAPIMockRecorder) GetStackID added in v0.1.21

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

GetStackID indicates an expected call of GetStackID

func (*MockAPIMockRecorder) GetSubNets added in v0.1.21

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

GetSubNets indicates an expected call of GetSubNets

func (*MockAPIMockRecorder) GetTaskStoppedReason added in v0.1.21

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

GetTaskStoppedReason indicates an expected call of GetTaskStoppedReason

func (*MockAPIMockRecorder) InspectSecret added in v0.1.21

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

InspectSecret indicates an expected call of InspectSecret

func (*MockAPIMockRecorder) IsPublicSubnet added in v1.0.5

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

IsPublicSubnet indicates an expected call of IsPublicSubnet

func (*MockAPIMockRecorder) ListFileSystems added in v0.1.23

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

ListFileSystems indicates an expected call of ListFileSystems

func (*MockAPIMockRecorder) ListSecrets added in v0.1.21

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

ListSecrets indicates an expected call of ListSecrets

func (*MockAPIMockRecorder) ListStackParameters added in v0.1.21

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

ListStackParameters indicates an expected call of ListStackParameters

func (*MockAPIMockRecorder) ListStackResources added in v0.1.21

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

ListStackResources indicates an expected call of ListStackResources

func (*MockAPIMockRecorder) ListStackServices added in v0.1.21

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

ListStackServices indicates an expected call of ListStackServices

func (*MockAPIMockRecorder) ListStacks added in v0.1.21

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

ListStacks indicates an expected call of ListStacks

func (*MockAPIMockRecorder) ListTasks added in v0.1.21

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

ListTasks indicates an expected call of ListTasks

func (*MockAPIMockRecorder) ResolveCluster added in v0.1.23

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

ResolveCluster indicates an expected call of ResolveCluster

func (*MockAPIMockRecorder) ResolveFileSystem added in v0.1.23

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

ResolveFileSystem indicates an expected call of ResolveFileSystem

func (*MockAPIMockRecorder) ResolveLoadBalancer added in v0.1.23

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

ResolveLoadBalancer indicates an expected call of ResolveLoadBalancer

func (*MockAPIMockRecorder) SecurityGroupExists added in v0.1.21

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

SecurityGroupExists indicates an expected call of SecurityGroupExists

func (*MockAPIMockRecorder) StackExists added in v0.1.21

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

StackExists indicates an expected call of StackExists

func (*MockAPIMockRecorder) UpdateStack added in v0.1.21

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

UpdateStack indicates an expected call of UpdateStack

func (*MockAPIMockRecorder) WaitStackComplete added in v0.1.21

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 added in v0.1.23

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