// FrameworkCaller generates and returns a Decorator that applies the given frameworkID to all calls.
FrameworkCaller generates and returns a Decorator that applies the given frameworkID to all calls.
// FrameworkCaller generates and returns a Decorator that applies the given frameworkID to all calls .
func FrameworkCaller(frameworkID string) Decorator {
	return func(h Caller) Caller {
		return CallerFunc(func(c *scheduler.Call) (mesos.Response, error) {
			c.FrameworkID = &mesos.FrameworkID{Value: frameworkID}
			return h.Call(c)
		})
	}
}
func FrameworkCaller ( frameworkID string ) Decorator { return func ( h Caller ) Caller { return CallerFunc ( func ( c * scheduler . Call ) ( mesos . Response , error ) { c . FrameworkID = & mesos . FrameworkID { Value : frameworkID } return h . Call ( c ) } ) } }
FrameworkCaller generates and returns a Decorator that applies the given frameworkID to all calls.
FrameworkCaller generates and returns a Decorator that applies the given frameworkID to all calls .