Documentation ¶
Index ¶
Constants ¶
View Source
const ( DesireAppRoute = "Desire" StopAppRoute = "StopApp" KillIndexRoute = "KillIndex" TasksRoute = "Task" CancelTaskRoute = "CancelTask" )
View Source
const NysncBulkerLockSchemaKey = "nsync_bulker_lock"
Variables ¶
View Source
var Routes = rata.Routes{ {Path: "/v1/apps/:process_guid", Method: "PUT", Name: DesireAppRoute}, {Path: "/v1/apps/:process_guid", Method: "DELETE", Name: StopAppRoute}, {Path: "/v1/apps/:process_guid/index/:index", Method: "DELETE", Name: KillIndexRoute}, {Path: "/v1/tasks", Method: "POST", Name: TasksRoute}, {Path: "/v1/tasks/:task_guid", Method: "DELETE", Name: CancelTaskRoute}, }
Functions ¶
func NysncBulkerLockSchemaPath ¶
func NysncBulkerLockSchemaPath() string
Types ¶
type ServiceClient ¶
type ServiceClient interface {
NewNsyncBulkerLockRunner(logger lager.Logger, bulkerID string, retryInterval, lockTTL time.Duration) ifrit.Runner
}
func NewServiceClient ¶
func NewServiceClient(consulClient consuladapter.Client, clock clock.Clock) ServiceClient
Click to show internal directories.
Click to hide internal directories.