types

package
v0.0.0-...-d7885a2 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Archive

type Archive struct {
	Name                 string
	Format               string
	OSName               string
	OSVersion            string
	ArchitectureOverride string
	ArchiveS3PathGetter  ArchiveS3PathGenerator
}

type ArchiveS3PathGenerator

type ArchiveS3PathGenerator func(rc *releasetypes.ReleaseConfig, archive *Archive, projectPath, gitTag, eksDReleaseChannel, eksDReleaseNumber, kubeVersion, latestPath, arch string) (string, string, string, string, error)

type AssetConfig

type AssetConfig struct {
	ProjectName                    string
	ProjectPath                    string
	GitTagAssigner                 GitTagAssigner
	Archives                       []*Archive
	Images                         []*Image
	ImageRepoPrefix                string
	ImageTagOptions                []string
	Manifests                      []*ManifestComponent
	NoGitTag                       bool
	HasReleaseBranches             bool
	HasSeparateTagPerReleaseBranch bool
	OnlyForDevRelease              bool
	UsesKubeRbacProxy              bool
}

type GitTagAssigner

type GitTagAssigner func(rc *releasetypes.ReleaseConfig, gitTagPath, overrideBranch string) (string, error)

type Image

type Image struct {
	AssetName             string
	RepoName              string
	TrimEksAPrefix        bool
	ImageTagConfiguration ImageTagConfiguration
	TrimVersionSignifier  bool
}

type ImageTagConfiguration

type ImageTagConfiguration struct {
	SourceLatestTagFromECR      bool
	NonProdSourceImageTagFormat string
	ProdSourceImageTagFormat    string
	ReleaseImageTagFormat       string
}

type ManifestComponent

type ManifestComponent struct {
	Name                  string
	ReleaseManifestPrefix string
	ManifestFiles         []string
	NoVersionSuffix       bool
}

Jump to

Keyboard shortcuts

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