Documentation ¶
Index ¶
- Constants
- func NewDockerLoginActions(credentials []Credentials) []actions.Step
- type Action
- type Builder
- type CodeOwner
- type Contribution
- func ContributeActions(descriptor Descriptor) ([]Contribution, error)
- func ContributeBuilderDependencies(descriptor Descriptor) ([]Contribution, error)
- func ContributeBuildpackDependencies(descriptor Descriptor) ([]Contribution, error)
- func ContributeCodeOwners(descriptor Descriptor) Contribution
- func ContributeCreateBuilder(descriptor Descriptor) (*Contribution, error)
- func ContributeCreatePackage(descriptor Descriptor) (*Contribution, error)
- func ContributeDependabot(descriptor Descriptor) (Contribution, error)
- func ContributeDraftRelease(descriptor Descriptor) ([]Contribution, error)
- func ContributeLabels() ([]Contribution, error)
- func ContributeOfflinePackages(descriptor Descriptor) ([]Contribution, error)
- func ContributePackageDependencies(descriptor Descriptor) ([]Contribution, error)
- func ContributeTest(descriptor Descriptor) (*Contribution, error)
- func NewActionContribution(workflow actions.Workflow) (Contribution, error)
- func NewDependabotContribution(dependabot dependabot.Dependabot) (Contribution, error)
- func NewDrafterContribution(drafter release.Drafter) (Contribution, error)
- func NewLabelsContribution(labels []labels.Label) (Contribution, error)
- type Credentials
- type Dependency
- type Descriptor
- type Octo
- type OfflinePackage
- type Package
- type RawBuilder
- type RawBuildpack
- type RawStack
Constants ¶
View Source
const ( GoVersion = "1.15" PackVersion = "0.14.1" YJVersion = "5.0.0" )
Variables ¶
This section is empty.
Functions ¶
func NewDockerLoginActions ¶
func NewDockerLoginActions(credentials []Credentials) []actions.Step
Types ¶
type Contribution ¶
type Contribution struct { Path string Permissions os.FileMode Structure gotree.Tree Content []byte }
func ContributeActions ¶
func ContributeActions(descriptor Descriptor) ([]Contribution, error)
func ContributeBuilderDependencies ¶
func ContributeBuilderDependencies(descriptor Descriptor) ([]Contribution, error)
func ContributeBuildpackDependencies ¶
func ContributeBuildpackDependencies(descriptor Descriptor) ([]Contribution, error)
func ContributeCodeOwners ¶
func ContributeCodeOwners(descriptor Descriptor) Contribution
func ContributeCreateBuilder ¶
func ContributeCreateBuilder(descriptor Descriptor) (*Contribution, error)
func ContributeCreatePackage ¶
func ContributeCreatePackage(descriptor Descriptor) (*Contribution, error)
func ContributeDependabot ¶
func ContributeDependabot(descriptor Descriptor) (Contribution, error)
func ContributeDraftRelease ¶
func ContributeDraftRelease(descriptor Descriptor) ([]Contribution, error)
func ContributeLabels ¶
func ContributeLabels() ([]Contribution, error)
func ContributeOfflinePackages ¶
func ContributeOfflinePackages(descriptor Descriptor) ([]Contribution, error)
func ContributePackageDependencies ¶
func ContributePackageDependencies(descriptor Descriptor) ([]Contribution, error)
func ContributeTest ¶
func ContributeTest(descriptor Descriptor) (*Contribution, error)
func NewActionContribution ¶
func NewActionContribution(workflow actions.Workflow) (Contribution, error)
func NewDependabotContribution ¶
func NewDependabotContribution(dependabot dependabot.Dependabot) (Contribution, error)
func NewDrafterContribution ¶
func NewDrafterContribution(drafter release.Drafter) (Contribution, error)
func NewLabelsContribution ¶
func NewLabelsContribution(labels []labels.Label) (Contribution, error)
type Credentials ¶
type Dependency ¶
type Descriptor ¶
type Descriptor struct { Path string CodeOwners []CodeOwner Builder *Builder Package *Package Credentials []Credentials OfflinePackages []OfflinePackage `yaml:"offline_packages"` Actions []Action Dependencies []Dependency }
func NewDescriptor ¶
func NewDescriptor(path string) (Descriptor, error)
type Octo ¶
type Octo struct {
DescriptorPath string
}
func (Octo) Contribute ¶
func (Octo) Write ¶
func (Octo) Write(descriptor Descriptor, contributions []Contribution) error
type OfflinePackage ¶
type RawBuilder ¶
type RawBuilder struct { Buildpacks []RawBuildpack Stack RawStack }
type RawBuildpack ¶
type RawBuildpack struct {
Image string
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.