Documentation ¶
Index ¶
- Constants
- Variables
- func FindServiceNamespace(api *gatewayv1beta1.APIRule, rule *gatewayv1beta1.Rule) string
- func GetLabelSelectorFromService(ctx context.Context, client client.Client, service *gatewayv1beta1.Service, ...) (*apiv1beta1.WorkloadSelector, error)
- func IsFqdnHostName(host string) bool
- func IsShortHostName(host string) bool
- func ReadConfigMap(ctx context.Context, client client.Client) ([]byte, error)
- type Config
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 GetLabelSelectorFromService ¶
func GetLabelSelectorFromService(ctx context.Context, client client.Client, service *gatewayv1beta1.Service, api *gatewayv1beta1.APIRule, rule *gatewayv1beta1.Rule) (*apiv1beta1.WorkloadSelector, error)
func IsFqdnHostName ¶
func IsShortHostName ¶
Types ¶
type Config ¶
type Config struct {
JWTHandler string `yaml:"jwtHandler"`
}
func (*Config) ReadFromConfigMap ¶
func (*Config) ResetToDefault ¶
func (c *Config) ResetToDefault()
Click to show internal directories.
Click to hide internal directories.