resources

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 19 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultSchemaTemplates

func DefaultSchemaTemplates(cf *client.Factory,
	baseSchemas *types.APISchemas,
	summaryCache *summarycache.SummaryCache,
	lookup accesscontrol.AccessSetLookup,
	discovery discovery.DiscoveryInterface,
	namespaceCache corecontrollers.NamespaceCache) []schema.Template

func DefaultSchemaTemplatesForStore

func DefaultSchemaTemplatesForStore(store types.Store,
	baseSchemas *types.APISchemas,
	summaryCache *summarycache.SummaryCache,
	discovery discovery.DiscoveryInterface) []schema.Template

DefaultSchemaTemplatesForStore returns the same default templates as DefaultSchemaTemplates, only using DefaultSchemaTemplateFoStore internally to construct the templates.

func DefaultSchemas

func DefaultSchemas(ctx context.Context, baseSchema *types.APISchemas, ccache clustercache.ClusterCache,
	cg proxy.ClientGetter, schemaFactory schema.Factory, serverVersion string) error

Types

This section is empty.

Directories

Path Synopsis
Package schemas handles streaming schema updates and changes.
Package schemas handles streaming schema updates and changes.
Package virtual provides functions/resources to define virtual fields (fields which don't exist in k8s but should be visible in the API) on resources
Package virtual provides functions/resources to define virtual fields (fields which don't exist in k8s but should be visible in the API) on resources
common
Package common provides cache.TransformFunc's which are common to all types
Package common provides cache.TransformFunc's which are common to all types
events
Package common provides cache.TransformFunc's for /v1 Event objects
Package common provides cache.TransformFunc's for /v1 Event objects

Jump to

Keyboard shortcuts

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