Versions in this module Expand all Collapse all v1 v1.2.3 Jul 3, 2023 Changes in this version + func FrameTokenExchangeURL(kc k8s_utils.KubernetesClient, providerType string, logger *zap.Logger) string + func FrameTokenExchangeURLFromClusterInfo(isSatellite bool, cc ClusterConfig, logger *zap.Logger) string + func GetTokenExchangeURLfromStorageSecretStore(isSatellite bool, config Config, providerType string) (string, error) + func IsSatellite(cc ClusterConfig, logger *zap.Logger) bool + type APIConfig struct + PassthroughSecret string + type BluemixConfig struct + APIEndpointURL string + CSRFToken string + Encryption bool + IamAPIKey string + IamClientID string + IamClientSecret string + IamURL string + PrivateAPIRoute string + RefreshToken string + type CloudConf struct + ContainerAPIRoute string + PrivateContainerAPIRoute string + PrivateRIAASEndpoint string + Region string + ResourceGroupID string + RiaasEndpoint string + TokenExchangeURL string + func GetCloudConf(logger *zap.Logger, k8sClient k8s_utils.KubernetesClient) (CloudConf, error) + type ClusterConfig struct + ClusterID string + ClusterProvider string + MasterURL string + func GetClusterInfo(kc k8s_utils.KubernetesClient, logger *zap.Logger) (ClusterConfig, error) + type Config struct + API *APIConfig + Bluemix *BluemixConfig + IKS *IKSConfig + Server *ServerConfig + Softlayer *SoftlayerConfig + VPC *VPCProviderConfig + func ParseConfig(logger *zap.Logger, data string) (*Config, error) + type IKSConfig struct + Enabled bool + IKSBlockProviderName string + type ServerConfig struct + DebugTrace bool + type SoftlayerConfig struct + SoftlayerAPIDebug bool + SoftlayerAPIKey string + SoftlayerBlockEnabled bool + SoftlayerBlockProviderName string + SoftlayerDataCenter string + SoftlayerEndpointURL string + SoftlayerFileEnabled bool + SoftlayerFileProviderName string + SoftlayerIMSEndpointURL string + SoftlayerJWTKID string + SoftlayerJWTTTL int + SoftlayerJWTValidFrom int + SoftlayerRetryInterval string + SoftlayerTimeout string + SoftlayerTokenExchangeURL string + SoftlayerUsername string + SoftlayerVolProvisionTimeout string + type VPCProviderConfig struct + APIKey string + APIVersion string + Enabled bool + Encryption bool + EndpointURL string + G2APIKey string + G2APIVersion string + G2EndpointPrivateURL string + G2EndpointURL string + G2ResourceGroupID string + G2TokenExchangeURL string + G2VPCAPIGeneration int + IKSTokenExchangePrivateURL string + IamClientID string + IamClientSecret string + IsIKS bool + MaxRetryAttempt int + MaxRetryGap int + PrivateEndpointURL string + ResourceGroupID string + TokenExchangeURL string + VPCAPIGeneration int + VPCBlockProviderName string + VPCBlockProviderType string + VPCTimeout string + VPCTypeEnabled string + VPCVolumeType string