kuberneteslib_io 0.1.1 copy "kuberneteslib_io: ^0.1.1" to clipboard
kuberneteslib_io: ^0.1.1 copied to clipboard

A library that implements the Kubernetes API natively. It is written using the direct specs and currently covers most of the V1 Core, Apps, and Batch resources.

70/ 160
pub points
47
downloads

We analyzed this package 4 days ago, and awarded it 70 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: GPL-3.0.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

20 out of 24 API elements (83.3 %) have documentation comments.

Some symbols that are missing documentation: kuberneteslib_io.ClusterAuth.ClusterAuth.fromJson, kuberneteslib_io.ClusterAuth.ClusterAuth.fromSelectedContext, kuberneteslib_io.ClusterAuth.ClusterAuth.new, kuberneteslib_io.ClusterAuth.toJson.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:kuberneteslib_io/kuberneteslib_io.dart that imports:
  • package:kuberneteslib_io/src/auth/cluster.dart that imports:
  • package:kuberneteslib_io/src/auth/cert_client.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.cn/web/wasm for details.

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 3 issues. Showing the first 2:

ERROR: Undefined name 'User'.

lib/src/auth/cluster.g.dart:14:13

   ╷
14 │           : User.fromJson(json['user'] as Map<String, dynamic>)
   │             ^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/auth/cluster.g.dart

WARNING: The '!' will have no effect because the receiver can't be null.

lib/src/auth/bearer_client.dart:15:30

   ╷
15 │       if (expirationTimestamp!.isBefore(now)) {
   │                              ^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/auth/bearer_client.dart

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
dio ^5.7.0 5.9.0 5.9.0
http ^1.2.2 1.5.0 1.5.0
humanizer ^3.0.0 3.0.1 3.0.1
json2yaml ^3.0.1 3.0.1 3.0.1
json_annotation ^4.9.0 4.9.0 4.9.0
json_serializable ^6.9.0 6.11.1 6.11.1
kuberneteslib ^0.8.18 0.8.18 0.9.3
yaml ^3.1.2 3.1.3 3.1.3
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 89.0.0 89.0.0
analyzer - 8.2.0 8.2.0
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
build - 4.0.1 4.0.1
build_config - 1.2.0 1.2.0
checked_yaml - 2.0.4 2.0.4
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
dart_style - 3.1.2 3.1.2
decimal - 3.2.4 3.2.4
dio_web_adapter - 2.1.1 2.1.1
file - 7.0.1 7.0.1
glob - 2.1.3 2.1.3
http_parser - 4.1.2 4.1.2
intl - 0.20.2 0.20.2
logging - 1.3.0 1.3.0
meta - 1.17.0 1.17.0
mime - 2.0.0 2.0.0
package_config - 2.2.0 2.2.0
path - 1.9.1 1.9.1
pub_semver - 2.2.0 2.2.0
pubspec_parse - 1.5.0 1.5.0
rational - 2.2.3 2.2.3
source_gen - 4.0.1 4.0.1
source_helper - 1.3.8 1.3.8
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
watcher - 1.1.4 1.1.4
web - 1.1.1 1.1.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^0.8.18` on kuberneteslib does not support the stable version `0.9.3`.

Try running dart pub upgrade --major-versions kuberneteslib to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • UNDEFINED_IDENTIFIER - lib/src/auth/cluster.g.dart:14:13 - Undefined name 'User'.

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.23, Dart 3.9.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
70
points
47
downloads

Publisher

unverified uploader

Weekly Downloads

A library that implements the Kubernetes API natively. It is written using the direct specs and currently covers most of the V1 Core, Apps, and Batch resources.

Repository (GitHub)
View/report issues

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

dio, http, humanizer, json2yaml, json_annotation, json_serializable, kuberneteslib, yaml

More

Packages that depend on kuberneteslib_io