Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIServer ¶
type APIServer struct {
// contains filtered or unexported fields
}
APIServer body structure
type ApiController ¶
type ApiController interface {
ListRegions() ([]string, error)
ListNode(*pb.Node, *pb.Search) ([]*pb.Node, int32, error)
AddJob(*pb.Job) (*pb.Job, error)
ModifyJob(*pb.Job) (*pb.Job, error)
DeleteJob(*pb.Job) (*pb.Job, error)
ListJob(in *pb.Job, search *pb.Search) ([]*pb.Job, int32, error)
RunJob(name, region string) (*pb.Execution, error)
GetStatus(name, region string) (*pb.JobStatus, error)
ListExecutions(in *pb.Execution, search *pb.Search) ([]*pb.Execution, int32, error)
Search(interface{}, *pb.Search) ([]interface{}, int32, error)
}
ApiController is interface used to operate all objs
Click to show internal directories.
Click to hide internal directories.