Documentation ¶
Index ¶
- type Config
- type Service
- func (s *Service) GracefulShutdown(ctx context.Context, _ *agentv1.GracefulShutdownRequest) (*agentv1.GracefulShutdownResponse, error)
- func (s *Service) Publish(ctx context.Context, request *agentv1.PublishRequest) (*agentv1.PublishResponse, error)
- func (s *Service) Subscribe(ctx context.Context, request *agentv1.SubscribeRequest) (*agentv1.SubscribeResponse, error)
- func (s *Service) WatchSubscription(_ agentv1.AgentAPI_WatchSubscriptionServer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { agentv1.UnsafeAgentAPIServer Credentials *local.Store InitiateShutdown func() // contains filtered or unexported fields }
func (*Service) GracefulShutdown ¶
func (s *Service) GracefulShutdown(ctx context.Context, _ *agentv1.GracefulShutdownRequest) (*agentv1.GracefulShutdownResponse, error)
func (*Service) Publish ¶
func (s *Service) Publish(ctx context.Context, request *agentv1.PublishRequest) (*agentv1.PublishResponse, error)
func (*Service) Subscribe ¶
func (s *Service) Subscribe(ctx context.Context, request *agentv1.SubscribeRequest) (*agentv1.SubscribeResponse, error)
func (*Service) WatchSubscription ¶
func (s *Service) WatchSubscription(_ agentv1.AgentAPI_WatchSubscriptionServer) error
Click to show internal directories.
Click to hide internal directories.