attachment

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PublicAddress string
)

Functions

This section is empty.

Types

type ContainerJvmAttachment

type ContainerJvmAttachment struct {
	Jvm *jvm.JavaVm
}

func (ContainerJvmAttachment) Attach

func (attachment ContainerJvmAttachment) Attach(agentJar string, initJar string, agentHTTPPort int) bool

func (ContainerJvmAttachment) CopyFiles

func (attachment ContainerJvmAttachment) CopyFiles(dstPath string, files map[string]string) (map[string]string, error)

func (ContainerJvmAttachment) GetAgentHost

func (attachment ContainerJvmAttachment) GetAgentHost() string

type HostJvmAttachment

type HostJvmAttachment struct {
	Jvm *jvm.JavaVm
}

func (HostJvmAttachment) Attach

func (attachment HostJvmAttachment) Attach(agentJar string, initJar string, agentHTTPPort int) bool

func (HostJvmAttachment) CopyFiles

func (attachment HostJvmAttachment) CopyFiles(_ string, _ map[string]string) (map[string]string, error)

func (HostJvmAttachment) GetAgentHost

func (attachment HostJvmAttachment) GetAgentHost() string

type JvmAttachment

type JvmAttachment interface {
	Attach(agentJar string, initJar string, port int) bool
	CopyFiles(dstPath string, files map[string]string) (map[string]string, error)
	GetAgentHost() string
}

func GetAttachment

func GetAttachment(jvm *jvm.JavaVm) JvmAttachment

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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