Documentation ¶
Index ¶
- Constants
- Variables
- func AddDevIteration(intent string)
- func AddDevIterationErr(i int, errorCode proto.StatusCode)
- func AddFlag(flag *flag.Flag)
- func DisplayMetricsPrompt(configFile string, out io.Writer) error
- func ExportMetrics(exitCode int) error
- func InitMeterFromConfig(configs []*latest.SkaffoldConfig, user string)
- func SetCommand(cmd string)
- func SetErrorCode(errorCode proto.StatusCode)
- func SetOnlineStatus()
- func ShouldDisplayMetricsPrompt(configfile string) bool
Constants ¶
View Source
const Prompt = `` /* 419-byte string literal not displayed */
Variables ¶
View Source
var (
MeteredCommands = util.NewStringSet()
)
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 DisplayMetricsPrompt ¶ added in v1.19.0
func ExportMetrics ¶ added in v1.18.0
func InitMeterFromConfig ¶ added in v1.18.0
func InitMeterFromConfig(configs []*latest.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
func ShouldDisplayMetricsPrompt ¶ added in v1.19.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.