schemes

package
v1.18.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 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 gwv1a2 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 TestingScheme

func TestingScheme() *runtime.Scheme

TestingScheme unconditionally includes the default scheme and the gwv1a2 scheme (which includes TCPRoute).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳