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
Click to show internal directories.
Click to hide internal directories.