Documentation ¶
Index ¶
- type Agent
- func (a *Agent) GetHealth(context.Context, *emptypb.Empty) (*corev1.Health, error)
- func (a *Agent) GetKeyring(ctx context.Context) (keyring.Keyring, error)
- func (a *Agent) GetTrustStrategy() trust.Strategy
- func (a *Agent) ListenAddress() string
- func (a *Agent) ListenAndServe(ctx context.Context) error
- type AgentOption
- type AgentOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct { controlv1.UnimplementedHealthServer AgentOptions // contains filtered or unexported fields }
func New ¶
func New(ctx context.Context, conf *v1beta1.AgentConfig, opts ...AgentOption) (*Agent, error)
func (*Agent) GetTrustStrategy ¶
func (*Agent) ListenAddress ¶
type AgentOption ¶
type AgentOption func(*AgentOptions)
func WithBootstrapper ¶
func WithBootstrapper(bootstrapper bootstrap.Bootstrapper) AgentOption
type AgentOptions ¶
type AgentOptions struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.