Documentation
¶
Index ¶
- func ArchiveRelease(name, releases, provider string) error
- func BumpAll(input v1alpha1.Release, manuallyRequestedComponents []string, ...) ([]string, []string, error)
- func CreateRelease(name, base, releases, provider string, components, apps []string, ...) error
- func FindNewestApp(name string, getUpstreamVersion bool, constraint *semver.Range) (appVersion, error)
- func IsBadFormat(err error) bool
- func IsGithubNotFound(err error) bool
- func IsInvalidItemType(err error) bool
- func IsReleaseNotFound(err error) bool
- type ReleaseJsonInfo
- type ReleaseRequest
- type ReleasesJsonData
- type Request
- type Requests
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArchiveRelease ¶
Archives a release on the filesystem from the given parameters. This is the entry point for the `devctl archive release` command logic.
func BumpAll ¶
func BumpAll(input v1alpha1.Release, manuallyRequestedComponents []string, manuallyRequestedApps []string, releaseType string, appsToDrop map[string]bool, requests []Request, yes bool, output string, changesOnly bool, requestedOnly bool, k8sMajorVersion uint64) ([]string, []string, error)
BumpAll takes all apps and components in the `input` release and looks up on github for the latest version of each. If the version is not specified in the `manuallyRequestedComponents` or `manuallyRequestedApps` it will be bumped to the latest version.
func CreateRelease ¶
func CreateRelease(name, base, releases, provider string, components, apps []string, overwrite bool, creationCommand string, bumpall bool, appsToDrop []string, yes bool, output string, verbose bool, changesOnly bool, requestedOnly bool, updateExisting bool, preserveReadme bool, regenerateReadme bool) error
CreateRelease creates a release on the filesystem from the given parameters. This is the entry point for the `devctl create release` command logic.
func FindNewestApp ¶ added in v7.21.0
func IsGithubNotFound ¶
func IsInvalidItemType ¶ added in v7.20.0
IsInvalidItemType asserts invalidItemTypeError.
func IsReleaseNotFound ¶
IsInvalidConfig asserts releaseNotFoundError.
Types ¶
type ReleaseJsonInfo ¶
type ReleaseRequest ¶ added in v7.12.0
type ReleasesJsonData ¶
type ReleasesJsonData struct {
Releases []ReleaseJsonInfo `json:"releases"`
SourceUrl string `json:"sourceUrl"`
ChangelogUrl string `json:"changelogUrl"`
Homepage string `json:"homepage"`
}
type Requests ¶ added in v7.12.0
type Requests struct {
Releases []ReleaseRequest `yaml:"releases"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.