Versions in this module Expand all Collapse all v1 v1.0.2 May 18, 2023 Changes in this version + func RegisterService(s *grpc.Server, service *Service) + type Config struct + AgentTTL time.Duration + Catalog catalog.Catalog + Clock clock.Clock + DataStore datastore.DataStore + ServerCA ca.ServerCA + TrustDomain spiffeid.TrustDomain + type Service struct + func New(config Config) *Service + func (s *Service) AttestAgent(stream agentv1.Agent_AttestAgentServer) error + func (s *Service) BanAgent(ctx context.Context, req *agentv1.BanAgentRequest) (*emptypb.Empty, error) + func (s *Service) CountAgents(ctx context.Context, req *agentv1.CountAgentsRequest) (*agentv1.CountAgentsResponse, error) + func (s *Service) CreateJoinToken(ctx context.Context, req *agentv1.CreateJoinTokenRequest) (*types.JoinToken, error) + func (s *Service) DeleteAgent(ctx context.Context, req *agentv1.DeleteAgentRequest) (*emptypb.Empty, error) + func (s *Service) GetAgent(ctx context.Context, req *agentv1.GetAgentRequest) (*types.Agent, error) + func (s *Service) ListAgents(ctx context.Context, req *agentv1.ListAgentsRequest) (*agentv1.ListAgentsResponse, error) + func (s *Service) RenewAgent(ctx context.Context, req *agentv1.RenewAgentRequest) (*agentv1.RenewAgentResponse, error)