Documentation ¶
Index ¶
- Constants
- func Finalize(pArgs *ProgArgs) error
- func FixExtraConfigPath(configRoot string) string
- func FromEnv(pArgs *ProgArgs)
- func FromFiles(pArgs *ProgArgs, configRoot, extraConfigPath string) error
- func FromFlags(pArgs *ProgArgs, args ...string) (string, string, error)
- func HostNameFromEnv() string
- func SetDefaults(pArgs *ProgArgs)
- func TopologyManagerPolicyFromEnv() string
- func TopologyManagerScopeFromEnv() string
- func Validate(pArgs *ProgArgs) error
- type GlobalArgs
- type ProgArgs
Constants ¶
View Source
const ( DefaultconfigRoot = "/etc/rte" LegacyExtraConfigPath = "/etc/resource-topology-exporter/config.yaml" )
View Source
const (
DefaultConfigRoot = "/etc/rte"
)
Variables ¶
This section is empty.
Functions ¶
func FixExtraConfigPath ¶ added in v0.17.0
func HostNameFromEnv ¶ added in v0.17.0
func HostNameFromEnv() string
func SetDefaults ¶ added in v0.17.0
func SetDefaults(pArgs *ProgArgs)
func TopologyManagerPolicyFromEnv ¶ added in v0.17.0
func TopologyManagerPolicyFromEnv() string
func TopologyManagerScopeFromEnv ¶ added in v0.17.0
func TopologyManagerScopeFromEnv() string
Types ¶
type GlobalArgs ¶ added in v0.17.0
type GlobalArgs struct { KubeConfig string `json:"kubeConfig,omitempty"` Debug bool `json:"debug,omitempty"` Verbose int `json:"verbose"` }
func (GlobalArgs) Clone ¶ added in v0.17.0
func (args GlobalArgs) Clone() GlobalArgs
type ProgArgs ¶
type ProgArgs struct { Global GlobalArgs `json:"global,omitempty"` NRTupdater nrtupdater.Args `json:"nrtUpdater,omitempty"` Resourcemonitor resourcemonitor.Args `json:"resourceMonitor,omitempty"` RTE resourcetopologyexporter.Args `json:"topologyExporter,omitempty"` Version bool `json:"-"` DumpConfig string `json:"-"` }
func (*ProgArgs) ToJSONString ¶ added in v0.17.0
func (*ProgArgs) ToYAMLString ¶ added in v0.17.0
Click to show internal directories.
Click to hide internal directories.