profile

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ValidTypes = []string{"cpu", "memory"}

ValidTypes are the valid types of profiling you can perform.

Functions

func New

func New(profileType string) internal.Service

New returns a new performance profile of the specified type.

func ValidateType

func ValidateType(profileType string) error

ValidateType returns an error unless its argument is a valid profile type.

Types

This section is empty.

Jump to

Keyboard shortcuts

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