Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
DefaultRegistry string `yaml:"default_registry,omitempty"`
NamespaceRegistries map[string]string `yaml:"namespace_registries,omitempty"`
PackageRegistryOverrides map[string]string `yaml:"package_registry_overrides,omitempty"`
Registry map[string]*RegistryConfig `yaml:"registry,omitempty"`
}
Config represents wkg configuration
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager manages wkg configuration
func NewManagerWithPath ¶
NewManagerWithPath creates a new wkg config manager with custom path
func (*Manager) ClearECRAuth ¶
ClearECRAuth removes all ECR registries from the config
func (*Manager) ConfigureECRAuth ¶
ConfigureECRAuth adds ECR authentication to the wkg config
func (*Manager) RemoveRegistry ¶
RemoveRegistry removes a registry from the configuration
type OCIAuth ¶
type OCIAuth struct {
Username string `yaml:"username,omitempty"`
Password string `yaml:"password,omitempty"`
}
OCIAuth represents OCI authentication configuration
type OCIConfig ¶
type OCIConfig struct {
Protocol string `yaml:"protocol,omitempty"`
Auth *OCIAuth `yaml:"auth,omitempty"`
}
OCIConfig represents OCI-specific registry configuration
type RegistryConfig ¶
type RegistryConfig struct {
Default string `yaml:"default,omitempty"`
OCI *OCIConfig `yaml:"oci,omitempty"`
Backend map[string]interface{} `yaml:",inline"`
}
RegistryConfig represents configuration for a specific registry
Click to show internal directories.
Click to hide internal directories.