Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerInfo ¶
type ContainerInfo struct {
ID string
Name string
Ports []PortMapping
}
ContainerInfo represents container information
type PortMapping ¶
PortMapping represents port mapping
type RunOptions ¶
type RunOptions struct {
Image string
Ports []string
Environment []string
Detach bool
Name string
Volumes []string
Interactive bool
}
RunOptions represents runtime options
type Runtime ¶
type Runtime struct {
// contains filtered or unexported fields
}
Runtime handles agent execution
func (*Runtime) List ¶
func (r *Runtime) List() ([]ContainerInfo, error)
List lists running containers
func (*Runtime) Run ¶
func (r *Runtime) Run(options *RunOptions) (*ContainerInfo, error)
Run starts an agent container
func (*Runtime) StreamLogs ¶
StreamLogs streams container logs
func (*Runtime) ValidateImage ¶
ValidateImage validates that an image exists
Click to show internal directories.
Click to hide internal directories.