components

package
v0.0.0-...-92ba5c8 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const CONDITION_ANNOTATION = "controller-utils/condition"
View Source
const DEEPEQUALS_ANNOTATION = "controller-utils/deepEquals"
View Source
const DELETE_ANNOTATION = "controller-utils/delete"
View Source
const RANDOM_BYTES = 32
View Source
const SECRETFIELD_ANNOTATION = "controller-utils/secretField"

Variables

View Source
var RandEncoding = base64.NewEncoding("abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijkl").WithPadding(base64.NoPadding)

Lossy base64 endcoding to make passwords that will work basically anywhere.

Functions

func NewRandomSecretComponent

func NewRandomSecretComponent(name string, keys ...string) core.Component

func NewReadyStatusComponent

func NewReadyStatusComponent(keys ...string) core.Component

Create a ReadyStatus component. Takes 0 or more conditions types. If a type name starts with `-` then the goal is for it to be false, otherwise true. If all requested conditions match, the Ready condition will be set to True.

func NewTemplateComponent

func NewTemplateComponent(template string, conditionType string) core.Component

Types

This section is empty.

Jump to

Keyboard shortcuts

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