common

package
v2.2.4-rc18+incompatible Latest Latest
Warning

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

Go to latest
Published: May 29, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultNamespace                       = "cattle-system"
	AuthProviderRefreshDebounceSettingName = "auth-provider-refresh-debounce-seconds"
)
View Source
const Version = 1

Variables

This section is empty.

Functions

func CreateHash

func CreateHash(secretKey string) (string, error)

func NewClusterAuthToken

func NewClusterAuthToken(token *managementv3.Token) (*clusterv3.ClusterAuthToken, error)

func VerifyClusterAuthToken

func VerifyClusterAuthToken(secretKey string, clusterAuthToken *clusterv3.ClusterAuthToken) error

func VerifyHash

func VerifyHash(hash, secretKey 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