gateway

package
v0.0.0-...-b110700 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	SecretKubePropertyType = "secrets"
	ConfigKubePropertyType = "configmaps"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	HTTP HTTPServerConfig `yaml:"http"`
}

Config is the configuration of the Gravitee Gateway. Currently, we only support the HTTP bit of this config, for keystore discovery when TLS is enabled on an ingress.

type GraviteeKubeProperty

type GraviteeKubeProperty string

func (GraviteeKubeProperty) Get

func (gkp GraviteeKubeProperty) Get(receiver client.Object) []byte

func (GraviteeKubeProperty) IsValid

func (gkp GraviteeKubeProperty) IsValid() bool

func (GraviteeKubeProperty) Key

func (gkp GraviteeKubeProperty) Key() string

func (GraviteeKubeProperty) Name

func (gkp GraviteeKubeProperty) Name() string

func (GraviteeKubeProperty) Namespace

func (gkp GraviteeKubeProperty) Namespace() string

func (GraviteeKubeProperty) NewReceiver

func (gkp GraviteeKubeProperty) NewReceiver() client.Object

func (GraviteeKubeProperty) String

func (gkp GraviteeKubeProperty) String() string

func (GraviteeKubeProperty) TrimPrefix

func (gkp GraviteeKubeProperty) TrimPrefix() string

func (GraviteeKubeProperty) Type

func (gkp GraviteeKubeProperty) Type() string

type HTTPServerConfig

type HTTPServerConfig struct {
	TLS TLSConfig `yaml:"ssl"`
}

HTTPServerConfig if the HTTP server configuration of the Gravitee Gateway. see https://docs.gravitee.io/apim/3.x/apim_installguide_gateway_configuration.html#api-gateway-http-server

type KeystoreConfig

type KeystoreConfig struct {
	Type     string               `yaml:"type"`
	Password string               `yaml:"password"`
	Location GraviteeKubeProperty `yaml:"kubernetes"`
}

func (KeystoreConfig) Validate

func (gkc KeystoreConfig) Validate() error

type TLSConfig

type TLSConfig struct {
	Keystore KeystoreConfig `yaml:"keystore,omitempty"`
}

Jump to

Keyboard shortcuts

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