Reset a Tugboat Service

Resets a Tugboat Service back to its original state. The original state is whatever was present directly following the preview's most recent build, rebuild, or refresh.

Arguments

  • service - Required The service to reset

Example

socket.emit('tugboat', 'services', 'reset', args, callback);

Output

single

{
    "_id": "58cf4e012057230001ae530b",
    "updatedAt": "2017-03-20T18:40:00.045Z",
    "createdAt": "2017-03-20T03:35:29.758Z",
    "name": "apache",
    "preview": "58cf4e012057230001ae530a",
    "size": 418248599,
    "state": "ready",
    "id": "58cf4e012057230001ae530b"
}

array

[
    {
        "_id": "58cf4e012057230001ae530b",
        "updatedAt": "2017-03-20T18:40:00.045Z",
        "createdAt": "2017-03-20T03:35:29.758Z",
        "name": "apache",
        "preview": "58cf4e012057230001ae530a",
        "size": 418248599,
        "state": "ready",
        "id": "58cf4e012057230001ae530b"
    }
]

results matching ""

    No results matching ""