settings

package
v0.0.0-...-228b492 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2026 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SigningScriptPath           = "/var/lib/pulp/scripts/"
	ContainerSigningScriptName  = "container_script.sh"
	CollectionSigningScriptName = "collection_script.sh"
	AptSigningScriptName        = "apt_script.sh"
	RpmSigningScriptName        = "rpm_script.sh"
)
View Source
const (
	OtelConfigFile    = "otel-collector-config.yaml"
	OtelContainerPort = 8889
)
View Source
const (
	DBVolumeName = "postgres"
)

Variables

This section is empty.

Functions

func ApiService

func ApiService(pulpName string) string

func CacheService

func CacheService(pulpName string) string

func CommonLabels

func CommonLabels(pulp pulpv1.Pulp) map[string]string

func ContentService

func ContentService(pulpName string) string

func DBService

func DBService(pulpName string) string

func DefaultAdminPassword

func DefaultAdminPassword(pulpName string) string

func DefaultCachePVC

func DefaultCachePVC(pulpName string) string

func DefaultContainerTokenSecret

func DefaultContainerTokenSecret(pulpName string) string

func DefaultDBFieldsEncryptionSecret

func DefaultDBFieldsEncryptionSecret(pulpName string) string

func DefaultDBPVC

func DefaultDBPVC(pulpName string) string

func DefaultDBSecret

func DefaultDBSecret(pulpName string) string

func DefaultDBStatefulSet

func DefaultDBStatefulSet(pulpName string) string

func DefaultDjangoSecretKey

func DefaultDjangoSecretKey(pulpName string) string

func DefaultPulpFileStorage

func DefaultPulpFileStorage(pulpName string) string

func DefaultPulpSettings

func DefaultPulpSettings(rootUrl string) map[string]string

Default configurations for settings.py

func EmptyCAConfigMapName

func EmptyCAConfigMapName(pulpName string) string

func MigrationJob

func MigrationJob(pulpName string) string

func OtelConfigMapName

func OtelConfigMapName(pulpName string) string

func OtelServiceName

func OtelServiceName(pulpName string) string

func PulpServerSecret

func PulpServerSecret(pulpName string) string

func PulpServiceAccount

func PulpServiceAccount(pulpName string) string

func PulpWebConfigMapName

func PulpWebConfigMapName(pulpName string) string

func PulpWebService

func PulpWebService(pulpName string) string

func PulpWorkerProbe

func PulpWorkerProbe(pulpName string) string

func PulpcoreLabels

func PulpcoreLabels(pulp pulpv1.Pulp, pulpcoreType PulpcoreType) map[string]string

func PulpcorePodLabels

func PulpcorePodLabels(pulp pulpv1.Pulp, pulpcoreType PulpcoreType) map[string]string

func RedHatOperatorPullSecret

func RedHatOperatorPullSecret(pulpName string) string

func ResetAdminPwdJob

func ResetAdminPwdJob(pulpName string) string

func SigningScriptJob

func SigningScriptJob(pulpName string) string

func UpdateChecksumsJob

func UpdateChecksumsJob(pulpName string) string

func WorkerService

func WorkerService(pulpName string) string

Types

type PulpcoreType

type PulpcoreType string
const (
	API      PulpcoreType = "Api"
	CONTENT  PulpcoreType = "Content"
	WORKER   PulpcoreType = "Worker"
	WEB      PulpcoreType = "Web"
	CACHE    PulpcoreType = "Redis"
	DATABASE PulpcoreType = "Database"
)

func (PulpcoreType) DeploymentName

func (t PulpcoreType) DeploymentName(pulpName string) string

func (PulpcoreType) PDBName

func (t PulpcoreType) PDBName(pulpName string) string

func (PulpcoreType) ToField

func (t PulpcoreType) ToField() string

func (PulpcoreType) ToLabel

func (t PulpcoreType) ToLabel() string

Jump to

Keyboard shortcuts

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