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.
Click to show internal directories.
Click to hide internal directories.