Documentation ¶
Index ¶
Constants ¶
View Source
const AWS = "AWS"
View Source
const AZURE = "Azure"
View Source
const GCP = "GCP"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
Cli DockerClient
}
func NewImageClient ¶
func (*Client) BuildImage ¶
func (c *Client) BuildImage(input PushImageInput, containerRepository *api.ContainerRepository) error
func (*Client) PushImage ¶
func (c *Client) PushImage(input PushImageInput, containerRepository *api.ContainerRepository) error
type DockerClient ¶
type DockerClient interface { ImageBuild(ctx context.Context, buildContext io.Reader, options types.ImageBuildOptions) (types.ImageBuildResponse, error) ImagePush(ctx context.Context, image string, options types.ImagePushOptions) (io.ReadCloser, error) ImageTag(ctx context.Context, source, target string) error }
type ErrorDetail ¶
type ErrorDetail struct {
Message string `json:"message"`
}
type ErrorLine ¶
type ErrorLine struct { Error string `json:"error"` ErrorDetail ErrorDetail `json:"errorDetail"` }
Click to show internal directories.
Click to hide internal directories.