docker

package
v0.0.0-...-17590fa Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container struct {
	ID        string `json:"id"`
	Name      string `json:"name"`
	Image     string `json:"image"`
	State     string `json:"state"`
	Status    string `json:"status"`
	Host      string `json:"host"`
	Port      uint   `json:"port"`
	CreatedAt int64  `json:"created_at"`
}

type Docker

type Docker interface {
	List(ctx context.Context) (list []Container, err error)
}

func NewDocker

func NewDocker() Docker

Jump to

Keyboard shortcuts

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