Help us shape the future of Go! Take the 2026 Go Developer Survey

common

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolveAvatar added in v0.22.0

func ResolveAvatar(ctx context.Context, kube client.Client, mg resource.Managed, inline []byte, selector *v2.LocalSecretKeySelector) ([]byte, error)

ResolveAvatar returns the avatar image a service account should show: the raw bytes in the selected Secret key when selector is set, otherwise inline. An empty result means the avatar is not managed.

func UpdateStringFromSecret

func UpdateStringFromSecret(mg resource.Managed, ctx context.Context, kube client.Client, selector *v2.LocalSecretKeySelector, param **string) error

UpdateStringFromSecret fetches a sensitive setting value from a Kubernetes Secret and assigns it to the provided parameter pointer.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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