package
0.12.1
Repository: https://github.com/zncdatadev/operator-go.git
Documentation: pkg.go.dev

# Functions

Command to create a shutdown file for the vector container.
ExportPodAddress fetch the pod address from the default-address directory and export it as POD_ADDRESS the listener was provided by listener operator.
GenerateRandomStr generates a random string of the specified length.
GenerateSimplePassword generates a simple password of the specified length.
No description provided by the author
No description provided by the author
IndentSpacesToTab converts leading spaces in a string to tabs, optimized for 2 or 4 spaces per tab.
No description provided by the author
No description provided by the author
IndentTabToSpaces converts leading tabs in a string to a specified number of spaces per tab.
MergeObject merges the original config with the override config.
MergeObjectWithJson merges the original config with the override config It uses json merge patch to merge the two configs.
MergeObjectWithStrategic merges the original config with the override config It uses strategic merge patch to merge the two configs.
No description provided by the author
NewImage creates a new Image object Example: image := util.NewImage( "myproduct", "1.0", "1.0.0", ) image := util.NewImage( "myproduct", "1.0", "1.0.0", func (options *util.ImageOptions) { options.Custom = "myrepo/myimage:latest" } ).
NewResourceNameGenerator new a ResourceNameGenerator.
NewResourceNameGeneratorOneRole new a ResourceNameGenerator without roleName.
RemoveSpecialCharacter - remove special character.
Use this command to remove the shutdown file (if it exists) created by [`create_vector_shutdown_file_command`].

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
File to signal that Vector should be gracefully shut down.
Subdirectory of the log directory containing files to control the Vector instance.

# Variables

No description provided by the author
No description provided by the author

# Structs

No description provided by the author
Image represents a container image Required fields: - ProductName - KubeoopVersion - ProductVersion If Custom is set, it will be used as the image tag, so the Custom field must be a valid image tag, eg.
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author