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

1.5 KiB

Kubernetes::RbacAuthorizationApi

Load the API package

use Kubernetes::Object::RbacAuthorizationApi;

All URIs are relative to http://localhost

Method HTTP request Description
get_api_group GET /apis/rbac.authorization.k8s.io/

get_api_group

V1APIGroup get_api_group()

get information of a group

Example

use Data::Dumper;
use Kubernetes::RbacAuthorizationApi;
my $api_instance = Kubernetes::RbacAuthorizationApi->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 RbacAuthorizationApi->get_api_group: $@\n";
}

Parameters

This endpoint does not need any parameter.

Return type

V1APIGroup

Authorization

BearerToken

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]