Documentation
¶
Index ¶
- type Client
- func (c *Client) ProcessImageTask(sourceImage string, targetImage string, archs []string, allArch bool, ...) error
- func (c *Client) PullAllArchitectures(imageName string, options SaveOptions) error
- func (c *Client) PullSpecificArchitectures(imageName string, archs []string, options SaveOptions) error
- func (c *Client) PushAllArchitectures(sourceImage, targetImage string, auth RegistryAuth, options SaveOptions) error
- func (c *Client) PushSpecificArchitectures(sourceImage, targetImage string, archs []string, auth RegistryAuth, ...) error
- type Platform
- type PullOptions
- type PushOptions
- type RegistryAuth
- type SaveOptions
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
}
Client represents a Docker client
func (*Client) ProcessImageTask ¶
func (c *Client) ProcessImageTask(sourceImage string, targetImage string, archs []string, allArch bool, saveLocally bool, options SaveOptions, auth RegistryAuth) error
ProcessImageTask processes a single image task which can include pulling, saving, and pushing
func (*Client) PullAllArchitectures ¶
func (c *Client) PullAllArchitectures(imageName string, options SaveOptions) error
PullAllArchitectures pulls all available architectures for an image
func (*Client) PullSpecificArchitectures ¶
func (c *Client) PullSpecificArchitectures(imageName string, archs []string, options SaveOptions) error
PullSpecificArchitectures pulls specific architectures for an image
func (*Client) PushAllArchitectures ¶
func (c *Client) PushAllArchitectures(sourceImage, targetImage string, auth RegistryAuth, options SaveOptions) error
PushAllArchitectures pulls all architectures from source image and pushes them to target registry
func (*Client) PushSpecificArchitectures ¶
func (c *Client) PushSpecificArchitectures(sourceImage, targetImage string, archs []string, auth RegistryAuth, options SaveOptions) error
PushSpecificArchitectures pulls specific architectures from source image and pushes them to target registry
type RegistryAuth ¶
RegistryAuth contains authentication information for a Docker registry
Click to show internal directories.
Click to hide internal directories.