tunnel

package
v0.0.0-...-478314c Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const IN_CLUSTER_ATLANTIS_ADDRESS = "http://ngrok-agent.ngrok-agent.svc.cluster.local:4040/api/tunnels"
View Source
const LOOP_WAIT = 5 * time.Second

Variables

This section is empty.

Functions

func ExecuteTunnel

func ExecuteTunnel(owner, repo string) error

Types

type NgrokTunnel

type NgrokTunnel struct {
	Tunnels []struct {
		Name      string `json:"name"`
		ID        string `json:"ID"`
		URI       string `json:"uri"`
		PublicURL string `json:"public_url"`
		Proto     string `json:"proto"`
		Config    struct {
			Addr    string `json:"addr"`
			Inspect bool   `json:"inspect"`
		} `json:"config"`
	} `json:"tunnels"`
	URI string `json:"uri"`
}

func CheckNgrokTunnel

func CheckNgrokTunnel() (*NgrokTunnel, error)

Jump to

Keyboard shortcuts

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