Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Latest commit

 

History

History
56 lines (36 loc) · 1.23 KB

EventsApi.md

File metadata and controls

56 lines (36 loc) · 1.23 KB

Kubernetes::EventsApi

All URIs are relative to https://localhost

Method HTTP request Description
get_api_group GET /apis/events.k8s.io/

get_api_group

V1APIGroup get_api_group

get information of a group

Example

# load the gem
require 'kubernetes'
# setup authorization
Kubernetes.configure do |config|
  # Configure API key authorization: BearerToken
  config.api_key['authorization'] = 'YOUR API KEY'
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
  #config.api_key_prefix['authorization'] = 'Bearer'
end

api_instance = Kubernetes::EventsApi.new

begin
  result = api_instance.get_api_group
  p result
rescue Kubernetes::ApiError => e
  puts "Exception when calling EventsApi->get_api_group: #{e}"
end

Parameters

This endpoint does not need any parameter.

Return type

V1APIGroup

Authorization

BearerToken

HTTP request headers

  • Content-Type: application/json, application/yaml, application/vnd.kubernetes.protobuf
  • Accept: application/json, application/yaml, application/vnd.kubernetes.protobuf