clienthelper

package
v0.1.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2021 License: Apache-2.0 Imports: 20 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultScheme = runtime.NewScheme()
)

Functions

func AppliedObjectsEqual

func AppliedObjectsEqual(oldObj runtime.Object, obj runtime.Object) (bool, error)

func Apply

func ConvertExtra

func ConvertExtra(orig map[string][]string) map[string]authv1.ExtraValue

ConvertExtra converts a string array map into the correct kubernetes auth extra value type

func ConvertExtraFrom

func ConvertExtraFrom(orig map[string]authenticationv1.ExtraValue) map[string][]string

ConvertExtraFrom converts a string array map into the correct kubernetes auth extra value type

func CurrentNamespace

func CurrentNamespace() (string, error)

func GVKFrom

func GVKFrom(obj runtime.Object, scheme *runtime.Scheme) (schema.GroupVersionKind, error)

func GetByIndex

func GetByIndex(ctx context.Context, c client.Client, obj runtime.Object, scheme *runtime.Scheme, index, value string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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