Sha256: 74f43b5b3041134f548b376f23bfb626ed27880a054c8d0a31a539fdfc78b121

Contents?: true

Size: 1.84 KB

Versions: 1

Compression:

Stored size: 1.84 KB

Contents

# Zilla::StorageApi

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

| Method | HTTP request | Description |
| ------ | ------------ | ----------- |
| [**get_storage_api_group**](StorageApi.md#get_storage_api_group) | **GET** /apis/storage.k8s.io/ |  |


## get_storage_api_group

> <IoK8sApimachineryPkgApisMetaV1APIGroup> get_storage_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::StorageApi.new

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

#### Using the get_storage_api_group_with_http_info variant

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

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

```ruby
begin
  
  data, status_code, headers = api_instance.get_storage_api_group_with_http_info
  p status_code # => 2xx
  p headers # => { ... }
  p data # => <IoK8sApimachineryPkgApisMetaV1APIGroup>
rescue Zilla::ApiError => e
  puts "Error when calling StorageApi->get_storage_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/StorageApi.md