cfgfile

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const CfgDirName = ".aztfexport"
View Source
const CfgFileName = "config.json"

Variables

This section is empty.

Functions

func GetInstallationIdFromCLI

func GetInstallationIdFromCLI() (string, error)

func GetInstallationIdFromPWSH

func GetInstallationIdFromPWSH() (string, error)

func GetKey

func GetKey(key string) (interface{}, error)

func SetKey

func SetKey(key, value string) error

Types

type Configuration

type Configuration struct {
	InstallationId   string `json:"installation_id"`
	TelemetryEnabled bool   `json:"telemetry_enabled"`
}

func GetConfig

func GetConfig() (*Configuration, error)

Jump to

Keyboard shortcuts

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