Documentation
¶
Index ¶
- type ContainerHandler
- func (h *ContainerHandler) Close() error
- func (h *ContainerHandler) Command(cmd string, args ...string) exec.Cmd
- func (h *ContainerHandler) GetAPI() (govppapi.Channel, error)
- func (h *ContainerHandler) GetCLI() (probe.CliExecutor, error)
- func (h *ContainerHandler) GetStats() (govppapi.StatsProvider, error)
- func (h *ContainerHandler) ID() string
- func (h *ContainerHandler) Metadata() map[string]string
- type ContainerQuery
- type Provider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerHandler ¶
type ContainerHandler struct {
// contains filtered or unexported fields
}
ContainerHandler is used to manage an instance running in Docker.
func NewHandler ¶
func NewHandler(client *docker.Client, container *docker.Container) *ContainerHandler
NewHandler returns a new handler for an instance running in a pod.
func (*ContainerHandler) Close ¶
func (h *ContainerHandler) Close() error
func (*ContainerHandler) Command ¶
func (h *ContainerHandler) Command(cmd string, args ...string) exec.Cmd
func (*ContainerHandler) GetCLI ¶
func (h *ContainerHandler) GetCLI() (probe.CliExecutor, error)
func (*ContainerHandler) GetStats ¶
func (h *ContainerHandler) GetStats() (govppapi.StatsProvider, error)
func (*ContainerHandler) ID ¶
func (h *ContainerHandler) ID() string
func (*ContainerHandler) Metadata ¶
func (h *ContainerHandler) Metadata() map[string]string
type ContainerQuery ¶
func (ContainerQuery) ListContainerOptions ¶
func (q ContainerQuery) ListContainerOptions() docker.ListContainersOptions
func (ContainerQuery) String ¶
func (q ContainerQuery) String() string
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider finds instances running in Docker containers.
func NewProvider ¶
func NewProviderClient ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.