utils

package
v1.7.1-rc.1 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2020 License: MIT Imports: 4 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsKubenetCNI added in v1.7.0

func IsKubenetCNI(kubeletConfig string) (bool, error)

func RedactClientID

func RedactClientID(clientID string) string

RedactClientID redacts client id

func ValidateResourceID added in v1.6.0

func ValidateResourceID(resourceID string) error

ValidateResourceID validates the resourceID is is of the format `/subscriptions/<subid>/resourcegroups/<resourcegroup>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/<name>`

Types

This section is empty.

Jump to

Keyboard shortcuts

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