Class: Io::Flow::V0::Clients::KubeHealthchecks
- Inherits:
-
Object
- Object
- Io::Flow::V0::Clients::KubeHealthchecks
- Defined in:
- lib/flow_commerce/flow_api_v0_client.rb
Instance Method Summary collapse
- #get_live ⇒ Object
- #get_ready ⇒ Object
- #get_startup ⇒ Object
-
#initialize(client) ⇒ KubeHealthchecks
constructor
A new instance of KubeHealthchecks.
Constructor Details
#initialize(client) ⇒ KubeHealthchecks
Returns a new instance of KubeHealthchecks.
7337 7338 7339 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7337 def initialize(client) @client = HttpClient::Preconditions.assert_class('client', client, ::Io::Flow::V0::Client) end |
Instance Method Details
#get_live ⇒ Object
7341 7342 7343 7344 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 7341 def get_live r = @client.request("/_internal_/live").get ::Io::Flow::V0::Models::KubeHealthcheck.new(r) end |