Documentation
¶
Overview ¶
Package registryvendor is the catalog of container registry vendors the credential flow offers presets for: default host, fixed username where the vendor defines one, and how long its tokens live.
Index ¶
Constants ¶
View Source
const Generic = "generic"
Generic is the ID of the any-registry preset.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Vendor ¶
type Vendor struct {
ID string `json:"id"`
Name string `json:"name"`
// DefaultHost is pre-filled in the credential form. Empty when the
// host is per tenant and HostHint says what shape it takes.
DefaultHost string `json:"default_host,omitempty"`
HostHint string `json:"host_hint,omitempty"`
// FixedUsername is a username the vendor requires, such as AWS for ECR.
FixedUsername string `json:"fixed_username,omitempty"`
// TokenLifetimeHours is non-zero when the vendor's password expires
// and must be re-issued, so the credential gets an expiry reminder.
TokenLifetimeHours int `json:"token_lifetime_hours,omitempty"`
// Brand is the web BrandIcon key for the vendor logo.
Brand string `json:"brand"`
}
Vendor describes one container registry vendor preset.
Click to show internal directories.
Click to hide internal directories.