Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Address string `user:"true" help:"public address to listen on" default:":8080"` Versions ServiceVersions }
Config is all the configuration parameters for a Version Control Server
type Peer ¶
type Peer struct { // core dependencies Log *zap.Logger // Web server Server struct { Endpoint http.Server Listener net.Listener } Versions version.AllowedVersions // contains filtered or unexported fields }
Peer is the representation of a VersionControl Server.
type ServiceVersions ¶
type ServiceVersions struct { Bootstrap string `user:"true" help:"Allowed Bootstrap Versions" default:"v0.0.1"` Satellite string `user:"true" help:"Allowed Satellite Versions" default:"v0.0.1"` Storagenode string `user:"true" help:"Allowed Storagenode Versions" default:"v0.0.1"` Uplink string `user:"true" help:"Allowed Uplink Versions" default:"v0.0.1"` Gateway string `user:"true" help:"Allowed Gateway Versions" default:"v0.0.1"` Identity string `user:"true" help:"Allowed Identity Versions" default:"v0.0.1"` }
ServiceVersions provides a list of allowed Versions per Service
Click to show internal directories.
Click to hide internal directories.