rancher

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2016 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureEnvironment

func ConfigureEnvironment(create bool, configDir, cert, key, chain, accessKey, secretKey, url string, hostnames ...string) (string, string, error)

func GenerateCert

func GenerateCert(configPath, certPath, keyPath, chainPath string, hostnames ...string) (string, string, string, error)

func GetRancherAgentImage

func GetRancherAgentImage(accessKey, secretKey, url string) (string, error)

func LaunchStack

func LaunchStack(env []string, accessKey, secretKey, url string) error

func Ping

func Ping(url string) bool

func WaitFor

func WaitFor(c *client.RancherClient, resource *client.Resource, output interface{}, transitioning func() string) error

func WaitForHosts added in v0.1.0

func WaitForHosts(accessKey, secretKey, url string, count int) error

func WaitForRancher

func WaitForRancher(url string) bool

func WaitToken

func WaitToken(c *client.RancherClient, service *client.RegistrationToken) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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