Documentation ¶
Index ¶
- type Service
- func (s *Service) CreateService(ctx context.Context, req *pb.CreateServiceRequest) (*pb.CreateServiceResponse, error)
- func (s *Service) Heartbeat(req *pb.HeartbeatRequest, stream pb.AgentService_HeartbeatServer) error
- func (s *Service) RemoveService(ctx context.Context, req *pb.RemoveServiceRequest) (*pb.EmptyResponse, error)
- func (s *Service) StartService(ctx context.Context, req *pb.StartServiceRequest) (*pb.EmptyResponse, error)
- func (s *Service) StopService(ctx context.Context, req *pb.StopServiceRequest) (*pb.EmptyResponse, error)
- func (s *Service) Sync(req *pb.SyncRequest, stream pb.AgentService_SyncServer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) CreateService ¶
func (s *Service) CreateService(ctx context.Context, req *pb.CreateServiceRequest) (*pb.CreateServiceResponse, error)
func (*Service) Heartbeat ¶
func (s *Service) Heartbeat(req *pb.HeartbeatRequest, stream pb.AgentService_HeartbeatServer) error
func (*Service) RemoveService ¶
func (s *Service) RemoveService(ctx context.Context, req *pb.RemoveServiceRequest) (*pb.EmptyResponse, error)
func (*Service) StartService ¶
func (s *Service) StartService(ctx context.Context, req *pb.StartServiceRequest) (*pb.EmptyResponse, error)
func (*Service) StopService ¶
func (s *Service) StopService(ctx context.Context, req *pb.StopServiceRequest) (*pb.EmptyResponse, error)
func (*Service) Sync ¶
func (s *Service) Sync(req *pb.SyncRequest, stream pb.AgentService_SyncServer) error
Click to show internal directories.
Click to hide internal directories.