Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { Chart string // The chart to forward-port Version string // The version to forward-port Command []string // The command to run to forward-port }
Command holds the necessary information to forward-port a chart
type ForwardPort ¶
type ForwardPort struct { VR *lifecycle.VersionRules // contains filtered or unexported fields }
ForwardPort holds the data and methods to forward-port charts
func CreateForwardPortStructure ¶
func CreateForwardPortStructure(ld *lifecycle.Dependencies, assetsToPort map[string][]lifecycle.Asset, forkURL string) (*ForwardPort, error)
CreateForwardPortStructure will create the ForwardPort struct with access to the necessary dependencies. It will also check if yq command is installed on the system.
func (*ForwardPort) ExecuteForwardPort ¶
func (f *ForwardPort) ExecuteForwardPort(chart string) error
ExecuteForwardPort will execute all steps to organize and create the forward-port PRs
type PullRequest ¶
type PullRequest struct {
// contains filtered or unexported fields
}
PullRequest represents a pull request to be created for each chart separately
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
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
func (*Release) UpdateReleaseYaml ¶ added in v0.9.6
UpdateReleaseYaml reads and parse the release.yaml file to a struct, appends the new version and writes it back to the file.