{"modulePath":"github.com/redhat-developer/ODO","version":"v1.2.6","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package debug\n\n## Functions\n\n```go\nfunc CreateDebugInfoFile(f *DefaultPortForwarder, portPair string) error\n```\n\n```go\nfunc GetDebugInfoFilePath(componentName, appName string, projectName string) string\n```\nGetDebugInfoFilePath gets the file path of the debug info file\n\n## Types\n\n```go\ntype DefaultPortForwarder struct {\n\tk8sgenclioptions.IOStreams\n\t// contains filtered or unexported fields\n}\n```\nDefaultPortForwarder implements the SPDY based port forwarder\n\n```go\nfunc NewDefaultPortForwarder(componentName, appName string, projectName string, client *occlient.Client, kClient *kclient.Client, streams k8sgenclioptions.IOStreams) *DefaultPortForwarder\n```\n\n```go\nfunc (f *DefaultPortForwarder) ForwardPorts(portPair string, stopChan, readyChan chan struct{}, isExperimental bool) error\n```\nForwardPorts forwards the port using the url for the remote pod. portPair is a pair of port in format \"localPort:RemotePort\" that is to be forwarded stop Chan is used to stop port forwarding ready Chan is used to signal failure to the channel receiver\n\n```go\ntype OdoDebugFile struct {\n\tmetav1.TypeMeta\n\tmetav1.ObjectMeta `json:\"metadata\"`\n\tSpec              OdoDebugFileSpec `json:\"spec\"`\n}\n```\n\n```go\nfunc GetDebugInfo(f *DefaultPortForwarder) (OdoDebugFile, bool)\n```\nGetDebugInfo gathers the information with regards to debugging information\n\n```go\ntype OdoDebugFileSpec struct {\n\tApp            string `json:\"app,omitempty\"`\n\tDebugProcessID int    `json:\"debugProcessID\"`\n\tRemotePort     int    `json:\"remotePort\"`\n\tLocalPort      int    `json:\"localPort\"`\n}\n```\n\n","path":"github.com/redhat-developer/ODO/pkg/debug","name":"debug","synopsis":"","isRedistributable":true}
