MCPcopy Create free account
hub / github.com/olivere/elastic / TaskId

Method TaskId

tasks_get_task.go:78–81  ·  view source on GitHub ↗

TaskId specifies the task to return. Notice that the caller is responsible for using the correct format, i.e. node_id:task_number, as specified in the REST API.

(taskId string)

Source from the content-addressed store, hash-verified

76// for using the correct format, i.e. node_id:task_number, as specified in
77// the REST API.
78func (s *TasksGetTaskService) TaskId(taskId string) *TasksGetTaskService {
79 s.taskId = taskId
80 return s
81}
82
83// TaskIdFromNodeAndId indicates to return the task on the given node with specified id.
84func (s *TasksGetTaskService) TaskIdFromNodeAndId(nodeId string, id int64) *TasksGetTaskService {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected