chk

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: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateClientService

func CreateClientService(chk *api.ClickHouseKeeperInstallation) *core.Service

CreateClientService returns a client service resource for the clickhouse keeper cluster

func CreateConfigMap

func CreateConfigMap(chk *api.ClickHouseKeeperInstallation) *core.ConfigMap

CreateConfigMap returns a config map containing ClickHouse Keeper config XML

func CreateHeadlessService

func CreateHeadlessService(chk *api.ClickHouseKeeperInstallation) *core.Service

CreateHeadlessService returns an internal headless-service for the chk stateful-set

func CreatePodDisruptionBudget

func CreatePodDisruptionBudget(chk *api.ClickHouseKeeperInstallation) *policy.PodDisruptionBudget

CreatePodDisruptionBudget returns a pdb for the clickhouse keeper cluster

func CreateStatefulSet

func CreateStatefulSet(chk *api.ClickHouseKeeperInstallation) *apps.StatefulSet

CreateStatefulSet return a clickhouse keeper stateful set from the chk spec

func GetPodLabels

func GetPodLabels(chk *api.ClickHouseKeeperInstallation) map[string]string

func GetReplicasCount

func GetReplicasCount(chk *api.ClickHouseKeeperInstallation) int

Types

type Normalizer

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

Normalizer specifies structures normalizer

func NewNormalizer

func NewNormalizer() *Normalizer

NewNormalizer creates new normalizer

func (*Normalizer) CreateTemplatedCHK

CreateTemplatedCHK produces ready-to-use CHK object

type NormalizerContext

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

NormalizerContext specifies CHI-related normalization context

func NewNormalizerContext

func NewNormalizerContext(options *normalizer.Options) *NormalizerContext

NewNormalizerContext creates new NormalizerContext

Jump to

Keyboard shortcuts

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