@c6o/kubeclient-resources

0.0.15 • Public • Published

kubernetes-types

DO NOT modify any of the files in this package as they are all generated by the generator project

This package provides TypeScript definitions for Kubernetes API types, generated from the Kubernetes OpenAPI definitions.

Example

import {Pod} from 'kubernetes-types/core/v1'
import {ObjectMeta} from 'kubernetes-types/meta/v1'

let metadata: ObjectMeta = {name: 'example', labels: {app: 'example'}}
let pod: Pod = {
  apiVersion: 'v1',
  kind: 'Pod', // 'v1' and 'Pod' are the only accepted values for a Pod

  metadata,

  spec: {
    containers: [
      /* ... */
    ],
  },
}

Readme

Keywords

Package Sidebar

Install

npm i @c6o/kubeclient-resources

Weekly Downloads

0

Version

0.0.15

License

https://github.com/c6o/legal/#license

Unpacked Size

1.16 MB

Total Files

189

Last publish

Collaborators

  • nsainaney
  • conneryn