Documentation ¶
Index ¶
- Constants
- func CreateKey(name string, credentials awsmodels.Credentials) (privateKey string, err error)
- func DeleteCFStack(name string, credentials awsutilmodels.Credentials) (err error)
- func DeleteKey(name string, credentials awsmodels.Credentials) (err error)
- func DeployNewVPCHeptioCFStack(cfTemplateOptions awsutilmodels.NewVPCK8SCFTemplateOptions, ...) (awsStackId string, err error)
- func GetCFList(credentials awsutilmodels.Credentials) (output []*cloudformation.StackSummary, err error)
- func GetCFStack(name string, credentials awsutilmodels.Credentials) (resources []*cloudformation.StackResource, ...)
- func GetHeptioCFStackOutput(name string, credentials awsutilmodels.Credentials) (output awsutilmodels.HeptioStackOutput, err error)
- func GetInstanceDetails(instanceId string, credentials awsmodels.Credentials) (reservation *ec2.Reservation, err error)
- func GetInstanceListDetails(instanceIds []*string, credentials awsmodels.Credentials) (reservations []*ec2.Reservation, err error)
- func GetKeyList(credentials awsmodels.Credentials) (keyPairs []*ec2.KeyPairInfo, err error)
- func IsStackReady(resources []*cloudformation.StackResource) (ready bool, masterReady bool, workerReady bool)
- func WaitUntilStackIsReady(stackName string, printProgress bool, credentials awsutilmodels.Credentials) error
Constants ¶
View Source
const ( CFStackGiveUpThreshold = 10 * time.Minute CFStackRetestInterval = 5 * time.Second )
Variables ¶
This section is empty.
Functions ¶
func CreateKey ¶
This function will create an AWS Key. TODO This presently does not support the idea of using a preexisting key from the user, perhaps it should support that
func DeleteCFStack ¶
func DeleteCFStack(name string, credentials awsutilmodels.Credentials) (err error)
func DeployNewVPCHeptioCFStack ¶
func DeployNewVPCHeptioCFStack(cfTemplateOptions awsutilmodels.NewVPCK8SCFTemplateOptions, credentials awsutilmodels.Credentials) (awsStackId string, err error)
func GetCFList ¶
func GetCFList(credentials awsutilmodels.Credentials) (output []*cloudformation.StackSummary, err error)
func GetCFStack ¶
func GetCFStack(name string, credentials awsutilmodels.Credentials) (resources []*cloudformation.StackResource, parameters []*cloudformation.Parameter, err error)
func GetHeptioCFStackOutput ¶
func GetHeptioCFStackOutput(name string, credentials awsutilmodels.Credentials) (output awsutilmodels.HeptioStackOutput, err error)
func GetInstanceDetails ¶
func GetInstanceDetails(instanceId string, credentials awsmodels.Credentials) (reservation *ec2.Reservation, err error)
func GetInstanceListDetails ¶
func GetInstanceListDetails(instanceIds []*string, credentials awsmodels.Credentials) (reservations []*ec2.Reservation, err error)
func GetKeyList ¶
func GetKeyList(credentials awsmodels.Credentials) (keyPairs []*ec2.KeyPairInfo, err error)
This function will return back a list of key pairs
func IsStackReady ¶
func IsStackReady(resources []*cloudformation.StackResource) (ready bool, masterReady bool, workerReady bool)
func WaitUntilStackIsReady ¶
func WaitUntilStackIsReady(stackName string, printProgress bool, credentials awsutilmodels.Credentials) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.