Documentation ¶
Index ¶
- func RegisterService(s *grpc.Server, service *Service)
- type Config
- type Service
- func (s *Service) AttestAgent(stream agent.Agent_AttestAgentServer) error
- func (s *Service) BanAgent(ctx context.Context, req *agent.BanAgentRequest) (*empty.Empty, error)
- func (s *Service) CreateJoinToken(ctx context.Context, req *agent.CreateJoinTokenRequest) (*types.JoinToken, error)
- func (s *Service) DeleteAgent(ctx context.Context, req *agent.DeleteAgentRequest) (*empty.Empty, error)
- func (s *Service) GetAgent(ctx context.Context, req *agent.GetAgentRequest) (*types.Agent, error)
- func (s *Service) ListAgents(ctx context.Context, req *agent.ListAgentsRequest) (*agent.ListAgentsResponse, error)
- func (s *Service) RenewAgent(stream agent.Agent_RenewAgentServer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterService ¶
RegisterService registers the agent service on the gRPC server/
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service implements the v1 agent service
func (*Service) AttestAgent ¶
func (*Service) CreateJoinToken ¶
func (*Service) DeleteAgent ¶
func (*Service) ListAgents ¶
func (*Service) RenewAgent ¶
Click to show internal directories.
Click to hide internal directories.