Documentation ¶
Index ¶
- Constants
- Variables
- func FindExternalIP() (string, error)
- func FindOutboundIP(ctx context.Context, findExternalIP func() (string, error)) (string, error)
- func GetEC2(cfg steps.AWSConfig) (ec2iface.EC2API, error)
- func GetELB(cfg steps.AWSConfig) (*elb.ELB, error)
- func GetIAM(cfg steps.AWSConfig) (iamiface.IAMAPI, error)
- func InitAssociateRouteTable(ec2fn GetEC2Fn)
- func InitCreateInstanceProfiles(iamfn GetIAMFn)
- func InitCreateInternetGateway(ec2fn GetEC2Fn)
- func InitCreateLoadBalancer(getELBFn GetELBFn)
- func InitCreateMachine(ec2fn GetEC2Fn)
- func InitCreateRouteTable(ec2fn GetEC2Fn)
- func InitCreateSecurityGroups(fn GetEC2Fn)
- func InitCreateSubnet(fn GetEC2Fn, accSvc *account.Service)
- func InitCreateTagsStep(ec2fn GetEC2Fn)
- func InitCreateVPC(fn GetEC2Fn)
- func InitDeleteClusterMachines(fn GetEC2Fn)
- func InitDeleteInternetGateWay(fn GetEC2Fn)
- func InitDeleteKeyPair(fn GetEC2Fn)
- func InitDeleteLoadBalancer(getELBFn GetELBFn)
- func InitDeleteNode(fn GetEC2Fn)
- func InitDeleteRouteTable(fn GetEC2Fn)
- func InitDeleteSecurityGroup(fn GetEC2Fn)
- func InitDeleteSubnets(fn GetEC2Fn)
- func InitDeleteVPC(fn GetEC2Fn)
- func InitDisassociateRouteTable(fn GetEC2Fn)
- func InitFindAMI(fn GetEC2Fn)
- func InitImportClusterStep(fn GetEC2Fn)
- func InitImportInternetGatewayStep(fn GetEC2Fn)
- func InitImportKeyPair(fn GetEC2Fn)
- func InitImportRouteTablesStep(fn GetEC2Fn)
- func InitImportSubnetDescriber(fn GetEC2Fn)
- func InitRegisterInstance(getELBFn GetELBFn)
- type AssociateRouteTableStep
- func (*AssociateRouteTableStep) Depends() []string
- func (*AssociateRouteTableStep) Description() string
- func (*AssociateRouteTableStep) Name() string
- func (s *AssociateRouteTableStep) Rollback(ctx context.Context, w io.Writer, cfg *steps.Config) error
- func (s *AssociateRouteTableStep) Run(ctx context.Context, w io.Writer, cfg *steps.Config) error
- type Associater
- type CreateInternetGatewayStep
- func (*CreateInternetGatewayStep) Depends() []string
- func (*CreateInternetGatewayStep) Description() string
- func (*CreateInternetGatewayStep) Name() string
- func (s *CreateInternetGatewayStep) Rollback(ctx context.Context, w io.Writer, cfg *steps.Config) error
- func (s *CreateInternetGatewayStep) Run(ctx context.Context, w io.Writer, cfg *steps.Config) error
- type CreateLoadBalancerStep
- func (s *CreateLoadBalancerStep) Depends() []string
- func (s *CreateLoadBalancerStep) Description() string
- func (s *CreateLoadBalancerStep) Name() string
- func (s *CreateLoadBalancerStep) Rollback(ctx context.Context, out io.Writer, cfg *steps.Config) error
- func (s *CreateLoadBalancerStep) Run(ctx context.Context, out io.Writer, cfg *steps.Config) error
- type CreateRouteTableStep
- func (*CreateRouteTableStep) Depends() []string
- func (*CreateRouteTableStep) Description() string
- func (*CreateRouteTableStep) Name() string
- func (s *CreateRouteTableStep) Rollback(ctx context.Context, w io.Writer, cfg *steps.Config) error
- func (s *CreateRouteTableStep) Run(ctx context.Context, w io.Writer, cfg *steps.Config) error
- type CreateSecurityGroupsStep
- func (*CreateSecurityGroupsStep) Depends() []string
- func (*CreateSecurityGroupsStep) Description() string
- func (*CreateSecurityGroupsStep) Name() string
- func (*CreateSecurityGroupsStep) Rollback(context.Context, io.Writer, *steps.Config) error
- func (s *CreateSecurityGroupsStep) Run(ctx context.Context, w io.Writer, cfg *steps.Config) error
- type CreateSubnetsStep
- func (*CreateSubnetsStep) Depends() []string
- func (*CreateSubnetsStep) Description() string
- func (*CreateSubnetsStep) Name() string
- func (*CreateSubnetsStep) Rollback(context.Context, io.Writer, *steps.Config) error
- func (s *CreateSubnetsStep) Run(ctx context.Context, w io.Writer, cfg *steps.Config) error
- type CreateTagsStep
- func (*CreateTagsStep) Depends() []string
- func (*CreateTagsStep) Description() string
- func (*CreateTagsStep) Name() string
- func (s *CreateTagsStep) Rollback(ctx context.Context, w io.Writer, cfg *steps.Config) error
- func (s *CreateTagsStep) Run(ctx context.Context, w io.Writer, cfg *steps.Config) error
- type CreateVPCStep
- type DeleteClusterMachines
- func (*DeleteClusterMachines) Depends() []string
- func (*DeleteClusterMachines) Description() string
- func (*DeleteClusterMachines) Name() string
- func (*DeleteClusterMachines) Rollback(context.Context, io.Writer, *steps.Config) error
- func (s *DeleteClusterMachines) Run(ctx context.Context, w io.Writer, cfg *steps.Config) error
- type DeleteInternetGateway
- func (*DeleteInternetGateway) Depends() []string
- func (*DeleteInternetGateway) Description() string
- func (*DeleteInternetGateway) Name() string
- func (*DeleteInternetGateway) Rollback(context.Context, io.Writer, *steps.Config) error
- func (s *DeleteInternetGateway) Run(ctx context.Context, w io.Writer, cfg *steps.Config) error
- type DeleteKeyPair
- type DeleteLoadBalancerStep
- func (s *DeleteLoadBalancerStep) Depends() []string
- func (s *DeleteLoadBalancerStep) Description() string
- func (s *DeleteLoadBalancerStep) Name() string
- func (s *DeleteLoadBalancerStep) Rollback(ctx context.Context, out io.Writer, cfg *steps.Config) error
- func (s *DeleteLoadBalancerStep) Run(ctx context.Context, out io.Writer, cfg *steps.Config) error
- type DeleteNodeStep
- type DeleteRouteTable
- func (*DeleteRouteTable) Depends() []string
- func (*DeleteRouteTable) Description() string
- func (*DeleteRouteTable) Name() string
- func (*DeleteRouteTable) Rollback(context.Context, io.Writer, *steps.Config) error
- func (s *DeleteRouteTable) Run(ctx context.Context, w io.Writer, cfg *steps.Config) error
- type DeleteSecurityGroup
- func (*DeleteSecurityGroup) Depends() []string
- func (*DeleteSecurityGroup) Description() string
- func (*DeleteSecurityGroup) Name() string
- func (*DeleteSecurityGroup) Rollback(context.Context, io.Writer, *steps.Config) error
- func (s *DeleteSecurityGroup) Run(ctx context.Context, w io.Writer, cfg *steps.Config) error
- type DeleteSubnets
- type DeleteVPC
- type DisassociateRouteTable
- func (*DisassociateRouteTable) Depends() []string
- func (*DisassociateRouteTable) Description() string
- func (*DisassociateRouteTable) Name() string
- func (*DisassociateRouteTable) Rollback(context.Context, io.Writer, *steps.Config) error
- func (s *DisassociateRouteTable) Run(ctx context.Context, w io.Writer, cfg *steps.Config) error
- type DisassociateService
- type FindAMIStep
- func (*FindAMIStep) Depends() []string
- func (*FindAMIStep) Description() string
- func (s *FindAMIStep) FindAMI(ctx context.Context, w io.Writer, finder ImageFinder, config *steps.Config) error
- func (*FindAMIStep) Name() string
- func (*FindAMIStep) Rollback(context.Context, io.Writer, *steps.Config) error
- func (s *FindAMIStep) Run(ctx context.Context, w io.Writer, cfg *steps.Config) error
- type GatewayDescriber
- type GetEC2Fn
- type GetELBFn
- type GetIAMFn
- type IGWDeleter
- type ImageFinder
- type ImportClusterStep
- func (s ImportClusterStep) Depends() []string
- func (s ImportClusterStep) Description() string
- func (s ImportClusterStep) Name() string
- func (s ImportClusterStep) Rollback(context.Context, io.Writer, *steps.Config) error
- func (s ImportClusterStep) Run(ctx context.Context, out io.Writer, cfg *steps.Config) error
- type ImportInternetGatewayStep
- func (s ImportInternetGatewayStep) Depends() []string
- func (s ImportInternetGatewayStep) Description() string
- func (s ImportInternetGatewayStep) Name() string
- func (s ImportInternetGatewayStep) Rollback(context.Context, io.Writer, *steps.Config) error
- func (s ImportInternetGatewayStep) Run(ctx context.Context, out io.Writer, cfg *steps.Config) error
- type ImportRouteTablesStep
- func (s ImportRouteTablesStep) Depends() []string
- func (s ImportRouteTablesStep) Description() string
- func (s ImportRouteTablesStep) Name() string
- func (s ImportRouteTablesStep) Rollback(context.Context, io.Writer, *steps.Config) error
- func (s ImportRouteTablesStep) Run(ctx context.Context, out io.Writer, cfg *steps.Config) error
- type ImportSubnetsStep
- func (s ImportSubnetsStep) Depends() []string
- func (s ImportSubnetsStep) Description() string
- func (s ImportSubnetsStep) Name() string
- func (s ImportSubnetsStep) Rollback(context.Context, io.Writer, *steps.Config) error
- func (s ImportSubnetsStep) Run(ctx context.Context, out io.Writer, cfg *steps.Config) error
- type InstanceDescriber
- type InternetGatewayCreater
- type KeyPairStep
- type KeyService
- type LoadBalancerCreater
- type LoadBalancerDeleter
- type LoadBalancerRegister
- type RegisterInstanceStep
- func (s *RegisterInstanceStep) Depends() []string
- func (s *RegisterInstanceStep) Description() string
- func (s *RegisterInstanceStep) Name() string
- func (s *RegisterInstanceStep) Rollback(ctx context.Context, out io.Writer, cfg *steps.Config) error
- func (s *RegisterInstanceStep) Run(ctx context.Context, out io.Writer, cfg *steps.Config) error
- type RouteTableDescriber
- type Service
- type StepCreateInstance
- func (*StepCreateInstance) Depends() []string
- func (*StepCreateInstance) Description() string
- func (*StepCreateInstance) Name() string
- func (s *StepCreateInstance) Rollback(ctx context.Context, w io.Writer, cfg *steps.Config) error
- func (s *StepCreateInstance) Run(ctx context.Context, w io.Writer, cfg *steps.Config) error
- type StepCreateInstanceProfiles
- func (StepCreateInstanceProfiles) Depends() []string
- func (StepCreateInstanceProfiles) Description() string
- func (StepCreateInstanceProfiles) Name() string
- func (s StepCreateInstanceProfiles) Rollback(ctx context.Context, w io.Writer, cfg *steps.Config) error
- func (s StepCreateInstanceProfiles) Run(ctx context.Context, w io.Writer, cfg *steps.Config) error
- type SubnetDescriber
- type TagService
Constants ¶
View Source
const DeleteClusterMachinesStepName = "aws_delete_cluster_machines"
View Source
const DeleteInternetGatewayStepName = "aws_delete_internet_gateway"
View Source
const DeleteKeyPairStepName = "aws_delete_key_pair"
View Source
const DeleteLoadBalancerStepName = "delete_load_balancer"
View Source
const DeleteNodeStepName = "aws_delete_node"
View Source
const DeleteRouteTableStepName = "aws_delete_route_table"
View Source
const DeleteSecurityGroupsStepName = "aws_delete_security_groups"
View Source
const DeleteSubnetsStepName = "aws_delete_subnets"
View Source
const DeleteVPCStepName = "aws_delete_vpc"
View Source
const DisassociateRouteTableStepName = "aws_disassociate_route_table"
View Source
const (
ImporRouteTablesStepName = "import_route_tables_aws"
)
View Source
const (
ImportClusterMachinesStepName = "import_cluster_machines_aws"
)
View Source
const (
ImportInternetGatewayStepName = "import_internet_gateway_aws"
)
View Source
const ImportKeyPairStepName = "aws_import_keypair_step"
View Source
const (
ImportSubnetsStepName = "import_subnets_aws"
)
View Source
const RegisterInstanceStepName = "register_instance"
View Source
const StepAssociateRouteTable = "associate_route_table"
View Source
const StepCreateInternetGateway = "create_internet_gateway"
View Source
const StepCreateLoadBalancer = "create_load_balancer"
View Source
const StepCreateRouteTable = "create_route_table"
View Source
const StepCreateSecurityGroups = "create_security_groups_step"
View Source
const StepCreateSubnets = "create_subnet_steps"
View Source
const StepCreateTags = "create_tags"
View Source
const StepCreateVPC = "aws_create_vpc"
View Source
const StepFindAMI = "find_amazon_machine_image"
View Source
const (
StepNameCreateEC2Instance = "aws_create_instance"
)
View Source
const (
StepNameCreateInstanceProfiles = "aws_create_instance_profiles"
)
Variables ¶
View Source
var ( ErrReadVPC = errors.New("aws: can't read vpc info") ErrCreateVPC = errors.New("aws: create vpc") ErrAuthorization = errors.New("aws: authorization") ErrCreateSubnet = errors.New("aws: create subnet") ErrCreateInstance = errors.New("aws: create instance") ErrImportKeyPair = errors.New("aws: import keypair") ErrNoPublicIP = errors.New("aws: no public IP assigned") ErrDeleteCluster = errors.New("aws: delete cluster") ErrDeleteNode = errors.New("aws: delete node") )
View Source
var (
ErrEmptyResponse = errors.New("empty response")
)
Functions ¶
func FindExternalIP ¶
func FindOutboundIP ¶
func InitAssociateRouteTable ¶
func InitAssociateRouteTable(ec2fn GetEC2Fn)
InitAssociateRouteTable adds the step to the registry
func InitCreateInstanceProfiles ¶
func InitCreateInstanceProfiles(iamfn GetIAMFn)
func InitCreateInternetGateway ¶
func InitCreateInternetGateway(ec2fn GetEC2Fn)
InitCreateMachine adds the step to the registry
func InitCreateLoadBalancer ¶
func InitCreateLoadBalancer(getELBFn GetELBFn)
InitCreateMachine adds the step to the registry
func InitCreateMachine ¶
func InitCreateMachine(ec2fn GetEC2Fn)
InitCreateMachine adds the step to the registry
func InitCreateRouteTable ¶
func InitCreateRouteTable(ec2fn GetEC2Fn)
InitCreateRouteTable adds the step to the registry
func InitCreateSecurityGroups ¶
func InitCreateSecurityGroups(fn GetEC2Fn)
func InitCreateSubnet ¶
func InitCreateTagsStep ¶
func InitCreateTagsStep(ec2fn GetEC2Fn)
InitCreateRouteTable adds the step to the registry
func InitCreateVPC ¶
func InitCreateVPC(fn GetEC2Fn)
func InitDeleteClusterMachines ¶
func InitDeleteClusterMachines(fn GetEC2Fn)
func InitDeleteInternetGateWay ¶
func InitDeleteInternetGateWay(fn GetEC2Fn)
func InitDeleteKeyPair ¶
func InitDeleteKeyPair(fn GetEC2Fn)
func InitDeleteLoadBalancer ¶
func InitDeleteLoadBalancer(getELBFn GetELBFn)
InitCreateMachine adds the step to the registry
func InitDeleteNode ¶
func InitDeleteNode(fn GetEC2Fn)
func InitDeleteRouteTable ¶
func InitDeleteRouteTable(fn GetEC2Fn)
func InitDeleteSecurityGroup ¶
func InitDeleteSecurityGroup(fn GetEC2Fn)
func InitDeleteSubnets ¶
func InitDeleteSubnets(fn GetEC2Fn)
func InitDeleteVPC ¶
func InitDeleteVPC(fn GetEC2Fn)
func InitDisassociateRouteTable ¶
func InitDisassociateRouteTable(fn GetEC2Fn)
func InitFindAMI ¶
func InitFindAMI(fn GetEC2Fn)
func InitImportClusterStep ¶
func InitImportClusterStep(fn GetEC2Fn)
func InitImportInternetGatewayStep ¶
func InitImportInternetGatewayStep(fn GetEC2Fn)
func InitImportKeyPair ¶
func InitImportKeyPair(fn GetEC2Fn)
InitImportKeyPair add the step to the registry
func InitImportRouteTablesStep ¶
func InitImportRouteTablesStep(fn GetEC2Fn)
func InitImportSubnetDescriber ¶
func InitImportSubnetDescriber(fn GetEC2Fn)
func InitRegisterInstance ¶
func InitRegisterInstance(getELBFn GetELBFn)
InitCreateMachine adds the step to the registry
Types ¶
type AssociateRouteTableStep ¶
type AssociateRouteTableStep struct {
// contains filtered or unexported fields
}
func NewAssociateRouteTableStep ¶
func NewAssociateRouteTableStep(ec2fn GetEC2Fn) *AssociateRouteTableStep
func (*AssociateRouteTableStep) Depends ¶
func (*AssociateRouteTableStep) Depends() []string
func (*AssociateRouteTableStep) Description ¶
func (*AssociateRouteTableStep) Description() string
func (*AssociateRouteTableStep) Name ¶
func (*AssociateRouteTableStep) Name() string
type Associater ¶
type Associater interface {
AssociateRouteTable(*ec2.AssociateRouteTableInput) (*ec2.AssociateRouteTableOutput, error)
}
type CreateInternetGatewayStep ¶
type CreateInternetGatewayStep struct {
// contains filtered or unexported fields
}
func NewCreateInternetGatewayStep ¶
func NewCreateInternetGatewayStep(ec2fn GetEC2Fn) *CreateInternetGatewayStep
func (*CreateInternetGatewayStep) Depends ¶
func (*CreateInternetGatewayStep) Depends() []string
func (*CreateInternetGatewayStep) Description ¶
func (*CreateInternetGatewayStep) Description() string
func (*CreateInternetGatewayStep) Name ¶
func (*CreateInternetGatewayStep) Name() string
type CreateLoadBalancerStep ¶
type CreateLoadBalancerStep struct {
// contains filtered or unexported fields
}
func NewCreateLoadBalancerStep ¶
func NewCreateLoadBalancerStep(getELBFn GetELBFn) *CreateLoadBalancerStep
func (*CreateLoadBalancerStep) Depends ¶
func (s *CreateLoadBalancerStep) Depends() []string
func (*CreateLoadBalancerStep) Description ¶
func (s *CreateLoadBalancerStep) Description() string
func (*CreateLoadBalancerStep) Name ¶
func (s *CreateLoadBalancerStep) Name() string
type CreateRouteTableStep ¶
type CreateRouteTableStep struct { GetEC2 GetEC2Fn // contains filtered or unexported fields }
func NewCreateRouteTableStep ¶
func NewCreateRouteTableStep(ec2fn GetEC2Fn) *CreateRouteTableStep
func (*CreateRouteTableStep) Depends ¶
func (*CreateRouteTableStep) Depends() []string
func (*CreateRouteTableStep) Description ¶
func (*CreateRouteTableStep) Description() string
func (*CreateRouteTableStep) Name ¶
func (*CreateRouteTableStep) Name() string
type CreateSecurityGroupsStep ¶
type CreateSecurityGroupsStep struct {
// contains filtered or unexported fields
}
func NewCreateSecurityGroupsStep ¶
func NewCreateSecurityGroupsStep(fn GetEC2Fn) *CreateSecurityGroupsStep
func (*CreateSecurityGroupsStep) Depends ¶
func (*CreateSecurityGroupsStep) Depends() []string
func (*CreateSecurityGroupsStep) Description ¶
func (*CreateSecurityGroupsStep) Description() string
func (*CreateSecurityGroupsStep) Name ¶
func (*CreateSecurityGroupsStep) Name() string
type CreateSubnetsStep ¶
type CreateSubnetsStep struct {
// contains filtered or unexported fields
}
func NewCreateSubnetStep ¶
func NewCreateSubnetStep(fn GetEC2Fn, getter accountGetter) *CreateSubnetsStep
func (*CreateSubnetsStep) Depends ¶
func (*CreateSubnetsStep) Depends() []string
func (*CreateSubnetsStep) Description ¶
func (*CreateSubnetsStep) Description() string
func (*CreateSubnetsStep) Name ¶
func (*CreateSubnetsStep) Name() string
type CreateTagsStep ¶
type CreateTagsStep struct { GetEC2 GetEC2Fn // contains filtered or unexported fields }
func NewCreateTagsStep ¶
func NewCreateTagsStep(ec2fn GetEC2Fn) *CreateTagsStep
func (*CreateTagsStep) Depends ¶
func (*CreateTagsStep) Depends() []string
func (*CreateTagsStep) Description ¶
func (*CreateTagsStep) Description() string
func (*CreateTagsStep) Name ¶
func (*CreateTagsStep) Name() string
type CreateVPCStep ¶
type CreateVPCStep struct {
GetEC2 GetEC2Fn
}
CreateVPCStep represents creation of an virtual private cloud in AWS
func NewCreateVPCStep ¶
func NewCreateVPCStep(fn GetEC2Fn) *CreateVPCStep
func (*CreateVPCStep) Depends ¶
func (*CreateVPCStep) Depends() []string
func (*CreateVPCStep) Description ¶
func (*CreateVPCStep) Description() string
func (*CreateVPCStep) Name ¶
func (*CreateVPCStep) Name() string
type DeleteClusterMachines ¶
type DeleteClusterMachines struct { GetEC2 GetEC2Fn // contains filtered or unexported fields }
func NewDeleteClusterInstances ¶
func NewDeleteClusterInstances(fn GetEC2Fn) *DeleteClusterMachines
func (*DeleteClusterMachines) Depends ¶
func (*DeleteClusterMachines) Depends() []string
func (*DeleteClusterMachines) Description ¶
func (*DeleteClusterMachines) Description() string
func (*DeleteClusterMachines) Name ¶
func (*DeleteClusterMachines) Name() string
type DeleteInternetGateway ¶
type DeleteInternetGateway struct {
// contains filtered or unexported fields
}
func NewDeleteInernetGateway ¶
func NewDeleteInernetGateway(fn GetEC2Fn) *DeleteInternetGateway
func (*DeleteInternetGateway) Depends ¶
func (*DeleteInternetGateway) Depends() []string
func (*DeleteInternetGateway) Description ¶
func (*DeleteInternetGateway) Description() string
func (*DeleteInternetGateway) Name ¶
func (*DeleteInternetGateway) Name() string
type DeleteKeyPair ¶
type DeleteKeyPair struct { GetEC2 GetEC2Fn // contains filtered or unexported fields }
func NewDeleteKeyPairStep ¶
func NewDeleteKeyPairStep(fn GetEC2Fn) *DeleteKeyPair
func (*DeleteKeyPair) Depends ¶
func (*DeleteKeyPair) Depends() []string
func (*DeleteKeyPair) Description ¶
func (*DeleteKeyPair) Description() string
func (*DeleteKeyPair) Name ¶
func (*DeleteKeyPair) Name() string
type DeleteLoadBalancerStep ¶
type DeleteLoadBalancerStep struct {
// contains filtered or unexported fields
}
func NewDeleteLoadBalancerStep ¶
func NewDeleteLoadBalancerStep(getELBFn GetELBFn) *DeleteLoadBalancerStep
func (*DeleteLoadBalancerStep) Depends ¶
func (s *DeleteLoadBalancerStep) Depends() []string
func (*DeleteLoadBalancerStep) Description ¶
func (s *DeleteLoadBalancerStep) Description() string
func (*DeleteLoadBalancerStep) Name ¶
func (s *DeleteLoadBalancerStep) Name() string
type DeleteNodeStep ¶
type DeleteNodeStep struct {
// contains filtered or unexported fields
}
func NewDeleteNode ¶
func NewDeleteNode(fn GetEC2Fn) *DeleteNodeStep
func (*DeleteNodeStep) Depends ¶
func (*DeleteNodeStep) Depends() []string
func (*DeleteNodeStep) Description ¶
func (*DeleteNodeStep) Description() string
func (*DeleteNodeStep) Name ¶
func (*DeleteNodeStep) Name() string
type DeleteRouteTable ¶
type DeleteRouteTable struct {
// contains filtered or unexported fields
}
func NewDeleteRouteTableStep ¶
func NewDeleteRouteTableStep(fn GetEC2Fn) *DeleteRouteTable
func (*DeleteRouteTable) Depends ¶
func (*DeleteRouteTable) Depends() []string
func (*DeleteRouteTable) Description ¶
func (*DeleteRouteTable) Description() string
func (*DeleteRouteTable) Name ¶
func (*DeleteRouteTable) Name() string
type DeleteSecurityGroup ¶
type DeleteSecurityGroup struct {
// contains filtered or unexported fields
}
func NewDeleteSecurityGroupService ¶
func NewDeleteSecurityGroupService(fn GetEC2Fn) *DeleteSecurityGroup
func (*DeleteSecurityGroup) Depends ¶
func (*DeleteSecurityGroup) Depends() []string
func (*DeleteSecurityGroup) Description ¶
func (*DeleteSecurityGroup) Description() string
func (*DeleteSecurityGroup) Name ¶
func (*DeleteSecurityGroup) Name() string
type DeleteSubnets ¶
type DeleteSubnets struct { GetEC2 GetEC2Fn // contains filtered or unexported fields }
func NewDeleteSubnets ¶
func NewDeleteSubnets(fn GetEC2Fn) *DeleteSubnets
func (*DeleteSubnets) Depends ¶
func (*DeleteSubnets) Depends() []string
func (*DeleteSubnets) Description ¶
func (*DeleteSubnets) Description() string
func (*DeleteSubnets) Name ¶
func (*DeleteSubnets) Name() string
type DeleteVPC ¶
type DeleteVPC struct { GetEC2 GetEC2Fn // contains filtered or unexported fields }
func NewDeleteVPC ¶
func (*DeleteVPC) Description ¶
type DisassociateRouteTable ¶
type DisassociateRouteTable struct {
// contains filtered or unexported fields
}
func NewDisassociateRouteTableStep ¶
func NewDisassociateRouteTableStep(fn GetEC2Fn) *DisassociateRouteTable
func (*DisassociateRouteTable) Depends ¶
func (*DisassociateRouteTable) Depends() []string
func (*DisassociateRouteTable) Description ¶
func (*DisassociateRouteTable) Description() string
func (*DisassociateRouteTable) Name ¶
func (*DisassociateRouteTable) Name() string
type DisassociateService ¶
type DisassociateService interface {
DisassociateRouteTable(*ec2.DisassociateRouteTableInput) (*ec2.DisassociateRouteTableOutput, error)
}
type FindAMIStep ¶
type FindAMIStep struct {
// contains filtered or unexported fields
}
func NewFindAMIStep ¶
func NewFindAMIStep(fn GetEC2Fn) *FindAMIStep
func (*FindAMIStep) Depends ¶
func (*FindAMIStep) Depends() []string
func (*FindAMIStep) Description ¶
func (*FindAMIStep) Description() string
func (*FindAMIStep) FindAMI ¶
func (s *FindAMIStep) FindAMI(ctx context.Context, w io.Writer, finder ImageFinder, config *steps.Config) error
func (*FindAMIStep) Name ¶
func (*FindAMIStep) Name() string
type GatewayDescriber ¶
type GatewayDescriber interface {
DescribeInternetGateways(*ec2.DescribeInternetGatewaysInput) (*ec2.DescribeInternetGatewaysOutput, error)
}
type IGWDeleter ¶
type IGWDeleter interface { DetachInternetGateway(*ec2.DetachInternetGatewayInput) (*ec2.DetachInternetGatewayOutput, error) DeleteInternetGateway(*ec2.DeleteInternetGatewayInput) (*ec2.DeleteInternetGatewayOutput, error) }
type ImageFinder ¶
type ImageFinder interface { DescribeImagesWithContext(aws.Context, *ec2.DescribeImagesInput, ...request.Option) (*ec2.DescribeImagesOutput, error) }
type ImportClusterStep ¶
type ImportClusterStep struct {
// contains filtered or unexported fields
}
func NewImportClusterStep ¶
func NewImportClusterStep(fn GetEC2Fn) *ImportClusterStep
func (ImportClusterStep) Depends ¶
func (s ImportClusterStep) Depends() []string
func (ImportClusterStep) Description ¶
func (s ImportClusterStep) Description() string
func (ImportClusterStep) Name ¶
func (s ImportClusterStep) Name() string
type ImportInternetGatewayStep ¶
type ImportInternetGatewayStep struct {
// contains filtered or unexported fields
}
func NewImportInternetGatewayStep ¶
func NewImportInternetGatewayStep(fn GetEC2Fn) *ImportInternetGatewayStep
func (ImportInternetGatewayStep) Depends ¶
func (s ImportInternetGatewayStep) Depends() []string
func (ImportInternetGatewayStep) Description ¶
func (s ImportInternetGatewayStep) Description() string
func (ImportInternetGatewayStep) Name ¶
func (s ImportInternetGatewayStep) Name() string
type ImportRouteTablesStep ¶
type ImportRouteTablesStep struct {
// contains filtered or unexported fields
}
func NewImportRouteTablesStep ¶
func NewImportRouteTablesStep(fn GetEC2Fn) *ImportRouteTablesStep
func (ImportRouteTablesStep) Depends ¶
func (s ImportRouteTablesStep) Depends() []string
func (ImportRouteTablesStep) Description ¶
func (s ImportRouteTablesStep) Description() string
func (ImportRouteTablesStep) Name ¶
func (s ImportRouteTablesStep) Name() string
type ImportSubnetsStep ¶
type ImportSubnetsStep struct {
// contains filtered or unexported fields
}
func NewImportSubnetsStep ¶
func NewImportSubnetsStep(fn GetEC2Fn) *ImportSubnetsStep
func (ImportSubnetsStep) Depends ¶
func (s ImportSubnetsStep) Depends() []string
func (ImportSubnetsStep) Description ¶
func (s ImportSubnetsStep) Description() string
func (ImportSubnetsStep) Name ¶
func (s ImportSubnetsStep) Name() string
type InstanceDescriber ¶
type InstanceDescriber interface { DescribeInstancesWithContext(aws.Context, *ec2.DescribeInstancesInput, ...request.Option) (*ec2.DescribeInstancesOutput, error) DescribeSecurityGroups(*ec2.DescribeSecurityGroupsInput) (*ec2.DescribeSecurityGroupsOutput, error) CreateTags(*ec2.CreateTagsInput) (*ec2.CreateTagsOutput, error) }
type InternetGatewayCreater ¶
type InternetGatewayCreater interface { CreateInternetGateway(*ec2.CreateInternetGatewayInput) (*ec2.CreateInternetGatewayOutput, error) CreateTags(*ec2.CreateTagsInput) (*ec2.CreateTagsOutput, error) AttachInternetGateway(*ec2.AttachInternetGatewayInput) (*ec2.AttachInternetGatewayOutput, error) }
type KeyPairStep ¶
type KeyPairStep struct { GetEC2 GetEC2Fn // contains filtered or unexported fields }
KeyPairStep represents creation of keypair in aws since there is hard cap on keypairs per account supergiant will create one per cluster
func NewImportKeyPairStep ¶
func NewImportKeyPairStep(fn GetEC2Fn) *KeyPairStep
func (*KeyPairStep) Depends ¶
func (*KeyPairStep) Depends() []string
func (*KeyPairStep) Description ¶
func (*KeyPairStep) Description() string
func (*KeyPairStep) Name ¶
func (*KeyPairStep) Name() string
type KeyService ¶
type KeyService interface {
DeleteKeyPair(*ec2.DeleteKeyPairInput) (*ec2.DeleteKeyPairOutput, error)
}
type LoadBalancerCreater ¶
type LoadBalancerCreater interface { CreateLoadBalancerWithContext(aws.Context, *elb.CreateLoadBalancerInput, ...request.Option) (*elb.CreateLoadBalancerOutput, error) ConfigureHealthCheck(*elb.ConfigureHealthCheckInput) (*elb.ConfigureHealthCheckOutput, error) }
type LoadBalancerDeleter ¶
type LoadBalancerDeleter interface {
DeleteLoadBalancerWithContext(aws.Context, *elb.DeleteLoadBalancerInput, ...request.Option) (*elb.DeleteLoadBalancerOutput, error)
}
type LoadBalancerRegister ¶
type LoadBalancerRegister interface {
RegisterInstancesWithLoadBalancerWithContext(aws.Context, *elb.RegisterInstancesWithLoadBalancerInput, ...request.Option) (*elb.RegisterInstancesWithLoadBalancerOutput, error)
}
type RegisterInstanceStep ¶
type RegisterInstanceStep struct {
// contains filtered or unexported fields
}
func NewRegisterInstanceStep ¶
func NewRegisterInstanceStep(getELBFn GetELBFn) *RegisterInstanceStep
func (*RegisterInstanceStep) Depends ¶
func (s *RegisterInstanceStep) Depends() []string
func (*RegisterInstanceStep) Description ¶
func (s *RegisterInstanceStep) Description() string
func (*RegisterInstanceStep) Name ¶
func (s *RegisterInstanceStep) Name() string
type RouteTableDescriber ¶
type RouteTableDescriber interface {
DescribeRouteTablesWithContext(aws.Context, *ec2.DescribeRouteTablesInput, ...request.Option) (*ec2.DescribeRouteTablesOutput, error)
}
type Service ¶
type Service interface { CreateRouteTable(*ec2.CreateRouteTableInput) (*ec2.CreateRouteTableOutput, error) CreateTags(*ec2.CreateTagsInput) (*ec2.CreateTagsOutput, error) CreateRoute(*ec2.CreateRouteInput) (*ec2.CreateRouteOutput, error) }
type StepCreateInstance ¶
type StepCreateInstance struct {
// contains filtered or unexported fields
}
func NewCreateInstance ¶
func NewCreateInstance(ec2fn GetEC2Fn) *StepCreateInstance
func (*StepCreateInstance) Depends ¶
func (*StepCreateInstance) Depends() []string
func (*StepCreateInstance) Description ¶
func (*StepCreateInstance) Description() string
func (*StepCreateInstance) Name ¶
func (*StepCreateInstance) Name() string
type StepCreateInstanceProfiles ¶
type StepCreateInstanceProfiles struct {
GetIAM GetIAMFn
}
func NewCreateInstanceProfiles ¶
func NewCreateInstanceProfiles(iamfn GetIAMFn) *StepCreateInstanceProfiles
func (StepCreateInstanceProfiles) Depends ¶
func (StepCreateInstanceProfiles) Depends() []string
func (StepCreateInstanceProfiles) Description ¶
func (StepCreateInstanceProfiles) Description() string
func (StepCreateInstanceProfiles) Name ¶
func (StepCreateInstanceProfiles) Name() string
type SubnetDescriber ¶
type SubnetDescriber interface {
DescribeSubnets(*ec2.DescribeSubnetsInput) (*ec2.DescribeSubnetsOutput, error)
}
type TagService ¶
type TagService interface {
CreateTags(*ec2.CreateTagsInput) (*ec2.CreateTagsOutput, error)
}
Source Files ¶
- associate_route_table.go
- common.go
- create_instance_profiles.go
- create_internet_gateway.go
- create_load_balancer.go
- create_machine.go
- create_route_table.go
- create_security_groups.go
- create_subnet.go
- create_tags.go
- create_vpc.go
- delete_cluster_machines.go
- delete_internet_gateway.go
- delete_key_pair.go
- delete_load_balancer.go
- delete_machine.go
- delete_route_table.go
- delete_security_groups.go
- delete_subnets.go
- delete_vpc.go
- disassociate_route_table.go
- errors.go
- find_ami.go
- import_cluster_machines.go
- import_internet_gateways.go
- import_keypair.go
- import_route_table.go
- import_subnets.go
- register_instance_to_lb.go
- util.go
Click to show internal directories.
Click to hide internal directories.