class

PlaceOS::Client

Inherits Reference < Object

Constants

API_ROOT = "/api/engine/v2"
AUTH_API_ROOT = "/auth"
VERSION = {{ (`shards version \"/tmp/tmp.PfBFHF/src/src/placeos\"`).chomp.stringify.downcase }}

Constructors

new(base_uri : URI | String, email : String | Nil = nil, password : String | Nil = nil, client_id : String | Nil = nil, client_secret : String | Nil = nil, token : OAuth2::AccessToken | Nil = nil, host_header : String | Nil = nil, insecure : Bool = false, x_api_key : String | Nil = nil)
Source

Class methods

from_environment_user
Source
from_environment_user
Source
tls_context
Source

Instance methods

api_wrapper
Source
apikeys

Provide an object for managing APIKeys. See PlaceOS::Client::APIWrapper::APIKeys.

Source
authenticated?
Source
authority

Provide an object for managing Authority. See PlaceOS::Client::APIWrapper::Authority.

Source
close(*args, **options)
Source
close(*args, **options, &)
Source
cluster

Provide an object for managing Cluster. See PlaceOS::Client::APIWrapper::Cluster.

Source
domains

Provide an object for managing Domains. See PlaceOS::Client::APIWrapper::Domains.

Source
drivers

Provide an object for managing Drivers. See PlaceOS::Client::APIWrapper::Drivers.

Source
ldap

Provide an object for managing Ldap. See PlaceOS::Client::APIWrapper::Ldap.

Source
metadata

Provide an object for managing Metadata. See PlaceOS::Client::APIWrapper::Metadata.

Source
modules

Provide an object for managing Modules. See PlaceOS::Client::APIWrapper::Modules.

Source
oauth

Provide an object for managing OAuth. See PlaceOS::Client::APIWrapper::OAuth.

Source
oauthapplications

Provide an object for managing OAuthApplications. See PlaceOS::Client::APIWrapper::OAuthApplications.

Source
root

Provide an object for managing Root. See PlaceOS::Client::APIWrapper::Root.

Source
saml

Provide an object for managing Saml. See PlaceOS::Client::APIWrapper::Saml.

Source
settings

Provide an object for managing Settings. See PlaceOS::Client::APIWrapper::Settings.

Source
systems

Provide an object for managing Systems. See PlaceOS::Client::APIWrapper::Systems.

Source
users

Provide an object for managing Users. See PlaceOS::Client::APIWrapper::Users.

Source
zones

Provide an object for managing Zones. See PlaceOS::Client::APIWrapper::Zones.

Source

Nested types