You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
404 B
Go
16 lines
404 B
Go
package config
|
|
|
|
type RegistryConfig struct {
|
|
Mirrors []string `toml:"mirrors"`
|
|
PlainHTTP *bool `toml:"http"`
|
|
Insecure *bool `toml:"insecure"`
|
|
RootCAs []string `toml:"ca"`
|
|
KeyPairs []TLSKeyPair `toml:"keypair"`
|
|
TLSConfigDir []string `toml:"tlsconfigdir"`
|
|
}
|
|
|
|
type TLSKeyPair struct {
|
|
Key string `toml:"key"`
|
|
Certificate string `toml:"cert"`
|
|
}
|