Versions in this module Expand all Collapse all v2 v2.11.4 Oct 1, 2020 Changes in this version + const BasicAuthScheme + const BearerAuthScheme + func DefaultRestConfig() (*restclient.Config, error) + func GetAuthString(in *restclient.Config, explicitKubeConfigPath string) (string, error) + func GetBasicAuthToken(in *restclient.Config) (string, error) + func GetBasicRestConfig(username, password string) (*restclient.Config, error) + func GetBearerRestConfig(token string) (*restclient.Config, error) + func GetBearerToken(in *restclient.Config, explicitKubeConfigPath string) (string, error) + func GetRestConfig(token string) (*restclient.Config, error) + func IsBasicAuthScheme(token string) bool + func IsBearerAuthScheme(token string) bool + func RefreshAuthToken(in *restclient.Config) error + func RefreshTokenIfExpired(restConfig *restclient.Config, explicitPath, curentToken string) (string, error) + func ReloadKubeConfig(explicitPath string) clientcmd.ClientConfig Other modules containing this package github.com/alexec/argo