Skip to content

Latest commit

 

History

History
52 lines (33 loc) · 1.33 KB

File metadata and controls

52 lines (33 loc) · 1.33 KB

openshift.client.PolicyApi

All URIs are relative to https://localhost

Method HTTP request Description
get_policy_api_group GET /apis/policy/

get_policy_api_group

UnversionedAPIGroup get_policy_api_group()

get information of a group

Example

from __future__ import print_statement
import time
import openshift.client
from kubernetes.client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openshift.client.PolicyApi()

try: 
    api_response = api_instance.get_policy_api_group()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PolicyApi->get_policy_api_group: %s\n" % e)

Parameters

This endpoint does not need any parameter.

Return type

UnversionedAPIGroup

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json, application/yaml, application/vnd.kubernetes.protobuf
  • Accept: application/json, application/yaml, application/vnd.kubernetes.protobuf

[Back to top] [Back to API list] [Back to Model list] [Back to README]