Documentation ¶
Index ¶
- type BitBucket
- func (bucket *BitBucket) GetName() string
- func (bucket *BitBucket) GetPackages() map[string]composer.JSONData
- func (bucket *BitBucket) GetReference() string
- func (bucket *BitBucket) GetSource() map[string]string
- func (bucket *BitBucket) PrepareBranches() error
- func (bucket *BitBucket) PrepareMainBranch() error
- func (bucket *BitBucket) PrepareTags() error
- func (bucket *BitBucket) Run() error
- type Driver
- type Git
- func (git *Git) GetName() string
- func (git *Git) GetPackages() map[string]composer.JSONData
- func (git *Git) GetReference() string
- func (git *Git) GetSource() map[string]string
- func (git *Git) PrepareBranches() error
- func (git *Git) PrepareMainBranch() error
- func (git *Git) PrepareTags() error
- func (git *Git) Run() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BitBucket ¶
type BitBucket struct { Owner string Repository string Version string Reference string Source map[string]string Dist map[string]string URL string Packages map[string]composer.JSONData }
BitBucket bitbucket driver data
func (*BitBucket) GetPackages ¶
GetPackages get composer
func (*BitBucket) GetReference ¶
GetReference get repository reference
func (*BitBucket) PrepareBranches ¶
PrepareBranches prepare repository branches Set to driver `Version`, `VersionNormalized`, `Reference` Set composer json data by version
func (*BitBucket) PrepareMainBranch ¶
PrepareMainBranch prepare main branch Set to driver `Reference`, `Name`
func (*BitBucket) PrepareTags ¶
PrepareTags prepare repository tags Set to driver `Version`, `VersionNormalized`, `Reference` Set composer json data by version
type Driver ¶
type Driver interface { Run() error GetName() string GetSource() map[string]string GetReference() string GetPackages() map[string]composer.JSONData // PrepareMainBranch prepare main branch // Set to driver `Reference`, `Name` PrepareMainBranch() error // PrepareTags prepare repository tags // Set to driver `Version`, `VersionNormalized`, `Reference` // Set composer json data by version PrepareTags() error // PrepareBranches prepare repository branches // Set to driver `Version`, `VersionNormalized`, `Reference` // Set composer json data by version PrepareBranches() error }
Driver is interface for VCS drivers
type Git ¶
type Git struct { Name string RepoDir string Version string VersionNormalized string Reference string Source map[string]string Dist map[string]string URL string Packages map[string]composer.JSONData }
Git git driver data
func (*Git) GetPackages ¶
GetPackages get composer
func (*Git) GetReference ¶
GetReference get repository reference
func (*Git) PrepareBranches ¶
PrepareBranches prepare repository branches Set to driver `Version`, `VersionNormalized`, `Reference` Set composer json data by version
func (*Git) PrepareMainBranch ¶
PrepareMainBranch prepare main branch Set to driver `Reference`, `Name`
func (*Git) PrepareTags ¶
PrepareTags prepare repository tags Set to driver `Version`, `VersionNormalized`, `Reference` Set composer json data by version