Documentation ¶
Index ¶
- func ConnectToContainerService(ctx context.Context, serviceAccount string) (*container.Service, string, error)
- func ConvertMDStatus(status string) apiv2.ExternalClusterMDState
- func ConvertStatus(status string) apiv2.ExternalClusterState
- func DecodeError(err error) error
- func GetClusterConfig(ctx context.Context, sa, clusterName, zone string) (*api.Config, error)
- func GetClusterStatus(ctx context.Context, secretKeySelector provider.SecretKeySelectorValueFunc, ...) (*apiv2.ExternalClusterStatus, error)
- func GetMDStatusMessage(np *container.NodePool) string
- func GetStatusMessage(gkeCluster *container.Cluster) string
- func ListClusters(ctx context.Context, projectProvider provider.ProjectProvider, ...) (apiv2.GKEClusterList, error)
- func ListGKEDiskTypes(ctx context.Context, sa string, zone string) (apiv2.GKEDiskTypeList, error)
- func ListGKESizes(ctx context.Context, sa, zone string) (apiv1.GCPMachineSizeList, error)
- func ListImages(ctx context.Context, sa, zone string) (apiv2.GKEImageList, error)
- func ListMachineDeploymentUpgrades(ctx context.Context, sa, zone, clusterName, machineDeployment string) ([]*apiv1.MasterVersion, error)
- func ListUpgrades(ctx context.Context, sa, zone, name string) ([]*apiv1.MasterVersion, error)
- func ListZones(ctx context.Context, sa string) (apiv2.GKEZoneList, error)
- func ValidateCredentials(ctx context.Context, sa string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectToContainerService ¶
func ConnectToContainerService(ctx context.Context, serviceAccount string) (*container.Service, string, error)
ConnectToContainerService establishes a service connection to the Container Engine.
func ConvertMDStatus ¶ added in v2.21.0
func ConvertMDStatus(status string) apiv2.ExternalClusterMDState
func ConvertStatus ¶ added in v2.21.0
func ConvertStatus(status string) apiv2.ExternalClusterState
func DecodeError ¶ added in v2.21.0
func GetClusterConfig ¶ added in v2.21.0
func GetClusterStatus ¶ added in v2.21.0
func GetClusterStatus(ctx context.Context, secretKeySelector provider.SecretKeySelectorValueFunc, cloudSpec *kubermaticv1.ExternalClusterGKECloudSpec) (*apiv2.ExternalClusterStatus, error)
func GetMDStatusMessage ¶ added in v2.21.0
func GetMDStatusMessage(np *container.NodePool) string
func GetStatusMessage ¶ added in v2.21.0
func GetStatusMessage(gkeCluster *container.Cluster) string
func ListClusters ¶ added in v2.21.0
func ListClusters(ctx context.Context, projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, userInfoGetter provider.UserInfoGetter, clusterProvider provider.ExternalClusterProvider, projectID, sa string) (apiv2.GKEClusterList, error)
func ListGKEDiskTypes ¶ added in v2.21.0
func ListGKESizes ¶ added in v2.21.0
func ListImages ¶ added in v2.21.0
func ListMachineDeploymentUpgrades ¶ added in v2.21.0
func ListUpgrades ¶ added in v2.21.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.