Skip to content

Latest commit

 

History

History

README.md

kubernetes.client

No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)

This Python package is automatically generated by the Swagger Codegen project:

  • API version: v7.1.1
  • Package version: 1.0.0-snapshot
  • Build package: io.swagger.codegen.languages.PythonClientCodegen For more information, please visit https://appscode.com

Requirements.

Python 2.7 and 3.4+

Installation & Usage

pip install

If the python package is hosted on Github, you can install directly from Github

pip install git+https://github.com/kubernetes-kubernetes.client/python.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/kubernetes-kubernetes.client/python.git)

Then import the package:

import kubernetes.client 

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import kubernetes.client

Getting Started

Please follow the installation procedure and then run the following:

from __future__ import print_function
import time
import kubernetes.client
from kubernetes.client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = kubernetes.client.ApisApi()

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

Documentation for API Endpoints

All URIs are relative to https://localhost

Class Method HTTP request Description
ApisApi get_api_versions GET /apis/
VoyagerAppscodeComApi get_api_group GET /apis/voyager.appscode.com/
VoyagerAppscodeComV1beta1Api create_namespaced_certificate POST /apis/voyager.appscode.com/v1beta1/namespaces/{namespace}/certificates
VoyagerAppscodeComV1beta1Api create_namespaced_ingress POST /apis/voyager.appscode.com/v1beta1/namespaces/{namespace}/ingresses
VoyagerAppscodeComV1beta1Api delete_collection_namespaced_certificate DELETE /apis/voyager.appscode.com/v1beta1/namespaces/{namespace}/certificates
VoyagerAppscodeComV1beta1Api delete_collection_namespaced_ingress DELETE /apis/voyager.appscode.com/v1beta1/namespaces/{namespace}/ingresses
VoyagerAppscodeComV1beta1Api delete_namespaced_certificate DELETE /apis/voyager.appscode.com/v1beta1/namespaces/{namespace}/certificates/{name}
VoyagerAppscodeComV1beta1Api delete_namespaced_ingress DELETE /apis/voyager.appscode.com/v1beta1/namespaces/{namespace}/ingresses/{name}
VoyagerAppscodeComV1beta1Api get_api_resources GET /apis/voyager.appscode.com/v1beta1/
VoyagerAppscodeComV1beta1Api list_certificate_for_all_namespaces GET /apis/voyager.appscode.com/v1beta1/certificates
VoyagerAppscodeComV1beta1Api list_ingress_for_all_namespaces GET /apis/voyager.appscode.com/v1beta1/ingresses
VoyagerAppscodeComV1beta1Api list_namespaced_certificate GET /apis/voyager.appscode.com/v1beta1/namespaces/{namespace}/certificates
VoyagerAppscodeComV1beta1Api list_namespaced_ingress GET /apis/voyager.appscode.com/v1beta1/namespaces/{namespace}/ingresses
VoyagerAppscodeComV1beta1Api patch_namespaced_certificate PATCH /apis/voyager.appscode.com/v1beta1/namespaces/{namespace}/certificates/{name}
VoyagerAppscodeComV1beta1Api patch_namespaced_ingress PATCH /apis/voyager.appscode.com/v1beta1/namespaces/{namespace}/ingresses/{name}
VoyagerAppscodeComV1beta1Api read_namespaced_certificate GET /apis/voyager.appscode.com/v1beta1/namespaces/{namespace}/certificates/{name}
VoyagerAppscodeComV1beta1Api read_namespaced_ingress GET /apis/voyager.appscode.com/v1beta1/namespaces/{namespace}/ingresses/{name}
VoyagerAppscodeComV1beta1Api replace_namespaced_certificate PUT /apis/voyager.appscode.com/v1beta1/namespaces/{namespace}/certificates/{name}
VoyagerAppscodeComV1beta1Api replace_namespaced_ingress PUT /apis/voyager.appscode.com/v1beta1/namespaces/{namespace}/ingresses/{name}

Documentation For Models

Documentation For Authorization

All endpoints do not require authorization.

Author

hello@appscode.com