Files
perl/docs/NetworkingApi.md
2019-03-23 16:42:23 +08:00

62 lines
1.4 KiB
Markdown

# Kubernetes::NetworkingApi
## Load the API package
```perl
use Kubernetes::Object::NetworkingApi;
```
All URIs are relative to *http://localhost*
Method | HTTP request | Description
------------- | ------------- | -------------
[**get_api_group**](NetworkingApi.md#get_api_group) | **GET** /apis/networking.k8s.io/ |
# **get_api_group**
> V1APIGroup get_api_group()
get information of a group
### Example
```perl
use Data::Dumper;
use Kubernetes::NetworkingApi;
my $api_instance = Kubernetes::NetworkingApi->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 NetworkingApi->get_api_group: $@\n";
}
```
### Parameters
This endpoint does not need any parameter.
### Return type
[**V1APIGroup**](V1APIGroup.md)
### Authorization
[BearerToken](../README.md#BearerToken)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)