config

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultHostName

func DefaultHostName() string

func DefaultTopologyManagerPolicy

func DefaultTopologyManagerPolicy() string

func DefaultTopologyManagerScope

func DefaultTopologyManagerScope() string

Types

type ProgArgs

type ProgArgs struct {
	NRTupdater      nrtupdater.Args
	Resourcemonitor resourcemonitor.Args
	RTE             resourcetopologyexporter.Args
	Version         bool
	DumpConfig      string
}

func LoadArgs

func LoadArgs(args ...string) (ProgArgs, error)

The args is passed only for testing purposes.

func (*ProgArgs) ToJson

func (pa *ProgArgs) ToJson() ([]byte, error)

func (*ProgArgs) ToYaml

func (pa *ProgArgs) ToYaml() ([]byte, error)

Jump to

Keyboard shortcuts

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