Documentation ¶
Index ¶
- func CallNoData(ctx context.Context, caller Caller, call *executor.Call) error
- func Executor(id string) executor.CallOpt
- func Framework(id string) executor.CallOpt
- func Message(data []byte) *executor.Call
- func Subscribe(unackdTasks []mesos.TaskInfo, unackdUpdates []executor.Call_Update) *executor.Call
- func Update(status mesos.TaskStatus) *executor.Call
- type Caller
- type CallerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallNoData ¶ added in v0.0.4
CallNoData is a convenience func that executes the given Call using the provided Caller and always drops the response data.
Types ¶
type Caller ¶ added in v0.0.4
type Caller interface { // Call issues a call to Mesos and properly manages call-specific HTTP response headers & data. Call(context.Context, *executor.Call) (mesos.Response, error) }
Caller is the public interface this framework scheduler's should consume
type CallerFunc ¶ added in v0.0.4
CallerFunc is the functional adaptation of the Caller interface
Click to show internal directories.
Click to hide internal directories.