globalflags

package
v0.9.6 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package globalflags represents the global flags (to be used with all sub-commands)

Index

Constants

View Source
const (
	// ConfigFileFlag - config file for cli input parameters in json format
	ConfigFileFlag = "config-file"

	// SaveConfigToFileFlag - whether to save processed config from all input sources
	SaveConfigToFileFlag = "save-config-to-file"

	// MockDelayInSecFlag - mock delay in seconds, relative to the application start time
	MockDelayInSecFlag = "mock-delay-sec"

	// HostNameFlag - the HTTP hostname for the mock url
	HostNameFlag = "hostname"

	// PortFlag - the HTTP port where the mock runs
	PortFlag = "port"

	// Imdsv2Flag - whether to enable IMDSv2 only requiring a session token when submitting requests
	Imdsv2Flag = "imdsv2"
)

Variables

This section is empty.

Functions

func GetTopLevelFlags

func GetTopLevelFlags() []string

GetTopLevelFlags returns the top level global flags

Types

This section is empty.

Jump to

Keyboard shortcuts

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