config

package
v0.8.24 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindConfigToFlags

func BindConfigToFlags(v *viper.Viper, cmd *cobra.Command, config any) error

Types

type ServiceConfig

type ServiceConfig struct {
	Kubeconfig        string `mapstructure:"kubeconfig"`
	ServerURL         string `mapstructure:"server-url"`
	EntityLabel       string `mapstructure:"entity-label" default:"ui.platform-mesh.ui/entity"`
	ContentForLabel   string `mapstructure:"content-for-label" default:"ui.platform-mesh.io/content-for"`
	MainEntityName    string `mapstructure:"main-entity-name" default:"main"`
	AccountEntityName string `mapstructure:"account-entity-name" default:"core_platform-mesh_io_account"`

	ResourceSchemaName      string `mapstructure:"resource-schema-name" default:"v250704-6d57f16.contentconfigurations.ui.platform-mesh.io"`
	ResourceSchemaWorkspace string `mapstructure:"resource-schema-workspace" default:"root:openmfp-system"`

	ResourceAPIExportEndpointSliceName string `mapstructure:"resource-apiexport-endpointslice-name"`
}

Jump to

Keyboard shortcuts

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