Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // C stores the actual configured values C = Config{ HTTPBind: ":8080", GRPCBind: ":9090", MACPrefix: "52:54:00", } )
Functions ¶
Types ¶
type Config ¶
type Config struct { HTTPBind string `json:"http_bind"` // HTTPBind is the address (and port) to bind the REST server to. It should be accessible via the internet, via an https proxy GRPCBind string `json:"grpc_bind"` DB string `json:"db"` // DB is the postgres database connection string. For example, "dbname=exampledb user=webapp password=webapp" PKI PKI `json:"pki"` ProvisioningInfo openapi.ProvisioningInfo `json:"provisioning_info"` // ProvisioningInfo is publicly available and used to join new nodes to the cluster JWTValidator middleware.JWTValidator `json:"jwt_validator"` MACPrefix string `json:"mac_prefix"` // MACPrefix will be used as the first half of generated MACs, defaults to the same as libvirt (52:54:00) }
Config describes all configurable keys
Click to show internal directories.
Click to hide internal directories.