Documentation ¶
Index ¶
- Variables
- func AddDevIteration(intent string)
- func AddDevIterationErr(i int, errorCode proto.StatusCode)
- func AddFlag(flag *flag.Flag)
- func ExportMetrics(exitCode int) error
- func InitMeterFromConfig(configs []*latestV1.SkaffoldConfig, user string)
- func SetCommand(cmd string)
- func SetErrorCode(errorCode proto.StatusCode)
- func SetOnlineStatus()
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MeteredCommands = util.NewStringSet() ShouldExportMetrics bool )
Functions ¶
func AddDevIteration ¶ added in v1.18.0
func AddDevIteration(intent string)
func AddDevIterationErr ¶ added in v1.18.0
func AddDevIterationErr(i int, errorCode proto.StatusCode)
func ExportMetrics ¶ added in v1.18.0
func InitMeterFromConfig ¶ added in v1.18.0
func InitMeterFromConfig(configs []*latestV1.SkaffoldConfig, user string)
func SetCommand ¶ added in v1.18.0
func SetCommand(cmd string)
func SetErrorCode ¶ added in v1.18.0
func SetErrorCode(errorCode proto.StatusCode)
func SetOnlineStatus ¶ added in v1.18.0
func SetOnlineStatus()
SetOnlineStatus issues a GET request to see if the user is online. http://clients3.google.com/generate_204 is a well-known URL that returns an empty page and HTTP status 204 More info can be found here: https://www.chromium.org/chromium-os/chromiumos-design-docs/network-portal-detection
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.