http

package
v0.19.786 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(v *validator.Validate, opts ...httpOption) (*http, error)

func WithNuonTerraformWorkspaceConfig

func WithNuonTerraformWorkspaceConfig(cfg *NuonWorkspaceConfig) httpOption

Types

type HTTPBackendConfig

type HTTPBackendConfig struct {
	Address       string `json:"address"`
	LockAddress   string `json:"lock_address"`
	UnlockAddress string `json:"unlock_address"`
	LockMethod    string `json:"lock_method"`
	UnlockMethod  string `json:"unlock_method"`
}

type NuonWorkspaceConfig

type NuonWorkspaceConfig struct {
	// APIEndpoint is the endpoint to use for the API. Ex: http://localhost:8083/
	APIEndpoint string
	WorkspaceID string
	Token       string
	JobID       string
}

Jump to

Keyboard shortcuts

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