8000 GitHub - coutinhop/api: Calico API
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

coutinhop/api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest comm 8000 it

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

projectcalico/api

This is canonical source for API definitions of Projectcalico.

How to use

One way is to import the clientset directly and use it. See examples/list-gnp/main.go for some example code.

Adding new APIs

  1. Create a .go file which contains the new type to pkg/apis/<apigroup>/<version>

  2. Add the new type to pkg/apis/<apigroup>/<version>/register.go

  3. Update generated code, including clients, informers, etc.

    make build
    

Releases

No releases published

Packages

No packages published

Languages

  • Go 92.4%
  • Makefile 5.2%
  • Shell 1.9%
  • Starlark 0.5%
0