Documentation ¶
Index ¶
- func GetProcessDescription(ctx context.Context, dockerClient *dockerclient.Client, ...) (api.ProcessDescription, error)
- type Container
- func (c *Container) Build(ctx context.Context, input *api.BuildInput) (*api.BuildOutput, error)
- func (c *Container) Dependencies(ctx context.Context, input *core.DependenciesInput) (*core.DependenciesOutput, error)
- func (c *Container) Dispose(ctx context.Context, input *core.DisposeInput) (*core.DisposeOutput, error)
- func (c *Container) InitResource() error
- func (c *Container) Initialize(ctx context.Context, input *core.InitializeInput) (output *core.InitializeOutput, err error)
- func (c *Container) MarshalState() (state string, err error)
- func (c *Container) ProjectName() string
- func (c *Container) Refresh(ctx context.Context, input *core.RefreshInput) (*core.RefreshOutput, error)
- func (c *Container) Restart(ctx context.Context, input *core.RestartInput) (*core.RestartOutput, error)
- func (c *Container) Signal(ctx context.Context, input *core.SignalInput) (*core.SignalOutput, error)
- func (c *Container) Start(ctx context.Context, input *core.StartInput) (*core.StartOutput, error)
- func (c *Container) Stop(ctx context.Context, input *core.StopInput) (*core.StopOutput, error)
- type ImageState
- type Spec
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetProcessDescription ¶
func GetProcessDescription(ctx context.Context, dockerClient *dockerclient.Client, component api.ComponentDescription) (api.ProcessDescription, error)
Types ¶
type Container ¶
type Container struct { docker.ComponentBase State State SyslogPort uint }
func (*Container) Build ¶
func (c *Container) Build(ctx context.Context, input *api.BuildInput) (*api.BuildOutput, error)
func (*Container) Dependencies ¶
func (c *Container) Dependencies(ctx context.Context, input *core.DependenciesInput) (*core.DependenciesOutput, error)
func (*Container) Dispose ¶
func (c *Container) Dispose(ctx context.Context, input *core.DisposeInput) (*core.DisposeOutput, error)
func (*Container) InitResource ¶
func (*Container) Initialize ¶
func (c *Container) Initialize(ctx context.Context, input *core.InitializeInput) (output *core.InitializeOutput, err error)
func (*Container) MarshalState ¶
func (*Container) ProjectName ¶
func (*Container) Refresh ¶
func (c *Container) Refresh(ctx context.Context, input *core.RefreshInput) (*core.RefreshOutput, error)
func (*Container) Restart ¶
func (c *Container) Restart(ctx context.Context, input *core.RestartInput) (*core.RestartOutput, error)
func (*Container) Signal ¶
func (c *Container) Signal(ctx context.Context, input *core.SignalInput) (*core.SignalOutput, error)
func (*Container) Start ¶
func (c *Container) Start(ctx context.Context, input *core.StartInput) (*core.StartOutput, error)
type ImageState ¶
type State ¶
type State struct { ContainerID string `json:"containerId"` Running bool `json:"running"` Image ImageState `json:"image"` }
Click to show internal directories.
Click to hide internal directories.