tunnel

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2022 License: Apache-2.0 Imports: 27 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 Options

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

func NewTunnelFlags

func NewTunnelFlags() *Options

func (*Options) Complete

func (o *Options) Complete() error

func (*Options) Run

func (o *Options) Run() error

func (*Options) Validate

func (o *Options) Validate() error

type TunnelDownOptions

type TunnelDownOptions struct {
	Config *config.Project
}

func NewTunnelDownOptions

func NewTunnelDownOptions() *TunnelDownOptions

func (*TunnelDownOptions) Complete

func (o *TunnelDownOptions) Complete() error

func (*TunnelDownOptions) Run

func (o *TunnelDownOptions) Run() error

func (*TunnelDownOptions) Validate

func (o *TunnelDownOptions) Validate() error

type TunnelSSHKeyOptions

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

func NewSSHKeyFlags

func NewSSHKeyFlags() *TunnelSSHKeyOptions

func (*TunnelSSHKeyOptions) Complete

func (o *TunnelSSHKeyOptions) Complete() error

func (*TunnelSSHKeyOptions) Run

func (o *TunnelSSHKeyOptions) Run() error

func (*TunnelSSHKeyOptions) Validate

func (o *TunnelSSHKeyOptions) Validate() error

type TunnelStatusOptions

type TunnelStatusOptions struct {
	Config *config.Project
	UI     terminal.UI
}

func NewTunnelStatusOptions

func NewTunnelStatusOptions() *TunnelStatusOptions

func (*TunnelStatusOptions) Complete

func (o *TunnelStatusOptions) Complete() error

func (*TunnelStatusOptions) Run

func (o *TunnelStatusOptions) Run() error

func (*TunnelStatusOptions) Validate

func (o *TunnelStatusOptions) Validate() error

type TunnelUpOptions

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

func NewTunnelUpFlags

func NewTunnelUpFlags() *TunnelUpOptions

func (*TunnelUpOptions) Complete

func (o *TunnelUpOptions) Complete() error

func (*TunnelUpOptions) Run

func (o *TunnelUpOptions) Run() 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