utils

package
v0.0.0-...-87df8d5 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LogDeviceConfigKey = "config.json"
)
View Source
const NShardsConfigKey = "NSHARDS"

Variables

This section is empty.

Functions

func GetHMetaAddr

func GetHMetaAddr(hdb *hapi.HStreamDB) (string, error)

func GetLogDeviceConfig

func GetLogDeviceConfig(nodeNum int32, hmetaAddr string, existingConfig []byte) (string, error)

func GetLogDeviceConfigMapNamespacedName

func GetLogDeviceConfigMapNamespacedName(hdb *hapi.HStreamDB) types.NamespacedName

func GetLogDeviceConfigVolume

func GetLogDeviceConfigVolume(hdb *hapi.HStreamDB) corev1.Volume

func GetLogDeviceConfigVolumeMount

func GetLogDeviceConfigVolumeMount(hdb *hapi.HStreamDB) corev1.VolumeMount

func GetMinNShards

func GetMinNShards(hdb *hapi.HStreamDB) int

func GetNShardsConfigMapNamespacedName

func GetNShardsConfigMapNamespacedName(hdb *hapi.HStreamDB) types.NamespacedName

func GetNShardsConfigVolume

func GetNShardsConfigVolume(hdb *hapi.HStreamDB) corev1.Volume

func GetNShardsConfigVolumeMount

func GetNShardsConfigVolumeMount(hdb *hapi.HStreamDB) corev1.VolumeMount

func GetRecommendedLogReplicaAcross

func GetRecommendedLogReplicaAcross(hdb *hapi.HStreamDB) int

Types

This section is empty.

Jump to

Keyboard shortcuts

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