Documentation ¶
Index ¶
- Constants
- func GetPort() (int, error)
- func GetRunnerPort() (int, error)
- func PingURL(ctx context.Context, url string) error
- func PostWithRetry(port int, endpoint string, body io.Reader, log log.Logger) ([]byte, error)
- func RunCredentialsServer(ctx context.Context, port int, client tunnel.TunnelClient, runnerAddr string, ...) error
- func StartCredentialsServer(ctx context.Context, cancel context.CancelFunc, client tunnel.TunnelClient, ...) (int, error)
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 GetRunnerPort ¶ added in v0.5.21
func PostWithRetry ¶ added in v0.5.22
func RunCredentialsServer ¶
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.
Click to show internal directories.
Click to hide internal directories.