Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ChartTargetsMap = map[string][]string{
"elemental": {"elemental", "elemental-crd"},
"fleet": {"fleet", "fleet-crd", "fleet-agent"},
"harvester-cloud-provider": {"harvester-cloud-provider"},
"harvester-csi-driver": {"harvester-csi-driver"},
"longhorn": {"longhorn", "longhorn-crd"},
"neuvector": {"neuvector", "neuvector-crd", "neuvector-monitor"},
"prometheus-federator": {"prometheus-federator"},
"rancher-aks-operator": {"rancher-aks-operator", "rancher-aks-operator-crd"},
"rancher-alerting-drivers": {"rancher-alerting-drivers"},
"rancher-backup": {"rancher-backup", "rancher-backup-crd"},
"rancher-cis-benchmark": {"rancher-cis-benchmark", "rancher-cis-benchmark-crd"},
"rancher-compliance": {"rancher-compliance", "rancher-compliance-crd"},
"rancher-csp-adapter": {"rancher-csp-adapter"},
"rancher-eks-operator": {"rancher-eks-operator", "rancher-eks-operator-crd"},
"rancher-gatekeeper": {"rancher-gatekeeper", "rancher-gatekeeper-crd"},
"rancher-gke-operator": {"rancher-gke-operator", "rancher-gke-operator-crd"},
"rancher-istio": {"rancher-istio"},
"rancher-logging": {"rancher-logging", "rancher-logging-crd"},
"rancher-monitoring": {"rancher-monitoring", "rancher-monitoring-crd"},
"rancher-project-monitoring": {"rancher-project-monitoring"},
"rancher-provisioning-capi": {"rancher-provisioning-capi"},
"rancher-pushprox": {"rancher-pushprox"},
"rancher-vsphere-csi": {"rancher-vsphere-csi"},
"rancher-vsphere-cpi": {"rancher-vsphere-cpi"},
"rancher-webhook": {"rancher-webhook"},
"rancher-windows-gmsa": {"rancher-windows-gmsa", "rancher-windows-gmsa-crd"},
"rancher-wins-upgrader": {"rancher-wins-upgrader"},
"sriov": {"sriov", "sriov-crd"},
"system-upgrade-controller": {"system-upgrade-controller"},
"ui-plugin-operator": {"ui-plugin-operator", "ui-plugin-operator-crd"},
"rancher-turtles": {"rancher-turtles"},
"rancher-turtles-providers": {"rancher-turtles-providers"},
"rancher-ali-operator": {"rancher-ali-operator", "rancher-ali-operator-crd"},
}
ChartTargetsMap represents all current active charts
Functions ¶
func BumpChart ¶ added in v1.9.13
func BumpChart(ctx context.Context, multiRCs, newChart, isPrimeChart bool, repoRoot, currentPackage, branch, versionOverride string, chartsScriptOptions *options.ChartsScriptOptions) error
BumpChart will execute a similar approach as the defined development workflow for chartowners. The main difference is that between the steps: (make prepare and make patch) we will calculate the next version to release.
Types ¶
type Bump ¶ added in v1.1.0
type Bump struct {
// represents package/<target_chart> directory loaded options
Pkg *charts.Package
// contains filtered or unexported fields
}
Bump represents the chart bump process for a single chart (with its CRD and dependencies).
type BumpOutput ¶ added in v1.5.3
type BumpOutput struct {
Charts []string `json:"charts"` // List of charts processed
NewVersion string `json:"new_version"` // The single version applied
}
BumpOutput defines the structure that will be written to config/bump.json
type Release ¶ added in v0.9.6
type Release struct {
VR *lifecycle.VersionRules
AssetTgz string
AssetPath string
ChartVersion string
Chart string
ReleaseYamlPath string
ForkRemoteURL string
// contains filtered or unexported fields
}
Release holds necessary metadata to release a chart version
func InitRelease ¶ added in v0.9.6
func InitRelease(ctx context.Context, d *lifecycle.Dependencies, s *lifecycle.Status, v, c, f string) (*Release, error)
InitRelease will create the Release struct with access to the necessary dependencies.
func (*Release) PullAsset ¶ added in v0.9.6
PullAsset will execute the release porting for a chart in the repository
Click to show internal directories.
Click to hide internal directories.