types

package
v0.0.0-...-277eb20 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Artifact statuses
	ArtifactNotSubmitted      = "NOT_SUBMITTED"
	ArtifactBlocked           = "BLOCKED"
	ArtifactFailedPermanently = "FAILED_PERMANENTLY"
	ArtifactFailedTransiently = "FAILED_TRANSIENTLY"
	ArtifactReady             = "READY"
	ArtifactSkipped           = "SKIPPED"
	ArtifactStarted           = "STARTED"
	ArtifactSucceeded         = "SUCCEEDED"
)
View Source
const (
	RevertCommitStrategyForce   = "Force"
	RevertCommitStrategyDefault = "Default"
)
View Source
const (
	// Error types
	ErrorType                         = "Error"
	NotFoundErrorType                 = "NotFound"
	ParseErrorType                    = "ParseError"
	AlreadyExistsErrorType            = "AlreadyExists"
	NoChangeSinceLastCommitErrorType  = "NoChangeSinceLastCommit"
	HeadOnBranchMovedErrorType        = "HeadOnBranchMoved"
	ForbiddenErrorType                = "Forbidden"
	GenericSolveErrorType             = "GenericSolveError"
	RemediableSolveErrorType          = "RemediableSolveError"
	PlanningErrorType                 = "PlanningError"
	MergeConflictType                 = "MergeConflict"
	FastForwardErrorType              = "FastForwardError"
	NoCommonBaseFoundType             = "NoCommonBaseFound"
	ValidationErrorType               = "ValidationError"
	MergeConflictErrorType            = "MergeConflict"
	RevertConflictErrorType           = "RevertConflict"
	CommitNotInTargetHistoryErrorType = "CommitNotInTargetHistory"
	ComitHasNoParentErrorType         = "CommitHasNoParent"
	TargetNotFoundErrorType           = "TargetNotFound"
)
View Source
const (
	// MIME types
	XArtifactMimeType            = "application/x.artifact"
	XActiveStateArtifactMimeType = "application/x-activestate-artifacts"
	XCamelInstallerMimeType      = "application/x-camel-installer"
	XGozipInstallerMimeType      = "application/x-gozip-installer"
	XActiveStateBuilderMimeType  = "application/x-activestate-builder"
)
View Source
const (
	// Version Comparators
	ComparatorEQ  = "eq"
	ComparatorGT  = "gt"
	ComparatorGTE = "gte"
	ComparatorLT  = "lt"
	ComparatorLTE = "lte"
	ComparatorNE  = "ne"

	// Version Requirement keys
	VersionRequirementComparatorKey = "comparator"
	VersionRequirementVersionKey    = "version"
)
View Source
const NamespacePlatform = "platform"

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildEngine

type BuildEngine int

BuildEngine describes the build engine that was used to build the runtime

const (
	// UnknownEngine represents an engine unknown to the runtime.
	UnknownEngine BuildEngine = iota

	// Camel is the legacy build engine, that builds Active{Python,Perl,Tcl}
	// distributions
	Camel

	// Alternative is the new alternative build orchestration framework
	Alternative
)

func (BuildEngine) String

func (be BuildEngine) String() string

type MergeStrategy

type MergeStrategy string
const (
	MergeCommitStrategyRecursive                    MergeStrategy = "Recursive"
	MergeCommitStrategyRecursiveOverwriteOnConflict MergeStrategy = "RecursiveOverwriteOnConflict"
	MergeCommitStrategyRecursiveKeepOnConflict      MergeStrategy = "RecursiveKeepOnConflict"
	MergeCommitStrategyFastForward                  MergeStrategy = "FastForward"
)

type Operation

type Operation int
const (
	OperationAdded Operation = iota
	OperationRemoved
	OperationUpdated
)

func (Operation) String

func (o Operation) String() string

func (*Operation) Unmarshal

func (o *Operation) Unmarshal(v string) error

type Requirement

type Requirement struct {
	Name               string               `json:"name"`
	Namespace          string               `json:"namespace"`
	VersionRequirement []VersionRequirement `json:"version_requirements,omitempty"`
	Revision           *int                 `json:"revision,omitempty"`
}

type VersionRequirement

type VersionRequirement map[string]string

Jump to

Keyboard shortcuts

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