common

package
v2.12.0 Latest Latest
Warning

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

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

Documentation

Overview

Package common contains utility functions used by different components for cluster related common operations, refer to package cluster

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMonitoringData added in v2.7.0

func GetMonitoringData(data string) (string, error)

encode configmap data and return in base64.

func MatchLineInFile added in v2.7.0

func MatchLineInFile(fileName string, replacements map[string]string) error

MatchLineInFile use the 'key' of the replacements as match pattern and replace the line with 'value'.

func ReplaceStringsInFile added in v2.1.0

func ReplaceStringsInFile(fileName string, replacements map[string]string) error

ReplaceStringsInFile replaces variable with value in manifests during runtime.

func TrimToRFC1123Name added in v2.4.0

func TrimToRFC1123Name(input string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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