Documentation ¶
Index ¶
- func CreateCodeTemplate(codeIntegrationId, projectId, secretId, outputDir string) error
- func IsWorkspaceDir() bool
- func OverrideWorkspaceConfig(codeIntegrationId, projectId, entryFile, secretId, outputDir string) error
- func SetWorkspaceConfig(workspaceConfig *WorkspaceConfig, outputDir string) error
- type InitTemplateValues
- type WorkspaceConfig
Constants ¶
This section is empty.
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"` // 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
Click to show internal directories.
Click to hide internal directories.