Versions in this module Expand all Collapse all v1 v1.24.10 Oct 24, 2017 v1.24.9 Oct 24, 2017 Changes in this version + const TokenIDBytes + const TokenSecretBytes + var TokenIDRegexp = regexp.MustCompile(TokenIDRegexpString) + var TokenIDRegexpString = "^([a-z0-9]{6})$" + var TokenRegexp = regexp.MustCompile(TokenRegexpString) + var TokenRegexpString = "^([a-z0-9]{6})\\.([a-z0-9]{16})$" + func BearerToken(d *kubeadmapi.TokenDiscovery) string + func GenerateToken() (string, error) + func ParseToken(s string) (string, string, error) + func ParseTokenID(s string) error + func ValidateToken(d *kubeadmapi.TokenDiscovery) (bool, error)