Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ClasspathExcludes = []string{"IntelliJ IDEA", "surefirebooter", "Eclipse"} CommandlineExcludes = []string{ "JetBrains Toolbox.app", "IntelliJ IDEA", "com.intellij.idea.Main", "jetbrains.buildServer.agent.Launcher", "jetbrains.buildServer.agent.AgentMain", "org.jetbrains.jps.cmdline.BuildMain", "org.jetbrains.idea.maven.server.RemoteMavenServer", "org.jetbrains.jps.cmdline.Launcher", "org.jetbrains.plugins.scala.nailgun.NailgunRunner", "sun.tools.", "com.steadybit.javaagent.ExternalJavaagentAttachment", "steadybit.agent.disable-jvm-attachment", "-XX:+DisableAttachMechanism", "-XX:-EnableDynamicAgentLoading", "-Dcom.ibm.tools.attach.enable=no", "com.steadybit.agent.application.SteadybitAgentApplication", "SteadybitPlatformApplication", } )
View Source
var ErrorNotAttachable = errors.New("not attachable")
Functions ¶
Types ¶
type AttachListener ¶ added in v1.2.0
type Attachment ¶ added in v1.2.0
type Attachment interface { GetHostAddress() string // contains filtered or unexported methods }
func GetAttachment ¶ added in v1.2.0
func GetAttachment(jvm JavaVm) Attachment
type JavaFacade ¶ added in v1.2.0
type JavaFacade interface { Start() Stop() AddAttachedListener(AttachedListener AttachListener) RemoveAttachedListener(AttachedListener AttachListener) LoadAgentPlugin(javaVm JavaVm, plugin string, args string) error UnloadAgentPlugin(javaVm JavaVm, plugin string) error HasAgentPlugin(javaVm JavaVm, plugin string) bool HasClassLoaded(javaVm JavaVm, className string) bool SendCommandToAgent(javaVm JavaVm, command string, args string) (bool, error) SendCommandToAgentWithHandler(javaVm JavaVm, command string, args string, handler func(response io.Reader) (any, error)) (any, error) SendCommandToAgentWithTimeout(javaVm JavaVm, command string, args string, timeout time.Duration) (bool, error) AddAutoloadAgentPlugin(plugin string, markerClass string) RemoveAutoloadAgentPlugin(plugin string, markerClass string) GetJvm(pid int32) JavaVm GetJvms() []JavaVm }
func NewJavaFacade ¶ added in v1.2.0
func NewJavaFacade() JavaFacade
type JavaProcessInspector ¶ added in v1.2.0
type JavaProcessInspector struct { JavaVms <-chan JavaVm // contains filtered or unexported fields }
func (*JavaProcessInspector) Inspect ¶ added in v1.2.0
func (i *JavaProcessInspector) Inspect(p *process.Process, retries int, source string)
func (*JavaProcessInspector) Start ¶ added in v1.2.0
func (i *JavaProcessInspector) Start()
func (*JavaProcessInspector) Stop ¶ added in v1.2.0
func (i *JavaProcessInspector) Stop()
type JavaVmInContainer ¶ added in v1.2.0
Source Files ¶
Click to show internal directories.
Click to hide internal directories.