Skip to content

tomastigera/api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tigera/api

This is the location of the Tigera API structures for use in code that wants to use the Tigera API.

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
    

Packages

No packages published

Languages

  • Go 96.0%
  • Makefile 2.4%
  • Shell 1.3%
  • Starlark 0.3%