Documentation ¶
Index ¶
- type Client
- func (d *Client) DeleteKindImage(ctx context.Context, clusterName, imageID string) error
- func (d *Client) KindControlPlaneContainer(ctx context.Context, clusterName string) (*ContainerDetails, error)
- func (d *Client) ListDockerImages(ctx context.Context) ([]types.ImageSummary, error)
- func (d *Client) ListKindImages(ctx context.Context, clusterName string) (KindImages, error)
- func (d *Client) Save(ctx context.Context, destination, imageID string) error
- type ContainerDetails
- type ID
- type Image
- type KindImage
- type KindImages
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
DockerClient is a docker client
func NewDockerClient ¶
func NewDockerClient() *Client
func (*Client) DeleteKindImage ¶
func (*Client) KindControlPlaneContainer ¶
func (*Client) ListDockerImages ¶
func (*Client) ListKindImages ¶
type ContainerDetails ¶
ContainerDetails contains metadata of a docker container
type KindImages ¶
type KindImages struct {
Images []KindImage `json:"images"`
}
Click to show internal directories.
Click to hide internal directories.