telemetry

package
v1.99.4 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetContextProperties

func GetContextProperties(ctx context.Context) map[string]interface{}

func NewContext

func NewContext(ctx context.Context) context.Context

func SetCPUs

func SetCPUs(ctx context.Context, value int)

func SetConfigurationKey

func SetConfigurationKey(ctx context.Context, value string)

func SetDiskSize

func SetDiskSize(ctx context.Context, value uint64)

func SetError

func SetError(err error) string

func SetMemory

func SetMemory(ctx context.Context, value uint64)

func SetPreset added in v1.99.2

func SetPreset(ctx context.Context, value crcpreset.Preset)

func SetStartType

func SetStartType(ctx context.Context, value StartType)

Types

type Properties

type Properties struct {
	// contains filtered or unexported fields
}

type StartType

type StartType string
const (
	AlreadyRunningStartType StartType = "already-running"
	CreationStartType       StartType = "creation"
	StartStartType          StartType = "start"
)

Jump to

Keyboard shortcuts

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