loftconfig

package
v0.6.2-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: MPL-2.0 Imports: 10 Imported by: 0

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 {
	Context  string
	Provider string
}

type LoftConfigResponse

type LoftConfigResponse struct {
	LoftConfig *client.Config
}

func Read

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

Jump to

Keyboard shortcuts

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