workspace

package
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCodeTemplate

func CreateCodeTemplate(codeIntegrationId, projectId, outputDir string) error

func IsWorkspaceDir

func IsWorkspaceDir() bool

func SetWorkspaceConfig

func SetWorkspaceConfig(workspaceConfig *WorkspaceConfig, outputDir string) error

Types

type InitTemplateValues

type InitTemplateValues struct {
	CodeIntegrationId string
	ProjectId         string
}

type WorkspaceConfig

type WorkspaceConfig struct {
	CodeIntegrationId string   `yaml:"codeIntegrationId"`
	ProjectId         string   `yaml:"projectId"`
	SecretManagerId   string   `yaml:"secretManagerId"`
	EntryFile         string   `yaml:"entryFile"`
	IncludePatterns   []string `yaml:"include"`
}

func GetWorkspaceConfig

func GetWorkspaceConfig() (*WorkspaceConfig, error)

func NewWorkspaceConfig

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

Jump to

Keyboard shortcuts

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