Documentation
¶
Index ¶
- type Release
- func (release *Release) AppendLog(s3c aws.S3API, log string) error
- func (r *Release) ErrorPrefix() string
- func (r *Release) ExecutionName() *string
- func (r *Release) ExecutionPrefix() string
- func (r *Release) GrabLock(s3c aws.S3API) error
- func (r *Release) Halt(s3c aws.S3API, message *string) error
- func (r *Release) HaltPath() *string
- func (r *Release) IsHalt(s3c aws.S3API) error
- func (r *Release) LockPath() *string
- func (release *Release) LogPath() *string
- func (r *Release) ReleaseDir() *string
- func (r *Release) ReleaseLock(s3c aws.S3API) error
- func (r *Release) ReleasePath() *string
- func (r *Release) RemoveHalt(s3c aws.S3API)
- func (r *Release) RootDir() *string
- func (r *Release) SetDefaults(region *string, account *string, bucket_prefix string)
- func (r *Release) TimedOut() error
- func (r *Release) Validate(s3c aws.S3API, cRelease interface{}) error
- func (release *Release) WriteLog(s3c aws.S3API, log string) error
- type ReleaseError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Release ¶
type Release struct { AwsAccountID *string `json:"aws_account_id,omitempty"` AwsRegion *string `json:"aws_region,omitempty"` ReleaseSHA256 string `json:"-"` // Not Set By Client, Not Marshalled UUID *string `json:"uuid,omitempty"` // Generated By server ReleaseID *string `json:"release_id,omitempty"` // Generated Client ProjectName *string `json:"project_name,omitempty"` ConfigName *string `json:"config_name,omitempty"` Bucket *string `json:"bucket,omitempty"` // Bucket with Additional Data in it CreatedAt *time.Time `json:"created_at,omitempty"` Timeout *int `json:"timeout,omitempty"` // How long should we try and deploy in seconds Error *ReleaseError `json:"error,omitempty"` Success *bool `json:"success,omitempty"` }
Release is the Data Structure passed between Client and Deployer
func (*Release) ErrorPrefix ¶
func (*Release) ExecutionPrefix ¶
ExecutionPrefix returns
func (*Release) ReleaseDir ¶
func (*Release) ReleaseLock ¶
ReleaseLock deletes the Lock File for the release
func (*Release) ReleasePath ¶
func (*Release) RemoveHalt ¶
RemoveHalt deletes the halt flat from S3
func (*Release) SetDefaults ¶
SetDefaults is passed the region and account where the lambda is executed AND the default-bucket-prefix to calculate the default bucket name
type ReleaseError ¶
ReleaseError contains the error and cause for the state machine
Click to show internal directories.
Click to hide internal directories.