gke

package
v2.23.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

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) kubermaticv1.ExternalClusterPhase

func DecodeError added in v2.21.0

func DecodeError(err error) error

func GetClusterConfig added in v2.21.0

func GetClusterConfig(ctx context.Context, sa, clusterName, zone string) (*api.Config, 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 ListGKEDiskTypes added in v2.21.0

func ListGKEDiskTypes(ctx context.Context, sa string, zone string) (apiv2.GKEDiskTypeList, error)

func ListGKESizes added in v2.21.0

func ListGKESizes(ctx context.Context, sa, zone string) (apiv1.GCPMachineSizeList, error)

func ListImages added in v2.21.0

func ListImages(ctx context.Context, sa, zone string) (apiv2.GKEImageList, error)

func ListMachineDeploymentUpgrades added in v2.21.0

func ListMachineDeploymentUpgrades(ctx context.Context, sa, zone, clusterName, machineDeployment string) ([]*apiv1.MasterVersion, error)

func ListUpgrades added in v2.21.0

func ListUpgrades(ctx context.Context, sa, zone, name string) ([]*apiv1.MasterVersion, error)

func ListZones added in v2.21.0

func ListZones(ctx context.Context, sa string) (apiv2.GKEZoneList, error)

func ValidateCredentials added in v2.21.0

func ValidateCredentials(ctx context.Context, sa string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL