Documentation
¶
Index ¶
Constants ¶
View Source
const (
HandlerRegistrationName = "tribe"
)
View Source
const (
TaskStateQueryResponseSizeLimit int = 1024
)
Variables ¶
View Source
var ( // Flags consumed by snapd Flags = []cli.Flag{flTribeNodeName, flTribe, flTribeSeed, flTribeAdvertiseAddr, flTribeAdvertisePort} )
Functions ¶
Types ¶
type Config ¶
type Config struct {
Name string `json:"name,omitempty"yaml:"name,omitempty"`
Enable bool `json:"enable,omitempty"yaml:"enable,omitempty"`
BindAddr string `json:"bind_addr,omitempty"yaml:"bind_addr,omitempty"`
BindPort int `json:"bind_port,omitempty"yaml:"bind_port,omitempty"`
Seed string `json:"seed,omitempty"yaml:"seed,omitempty"`
MemberlistConfig *memberlist.Config `json:"-"yaml:"-"`
RestAPIProto string `json:"-"yaml:"-"`
RestAPIPassword string `json:"-"yaml:"-"`
RestAPIPort int `json:"-"yaml:"-"`
RestAPIInsecureSkipVerify string `json:"-"yaml:"-"`
}
holds the configuration passed in through the SNAP config file
Source Files
¶
Click to show internal directories.
Click to hide internal directories.