kubegatewayutils

package
v1.18.0-beta9 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetectKubeGatewayCrds

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

Returns true if Kubernetes Gateway API CRDs are on the cluster. Note: this doesn't check for specific CRD names; it returns true if *any* k8s Gateway CRD is detected

func DetectKubeGatewayEnabled

func DetectKubeGatewayEnabled(ctx context.Context, opts *options.Options) (bool, error)

Returns true if the GG_K8S_GW_CONTROLLER env var is true in the gloo deployment. Note: This is tied up with the GG implementation and will need to be updated if it changes

Types

This section is empty.

Jump to

Keyboard shortcuts

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