Versions in this module Expand all Collapse all v3 v3.1.5 Jul 29, 2021 Changes in this version + const BasicAuthScheme + const BearerAuthScheme + func ConfigToExecCluster(config *restclient.Config) (*clientauthenticationapi.Cluster, error) + 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 NewUserAgentRoundTripper(agent string, rt http.RoundTripper) http.RoundTripper + 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/kostas-theo/argo-workflows