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

outdated

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

k8s (EXPERIMENTAL) #

Pub Version

Kubernetes API client library for Dart.

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

Requirements #

  • Dart 2.12.0 or later OR Flutter 1.26.0 or later
  • Dio 4.0.0+

Installation & Usage #

Package #

To use the package from pub.dev, please include the following in pubspec.yaml

dependencies:
  k8s: 1.26.2

Github #

If this Dart package is published to Github, please include the following in pubspec.yaml

dependencies:
  k8s:
    git:
      url: https://github.com/fatihsever/k8s-dart.git
      #ref: main

Local development #

To use the package from your local drive, please include the following in pubspec.yaml

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

Getting Started #

Please follow the installation procedure and then run the following:

import 'package:k8s/k8s.dart';

final api = K8s().getVersionApi();

try {
    final response = await api.getCodeVersion();
    print(response);
} catch on DioError (e) {
    print("Exception when calling VersionApi->getCodeVersion: $e\n");
}

Documentation for API Endpoints #

Documentation For Models #

Documentation For Authorization #

BearerToken #

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

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-dio \
--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. This package is automatically generated by the OpenAPI Generator.",pubHomepage=https://github.com/fatihsever/k8s-dart,pubLibrary=k8s,pubName=k8s,pubVersion=1.26.2

Author #

5
likes
0
points
3
downloads

Publisher

verified publisherfatihsever.com

Weekly Downloads

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

Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (license)

Dependencies

built_collection, built_value, dio, one_of, one_of_serializer

More

Packages that depend on k8s