Documentation ¶
Index ¶
- Constants
- func DoCurrentCSV(ctx context.Context, cmdOpts *currentCSVFlags) error
- func DoExtractManifests(ctx context.Context, extractManifests ExtractManifestsCmd, ...) error
- func DoMergeBlocker(ctx context.Context, client services.GithubIssuesService, ...) error
- func DoMergeRelease(ctx context.Context, client services.PullRequestsService, ...) error
- func DoProcessCSV(ctx context.Context, cmdOpts *processCSVImagesCmdOptions) error
- func DoProcessManifest(manifestDir string) error
- func DoTagRelease(ctx context.Context, ghClient services.GitService, gitRepoInfo *githubRepoInfo, ...) error
- func DoTagReleaseRepo(ctx context.Context, ghClient services.GitService, gitRepoInfo *githubRepoInfo, ...) error
- func Execute()
- func ParseVersion(input string, product string, version string, versionType string) (string, error)
- func PrepareProductName(product string) string
- func SetVersion(filepath string, product string, operatorVersion string, productVersion string) error
- type Bundle
- type BundleList
- type Config
- type ExtractManifestsCmd
- type GetLatestReleaseCmdFlags
- type ImageInfo
- type InnerConfig
- type Labels
- type MetaData
- type ProcessBundleCommand
- type ProcessCSVImagesCmd
- type ProductInstallation
- type ProductInstallationCompositeUpdater
- type ProductInstallationUpdater
- type ProductInstallationUpdaterFromBundle
- type ProductInstallationUpdaterFromValues
- type ProductsInstallation
- type TestContainer
- type Update3scaleBundleCommand
Constants ¶
View Source
const ( OperatorVersionType = "OperatorVersion" ProductVersionType = "Version" )
View Source
const ( ProwConfigSourceRHMI = "ci-operator/config/integr8ly/integreatly-operator/integr8ly-integreatly-operator-release-v2.9.yaml" ProwConfigSourceRHOAM = "ci-operator/config/integr8ly/integreatly-operator/integr8ly-integreatly-operator-rhoam-release-v1.7.yaml" ProwConfigSourceMaster = "ci-operator/config/integr8ly/integreatly-operator/integr8ly-integreatly-operator-master.yaml" ProwInternalRegistry = "registry.ci.openshift.org/integr8ly" )
View Source
const ( DefaultOpenshiftCIRepo = "release" DefaultOpenshiftCIOrgUpstream = "openshift" DefaultOpenshiftCIOrgOrigin = "integr8ly" )
View Source
const ( GithubTokenKey = "github_token" GithubUserKey = "github_user" DefaultIntegreatlyGithubOrg = "integr8ly" DefaultIntegreatlyOperatorRepo = "integreatly-operator" QuayTokenKey = "quay_token" DefaultIntegreatlyOperatorQuayRepo = "integreatly/integreatly-operator" DefaultIntegreatlyOperatorTestQuayRepo = "integreatly/integreatly-operator-test-harness" KubeConfigKey = "kubeconfig" PolarionUsernameKey = "polarion_username" PolarionPasswordKey = "polarion_password" AWSAccessKeyIDEnv = "delorean_aws_access_key_id" AWSSecretAccessKeyEnv = "delorean_aws_secret_access_key" AWSDefaultRegion = "eu-west-1" )
View Source
const MergeBlockerLabel = "tide/merge-blocker"
Variables ¶
This section is empty.
Functions ¶
func DoCurrentCSV ¶
func DoExtractManifests ¶
func DoExtractManifests(ctx context.Context, extractManifests ExtractManifestsCmd, cmdOpts *extractManifestsCmdOptions) error
func DoMergeBlocker ¶
func DoMergeBlocker(ctx context.Context, client services.GithubIssuesService, repoInfo *githubRepoInfo, cmdOpts *mergeBlockerCmdOptions) error
func DoMergeRelease ¶
func DoMergeRelease(ctx context.Context, client services.PullRequestsService, repoInfo *githubRepoInfo, cmdOpts *mergeReleaseOptions) error
func DoProcessCSV ¶
func DoProcessManifest ¶
func DoTagRelease ¶
func DoTagReleaseRepo ¶
func DoTagReleaseRepo(ctx context.Context, ghClient services.GitService, gitRepoInfo *githubRepoInfo, cmdOpts *tagReleaseRepoOptions) error
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func ParseVersion ¶
func PrepareProductName ¶
Types ¶
type BundleList ¶
type BundleList struct {
Bundles []*Bundle `yaml:"bundles"`
}
type Config ¶
type Config struct {
InnerConfig InnerConfig `json:"config"`
}
type ExtractManifestsCmd ¶
type GetLatestReleaseCmdFlags ¶
type GetLatestReleaseCmdFlags struct {
// contains filtered or unexported fields
}
func NewGetLatestReleaseCmd ¶
func NewGetLatestReleaseCmd(repo string, owner string) *GetLatestReleaseCmdFlags
type InnerConfig ¶
type InnerConfig struct {
Labels Labels `json:"Labels"`
}
type ProcessBundleCommand ¶
type ProcessBundleCommand struct { ProductsInstallationPath, ProductKey string Updater ProductInstallationUpdater }
func (*ProcessBundleCommand) Run ¶
func (cmd *ProcessBundleCommand) Run() error
type ProcessCSVImagesCmd ¶
type ProductInstallation ¶
type ProductInstallationCompositeUpdater ¶
type ProductInstallationCompositeUpdater struct {
Updaters []ProductInstallationUpdater
}
func (*ProductInstallationCompositeUpdater) UpdateProductInstallation ¶
func (u *ProductInstallationCompositeUpdater) UpdateProductInstallation(p *ProductInstallation) error
type ProductInstallationUpdater ¶
type ProductInstallationUpdater interface {
UpdateProductInstallation(*ProductInstallation) error
}
type ProductInstallationUpdaterFromBundle ¶
type ProductInstallationUpdaterFromBundle struct {
BundleDir string
}
func (*ProductInstallationUpdaterFromBundle) UpdateProductInstallation ¶
func (u *ProductInstallationUpdaterFromBundle) UpdateProductInstallation(p *ProductInstallation) error
type ProductInstallationUpdaterFromValues ¶
type ProductInstallationUpdaterFromValues struct { Channel *string Bundle *string InstallFrom *string ManifestsDir *string Package *string Index *string }
func (*ProductInstallationUpdaterFromValues) UpdateProductInstallation ¶
func (u *ProductInstallationUpdaterFromValues) UpdateProductInstallation(p *ProductInstallation) error
type ProductsInstallation ¶
type ProductsInstallation struct {
Products map[string]*ProductInstallation `yaml:"products"`
}
type TestContainer ¶
type TestContainer struct { Name string `json:"name"` Image string `json:"image"` Timeout int64 `json:"timeout,omitempty"` ImagePullSecret string `json:"ImagePullSecretEnvVar,omitempty"` EnvVars []v1.EnvVar `json:"envVars,omitempty"` RegExpFilter string `json:"regExpFilter,omitempty"` Entrypoint []string `json:"entrypoint, omitempty"` Argument []string `json:"argument, omitempty"` Success bool }
type Update3scaleBundleCommand ¶
type Update3scaleBundleCommand struct { BundleName string BundleImage string BundleFilePath string }
func (*Update3scaleBundleCommand) Run ¶
func (cmd *Update3scaleBundleCommand) Run() error
Source Files ¶
- checkOLMGraph.go
- cleanupAwsAccount.go
- cleanupReports.go
- createProdsecManifest.go
- createRelease.go
- currentCSV.go
- datahubImport.go
- exportResults.go
- extractBundle.go
- extractManifests.go
- generateMirrorMapping.go
- getImageOrigin.go
- getLatestGitRelease.go
- getSupportedVersions.go
- manageRHMITypes.go
- mergeBlocker.go
- mergeRelease.go
- openshiftCIAddBranch.go
- openshiftCIRelease.go
- osdAddonRelease.go
- pipelineJUnitReport.go
- polarionImport.go
- polarionRelease.go
- processBundle.go
- processCSVImages.go
- processManifest.go
- productTests.go
- queryReport.go
- replaceImage.go
- reportPortalImport.go
- root.go
- tagRelease.go
- tagReleaseRepository.go
- tagRepository.go
- update3scaleBundle.go
- verifyImageVersion.go
- verifyVersion.go
Click to show internal directories.
Click to hide internal directories.