workspace

package
v0.0.63 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCodeTemplate

func CreateCodeTemplate(codeIntegrationId, projectId, secretId, outputDir string) error

func IsWorkspaceDir

func IsWorkspaceDir() bool

func OverrideWorkspaceConfig added in v0.0.32

func OverrideWorkspaceConfig(codeIntegrationId, projectId, entryFile, secretId, outputDir string) error

func SetWorkspaceConfig

func SetWorkspaceConfig(workspaceConfig *WorkspaceConfig, outputDir string) error

Types

type InitTemplateValues

type InitTemplateValues struct {
	CodeIntegrationId string
	ProjectId         string
	SecretId          string
}

type WorkspaceConfig

type WorkspaceConfig struct {
	CodeIntegrationId string `yaml:"codeIntegrationId"`
	ProjectId         string `yaml:"projectId"`
	SecretId          string `yaml:"secretId"`
	// deprecated
	SecretManagerId string   `yaml:"secretManagerId,omitempty"`
	EntryFile       string   `yaml:"entryFile"`
	IncludePatterns []string `yaml:"include"`
}

func GetWorkspaceConfig

func GetWorkspaceConfig() (*WorkspaceConfig, error)

func NewWorkspaceConfig

func NewWorkspaceConfig(codeIntegrationId, projectId, entryFile, secretId string, files []string) *WorkspaceConfig

Jump to

Keyboard shortcuts

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