Documentation
¶
Index ¶
- Constants
- Variables
- func CreateAptTarFile(ctx context.Context, dockerClient command.Command, tmpDir string, ...) (string, error)
- func CreateAptTarball(ctx context.Context, tmpDir string, dockerClient command.Command, ...) (string, error)
- func CreateTarFile(ctx context.Context, dockerClient command.Command, image string, tmpDir string, ...) (string, error)
- func CurrentAptTarball(tmpDir string) (string, error)
- func DockerCommandFromEnvironment() string
- func FastPush(ctx context.Context, image string, projectDir string, command command.Command, ...) error
- func FillInWeightsManifestVolumes(ctx context.Context, dockerCommand command.Command, ...) (command.RunOptions, error)
- func GetHostPortForContainer(ctx context.Context, dockerCommand command.Command, containerID string, ...) (int, error)
- func NewClient(ctx context.Context, opts ...Option) (*apiClient, error)
- func ParseSecretsFromHost(workingDir string, secrets []string) (secrets.SecretStore, error)
- func PipelinePush(ctx context.Context, image string, projectDir string, apiClient *api.Client, ...) error
- func Push(ctx context.Context, image string, fast bool, projectDir string, ...) error
- func Run(ctx context.Context, dockerClient command.Command, options command.RunOptions) error
- func RunDaemon(ctx context.Context, dockerClient command.Command, options command.RunOptions, ...) (string, error)
- func RunWithIO(ctx context.Context, dockerClient command.Command, options command.RunOptions, ...) error
- func SaveLoginToken(ctx context.Context, registryHost string, username string, token string) error
- func StandardPush(ctx context.Context, image string, command command.Command) error
- type BuildInfo
- type CredentialHelperInput
- type Option
Constants ¶
View Source
const DockerCommandEnvVarName = "R8_DOCKER_COMMAND"
Variables ¶
View Source
var ErrMissingDeviceDriver = errors.New("Docker is missing required device driver")
View Source
var TarballsDir = filepath.Join(global.CogBuildArtifactsFolder, "tarballs")
Functions ¶
func CreateAptTarFile ¶ added in v0.15.0
func CreateAptTarball ¶ added in v0.14.0
func CreateTarFile ¶ added in v0.15.0
func CurrentAptTarball ¶ added in v0.14.0
func DockerCommandFromEnvironment ¶ added in v0.14.0
func DockerCommandFromEnvironment() string
func FillInWeightsManifestVolumes ¶ added in v0.14.4
func FillInWeightsManifestVolumes(ctx context.Context, dockerCommand command.Command, runOptions command.RunOptions) (command.RunOptions, error)
func GetHostPortForContainer ¶ added in v0.14.11
func ParseSecretsFromHost ¶ added in v0.15.0
func ParseSecretsFromHost(workingDir string, secrets []string) (secrets.SecretStore, error)
func PipelinePush ¶ added in v0.15.0
func SaveLoginToken ¶ added in v0.0.8
Types ¶
type CredentialHelperInput ¶ added in v0.14.0
Source Files
¶
Click to show internal directories.
Click to hide internal directories.