gerrit

package
v0.0.28 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Overview

Package gerrit provides gerrit related functions for the CLI

Index

Constants

This section is empty.

Variables

View Source
var CreateCIUserScript string
View Source
var CreateRepoScript string
View Source
var ManageSFVolumes = []apiv1.Volume{
	base.MkVolumeCM(managesfResourcesIdent+"-config-vol",
		managesfResourcesIdent+"-config-map"),
	{
		Name: managesfResourcesIdent + "-tooling-vol",
		VolumeSource: apiv1.VolumeSource{
			ConfigMap: &apiv1.ConfigMapVolumeSource{
				LocalObjectReference: apiv1.LocalObjectReference{
					Name: managesfResourcesIdent + "-tooling-config-map",
				},
				DefaultMode: &cutils.Execmod,
			},
		},
	},
}

Functions

func CloneAsAdmin

func CloneAsAdmin(env *cliutils.ENV, fqdn string, repoName string, dest string, verify bool)

func EnsureGerrit

func EnsureGerrit(env *cliutils.ENV, fqdn string)

func EnsureGerritAccess added in v0.0.24

func EnsureGerritAccess(fqdn string)

func GetAdminRepoURL

func GetAdminRepoURL(env *cliutils.ENV, fqdn string, repoName string) string

func WipeGerrit

func WipeGerrit(env *cliutils.ENV, rmData bool)

Types

type GerritCMDContext

type GerritCMDContext struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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