Socket
Book a DemoInstallSign in
Socket

@codingame/kubevirt-api

Package Overview
Dependencies
Maintainers
5
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codingame/kubevirt-api

kubevirt OpenAPI automation for TypeScript

latest
Source
npmnpm
Version
1.4.1
Version published
Maintainers
5
Created
Source

NPM Version

kubevirt-api

alt gopher network

kubevirt OpenAPI automation for TypeScript types

Documentation

Auto generated docs for KubeVirt API Docs

Auto generated using OpenAPI sources:

kubevirt API reference: http://kubevirt.io/api-reference/master/index.html

Usage

# Add to your project
yarn add @kubevirt-ui/kubevirt-api
// Import examples
import { IoK8sApiCoreV1Pod } from '@kubevirt-ui/kubevirt-api/kubernetes';
import { V1VirtualMachine } from '@kubevirt-ui/kubevirt-api/kubevirt';
import { V1beta1DataVolume } from '@kubevirt-ui/kubevirt-api/containerized-data-importer';

import { VirtualMachineModelGroupVersionKind } from '@kubevirt-ui/kubevirt-api/console/models';
import VirtualMachineModel from '@kubevirt-ui/kubevirt-api/console/models/VirtualMachineModel';

Update API

  • Make sure you have all dependencies installed
yarn
  • Go to the scripts/generate.sh script and modify the package's version the latest available version.

  • It is essential to remove old API first

yarn clean:all
  • Generate the new API
yarn generate
  • Fix generated API errors:
yarn generate:fix
  • Run linter: (if necesarry fix issues and re-run)
yarn lint:fix
  • Generate docs:
yarn generate:docs

Keywords

kubevirt

FAQs

Package last updated on 16 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts