Documentation
¶
Index ¶
Constants ¶
View Source
const CONFIG_FILE_NAME = "leap.yaml"
View Source
const UNDEFINED_WORKSPACE_CONFIG = "undefined"
Variables ¶
This section is empty.
Functions ¶
func CreateCodeTemplate ¶
func IsWorkspaceDir ¶
func IsWorkspaceDir() bool
func OverrideWorkspaceConfig ¶ added in v0.0.32
func SetWorkspaceConfig ¶
func SetWorkspaceConfig(workspaceConfig *WorkspaceConfig, outputDir string) error
Types ¶
type InitTemplateValues ¶
type WorkspaceConfig ¶
type WorkspaceConfig struct { CodeIntegrationId string `yaml:"codeIntegrationId"` ProjectId string `yaml:"projectId"` SecretId string `yaml:"secretId"` Branch string `yaml:"branch,omitempty"` // deprecated SecretManagerId string `yaml:"secretManagerId,omitempty"` EntryFile string `yaml:"entryFile"` IncludePatterns []string `yaml:"include"` ExcludePatterns []string `yaml:"exclude,omitempty"` PythonVersion string `yaml:"pythonVersion,omitempty"` }
func GetWorkspaceConfig ¶
func GetWorkspaceConfig() (*WorkspaceConfig, error)
func NewWorkspaceConfig ¶
func NewWorkspaceConfig(codeIntegrationId, projectId, entryFile, secretId, branch, pythonVersion string, files []string) *WorkspaceConfig
Click to show internal directories.
Click to hide internal directories.