Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Artifact ¶
Artifact is a earth artifact identifier.
func ParseArtifact ¶
ParseArtifact parses a string representation of a Artifact.
func (Artifact) StringCanonical ¶
StringCanonical returns a string representation of the Artifact.
type Target ¶
type Target struct { // Remote and canonical representation. Registry string `json:"registry"` ProjectPath string `json:"projectPath"` Tag string `json:"tag"` // Local representation. LocalPath string `json:"localPath"` // Target name. Target string `json:"target"` }
Target is a earth target identifier.
func ParseTarget ¶
ParseTarget parses a string into a Target.
func (Target) IsExternal ¶
IsExternal returns whether the target is external to the current project.
func (Target) IsLocalExternal ¶
IsLocalExternal returns whether the target is a local, but external target.
func (Target) IsLocalInternal ¶
IsLocalInternal returns whether the target is a local.
func (Target) ProjectCanonical ¶
ProjectCanonical returns a string representation of the project of the target, in canonical form.
func (Target) StringCanonical ¶
StringCanonical returns a string representation of the Target, in canonical form.