Documentation ¶
Index ¶
Constants ¶
View Source
const (
// RecommendedCommandName is the recommended debug command name
RecommendedCommandName = "debug"
)
Variables ¶
View Source
var DebugLongDesc = `` /* 139-byte string literal not displayed */
Functions ¶
func NewCmdDebug ¶
func NewCmdInfo ¶
NewCmdInfo implements the debug info odo command
func NewCmdPortForward ¶
NewCmdPortForward implements the port-forward odo command
Types ¶
type InfoOptions ¶
type InfoOptions struct { Namespace string PortForwarder *debug.DefaultPortForwarder *genericclioptions.Context // contains filtered or unexported fields }
InfoOptions contains all the options for running the info cli command.
func NewInfoOptions ¶
func NewInfoOptions() *InfoOptions
func (InfoOptions) Run ¶
func (o InfoOptions) Run() error
Run implements all the necessary functionality for port-forward cmd.
func (InfoOptions) Validate ¶
func (o InfoOptions) Validate() error
Validate validates all the required options for port-forward cmd.
type PortForwardOptions ¶
type PortForwardOptions struct { Namespace string // PortPair is the combination of local and remote port in the format "local:remote" PortPair string PortForwarder *debug.DefaultPortForwarder // StopChannel is used to stop port forwarding StopChannel chan struct{} // ReadChannel is used to receive status of port forwarding ( ready or not ready ) ReadyChannel chan struct{} *genericclioptions.Context // contains filtered or unexported fields }
PortForwardOptions contains all the options for running the port-forward cli command.
func NewPortForwardOptions ¶
func NewPortForwardOptions() *PortForwardOptions
NewPortForwardOptions returns the PortForwardOptions struct
func (*PortForwardOptions) Complete ¶
Complete completes all the required options for port-forward cmd.
func (PortForwardOptions) Run ¶
func (o PortForwardOptions) Run() error
Run implements all the necessary functionality for port-forward cmd.
func (PortForwardOptions) Validate ¶
func (o PortForwardOptions) Validate() error
Validate validates all the required options for port-forward cmd.
Click to show internal directories.
Click to hide internal directories.