client

package module
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

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
}

func NewClient

func NewClient(endpoint string) *Client

func (*Client) ExportContainerURL

func (c *Client) ExportContainerURL(_ context.Context, containerID string) string

func (*Client) ExportImageURL

func (c *Client) ExportImageURL(_ context.Context, imageID string) string

func (*Client) GetContainer

func (c *Client) GetContainer(ctx context.Context, containerID string) (apitypes.ContainerInfo, error)

func (*Client) GetContainers

func (c *Client) GetContainers(ctx context.Context) ([]apitypes.ContainerInfo, error)

func (*Client) GetImage

func (c *Client) GetImage(ctx context.Context, imageID string) (apitypes.ContainerImageInfo, error)

func (*Client) GetImages

func (c *Client) GetImages(ctx context.Context) ([]apitypes.ContainerImageInfo, error)

Jump to

Keyboard shortcuts

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