Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetProjectEnvVars ¶
func GetProjectEnvVars(project *Project, params ProjectEnvVarParams, telemetryEnabled bool) map[string]string
func GetProjectHostname ¶
Types ¶
type FileStatus ¶
type GitStatus ¶
type GitStatus struct { CurrentBranch string `json:"currentBranch" validate:"required"` Files []*FileStatus `json:"fileStatus" validate:"required"` } // @name GitStatus
type Project ¶
type Project struct { config.ProjectConfig WorkspaceId string `json:"workspaceId" validate:"required"` ApiKey string `json:"-"` Target string `json:"target" validate:"required"` State *ProjectState `json:"state,omitempty" validate:"optional"` } // @name Project
func (*Project) GetConfigHash ¶
GetConfigHash returns a SHA-256 hash of the project's build configuration, repository URL, and environment variables.
type ProjectEnvVarParams ¶
type ProjectInfo ¶
type ProjectInfo struct { Name string `json:"name" validate:"required"` Created string `json:"created" validate:"required"` IsRunning bool `json:"isRunning" validate:"required"` ProviderMetadata string `json:"providerMetadata,omitempty" validate:"optional"` WorkspaceId string `json:"workspaceId" validate:"required"` } // @name ProjectInfo
type ProjectState ¶
Click to show internal directories.
Click to hide internal directories.