Documentation
¶
Index ¶
Constants ¶
View Source
const ( CMD_QUEUE_SIZE = 10 STATUS_QUEUE_SIZE = 10 MAX_ERRORS = 3 )
View Source
const (
DEFAULT_API_HOSTNAME = "v2-cloud-api.percona.com"
)
Variables ¶
View Source
var REVISION string = "0"
REV="$(git rev-parse HEAD)" go build -ldflags "-X github.com/percona/percon-agent/agnet.REVISION $REV"
View Source
var VERSION string = "1.0.2"
Functions ¶
func LoadConfig ¶
Types ¶
type Agent ¶
type Agent struct {
// contains filtered or unexported fields
}
func NewAgent ¶
func NewAgent(config *Config, logger *pct.Logger, api pct.APIConnector, client pct.WebsocketClient, services map[string]pct.ServiceManager) *Agent
Click to show internal directories.
Click to hide internal directories.