helpers

package
v0.0.0-...-d0b8644 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JWT_HANDLER_ORY   = "ory"
	JWT_HANDLER_ISTIO = "istio"

	CM_NS   = "kyma-system"
	CM_NAME = "api-gateway-config"
	CM_KEY  = "api-gateway-config"
)

Variables

View Source
var ReadConfigMapHandle = ReadConfigMap

Functions

func FindServiceNamespace

func FindServiceNamespace(api *gatewayv1beta1.APIRule, rule *gatewayv1beta1.Rule) string

func ReadConfigMap

func ReadConfigMap(ctx context.Context, client client.Client) ([]byte, error)

Types

type Config

type Config struct {
	JWTHandler string `yaml:"jwtHandler"`
}

func (*Config) ReadFromConfigMap

func (c *Config) ReadFromConfigMap(ctx context.Context, client client.Client) error

func (*Config) Reset

func (c *Config) Reset()

func (*Config) ResetToDefault

func (c *Config) ResetToDefault()

Jump to

Keyboard shortcuts

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