Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrRebootstrap = errors.New("re-bootstrap requested")
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct { AgentOptions Logger *zap.SugaredLogger // contains filtered or unexported fields }
func New ¶
func New(ctx context.Context, conf *v1beta1.AgentConfig, opts ...AgentOption) (*Agent, error)
func (*Agent) ListenAddress ¶
type AgentOption ¶
type AgentOption func(*AgentOptions)
func WithBootstrapper ¶
func WithBootstrapper(bootstrapper bootstrap.Bootstrapper) AgentOption
func WithRebootstrap ¶
func WithRebootstrap(rebootstrap bool) AgentOption
func WithUnmanagedPluginLoader ¶
func WithUnmanagedPluginLoader(pluginLoader *plugins.PluginLoader) AgentOption
type AgentOptions ¶
type AgentOptions struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.