kubevirt-client-gen

module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2024 License: Apache-2.0

README

Go client for talking to KubeVirt.

To download and install the Kubernetes API client code generator client-gen, run:

go install k8s.io/code-generator/cmd/client-gen@latest

The following command creates the client inside an example project called kubevirt-client-gen at the location one level up the current directory inside github.com/mabhi/kubevirt-client-gen :

~/go/bin/client-gen --input-base="kubevirt.io/api/" --input="core/v1" --output-package="github.com/mabhi/kubevirt-client-gen" --output-base="../" --clientset-name="versioned" --go-header-file boilerplate.go.txt 

Directories

Path Synopsis
fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
typed/core/v1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
typed/core/v1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL