helper

package
v0.0.0-...-0227cab Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateACL

func GenerateACL(ctx context.Context, client *kubernetes.Clientset, namespace, name string) (ret []string, err error)

func GetConfigmap

func GetConfigmap(ctx context.Context, client *kubernetes.Clientset, namespace, name string) (*corev1.ConfigMap, error)

func GetSecret

func GetSecret(ctx context.Context, client *kubernetes.Clientset, namespace, name string) (*corev1.Secret, error)

func GetUserPassword

func GetUserPassword(ctx context.Context, client *kubernetes.Clientset, namespace, name, username, secretName string) (string, error)

GetUserPassword

func LoadACLUsers

func LoadACLUsers(ctx context.Context, clientset *kubernetes.Clientset, cm *v1.ConfigMap) ([]*user.User, error)

LoadACLUsers load acls from configmap

func NewCommand

func NewCommand(ctx context.Context) *cli.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

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