Documentation ¶
Index ¶
- func New(accessKey, secretKey string) gateway.Platform
- type PlatformAwsEcsGateway
- func (g *PlatformAwsEcsGateway) CreateNode(ctx context.Context, id node.Identifier, tid tailnet.DeviceName, ...) (node.PlatformIdentifier, error)
- func (g *PlatformAwsEcsGateway) DeleteNode(ctx context.Context, node *node.Node) error
- func (g *PlatformAwsEcsGateway) GetStatus(ctx context.Context, n *node.Node) (node.Status, error)
- func (g *PlatformAwsEcsGateway) StartNode(ctx context.Context, node *node.Node) error
- func (g *PlatformAwsEcsGateway) StopNode(ctx context.Context, node *node.Node) error
- type PlatformAwsEcsGatewayOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PlatformAwsEcsGateway ¶
type PlatformAwsEcsGateway struct { *platform_aws.BasePlatformAws // contains filtered or unexported fields }
func (*PlatformAwsEcsGateway) CreateNode ¶
func (g *PlatformAwsEcsGateway) CreateNode(ctx context.Context, id node.Identifier, tid tailnet.DeviceName, loc provider.Location, tcs tailnet.ControlServer, key tailnet.PreauthKey, size node.Size) (node.PlatformIdentifier, error)
func (*PlatformAwsEcsGateway) DeleteNode ¶
DeleteNode deletes all resources specific to the given node. If a resource doesn't generate a direct cost, if an error occurs it is logged and the process continues.
type PlatformAwsEcsGatewayOptions ¶
type PlatformAwsEcsGatewayOptions func(*PlatformAwsEcsGateway)
func WithKeyPair ¶
func WithKeyPair(accessKey, secretKey string) PlatformAwsEcsGatewayOptions
Click to show internal directories.
Click to hide internal directories.