definitions

package
v0.0.0-...-43fc03f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

Register registers the schemaDefinition schema.

Types

type SchemaDefinitionHandler

type SchemaDefinitionHandler struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL