templates

package
v0.0.0-...-bbbf66a Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// .spec.useTemplate.useType
	UseTypeMerge = "merge"
)

Variables

This section is empty.

Functions

func ApplyCHITemplates

func ApplyCHITemplates(target, chi *api.ClickHouseInstallation) (appliedTemplates []*api.TemplateRef)

ApplyCHITemplates applies templates over target n.ctx.chi

func NormalizeHostTemplate

func NormalizeHostTemplate(template *api.HostTemplate)

NormalizeHostTemplate normalizes .spec.templates.hostTemplates

func NormalizePodTemplate

func NormalizePodTemplate(replicasCount int, template *api.PodTemplate)

NormalizePodTemplate normalizes .spec.templates.podTemplates

func NormalizeServiceTemplate

func NormalizeServiceTemplate(template *api.ServiceTemplate)

NormalizeServiceTemplate normalizes .spec.templates.volumeClaimTemplates

func NormalizeTemplatesList

func NormalizeTemplatesList(templates []*api.TemplateRef) []*api.TemplateRef

NormalizeTemplatesList normalizes list of templates use specifications

func NormalizeVolumeClaimTemplate

func NormalizeVolumeClaimTemplate(template *api.VolumeClaimTemplate)

NormalizeVolumeClaimTemplate normalizes .spec.templates.volumeClaimTemplates

Types

This section is empty.

Jump to

Keyboard shortcuts

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