k8s 1.26.1 copy "k8s: ^1.26.1" to clipboard
k8s: ^1.26.1 copied to clipboard

outdated

Kubernetes API client library for Dart. This Dart package is automatically generated by the OpenAPI Generator.

k8s #

Pub Version

Kubernetes API client library for Dart.

This Dart package is automatically generated by the OpenAPI Generator project:

Requirements #

Dart 2.12 or later

Installation & Usage #

Package: #

pub.dev

Github: #

If this Dart package is published to Github, add the following dependency to your pubspec.yaml

dependencies:
  k8s:
    git: https://github.com/fatihsever/k8s-dart.git

Local: #

To use the package in your local drive, add the following dependency to your pubspec.yaml

dependencies:
  k8s:
    path: /path/to/k8s

Tests #

TODO

Getting Started #

Please follow the installation procedure and then run the following:

import 'package:k8s/api.dart';

// TODO Configure API key authorization: BearerToken
//defaultApiClient.getAuthentication<ApiKeyAuth>('BearerToken').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('BearerToken').apiKeyPrefix = 'Bearer';

final api_instance = AdmissionregistrationApi();

try {
    final result = api_instance.getAdmissionregistrationAPIGroup();
    print(result);
} catch (e) {
    print('Exception when calling AdmissionregistrationApi->getAdmissionregistrationAPIGroup: $e\n');
}

Documentation for API Endpoints #

Documentation For Models #

Documentation For Authorization #

BearerToken #

  • Type: API key
  • API key parameter name: authorization
  • Location: HTTP header

Author #

Fatih Sever

How was it generated? #

openapi-generator generate \
--input-spec=https://raw.githubusercontent.com/kubernetes/kubernetes/v1.26.0/api/openapi-spec/swagger.json  \
--generator-name=dart \
--git-repo-id=k8s-dart \
--git-user-id=fatihsever \
--additional-properties=pubAuthor=fatihsever.com,pubAuthorEmail=hello@fatihsever.com,pubDescription="Kubernetes API client library for Dart",pubHomepage=https://github.com/fatihsever/k8s-dart,pubLibrary=k8s,pubName=k8s,pubVersion=1.26.0
5
likes
0
points
3
downloads

Publisher

verified publisherfatihsever.com

Weekly Downloads

Kubernetes API client library for Dart. This Dart package is automatically generated by the OpenAPI Generator.

Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (license)

Dependencies

http, intl, meta

More

Packages that depend on k8s