Documentation
¶
Index ¶
- Constants
- func StrictParseVersion(v string) (*semver.Version, error)
- type Changelog
- type ChangelogStatus
- type ChartPublishedReplyData
- type ChartReplyData
- type CherryPickedReplyData
- type Commit
- type ExternalProject
- type GoReplyData
- type IndependentProjects
- type KrewManifestPublishedReplyData
- type KrewManifestReplyData
- type MergeData
- type Project
- type ProjectChangelog
- type ProjectMeta
- type PullRequestReplyData
- type ReadyToTagReplyData
- type Release
- type ReleaseChangelog
- type ReleaseSummary
- type ReleaseTable
- type Replies
- type Reply
- type ReplyKey
- type ReplyType
- type TaggedReplyData
Constants ¶
View Source
const ( Workspace = "/tmp/workspace" GitHubUserKey = "GITHUB_USER" GitHubTokenKey = "GITHUB_TOKEN" BranchMaster = "master" LabelLocked = "locked" LabelAutoMerge = "automerge" ReleasesDir = "releases" StableChartRegistry = "appscode" StableChartRegistryURL = "https://charts.appscode.com/stable/" TestChartRegistry = "appscode-testing" TestChartRegistryURL = "https://charts.appscode.com/testing/" StableUIRegistry = "bytebuilders-ui" StableUIRegistryURL = "https://bundles.byte.builders/ui/" TestUIRegistry = "bytebuilders-ui-dev" TestUIRegistryURL = "https://raw.githubusercontent.com/bytebuilders/ui-wizards/" StableBundleRegistry = "bytebuilders" StableBundleRegistryURL = "https://bundles.byte.builders/stable/" TestBundleRegistry = "bytebuilders-testing" TestBundleRegistryURL = "https://bundles.byte.builders/testing/" )
Variables ¶
This section is empty.
Functions ¶
func StrictParseVersion ¶ added in v0.0.38
StrictParseVersion behaves as semver.StrictNewVersion, with as sole exception that it allows versions with a preceding "v" (i.e. v1.2.3). Ensure new releases are FluxCD compatible. xref: https://github.com/fluxcd/pkg/blob/main/version/version.go#L25-L33
Types ¶
type Changelog ¶
type Changelog struct { ProductLine string `json:"product_line"` Release string `json:"release"` ReleaseDate time.Time `json:"release_date"` ReleaseProjectURL string `json:"release_project_url"` DocsURL string `json:"docs_url"` KubernetesVersion string `json:"kubernetes_version,omitempty"` Projects []ProjectChangelog `json:"projects"` }
type ChangelogStatus ¶
type ChangelogStatus string
const ( AddToChangelog ChangelogStatus = "" // by default show up in changelog SkipChangelog ChangelogStatus = "Skip" StandaloneWebsiteChangelog ChangelogStatus = "StandaloneWebsite" )
type ChartPublishedReplyData ¶
type ChartPublishedReplyData struct {
Repo string
}
type ChartReplyData ¶
type CherryPickedReplyData ¶
type ExternalProject ¶
type ExternalProject struct {
Commands []string `json:"commands,omitempty"`
}
func (ExternalProject) GetCommands ¶ added in v0.0.2
func (p ExternalProject) GetCommands() []string
type GoReplyData ¶
type IndependentProjects ¶
type KrewManifestPublishedReplyData ¶ added in v0.0.29
type KrewManifestPublishedReplyData struct {
Repo string
}
type KrewManifestReplyData ¶ added in v0.0.29
type Project ¶
type Project struct { Key string `json:"key,omitempty"` Tag *string `json:"tag,omitempty"` Tags map[string]string `json:"tags,omitempty"` // tag-> branch ChartNames []string `json:"chartNames,omitempty"` ChartRepos []string `json:"charts,omitempty"` Commands []string `json:"commands,omitempty"` ReleaseBranch string `json:"release_branch,omitempty"` ReadyToTag bool `json:"ready_to_tag,omitempty"` Changelog ChangelogStatus `json:"changelog,omitempty"` SubProjects []string `json:"sub_projects,omitempty"` }
func (Project) GetCommands ¶ added in v0.0.2
type ProjectChangelog ¶
type ProjectChangelog struct { URL string `json:"url"` Releases []ReleaseChangelog `json:"releases"` }
type ProjectMeta ¶ added in v0.0.2
type ProjectMeta interface {
GetCommands() []string
}
type PullRequestReplyData ¶
type ReadyToTagReplyData ¶
type Release ¶
type Release struct { ProductLine string `json:"product_line"` Release string `json:"release"` DocsURLTemplate string `json:"docs_url_template"` // "https://stash.run/docs/%s" KubernetesVersion string `json:"kubernetes_version"` // These projects can be released in sequence Projects []IndependentProjects `json:"projects"` ExternalProjects map[string]ExternalProject `json:"external_projects,omitempty"` }
type ReleaseChangelog ¶
type ReleaseSummary ¶
type ReleaseTable ¶
type ReleaseTable struct { ProductLine string Releases []ReleaseSummary }
type Reply ¶
type Reply struct { Type ReplyType Tagged *TaggedReplyData PR *PullRequestReplyData ReadyToTag *ReadyToTagReplyData CherryPicked *CherryPickedReplyData Go *GoReplyData Chart *ChartReplyData ChartPublished *ChartPublishedReplyData KrewManifest *KrewManifestReplyData KrewManifestPublished *KrewManifestPublishedReplyData }
type ReplyType ¶
type ReplyType string
const ( OkToRelease ReplyType = "/ok-to-release" Done ReplyType = "/done" Tagged ReplyType = "/tagged" Go ReplyType = "/go" ReadyToTag ReplyType = "/ready-to-tag" CherryPicked ReplyType = "/cherry-picked" PR ReplyType = "/pr" Chart ReplyType = "/chart" ChartPublished ReplyType = "/chart-published" KrewManifest ReplyType = "/krew-manifest" KrewManifestPublished ReplyType = "/krew-manifest-published" )
type TaggedReplyData ¶
type TaggedReplyData struct {
Repo string
}
Click to show internal directories.
Click to hide internal directories.