module Fleet::Client::State

Constants

STATE_RESOURCE

Public Instance Methods

list_states() click to toggle source
# File lib/fleet/client/state.rb, line 6
def list_states
  opts = { consistent: true, recursive: true, sorted: true }
  get(state_path, opts)
end

Private Instance Methods

state_path(*parts) click to toggle source
# File lib/fleet/client/state.rb, line 13
def state_path(*parts)
  resource_path(STATE_RESOURCE, *parts)
end