credentials

package
v0.6.4-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: MPL-2.0 Imports: 20 Imported by: 1

Documentation

Index

Constants

View Source
const CredentialsServerPortEnv = "DEVPOD_CREDENTIALS_SERVER_PORT"
View Source
const CredentialsServerRunnerPortEnv = "DEVPOD_CREDENTIALS_SERVER_RUNNER_PORT"
View Source
const DefaultPort = "12049"
View Source
const DefaultRunnerPort = "12050"

Variables

This section is empty.

Functions

func GetPort added in v0.5.13

func GetPort() (int, error)

func GetRunnerPort added in v0.5.21

func GetRunnerPort() (int, error)

func PingURL added in v0.4.0

func PingURL(ctx context.Context, url string) error

func PostWithRetry added in v0.5.22

func PostWithRetry(port int, endpoint string, body io.Reader, log log.Logger) ([]byte, error)

func RunCredentialsServer

func RunCredentialsServer(
	ctx context.Context,
	port int,
	client tunnel.TunnelClient,
	runnerAddr string,
	log log.Logger,
) error

func StartCredentialsServer added in v0.4.0

func StartCredentialsServer(ctx context.Context, cancel context.CancelFunc, client tunnel.TunnelClient, log log.Logger) (int, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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