client-go: k8s.io/client-go/tools/bootstrap/token/util Index | Files

package util

import "k8s.io/client-go/tools/bootstrap/token/util"

Index

Package Files

helpers.go

func ValidateBootstrapGroupName Uses

func ValidateBootstrapGroupName(name string) error

ValidateBootstrapGroupName checks if the provided group name is a valid bootstrap group name. Returns nil if valid or a validation error if invalid. TODO(mattmoyer): this validation should migrate out to client-go (see https://github.com/kubernetes/client-go/issues/114)

func ValidateUsages Uses

func ValidateUsages(usages []string) error

ValidateUsages validates that the passed in string are valid usage strings for bootstrap tokens.

Package util imports 5 packages (graph) and is imported by 3 packages. Updated 2018-05-21. Refresh now. Tools for package owners.