Versions in this module Expand all Collapse all v0 v0.0.1 Jul 28, 2016 Changes in this version + func CatalogCommand() cli.Command + func ConfigCommand() cli.Command + func ContainerCommand() cli.Command + func DockerCommand() cli.Command + func EnvCommand() cli.Command + func EventsCommand() cli.Command + func ExecCommand() cli.Command + func ExportCommand() cli.Command + func FormatEndpoint(data interface{}) string + func FormatIPAddresses(data interface{}) string + func FormatJSON(data interface{}) (string, error) + func GetCatalogClient(ctx *cli.Context) (*catalog.RancherClient, error) + func GetClient(ctx *cli.Context) (*client.RancherClient, error) + func GetEnvironment(def string, c *client.RancherClient) (*client.Project, error) + func GetOrCreateDefaultStack(c *client.RancherClient, name string) (*client.Environment, error) + func GetRawClient(ctx *cli.Context) (*client.RancherClient, error) + func GetStackMap(c *client.RancherClient) map[string]client.Environment + func HostCommand() cli.Command + func LogsCommand() cli.Command + func Lookup(c *client.RancherClient, name string, types ...string) (*client.Resource, error) + func LookupEnvironment(c *client.RancherClient, name string) (*client.Project, error) + func ParseName(c *client.RancherClient, name string) (*client.Environment, string, error) + func PsCommand() cli.Command + func RandomName() string + func RestartCommand() cli.Command + func RmCommand() cli.Command + func RunCommand() cli.Command + func SSHCommand() cli.Command + func ScaleCommand() cli.Command + func SimpleFormat(values [][]string) (string, string) + func StackCommand() cli.Command + func StartCommand() cli.Command + func StopCommand() cli.Command + func UpCommand() cli.Command + func VolumeCommand() cli.Command + func WaitCommand() cli.Command + func WaitFor(ctx *cli.Context, resource string) error + type CatalogData struct + ID string + Template catalog.Template + type Config struct + AccessKey string + Environment string + Path string + SecretKey string + URL string + func LoadConfig(path string) (Config, error) + func (c Config) EnvironmentURL() (string, error) + func (c Config) Write() error + type ContainerPsData struct + CombinedState string + Container client.Container + DockerID string + ID string + type EnvData struct + Environment *client.Project + ID string + Orchestration string + func NewEnvData(project client.Project) *EnvData + type HostsData struct + Host client.Host + ID string + IPAddresses []client.IpAddress + State string + type PsData struct + CombinedState string + ID string + Service client.Service + Stack client.Environment + type ResourceID string + func NewResourceID(resourceType, id string) ResourceID + func (r ResourceID) ID() string + func (r ResourceID) Type() string + type StackData struct + Catalog string + ID string + Stack client.Environment + State string + System bool + type TableWriter struct + HeaderFormat string + ValueFormat string + Writer *tabwriter.Writer + func NewTableWriter(values [][]string, ctx *cli.Context) *TableWriter + func (t *TableWriter) Close() error + func (t *TableWriter) Err() error + func (t *TableWriter) Write(obj interface{}) + type VolumeData struct + ID string + Volume client.Volume + type Waiter struct + func NewWaiter(ctx *cli.Context) (*Waiter, error) + func (w *Waiter) Add(resource string) + func (w *Waiter) Wait() error