Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(ctx context.Context, baseSchema *types.APISchemas, client discovery.DiscoveryInterface, crd apiextcontrollerv1.CustomResourceDefinitionController, apiService v1.APIServiceController)
Register registers the schemaDefinition schema.
Types ¶
type SchemaDefinitionHandler ¶
SchemaDefinitionHandler is a byID handler for a specific schema, which provides field definitions for all schemas. Does not implement any method allowing a caller to list definitions for all schemas.
func (*SchemaDefinitionHandler) Refresh ¶
func (s *SchemaDefinitionHandler) Refresh() error
Refresh writeLocks and updates the cache with new schemaDefinitions. Will result in a call to kubernetes to retrieve the openAPI schemas.
Click to show internal directories.
Click to hide internal directories.