network-attachment-definition-client

module
v1.7.5 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: Apache-2.0

README

NetworkAttachmentDefinition CRD Client

Based on https://github.com/openshift-evangelists/crd-code-generation

Getting Started

First register the custom resource definition:

kubectl apply -f artifacts/network-crd.yaml

For old kubernetes version (<1.16), please use artifacts/networks-crd-v1beta1.yaml:

kubectl apply -f artifacts/networks-crd-v1beta1.yaml

Then add an example of the NetworkAttachmentDefinition kind:

kubectl apply -f artifacts/my-network.yaml

Finally build and run the example:

go build
./example -kubeconfig ~/.kube/config

Directories

Path Synopsis
cmd
pkg
client/clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
client/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
client/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
client/clientset/versioned/typed/k8s.cni.cncf.io/v1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/clientset/versioned/typed/k8s.cni.cncf.io/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