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