Documentation ¶
Index ¶
- Constants
- type Config
- type GraviteeKubeProperty
- func (gkp GraviteeKubeProperty) Get(receiver client.Object) []byte
- func (gkp GraviteeKubeProperty) IsValid() bool
- func (gkp GraviteeKubeProperty) Key() string
- func (gkp GraviteeKubeProperty) Name() string
- func (gkp GraviteeKubeProperty) Namespace() string
- func (gkp GraviteeKubeProperty) NewReceiver() client.Object
- func (gkp GraviteeKubeProperty) String() string
- func (gkp GraviteeKubeProperty) TrimPrefix() string
- func (gkp GraviteeKubeProperty) Type() string
- type HTTPServerConfig
- type KeystoreConfig
- type TLSConfig
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"`
}
Click to show internal directories.
Click to hide internal directories.