cmd

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

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

Go to latest
Published: Aug 28, 2014 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Provides implementation of core gear binary commands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractContainerLocatorsFromDeployment

func ExtractContainerLocatorsFromDeployment(t transport.Transport, path string, args *[]string) error

Return a set of container locators from the specified deployment descriptor.

func LocatorsForDeploymentInstances

func LocatorsForDeploymentInstances(t transport.Transport, instances deployment.InstanceRefs) (cmd.Locators, error)

Types

type CommandContext

type CommandContext struct {
	Insecure  *bool
	Transport *transport.TransportFlag
	// contains filtered or unexported fields
}

func (*CommandContext) RegisterLocal

func (ctx *CommandContext) RegisterLocal(parent *cobra.Command)

func (*CommandContext) RegisterRemote

func (ctx *CommandContext) RegisterRemote(parent *cobra.Command)

Parse the command line arguments and invoke one of the support subcommands.

type EnvironmentDescription

type EnvironmentDescription struct {
	Description containers.EnvironmentDescription
	Path        string
}

func (*EnvironmentDescription) ExtractVariablesFrom

func (e *EnvironmentDescription) ExtractVariablesFrom(args *[]string, generateId bool) error
type NetworkLinks struct {
	*containers.NetworkLinks
}

func (*NetworkLinks) Get

func (n *NetworkLinks) Get() interface{}

func (*NetworkLinks) Set

func (n *NetworkLinks) Set(s string) error

func (*NetworkLinks) String

func (n *NetworkLinks) String() string

type PortPairs

type PortPairs struct {
	*port.PortPairs
}

func (*PortPairs) Get

func (p *PortPairs) Get() interface{}

func (*PortPairs) Set

func (p *PortPairs) Set(s string) error

func (*PortPairs) String

func (p *PortPairs) String() string

type VolumeConfig

type VolumeConfig struct {
	*containers.VolumeConfig
}

func (*VolumeConfig) Get

func (v *VolumeConfig) Get() interface{}

func (*VolumeConfig) Set

func (v *VolumeConfig) Set(s string) error

func (*VolumeConfig) String

func (v *VolumeConfig) String() string

Jump to

Keyboard shortcuts

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