devsyconfig

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2026 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func AuthDevsyCliToPlatform

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

func AuthVClusterCliToPlatform

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

func GetDevsyConfig

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

Types

type DevsyConfigRequest

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

type DevsyConfigResponse

type DevsyConfigResponse struct {
	DevsyConfig *client.Config
}

func Read

func Read(request *DevsyConfigRequest) (*DevsyConfigResponse, error)

func ReadFromWorkspace

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

Jump to

Keyboard shortcuts

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