Skip to main content

Constants for the fields of the /reserve/resource request.

Option fields

action

Constants for action.

pub const CHANGE_OWNER: &str = “change_owner”;

Notifies the server of an object which is tracked but now removed from the tier.

pub const DELETE: &str = “delete”;

Notifies the server to delete the given object.

pub const EVICT: &str = “evict”;

Notifies the server of an object which is tracked but now removed from the tier.

pub const GET_SIZE: &str = “get_size”;

Returns the size of the requested object, if it exists.

pub const NOTIFY_UNTIERED: &str = “notify_untiered”;

Notifies the server of an object which is tracked by the client but cannot be tiered due to capacity limitations.

pub const TIER: &str = “tier”;

Requests an object be added to or resized in the tier.