Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Workers is the number of workers for this controller Workers = 1 ControllerName = "openapi-controller" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller interface { controllers.Controller CheckSync(context.Context) }
func NewController ¶
func NewController(client dclient.Interface, mgr Manager) Controller
NewController ...
type Manager ¶
type Manager interface { Lock() Unlock() UseOpenAPIDocument(*openapiv2.Document) error DeleteCRDFromPreviousSync() ParseCRD(unstructured.Unstructured) UpdateKindToAPIVersions([]*metav1.APIResourceList, []*metav1.APIResourceList) GetCrdList() []string }
Click to show internal directories.
Click to hide internal directories.