Documentation
¶
Index ¶
Constants ¶
View Source
const ( ContainerName = "kubectl-prof" LabelID = "kubectl-prof/id" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Creator ¶
type Creator interface {
Create(targetPod *apiv1.Pod, cfg *config.ProfilerConfig) (string, *batchv1.Job, error)
}
Creator defines the method for creating the profiling job according the programming language.
func Get ¶
func Get(lang api.ProgrammingLanguage, tool api.ProfilingTool) (Creator, error)
Get returns the Creator implementation according the programming language.
Click to show internal directories.
Click to hide internal directories.