Documentation ¶
Index ¶
- type Package
- func (p *Package) ChangeStatus(initialRepo *abaputils.Repository)
- func (p *Package) CopyFieldsToRepo(initialRepo *abaputils.Repository)
- func (p *Package) GetPackageAndNamespace() error
- func (p *Package) InitPackage(repo abaputils.Repository, conn abapbuild.Connector)
- func (p *Package) Register() error
- func (p *Package) Release() error
- func (p *Package) ReserveNext() error
- type PackageStatus
- type PackageWithRepository
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 ¶
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) ReserveNext ¶
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
Click to show internal directories.
Click to hide internal directories.