Versions in this module Expand all Collapse all v0 v0.1.0 Nov 6, 2017 Changes in this version + func GenerateAuthInfo(clientId, clientSecret, idToken, refreshToken string) *clientcmdapi.AuthInfo + func GetUserEmail(accessToken string) (string, error) + func LaunchBrowser(openBrowser bool, oauthUrl, clientID string) + type APConfig struct + ClientID string + ClientSecret string + IdToken string + IdpIssuerUrl string + RefreshToken string + type AuthProvider struct + APConfig *APConfig + Name string + type ConfigFile struct + Installed *GoogleConfig + type GoogleConfig struct + ClientID string + ClientSecret string + func ReadConfig(path string) (*GoogleConfig, error) + type KubeUserInfo struct + AuthProvider *AuthProvider + type KubectlUser struct + KubeUserInfo *KubeUserInfo + Name string + type TokenResponse struct + AccessToken string + IdToken string + RefreshToken string + func GetToken(clientID, clientSecret, code string) (*TokenResponse, error) + type UserInfo struct + Email string