loftconfig

package
v0.26.3 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2026 License: MPL-2.0 Imports: 11 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	LoftPlatformConfigFileName = "loft-config.json" // TODO: move somewhere else, replace hardoced strings with usage of this const
)

Variables

This section is empty.

Functions

func AuthDevpodCliToPlatform

func AuthDevpodCliToPlatform(config *client.Config, logger log.Logger) error

func AuthVClusterCliToPlatform

func AuthVClusterCliToPlatform(config *client.Config, logger log.Logger) error

func GetLoftConfig

func GetLoftConfig(context, provider string, port int, logger log.Logger) (*client.Config, error)

Types

type LoftConfigRequest

type LoftConfigRequest struct {
	// Deprecated. Do not use anymore
	Context string
	// Deprecated. Do not use anymore
	Provider string
}

type LoftConfigResponse

type LoftConfigResponse struct {
	LoftConfig *client.Config
}

func Read

func Read(request *LoftConfigRequest) (*LoftConfigResponse, error)

func ReadFromWorkspace

func ReadFromWorkspace(workspace *provider.Workspace) (*LoftConfigResponse, error)

Jump to

Keyboard shortcuts

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