tunnel

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdSSHKey

func NewCmdSSHKey() *cobra.Command

func NewCmdTunnel

func NewCmdTunnel() *cobra.Command

func NewCmdTunnelDown

func NewCmdTunnelDown() *cobra.Command

func NewCmdTunnelStatus

func NewCmdTunnelStatus() *cobra.Command

func NewCmdTunnelUp

func NewCmdTunnelUp() *cobra.Command

Types

type TunnelOptions

type TunnelOptions struct {
	Config         *config.Config
	PrivateKeyFile string
	PublicKeyFile  string
	BastionHostID  string
	ForwardHost    []string
}

func NewTunnelFlags

func NewTunnelFlags() *TunnelOptions

func (*TunnelOptions) Complete

func (o *TunnelOptions) Complete(cmd *cobra.Command, args []string) error

func (*TunnelOptions) Run

func (o *TunnelOptions) Run(cmd *cobra.Command) error

func (*TunnelOptions) Validate

func (o *TunnelOptions) Validate() error

type TunnelSSHKeyOptions

type TunnelSSHKeyOptions struct {
	Config        *config.Config
	PublicKeyFile string
}

func NewSSHKeyFlags

func NewSSHKeyFlags() *TunnelSSHKeyOptions

func (*TunnelSSHKeyOptions) Complete

func (o *TunnelSSHKeyOptions) Complete(cmd *cobra.Command, args []string) error

func (*TunnelSSHKeyOptions) Run

func (o *TunnelSSHKeyOptions) Run() error

func (*TunnelSSHKeyOptions) Validate

func (o *TunnelSSHKeyOptions) Validate() error

type TunnelStatusOptions

type TunnelStatusOptions struct {
	Config *config.Config
}

func NewTunnelStatusOptions

func NewTunnelStatusOptions() *TunnelStatusOptions

func (*TunnelStatusOptions) Complete

func (o *TunnelStatusOptions) Complete(cmd *cobra.Command, args []string) error

func (*TunnelStatusOptions) Run

func (o *TunnelStatusOptions) Run(cmd *cobra.Command) error

func (*TunnelStatusOptions) Validate

func (o *TunnelStatusOptions) Validate() error

type TunnelUpOptions

type TunnelUpOptions struct {
	Config         *config.Config
	PrivateKeyFile string
	BastionHostID  string
	ForwardHost    []string
}

func NewTunnelUpFlags

func NewTunnelUpFlags() *TunnelUpOptions

func (*TunnelUpOptions) Complete

func (o *TunnelUpOptions) Complete(cmd *cobra.Command, args []string) error

func (*TunnelUpOptions) Run

func (o *TunnelUpOptions) Run(cmd *cobra.Command) error

func (*TunnelUpOptions) Validate

func (o *TunnelUpOptions) Validate() error

Jump to

Keyboard shortcuts

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