Documentation
¶
Index ¶
- type AliasDomainConfig
- type Config
- func (c *Config) HeartbeatInterval() time.Duration
- func (c *Config) InactiveThreshold() time.Duration
- func (c *Config) PendingDomainExpiry() time.Duration
- func (c *Config) PendingEnrollmentTTL() time.Duration
- func (c *Config) PowerDNSTimeout() time.Duration
- func (c *Config) TokenTTL() time.Duration
- func (c *Config) VerificationTimeout() time.Duration
- type DNSConfig
- type DatabaseConfig
- type EnrollmentConfig
- type HostnameConfig
- type NexusConfig
- type PowerDNSConfig
- type TPMConfig
- type TokenConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AliasDomainConfig ¶ added in v0.1.1
type Config ¶
type Config struct {
PublicHostname string `yaml:"publicHostname"`
AcmeCacheDir string `yaml:"acmeCacheDir"`
AcmeDirectoryURL string `yaml:"acmeDirectoryURL"`
AcmeCACert string `yaml:"acmeCACert"`
ListenAddress string `yaml:"listenAddress"`
HTTPAddress string `yaml:"httpAddress"`
Database DatabaseConfig `yaml:"database"`
DNS DNSConfig `yaml:"dns"`
PowerDNS PowerDNSConfig `yaml:"powerDNS"`
TPM TPMConfig `yaml:"tpm"`
Nexus NexusConfig `yaml:"nexus"`
Token TokenConfig `yaml:"token"`
Enrollment EnrollmentConfig `yaml:"enrollment"`
Hostname HostnameConfig `yaml:"hostname"`
AliasDomain AliasDomainConfig `yaml:"aliasDomain"`
AuditRetentionDays int `yaml:"auditRetentionDays"`
}
func (*Config) HeartbeatInterval ¶
func (*Config) InactiveThreshold ¶
func (*Config) PendingDomainExpiry ¶ added in v0.1.1
func (*Config) PendingEnrollmentTTL ¶
func (*Config) PowerDNSTimeout ¶
func (*Config) VerificationTimeout ¶ added in v0.1.1
type DatabaseConfig ¶
type EnrollmentConfig ¶
type HostnameConfig ¶
type NexusConfig ¶
type PowerDNSConfig ¶
type PowerDNSConfig struct {
ApiURL string `yaml:"apiURL"`
ApiKey string `yaml:"apiKey"`
ServerID string `yaml:"serverID"`
TimeoutSeconds int `yaml:"timeoutSeconds"`
}
func (PowerDNSConfig) Timeout ¶
func (c PowerDNSConfig) Timeout() time.Duration
type TokenConfig ¶
type TokenConfig struct {
TTLSeconds int `yaml:"ttlSeconds"`
DefaultWeight int `yaml:"defaultWeight"`
HandshakeMaxAgeSeconds int `yaml:"handshakeMaxAgeSeconds"`
ReauthIntervalSeconds int `yaml:"reauthIntervalSeconds"`
ReauthGraceSeconds int `yaml:"reauthGraceSeconds"`
MaintenanceGraceCapSeconds int `yaml:"maintenanceGraceCapSeconds"`
}
Click to show internal directories.
Click to hide internal directories.