aakaas

package
v1.135.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2021 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Package

type Package struct {
	abapbuild.Connector
	ComponentName       string
	PackageName         string `json:"Name"`
	VersionYAML         string
	Type                string        `json:"Type"`
	PredecessorCommitID string        `json:"PredecessorCommitId"`
	Status              PackageStatus `json:"Status"`
	Namespace           string        `json:"Namespace"`
}

Package : ABAP delivery package

func (*Package) ChangeStatus

func (p *Package) ChangeStatus(initialRepo *abaputils.Repository)

ChangeStatus : change status of the package in the repository

func (*Package) CopyFieldsToRepo

func (p *Package) CopyFieldsToRepo(initialRepo *abaputils.Repository)

CopyFieldsToRepo : copy package attributes to the repository

func (*Package) GetPackageAndNamespace

func (p *Package) GetPackageAndNamespace() error

GetPackageAndNamespace : retrieve attributes of the package from AAKaaS

func (*Package) InitPackage

func (p *Package) InitPackage(repo abaputils.Repository, conn abapbuild.Connector)

InitPackage : initialize package attributes from the repository

func (*Package) Register

func (p *Package) Register() error

Register : register package in AAKaaS

func (*Package) Release

func (p *Package) Release() error

Release : release package in AAKaaS

func (*Package) ReserveNext

func (p *Package) ReserveNext() error

ReserveNext : reserve next delivery package for this software component version

type PackageStatus

type PackageStatus string

PackageStatus : Status of an ABAP delivery package

const (
	// PackageStatusPlanned : Package is Planned
	PackageStatusPlanned PackageStatus = "P"
	// PackageStatusLocked : Package is Locked
	PackageStatusLocked PackageStatus = "L"
	// PackageStatusReleased : Package is Released
	PackageStatusReleased PackageStatus = "R"
	// PackageStatusCreationTriggered : Package was Released but Release procedure is not yet finished
	PackageStatusCreationTriggered PackageStatus = "C"
)

type PackageWithRepository

type PackageWithRepository struct {
	Package Package
	Repo    abaputils.Repository
}

PackageWithRepository : pack'n repo

Jump to

Keyboard shortcuts

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