util

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2022 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssembleInputData

func AssembleInputData(data []string) map[string][]byte

AssembleInputData is meant to parse data key value pairs coming from the command line and to be put in the data field in a secret or configmap.

func CreateClientSet

func CreateClientSet(ctx *string) (*kubernetes.Clientset, error)

CreateClientSet returns a kubernetes clientSet.

func WhoAmI

func WhoAmI(matchPrefix, trimPrefix, ctx *string) (teams []string)

WhoAmI parses the jwt and looking for groups that it has. It matches prefix using matchPrefix and trims away prefix using trimPrefix.

Types

This section is empty.

Jump to

Keyboard shortcuts

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