Skip to content

jiayoukun/network-attachment-definition-client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Golang Kubernetes client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 94.8%
  • Shell 5.2%