schemes

package
v1.19.0-beta2 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

SchemeBuilder contains all the Schemes for registering the CRDs with which Gloo Gateway interacts. We share one SchemeBuilder as there's no harm in registering all I/O types internally.

Functions

func AddGatewayV1A2Scheme added in v1.18.0

func AddGatewayV1A2Scheme(restConfig *rest.Config, scheme *runtime.Scheme) error

AddGatewayV1A2Scheme adds the Gateway v1alpha2 scheme to the provided scheme if the TCPRoute CRD exists.

func AddToScheme

func AddToScheme(s *runtime.Scheme) error

func CRDExists added in v1.18.0

func CRDExists(restConfig *rest.Config, group, version, kind string) (bool, error)

Helper function to check if a CRD exists

func DefaultScheme

func DefaultScheme() *runtime.Scheme

DefaultScheme returns a scheme with all the types registered for Gloo Gateway We intentionally do not perform this operation in an init!! See https://github.com/solo-io/gloo/pull/9692 for context

func GatewayScheme added in v1.18.0

func GatewayScheme() *runtime.Scheme

GatewayScheme unconditionally includes the default and required Gateway API schemes. Use the Default scheme with AddGatewayV1A2Scheme to conditionally add the v1alpha2 scheme.

Types

This section is empty.

Jump to

Keyboard shortcuts

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