README
¶
Test Job Controller
This is a Test Job Controller example. As you can see, we have job crd definition under apis/test_job/v1
.
code-generator generate deepcopy, clientset and other libraries.
controler.v1/test_job/test_job_controller
defines a struct TestJobController
which implements commonv1.ControllerInterface
├── README.md
├── apis
│ └── test_job
│ └── v1
│ ├── constants.go
│ ├── defaults.go
│ ├── doc.go
│ ├── openapi_generated.go
│ ├── register.go
│ ├── types.go
│ ├── zz_generated.deepcopy.go
│ └── zz_generated.defaults.go
├── client
│ ├── clientset
│ ├── informers
│ └── listers
├── controller.v1
│ └── test_job
│ └── test_job_controller.go
└── test_util
Directories
¶
Path | Synopsis |
---|---|
apis
|
|
test_job/v1
Package v1 is the v1 version of the API.
|
Package v1 is the v1 version of the API. |
client
|
|
clientset/versioned
This package has the automatically generated clientset.
|
This package has the automatically generated clientset. |
clientset/versioned/fake
This package has the automatically generated fake clientset.
|
This package has the automatically generated fake clientset. |
clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
|
This package contains the scheme of the automatically generated clientset. |
clientset/versioned/typed/test_job/v1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
clientset/versioned/typed/test_job/v1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
controller.v1
|
|
reconciler.v1
|
|
test_util
|
|
Click to show internal directories.
Click to hide internal directories.