Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultRegistryAuths = []*config_j5pb.DockerRegistryAuth{{ Registry: "ghcr.io/*", Auth: &config_j5pb.DockerRegistryAuth_Github_{ Github: &config_j5pb.DockerRegistryAuth_Github{}, }, }, { Registry: "*.dkr.ecr.*.amazonaws.com/*", Auth: &config_j5pb.DockerRegistryAuth_AwsEcs{ AwsEcs: &config_j5pb.DockerRegistryAuth_AWSECS{}, }, }}
Functions ¶
This section is empty.
Types ¶
type DockerWrapper ¶
type DockerWrapper struct {
// contains filtered or unexported fields
}
func NewDockerWrapper ¶
func NewDockerWrapper(registryAuth []*config_j5pb.DockerRegistryAuth) (*DockerWrapper, error)
func (*DockerWrapper) Close ¶
func (dw *DockerWrapper) Close() error
func (*DockerWrapper) Pull ¶
func (dw *DockerWrapper) Pull(ctx context.Context, spec *config_j5pb.DockerSpec) error
func (*DockerWrapper) Run ¶
func (dw *DockerWrapper) Run(ctx context.Context, spec *config_j5pb.DockerSpec, input io.Reader, output io.Writer, errOutput io.Writer, envVars []string) error
Click to show internal directories.
Click to hide internal directories.