azbastion

package
v0.0.0-...-0f7797f Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bastion

type Bastion struct {
	// contains filtered or unexported fields
}

func NewFromArm

func NewFromArm(cred azcore.TokenCredential, subscriptionID string, resourceGroupName string, bastionHostName string) (*Bastion, error)

func NewFromDnsName

func NewFromDnsName(cred azcore.TokenCredential, subscriptionID string, resourceGroupName string, bastionHostDnsName string) (*Bastion, error)

func (*Bastion) NewTunnelSession

func (b *Bastion) NewTunnelSession(targetHost string, port uint16) (*TunnelSession, error)

type TunnelSession

type TunnelSession struct {
	// contains filtered or unexported fields
}

func (*TunnelSession) Close

func (t *TunnelSession) Close() error

func (*TunnelSession) Pipe

func (t *TunnelSession) Pipe(conn net.Conn) error

Jump to

Keyboard shortcuts

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