Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TrySaveToDisk ¶
Types ¶
type Config ¶
type Config struct { AgentID string `json:"agentID,omitempty" yaml:"agentID"` Metadata options.Metadata `json:"metadata,omitempty" yaml:"metadata"` IPDetect string `json:"ipDetect,omitempty" yaml:"ipDetect"` RegisterNode bool `json:"registerNode,omitempty" yaml:"registerNode"` NodeStatusUpdateFrequency time.Duration `json:"nodeStatusUpdateFrequency,omitempty" yaml:"nodeStatusUpdateFrequency"` DownloaderOptions *downloader.Options `json:"downloader" yaml:"downloader" mapstructure:"downloader"` LogOptions *logger.Options `json:"log,omitempty" yaml:"log,omitempty" mapstructure:"log"` MQOptions *natsio.NatsOptions `json:"mq,omitempty" yaml:"mq,omitempty" mapstructure:"mq"` OpLogOptions *oplog.Options `json:"oplog,omitempty" yaml:"oplog,omitempty" mapstructure:"oplog"` ImageProxyOptions *imageproxy.Options `json:"imageProxy,omitempty" yaml:"imageProxy,omitempty" mapstructure:"imageProxy"` }
Config defines everything needed for apiserver to deal with external services
func TryLoadFromDisk ¶
Click to show internal directories.
Click to hide internal directories.