chisel

package
v0.0.0-...-b1e237f Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2026 License: Zlib Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client is used to create a reverse proxy tunnel connected to a Portainer instance.

func NewClient

func NewClient(tlsCACert, tlsCert, tlsKey string) *Client

NewClient creates a new reverse tunnel client

func (*Client) CertsNeedRotation

func (client *Client) CertsNeedRotation() bool

func (*Client) CloseTunnel

func (client *Client) CloseTunnel() error

CloseTunnel will close the associated chisel client

func (*Client) CreateTunnel

func (client *Client) CreateTunnel(tunnelConfig agent.TunnelConfig) error

CreateTunnel will create a reverse tunnel

func (*Client) IsTunnelOpen

func (client *Client) IsTunnelOpen() bool

IsTunnelOpen returns true if the tunnel is created

Jump to

Keyboard shortcuts

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