Documentation ¶
Index ¶
Constants ¶
View Source
const ArchiveExt = ".tar.gz"
View Source
const ArtifactExt = ".tar.gz"
View Source
const BuildExpressionJson = "buildexpression.json"
View Source
const BuildPlanJson = "buildplan.json"
View Source
const InstallerConfigJson = "installer_config.json"
Variables ¶
View Source
var ErrNoOrg = errs.New("unable to get org name")
Functions ¶
func CreateProjectFiles ¶
Types ¶
type Archive ¶
type Archive struct { Dir string Namespace *project.Namespaced Branch string PlatformID strfmt.UUID BuildPlan *buildplan.BuildPlan }
func NewArchive ¶
NewArchive unpacks the given archive to a temporary location. The caller should invoke the `Cleanup()` method when finished with this archive.
type Checkout ¶
type Checkout struct {
// contains filtered or unexported fields
}
Checkout will checkout the given platform project at the given path This includes cloning an associated repository and creating the activestate.yaml It does not activate any environment
func New ¶
func New(repo git.Repository, prime primeable) *Checkout
type ErrAlreadyCheckedOut ¶
type ErrAlreadyCheckedOut struct {
Path string
}
func (ErrAlreadyCheckedOut) Error ¶
func (e ErrAlreadyCheckedOut) Error() string
type ErrNoPermission ¶
type ErrNoPermission struct {
Path string
}
func (ErrNoPermission) Error ¶
func (e ErrNoPermission) Error() string
Click to show internal directories.
Click to hide internal directories.