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 ImageClient
}
func NewImageClient ¶
func (*Client) BuildImage ¶
func (c *Client) BuildImage(input PushImageInput, containerRepository *api2.ContainerRepository) (*types.ImageBuildResponse, error)
func (*Client) PushImage ¶
func (c *Client) PushImage(input PushImageInput, containerRepository *api2.ContainerRepository) (io.ReadCloser, error)
type ErrorDetail ¶
type ErrorDetail struct {
Message string `json:"message"`
}
type ErrorLine ¶
type ErrorLine struct { Error string `json:"error"` ErrorDetail ErrorDetail `json:"errorDetail"` }
type ImageClient ¶
type ImageClient 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) }
Click to show internal directories.
Click to hide internal directories.