apis

package
v1.42.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AddToSchemes runtime.SchemeBuilder
)

AddToSchemes may be used to add all resources defined in the project to a Scheme

Functions

func AddToScheme

func AddToScheme(s *runtime.Scheme, v3 bool) error

AddToScheme adds all Resources to the Scheme

func UseV3CRDS added in v1.42.0

func UseV3CRDS(cfg *rest.Config) (bool, error)

UseV3CRDS detects whether we should use the crd.projectcalico.org/v1 or projectcalico.org/v3 API group for Calico CRDs.

Types

This section is empty.

Jump to

Keyboard shortcuts

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