Sha256: e44661586fe2f410986262e88723e3ebea5f728a2335c07619a1c1ad2e5e55f0

Contents?: true

Size: 1.79 KB

Versions: 1

Compression:

Stored size: 1.79 KB

Contents

# Zilla::NodeApi

All URIs are relative to *http://localhost*

| Method | HTTP request | Description |
| ------ | ------------ | ----------- |
| [**get_node_api_group**](NodeApi.md#get_node_api_group) | **GET** /apis/node.k8s.io/ |  |


## get_node_api_group

> <IoK8sApimachineryPkgApisMetaV1APIGroup> get_node_api_group



get information of a group

### Examples

```ruby
require 'time'
require 'zilla'
# setup authorization
Zilla.configure do |config|
  # Configure API key authorization: BearerToken
  config.api_key['BearerToken'] = '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['BearerToken'] = 'Bearer'
end

api_instance = Zilla::NodeApi.new

begin
  
  result = api_instance.get_node_api_group
  p result
rescue Zilla::ApiError => e
  puts "Error when calling NodeApi->get_node_api_group: #{e}"
end
```

#### Using the get_node_api_group_with_http_info variant

This returns an Array which contains the response data, status code and headers.

> <Array(<IoK8sApimachineryPkgApisMetaV1APIGroup>, Integer, Hash)> get_node_api_group_with_http_info

```ruby
begin
  
  data, status_code, headers = api_instance.get_node_api_group_with_http_info
  p status_code # => 2xx
  p headers # => { ... }
  p data # => <IoK8sApimachineryPkgApisMetaV1APIGroup>
rescue Zilla::ApiError => e
  puts "Error when calling NodeApi->get_node_api_group_with_http_info: #{e}"
end
```

### Parameters

This endpoint does not need any parameter.

### Return type

[**IoK8sApimachineryPkgApisMetaV1APIGroup**](IoK8sApimachineryPkgApisMetaV1APIGroup.md)

### Authorization

[BearerToken](../README.md#BearerToken)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
zilla-0.2.0 docs/NodeApi.md