Documentation
¶
Index ¶
- func Reap()
- func RunCommand(cmd *exec.Cmd) error
- func UpdateActiveState(state manifest.ActiveState)
- type Sandbox
- func (box *Sandbox) ActiveState() manifest.ActiveState
- func (box *Sandbox) Build() (err error)
- func (box *Sandbox) Control(action string, enable_action_hooks, process_templates bool) error
- func (box *Sandbox) CreatePrivateEndpoints(ip string) error
- func (box *Sandbox) DataDir() string
- func (box *Sandbox) Deploy() error
- func (box *Sandbox) DeployDir() string
- func (box *Sandbox) Dump(sink io.Writer) (err error)
- func (box *Sandbox) EnvDir() string
- func (box *Sandbox) Environ() map[string]string
- func (box *Sandbox) ExportedEnviron() map[string]string
- func (box *Sandbox) ExtraHosts() []string
- func (box *Sandbox) FQDN() string
- func (box *Sandbox) GetEndpoints(ip string) ([]*manifest.Endpoint, error)
- func (box *Sandbox) Getenv(name string) string
- func (box *Sandbox) HomeDir() string
- func (box *Sandbox) Install(name string, source string, input io.Reader) error
- func (box *Sandbox) LocalIP() (string, error)
- func (box *Sandbox) LogDir() string
- func (box *Sandbox) Name() string
- func (box *Sandbox) Namespace() string
- func (box *Sandbox) Plugins() (map[string]*manifest.Plugin, error)
- func (box *Sandbox) PrimaryPlugin() (*manifest.Plugin, error)
- func (box *Sandbox) RepoDir() string
- func (box *Sandbox) Restart() (err error)
- func (box *Sandbox) Restore(source io.Reader) (err error)
- func (box *Sandbox) ServiceName() string
- func (box *Sandbox) SetActiveState(s manifest.ActiveState)
- func (box *Sandbox) SetPluginEnv(p *manifest.Plugin, name, value string, export bool) error
- func (box *Sandbox) Setenv(name, value string, export bool) error
- func (box *Sandbox) Start() error
- func (box *Sandbox) Stop() error
- func (box *Sandbox) UnsetPluginEnv(p *manifest.Plugin, name string)
- func (box *Sandbox) Unsetenv(name string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunCommand ¶
func UpdateActiveState ¶
func UpdateActiveState(state manifest.ActiveState)
Types ¶
type Sandbox ¶
type Sandbox struct {
// contains filtered or unexported fields
}
func (*Sandbox) ActiveState ¶
func (box *Sandbox) ActiveState() manifest.ActiveState
func (*Sandbox) CreatePrivateEndpoints ¶
func (*Sandbox) ExportedEnviron ¶
func (*Sandbox) ExtraHosts ¶
func (*Sandbox) GetEndpoints ¶
func (*Sandbox) Install ¶
Install plugin in the application. The plugin directory should already been populated from broker.
func (*Sandbox) ServiceName ¶
func (*Sandbox) SetActiveState ¶
func (box *Sandbox) SetActiveState(s manifest.ActiveState)
func (*Sandbox) SetPluginEnv ¶
func (*Sandbox) UnsetPluginEnv ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.