rancher

package
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRelease added in v0.34.0

func CreateRelease(ctx context.Context, ghClient *github.Client, r *ecmConfig.RancherRelease, opts *repository.CreateReleaseOpts, preRelease bool, releaseType string) error

func GenerateDockerImageDigests added in v0.36.0

func GenerateDockerImageDigests(outputFile, imagesFileURL, registry string) error

func GenerateMissingImagesList added in v0.35.0

func GenerateMissingImagesList(version string, concurrencyLimit int, images []string) ([]string, error)

func GeneratePrimeArtifactsIndex added in v0.33.0

func GeneratePrimeArtifactsIndex(path string, ignoreVersions []string) error

func UploadRancherArtifacts added in v0.35.0

func UploadRancherArtifacts(ctx context.Context, ghClient *github.Client, s3Uploader *manager.Uploader, rancherRelease *config.RancherRelease, releaseTag string) error

Types

type ArtifactsIndexContent added in v0.33.0

type ArtifactsIndexContent struct {
	GA         ArtifactsIndexContentGroup `json:"ga"`
	PreRelease ArtifactsIndexContentGroup `json:"preRelease"`
}

type ArtifactsIndexContentGroup added in v0.33.0

type ArtifactsIndexContentGroup struct {
	Versions      []string            `json:"versions"`
	VersionsFiles map[string][]string `json:"versionsFiles"`
	BaseURL       string              `json:"baseUrl"`
}

type ListBucketResult added in v0.33.0

type ListBucketResult struct {
	Contents []struct {
		Key string `xml:"Key"`
	} `xml:"Contents"`
}

type RancherRCDeps added in v0.34.0

type RancherRCDeps struct {
	RancherImages  []RancherRCDepsLine `json:"rancherImages"`
	FilesWithRC    []RancherRCDepsLine `json:"filesWithRc"`
	MinFilesWithRC []RancherRCDepsLine `json:"minFilesWithRc"`
	ChartsWithDev  []RancherRCDepsLine `json:"chartsWithDev"`
	KDMWithDev     []RancherRCDepsLine `json:"kdmWithDev"`
}

func CheckRancherRCDeps added in v0.28.0

func CheckRancherRCDeps(ctx context.Context, org, gitRef string) (*RancherRCDeps, error)

func (*RancherRCDeps) ToString added in v0.34.0

func (r *RancherRCDeps) ToString() (string, error)

type RancherRCDepsLine added in v0.34.0

type RancherRCDepsLine struct {
	Line    int    `json:"line"`
	File    string `json:"file"`
	Content string `json:"content"`
}

Jump to

Keyboard shortcuts

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