conf

package
v0.0.0-...-da8f381 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Default_Secret_Name = "doris-operator-secret-cert"

Functions

func NewControllerOptions

func NewControllerOptions(envs *EnvVariables) *controller.Options

build start parameters for controller

Types

type EnvVariables

type EnvVariables struct {
	EnableWebhook     bool
	OperatorNamespace string
	OperatorName      string
	ServiceName       string
}

func ParseEnvs

func ParseEnvs() *EnvVariables

get envs

type Flag

type Flag struct {
	MetricsAddr          string
	ProbeAddr            string
	Namespace            string
	EnableLeaderElection bool
	PrintVar             bool
	EnableWebhook        bool
	Opts                 zap.Options
}

definate the start options.

func ParseFlags

func ParseFlags() *Flag

Jump to

Keyboard shortcuts

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