identity

package
v1.26.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

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.

Jump to

Keyboard shortcuts

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