Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct { Jsonrpc string `json:"jsonrpc"` ID interface{} `json:"id,omitempty"` Method string `json:"method"` Params json.RawMessage `json:"params"` Meta map[string]string `json:"meta,omitempty"` }
Request defines a JSON RPC request from the spec http://www.jsonrpc.org/specification#request_object
type Response ¶
type Response struct { Jsonrpc string `json:"jsonrpc"` Result interface{} `json:"result,omitempty"` ID interface{} `json:"id"` Error *respError `json:"error,omitempty"` }
Response defines a JSON RPC response from the spec http://www.jsonrpc.org/specification#response_object
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) GetLocalMinioEndpoint ¶
func (s *Service) GetLocalMinioEndpoint(schedulerURL string) (*types.MinioConfig, error)
GetLocalMinioEndpoint get local minio endpoint
func (*Service) GetScheduler ¶
GetScheduler get the scheduler URL from the specified candidate ID
Click to show internal directories.
Click to hide internal directories.