Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CertificateDir ¶
func CertificateDir() string
func ClientConfigFile ¶
func ClientConfigFile() string
func ConfigFile ¶
func ConfigFile() string
Types ¶
type Config ¶
type Config struct {
Database *dbConfig `json:"database,omitempty"`
Service *svcConfig `json:"service,omitempty"`
KV *kvConfig `json:"kv,omitempty"`
Auth *authConfig `json:"auth,omitempty"`
Prometheus *prometheusConfig `json:"prometheus,omitempty"`
CA *ca.Config `json:"ca,omitempty"`
}
func LoadOrGenerate ¶
func NewDefault ¶
func NewDefault() *Config
func NewFromFile ¶
type EnrollmentService ¶ added in v0.6.0
type EnrollmentService struct {
client.Config
// EnrollmentUIEndpoint is the address of the device enrollment UI
EnrollmentUIEndpoint string `json:"enrollment-ui-endpoint,omitempty"`
}
func (*EnrollmentService) Equal ¶ added in v0.6.0
func (s *EnrollmentService) Equal(s2 *EnrollmentService) bool
type ManagementService ¶ added in v0.6.0
func (*ManagementService) Equal ¶ added in v0.6.0
func (s *ManagementService) Equal(s2 *ManagementService) bool
type ServiceConfig ¶ added in v0.6.0
type ServiceConfig struct {
// EnrollmentService is the client configuration for connecting to the device enrollment server
EnrollmentService EnrollmentService `json:"enrollment-service,omitempty"`
// ManagementService is the client configuration for connecting to the device management server
ManagementService ManagementService `json:"management-service,omitempty"`
}
func NewServiceConfig ¶ added in v0.6.0
func NewServiceConfig() ServiceConfig
Click to show internal directories.
Click to hide internal directories.