Versions in this module Expand all Collapse all v1 v1.3.13 Apr 17, 2026 Changes in this version + const SecretFieldClientID + const SecretFieldClientSecret + func GetClusterCredentials(ctx context.Context, logger *zap.Logger, clientset kubernetes.Interface, ...) (string, string, error) + func GetClusterID(ctx context.Context, logger *zap.Logger, clientset kubernetes.Interface) (string, error) + func GetFirstAudience(logger *zap.Logger, claims map[string]any) (string, error) + func GetTLSConfig(skipVerify bool) *tls.Config + func GetTokenSource(ctx context.Context, config clientcredentials.Config, tlsConfig *tls.Config) oauth2.TokenSource + func OnboardCluster(ctx context.Context, tlsSkipVerify bool, ...) (string, string, error) + func ParseToken(tokenString string) (jwt.MapClaims, error) + func SetUpOAuthConnection(ctx context.Context, logger *zap.Logger, tokenURL string, tlsSkipVerify bool, ...) (*grpc.ClientConn, error) + type AuthConfig struct + ClusterCreds string + OnboardingClientID string + OnboardingClientSecret string + OnboardingEndpoint string + PodNamespace string + TlsSkipVerify bool + type OnboardResponse struct + ClusterClientID string + ClusterClientSecret string