Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProjectDescriptor ¶
type ProjectDescriptor struct {
Identity ProjectIdentity `json:"identity"`
}
ProjectDescriptor contains the complete description of a project, including its identity and build arguments.
func (ProjectDescriptor) GetTargetFile ¶
func (pd ProjectDescriptor) GetTargetFile() string
GetTargetFile extracts the target file from a ProjectDescriptor. Returns an empty string if TargetFile is nil.
type ProjectIdentity ¶
type ProjectIdentity struct {
// ProjectType specifies the project type (e.g., "npm", "maven", "pip")
ProjectType string `json:"type,omitempty"`
// TargetFile specifies the manifest or build file for the project
TargetFile *string `json:"targetFile,omitempty"`
// TargetRuntime specifies the runtime environment for the project
TargetRuntime *string `json:"targetRuntime,omitempty"`
// RootComponentName specifies the component's name that is at the root of the project
RootComponentName string `json:"rootComponentName,omitempty"`
}
ProjectIdentity defines the core identifying characteristics of a project.
Click to show internal directories.
Click to hide internal directories.