Class: LicenseKit::SystemClient
- Inherits:
-
BaseClient
- Object
- BaseClient
- LicenseKit::SystemClient
- Defined in:
- lib/licensekit/generated/clients.rb
Instance Attribute Summary collapse
-
#raw ⇒ Object
readonly
Returns the value of attribute raw.
Instance Method Summary collapse
-
#get_metrics(request = nil, options: nil, **kwargs) ⇒ Object
Prometheus metrics.
-
#health(request = nil, options: nil, **kwargs) ⇒ Object
Hosted-safe liveness probe.
-
#healthz(request = nil, options: nil, **kwargs) ⇒ Object
Liveness probe.
-
#initialize(base_url:, headers: nil, timeout: nil, user_agent: nil, retry_options: nil, transport: nil) ⇒ SystemClient
constructor
A new instance of SystemClient.
-
#list_public_keys(request = nil, options: nil, **kwargs) ⇒ Object
List public signing keys.
-
#readyz(request = nil, options: nil, **kwargs) ⇒ Object
Readiness probe.
Constructor Details
#initialize(base_url:, headers: nil, timeout: nil, user_agent: nil, retry_options: nil, transport: nil) ⇒ SystemClient
Returns a new instance of SystemClient.
912 913 914 915 916 917 918 919 920 921 922 923 924 |
# File 'lib/licensekit/generated/clients.rb', line 912 def initialize(base_url:, headers: nil, timeout: nil, user_agent: nil, retry_options: nil, transport: nil) super( base_url: base_url, auth_type: "none", auth_value: nil, headers: headers, timeout: timeout, user_agent: user_agent, retry_options: , transport: transport ) @raw = SystemRawClient.new(self) end |
Instance Attribute Details
#raw ⇒ Object (readonly)
Returns the value of attribute raw.
910 911 912 |
# File 'lib/licensekit/generated/clients.rb', line 910 def raw @raw end |
Instance Method Details
#get_metrics(request = nil, options: nil, **kwargs) ⇒ Object
Prometheus metrics
927 928 929 |
# File 'lib/licensekit/generated/clients.rb', line 927 def get_metrics(request = nil, options: nil, **kwargs) perform_request("getMetrics", request, options: , **kwargs) end |
#health(request = nil, options: nil, **kwargs) ⇒ Object
Hosted-safe liveness probe
932 933 934 |
# File 'lib/licensekit/generated/clients.rb', line 932 def health(request = nil, options: nil, **kwargs) perform_request("health", request, options: , **kwargs) end |
#healthz(request = nil, options: nil, **kwargs) ⇒ Object
Liveness probe
937 938 939 |
# File 'lib/licensekit/generated/clients.rb', line 937 def healthz(request = nil, options: nil, **kwargs) perform_request("healthz", request, options: , **kwargs) end |
#list_public_keys(request = nil, options: nil, **kwargs) ⇒ Object
List public signing keys
942 943 944 |
# File 'lib/licensekit/generated/clients.rb', line 942 def list_public_keys(request = nil, options: nil, **kwargs) perform_request("listPublicKeys", request, options: , **kwargs) end |
#readyz(request = nil, options: nil, **kwargs) ⇒ Object
Readiness probe
947 948 949 |
# File 'lib/licensekit/generated/clients.rb', line 947 def readyz(request = nil, options: nil, **kwargs) perform_request("readyz", request, options: , **kwargs) end |