auto

package
v0.9.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

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

func InitRelease(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

func (r *Release) PullAsset() error

PullAsset will execute the release porting for a chart in the repository

func (*Release) UpdateReleaseYaml added in v0.9.6

func (r *Release) UpdateReleaseYaml() error

UpdateReleaseYaml reads and parse the release.yaml file to a struct, appends the new version and writes it back to the file.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL