Documentation ¶
Index ¶
- Variables
- type ChangeSet
- type Config
- type Session
- func (session *Session) Delete()
- func (session *Session) Deploy(parameters *provideTypes.DeployParameters)
- func (session *Session) DescribeService(serviceArn string, clusterName string) (*ecs.DescribeServicesResponse, error)
- func (session *Session) GetComputeConfig() Config
- func (session *Session) GetKeyPairName() string
- func (session *Session) Initialise(parameters *types.InitialisationParameters)
- func (session *Session) NewSsmSession() *SsmSession
- func (session *Session) Start(parameters *types.StartParameters)
- func (session *Session) Stop()
- type SsmSession
- type Stack
- func (stack *Stack) Create(stackFileName string, parameters []cloudformation.Parameter) error
- func (stack *Stack) CreateChangeSet(name string, changesetType cloudformation.ChangeSetType, templateBody string, ...) *ChangeSet
- func (stack *Stack) Delete() *string
- func (stack *Stack) Describe() (description *cloudformation.Stack, err error)
- func (stack *Stack) GetEvents(opToken string) (events []cloudformation.StackEvent, err error)
- func (stack *Stack) Update(stackFileName string, parameters []cloudformation.Parameter) error
- type StackUpdateCompletion
- type Template
Constants ¶
This section is empty.
Variables ¶
View Source
var ChangeSetCompletionStatuses = []cloudformation.ChangeSetStatus{ cloudformation.ChangeSetStatusDeleteComplete, cloudformation.ChangeSetStatusCreateComplete, cloudformation.ChangeSetStatusFailed, }
Functions ¶
This section is empty.
Types ¶
type ChangeSet ¶
type ChangeSet struct {
// contains filtered or unexported fields
}
func (*ChangeSet) Describe ¶
func (changeset *ChangeSet) Describe() *cloudformation.DescribeChangeSetResponse
func (*ChangeSet) SendExecuteRequest ¶
func (*ChangeSet) WaitTillExecutable ¶
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
func CreateAwsSession ¶
func NewSession ¶
func (*Session) Deploy ¶
func (session *Session) Deploy(parameters *provideTypes.DeployParameters)
Deploy builds, publish image and deploy service
func (*Session) DescribeService ¶
func (*Session) GetComputeConfig ¶
func (*Session) GetKeyPairName ¶
func (*Session) Initialise ¶
func (session *Session) Initialise(parameters *types.InitialisationParameters)
func (*Session) NewSsmSession ¶
func (session *Session) NewSsmSession() *SsmSession
func (*Session) Start ¶
func (session *Session) Start(parameters *types.StartParameters)
Start starts up the required compute and public interface
type SsmSession ¶
type SsmSession struct {
// contains filtered or unexported fields
}
func (*SsmSession) GetParameterValue ¶ added in v0.0.2
func (session *SsmSession) GetParameterValue(name string) (value *string, err error)
func (*SsmSession) SaveParameter ¶ added in v0.0.2
func (session *SsmSession) SaveParameter(name string, value string) (version *int64, err error)
type Stack ¶
type Stack struct {
// contains filtered or unexported fields
}
func (*Stack) Create ¶
func (stack *Stack) Create(stackFileName string, parameters []cloudformation.Parameter) error
Create creates stack, reports success if successfully create as well as if it already exist This function waits for completion
func (*Stack) CreateChangeSet ¶
func (stack *Stack) CreateChangeSet(name string, changesetType cloudformation.ChangeSetType, templateBody string, parameters []cloudformation.Parameter) *ChangeSet
CreateChangeSet create a changeset
func (*Stack) Describe ¶
func (stack *Stack) Describe() (description *cloudformation.Stack, err error)
func (*Stack) GetEvents ¶
func (stack *Stack) GetEvents(opToken string) (events []cloudformation.StackEvent, err error)
GetEvents retrieves the events for a specific operation
type StackUpdateCompletion ¶
type StackUpdateCompletion string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.