Documentation ¶
Index ¶
- func SaveDevEnvData(config *entities.Config, cluster *entities.Cluster, devEnv *entities.DevEnv) (*string, error)
- type AWS
- func (a *AWS) CheckInstanceTypeValidity(stepper stepper.Stepper, instanceType string) error
- func (a *AWS) CreateCluster(stepper stepper.Stepper, config *entities.Config, cluster *entities.Cluster) error
- func (a *AWS) CreateDevEnv(stepper stepper.Stepper, config *entities.Config, cluster *entities.Cluster, ...) error
- func (a *AWS) CreateRecodeConfigStorage(stepper stepper.Stepper) error
- func (a *AWS) LookupRecodeConfig(stepper stepper.Stepper) (*entities.Config, error)
- func (a *AWS) RemoveCluster(stepper stepper.Stepper, config *entities.Config, cluster *entities.Cluster) error
- func (a *AWS) RemoveDevEnv(stepper stepper.Stepper, config *entities.Config, cluster *entities.Cluster, ...) error
- func (a *AWS) RemoveRecodeConfigStorage(stepper stepper.Stepper) error
- func (a *AWS) RestoreDevEnvData(config *entities.Config, cluster *entities.Cluster, devEnv *entities.DevEnv) (*string, error)
- func (a *AWS) SaveRecodeConfig(stepper stepper.Stepper, config *entities.Config) error
- func (a *AWS) StartDevEnv(stepper stepper.Stepper, config *entities.Config, cluster *entities.Cluster, ...) error
- func (a *AWS) StopDevEnv(stepper stepper.Stepper, config *entities.Config, cluster *entities.Cluster, ...) error
- type Builder
- type ClusterInfrastructure
- type DevEnvInfrastructure
- type ErrInvalidInstanceType
- type ErrInvalidInstanceTypeArch
- type UserConfigLoader
- type UserConfigResolver
- type UserConfigValidator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AWS ¶
type AWS struct {
// contains filtered or unexported fields
}
func (*AWS) CheckInstanceTypeValidity ¶
func (*AWS) CreateCluster ¶
func (*AWS) CreateDevEnv ¶
func (*AWS) CreateRecodeConfigStorage ¶
func (*AWS) LookupRecodeConfig ¶
func (*AWS) RemoveCluster ¶
func (*AWS) RemoveDevEnv ¶
func (*AWS) RemoveRecodeConfigStorage ¶
func (*AWS) RestoreDevEnvData ¶
func (*AWS) SaveRecodeConfig ¶
func (*AWS) StartDevEnv ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func NewBuilder ¶
func NewBuilder( userConfigResolver UserConfigResolver, userConfigValidator UserConfigValidator, userConfigLoader UserConfigLoader, ) Builder
type ClusterInfrastructure ¶
type ClusterInfrastructure struct { VPC *infrastructure.VPC `json:"vpc"` InternetGateway *infrastructure.InternetGateway `json:"internet_gateway"` Subnet *infrastructure.Subnet `json:"subnet"` RouteTable *infrastructure.RouteTable `json:"route_table"` Route *infrastructure.Route `json:"route"` }
type DevEnvInfrastructure ¶
type DevEnvInfrastructure struct { SecurityGroup *infrastructure.SecurityGroup `json:"security_group"` KeyPair *infrastructure.KeyPair `json:"key_pair"` NetworkInterface *infrastructure.NetworkInterface `json:"network_interface"` InstanceTypeInfos *infrastructure.InstanceTypeInfos `json:"instance_type_infos"` InstanceAMI *infrastructure.AMI `json:"instance_ami"` Instance *infrastructure.Instance `json:"instance"` }
type ErrInvalidInstanceType ¶
func (ErrInvalidInstanceType) Error ¶
func (ErrInvalidInstanceType) Error() string
type ErrInvalidInstanceTypeArch ¶
func (ErrInvalidInstanceTypeArch) Error ¶
func (ErrInvalidInstanceTypeArch) Error() string
type UserConfigLoader ¶
type UserConfigLoader interface {
Load(userConfig *userconfig.Config) (aws.Config, error)
}
type UserConfigResolver ¶
type UserConfigResolver interface {
Resolve() (*userconfig.Config, error)
}
type UserConfigValidator ¶
type UserConfigValidator interface {
Validate(userConfig *userconfig.Config) error
}
Click to show internal directories.
Click to hide internal directories.