Documentation ¶
Index ¶
Constants ¶
View Source
const ( MenuConfigMap = "k8s-ces-menu-json" EnvVarStage = "STAGE" StageDevelopment = "development" DevConfigPath = "k8s/dev-resources/k8s-ces-warp-config.yaml" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { Sources []Source Target string Order Order Support []SupportSource }
Configuration for warp menu creation
func ReadConfiguration ¶
func ReadConfiguration(ctx context.Context, client client.Client, namespace string) (*Configuration, error)
ReadConfiguration reads the service discovery configuration. Either from file in development mode with environment variable stage=development or from the cluster state
type SupportSource ¶
SupportSource for SupportEntries from yaml
Click to show internal directories.
Click to hide internal directories.