utils

package
v0.0.0-...-2b4ea48 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2017 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCloudformationService

func GetCloudformationService(input Input) *cloudformation.CloudFormation

func GoToBuildDirectory

func GoToBuildDirectory()

func Logf

func Logf(format string, a ...interface{})

func Logln

func Logln(a ...interface{})

Types

type Input

type Input struct {
	Source struct {
		Name               string `json:"name"`
		AwsAccessKeyId     string `json:"aws_access_key_id,omitempty"`
		AwsSecretAccessKey string `json:"aws_secret_access_key,omitempty"`
		Region             string `json:"region"`
	} `json:"source"`
	Version struct {
		LastUpdatedTime string `json:"LastUpdatedTime"`
	} `json:"version"`
	Params struct {
		Template     string   `json:"template"`
		Parameters   string   `json:"parameters"`
		Tags         string   `json:"tags"`
		Capabilities []string `json:"capabilities"`
		Delete       bool     `json:"delete"`
		Wait         bool     `json:"wait"`
		Changeset    []string `json:"changeset,omitempty"`
	} `json:"params"`
}

func GetInput

func GetInput() Input

func (*Input) ChangesetCreate

func (i *Input) ChangesetCreate() bool

func (*Input) ChangesetExecute

func (i *Input) ChangesetExecute() bool

type VersionResult

type VersionResult struct {
	Version  atc.Version         `json:"version,omitempty"`
	Metadata []atc.MetadataField `json:"metadata,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL