push

package
v0.1.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const SalGitHashAnnotation = "sal.git-commit-hash"

Variables

This section is empty.

Functions

This section is empty.

Types

type PushCmd

type PushCmd struct {
	Repository string `` /* 149-byte string literal not displayed */
	Username   string `` /* 136-byte string literal not displayed */
	Password   string `arg:"--password,env:OCI_PASSWORD" help:"Password or access token for the OCI registry."`
	NoTUI      bool   `arg:"--no-tui" help:"write the log to stderr as it happens instead of opening the progress and log panes"`
	Parallel   int    `arg:"--parallel" default:"16" help:"how many files to upload to the registry at once"`
}

func (*PushCmd) GetPassword

func (p *PushCmd) GetPassword() string

func (*PushCmd) GetUsername

func (p *PushCmd) GetUsername() string

func (*PushCmd) Run

func (p *PushCmd) Run() (err error)

Run executes the push command, which pushes all files in the SAL data directory to the specified OCI registry. The invocation is one trace, `sal.push`, which the progress pane follows: the check of the remote's snapshots, the upload, and the manifest.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL