job

package
v0.0.0-...-08e63c9 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlamegraphWidthInPixels string = "flamegraph-width-in-pixels"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ProfilingJob

type ProfilingJob struct {
	Duration                 time.Duration
	Interval                 time.Duration
	UID                      string
	ContainerRuntime         api.ContainerRuntime
	ContainerRuntimePath     string
	ContainerID              string
	PodUID                   string
	Language                 api.ProgrammingLanguage
	Event                    api.ProfilingEvent
	Compressor               compressor.Type
	Tool                     api.ProfilingTool
	OutputType               api.OutputType
	FileName                 string
	HeapDumpSplitInChunkSize string
	PID                      string
	Pgrep                    string
	NodeHeapSnapshotSignal   int
	AdditionalArguments      map[string]string
	Iteration                int
}

func (*ProfilingJob) DeleteWidthAdditionalArgument

func (p *ProfilingJob) DeleteWidthAdditionalArgument()

DeleteWidthAdditionalArgument deletes the FlamegraphWidthInPixels argument if exists in ProfilingJob.AdditionalArguments.

func (*ProfilingJob) GetWidthAdditionalArgument

func (p *ProfilingJob) GetWidthAdditionalArgument() string

GetWidthAdditionalArgument returns the FlamegraphWidthInPixels argument if exists in ProfilingJob.AdditionalArguments, or empty string otherwise.

func (*ProfilingJob) GetWidthAdditionalArgumentAndDelete

func (p *ProfilingJob) GetWidthAdditionalArgumentAndDelete() string

GetWidthAdditionalArgumentAndDelete returns the FlamegraphWidthInPixels argument if exists in ProfilingJob.AdditionalArguments and deletes it from the same one.

func (*ProfilingJob) String

func (p *ProfilingJob) String() string

func (*ProfilingJob) ToMap

func (p *ProfilingJob) ToMap() map[string]interface{}

Jump to

Keyboard shortcuts

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