1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
package linstortoml
import lapi "github.com/LINBIT/golinstor/client"
type Satellite struct {
NetCom *SatelliteNetCom `toml:"netcom,omitempty"`
Logging *SatelliteLogging `toml:"logging,omitempty"`
Files *SatelliteFiles `toml:"files,omitempty"`
}
type SatelliteNetCom struct {
Type string `toml:"type,omitempty"`
BindAddress string `toml:"bind_address,omitempty"`
Port int `toml:"port,omitzero"`
ServerCertificate string `toml:"server_certificate,omitempty"`
KeyPassword string `toml:"key_password,omitempty"`
KeystorePassword string `toml:"keystore_password,omitempty"`
TrustedCertificates string `toml:"trusted_certificates,omitempty"`
TruststorePassword string `toml:"truststore_password,omitempty"`
SslProtocol string `toml:"ssl_protocol,omitempty"`
}
type SatelliteLogging struct {
Level lapi.LogLevel `toml:"level,omitempty"`
LinstorLevel lapi.LogLevel `toml:"linstor_level,omitempty"`
}
type SatelliteFiles struct {
AllowExtFiles []string `toml:"allowExtFiles,omitempty"`
}
|