Documentation
¶
Overview ¶
Package actions contains all the major functional actions that can be taken by the cli.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenAndWriteKeyPair ¶
GenAndWriteKeyPair creates a public private ecdsa key pair, writing them to the specified destination. The public and private key files are named <prefix>.pub and <prefix>.key respectively.
Types ¶
type DataTool ¶
type DataTool struct {
Config *conf.Configuration
// contains filtered or unexported fields
}
DataTool represents the base data tool action.
type GenKeyPair ¶
type GenKeyPair struct {
*DataTool
Prefix string // file name prefix to add to key names
MakeCert bool // true to generate a self-signed x509 certificate as well
}
GenKeyPair represents the generate key pair action.
type Login ¶
type Login struct {
*DataTool
DisableAuthCheck bool // Disables the registry Ping() to check for auth.
Username string // Username credential for login
Password secret.ValueResolver // Password credential for login
PassStdin bool
}
Login represents the login action.
type Logout ¶
type Logout struct {
*DataTool
Username string // Username credential for logout
Password string // Password credential for logout
}
Logout represents the logout action.
type Simulate ¶
Simulate is an action for simulating UI activity. Used for testing the UI machinery.
type TelemetryOptions ¶
type TelemetryOptions struct {
URL string // overrides the current telemetry host url
}
TelemetryOptions defines the options for telemetry server use.
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package bottle defines bottle command and subcommand actions.
|
Package bottle defines bottle command and subcommand actions. |
|
Package git facilitates executing actions for git repositories stored in an OCI registry.
|
Package git facilitates executing actions for git repositories stored in an OCI registry. |
|
internal
|
|
|
format
Package format and console layout utilities
|
Package format and console layout utilities |
|
Package mirror defines commands for performing mirror operations for OCI objects and bottles.
|
Package mirror defines commands for performing mirror operations for OCI objects and bottles. |
|
Package oci defines general purpose oci push and pull operations backed by oras.
|
Package oci defines general purpose oci push and pull operations backed by oras. |
|
Package pypi facilitates executing the program as a proxy server for translating pypi requests into OCI registry operations.
|
Package pypi facilitates executing the program as a proxy server for translating pypi requests into OCI registry operations. |
|
Package sbom defines the sbom actions.
|
Package sbom defines the sbom actions. |
|
Package security defines the security actions.
|
Package security defines the security actions. |
Click to show internal directories.
Click to hide internal directories.