environment

package
v0.64.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2021 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsCertManager added in v0.44.0

func IsCertManager() bool

IsCertManager return true when RUN_CERT_MANAGER env var is present

func IsHandler

func IsHandler() bool

IsHandler returns true if it's not the operator or webhook server

func IsOperator

func IsOperator() bool

IsOperator returns true when RUN_OPERATOR env var is present

func IsWebhook

func IsWebhook() bool

IsWebhook returns true when RUN_WEBHOOK_SERVER env var is present

func LookupAsDuration added in v0.27.0

func LookupAsDuration(varName string) (time.Duration, error)

func NodeName

func NodeName() string

Returns node name runnig the pod

Types

This section is empty.

Jump to

Keyboard shortcuts

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