Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BootstrapChecker ¶
type BootstrapChecker struct {
// contains filtered or unexported fields
}
func NewBootstrapChecker ¶
func NewBootstrapChecker(logger logger, agentClient agentClient, statusClient statusClient, sleeper func(duration time.Duration)) BootstrapChecker
func (BootstrapChecker) StartInBootstrapMode ¶
func (b BootstrapChecker) StartInBootstrapMode() (startInBootstrapMode bool, err error)
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
type ConfigWriter ¶
type ConfigWriter struct {
// contains filtered or unexported fields
}
func NewConfigWriter ¶
func NewConfigWriter(dir string, logger logger) ConfigWriter
type Controller ¶
type Controller struct { AgentRunner agentRunner AgentClient agentClient Retrier utils.Retrier EncryptKeys []string SSLDisabled bool Logger logger ConfigDir string ServiceDefiner serviceDefiner Config config.Config }
func (Controller) ConfigureClient ¶
func (c Controller) ConfigureClient() error
func (Controller) ConfigureServer ¶
func (c Controller) ConfigureServer(timeout utils.Timeout) error
func (Controller) StopAgent ¶
func (c Controller) StopAgent()
func (Controller) WriteServiceDefinitions ¶
func (c Controller) WriteServiceDefinitions() error
type KeyringRemover ¶
type KeyringRemover struct {
// contains filtered or unexported fields
}
func NewKeyringRemover ¶
func NewKeyringRemover(path string, logger logger) KeyringRemover
func (KeyringRemover) Execute ¶
func (r KeyringRemover) Execute() error
Click to show internal directories.
Click to hide internal directories.