Documentation ¶
Index ¶
- func CommonNameFromContext(ctx context.Context) (string, error)
- type Server
- func (s Server) Output(req *jogv1.OutputRequest, srv jogv1.JobService_OutputServer) error
- func (s Server) Start(ctx context.Context, req *jogv1.StartRequest) (*jogv1.StartResponse, error)
- func (s Server) Status(ctx context.Context, req *jogv1.StatusRequest) (*jogv1.StatusResponse, error)
- func (s Server) Stop(ctx context.Context, req *jogv1.StopRequest) (*jogv1.StopResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Server ¶
type Server struct { jogv1.UnimplementedJobServiceServer // contains filtered or unexported fields }
Server is the implementation of the grpc JobServiceServer
func (Server) Output ¶
func (s Server) Output(req *jogv1.OutputRequest, srv jogv1.JobService_OutputServer) error
Output streams the output of a job
func (Server) Start ¶
func (s Server) Start(ctx context.Context, req *jogv1.StartRequest) (*jogv1.StartResponse, error)
Start starts a new job
func (Server) Status ¶
func (s Server) Status(ctx context.Context, req *jogv1.StatusRequest) (*jogv1.StatusResponse, error)
Status gets the status of a job
func (Server) Stop ¶
func (s Server) Stop(ctx context.Context, req *jogv1.StopRequest) (*jogv1.StopResponse, error)
Stop stops a job
Click to show internal directories.
Click to hide internal directories.