Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController(hostname string) *Controller
func (*Controller) ExtractJobs ¶
func (c *Controller) ExtractJobs()
func (*Controller) GetJobLength ¶
func (c *Controller) GetJobLength() uint32
func (*Controller) HandleJob ¶
func (c *Controller) HandleJob(ctx context.Context, jobId string, cb func()) error
func (*Controller) HandleJobs ¶
func (c *Controller) HandleJobs()
func (*Controller) IsRunningExceed ¶
func (c *Controller) IsRunningExceed() bool
func (*Controller) Serve ¶
func (c *Controller) Serve()
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) CreateJob ¶
func (p *Server) CreateJob(ctx context.Context, req *pb.CreateJobRequest) (*pb.CreateJobResponse, error)
func (*Server) DescribeJobs ¶
func (p *Server) DescribeJobs(ctx context.Context, req *pb.DescribeJobsRequest) (*pb.DescribeJobsResponse, error)
Click to show internal directories.
Click to hide internal directories.