1.4 KiB
1.4 KiB
Kubernetes::StorageApi
Load the API package
use Kubernetes::Object::StorageApi;
All URIs are relative to http://localhost
| Method | HTTP request | Description |
|---|---|---|
| get_api_group | GET /apis/storage.k8s.io/ |
get_api_group
V1APIGroup get_api_group()
get information of a group
Example
use Data::Dumper;
use Kubernetes::StorageApi;
my $api_instance = Kubernetes::StorageApi->new(
# Configure API key authorization: BearerToken
api_key => {'authorization' => 'YOUR_API_KEY'},
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#api_key_prefix => {'authorization' => 'Bearer'},
);
eval {
my $result = $api_instance->get_api_group();
print Dumper($result);
};
if ($@) {
warn "Exception when calling StorageApi->get_api_group: $@\n";
}
Parameters
This endpoint does not need any parameter.
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json, application/yaml, application/vnd.kubernetes.protobuf
[Back to top] [Back to API list] [Back to Model list] [Back to README]