Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultGRPCPort is the default gRPC port for Rune (T9 keypad for RUNE -> 7863) DefaultGRPCPort = 7863 // DefaultHTTPPort is the default HTTP port for Rune (T9 keypad for RUNE -> 7861) DefaultHTTPPort = 7861 )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Server Server `yaml:"server"`
DataDir string `yaml:"data_dir"`
Client Client `yaml:"client"`
Docker Docker `yaml:"docker"`
Namespace string `yaml:"namespace"`
Auth Auth `yaml:"auth"`
Resources Resources `yaml:"resources"`
Log Log `yaml:"log"`
Secret struct {
Encryption SecretEncryption `yaml:"encryption"`
Limits store.Limits `yaml:"limits"`
} `yaml:"secret"`
ConfigResource struct {
Limits store.Limits `yaml:"limits"`
} `yaml:"config"`
Plugins Plugins `yaml:"plugins"`
}
func (*Config) KEKOptions ¶
func (c *Config) KEKOptions() *crypto.KEKOptions
type Docker ¶
type Docker struct {
APIVersion string `yaml:"api_version"`
FallbackAPIVersion string `yaml:"fallback_api_version"`
NegotiationTimeoutSeconds int `yaml:"negotiation_timeout_seconds"`
Registries []DockerRegistryConfig `yaml:"registries"`
}
type DockerRegistryAuth ¶
type DockerRegistryAuth struct {
Type string `yaml:"type"` // basic | token | ecr
Username string `yaml:"username"`
Password string `yaml:"password"`
Token string `yaml:"token"`
Region string `yaml:"region"`
FromSecret any `yaml:"fromSecret"` // string or {name,namespace}
Bootstrap bool `yaml:"bootstrap"`
Manage string `yaml:"manage"` // create|update|ignore
Immutable bool `yaml:"immutable"`
Data map[string]string `yaml:"data"` // inline source (env-expanded)
}
DockerRegistryAuth holds authentication configuration for a registry
type DockerRegistryConfig ¶
type DockerRegistryConfig struct {
Name string `yaml:"name"`
Registry string `yaml:"registry"`
Auth DockerRegistryAuth `yaml:"auth"`
}
DockerRegistryConfig represents a registry entry in the runefile
type SecretEncryption ¶
Click to show internal directories.
Click to hide internal directories.