Documentation ¶
Index ¶
- func Complete()
- func ContainerValidArgs(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
- func Execute()
- func MainValidArgs(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
- func NamespaceValidArgs(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
- func NewCliSession(o *Options) (*cliSession, error)
- type ApiServerError
- type Options
- type TerminalSize
- type TerminalState
- type WebsocketRoundTripper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Complete ¶ added in v0.3.0
func Complete()
shortcut to the hidden subcomand used for completion
func ContainerValidArgs ¶ added in v0.3.0
func MainValidArgs ¶ added in v0.3.0
func NamespaceValidArgs ¶ added in v0.3.0
func NewCliSession ¶ added in v0.3.0
Types ¶
type ApiServerError ¶
type TerminalSize ¶
type TerminalState ¶
type WebsocketRoundTripper ¶
type WebsocketRoundTripper struct { Dialer *websocket.Dialer TermState *TerminalState SendBuffer bytes.Buffer OneShot bool }
func (*WebsocketRoundTripper) WsCallback ¶
func (d *WebsocketRoundTripper) WsCallback(ws *websocket.Conn) error
Click to show internal directories.
Click to hide internal directories.