gke

package
v2.20.10 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectToContainerService

func ConnectToContainerService(serviceAccount string) (*container.Service, string, error)

ConnectToContainerService establishes a service connection to the Container Engine.

func GetCLusterConfig

func GetCLusterConfig(ctx context.Context, sa, clusterName, zone string) (*api.Config, error)

func ListGKEClusters

func ListGKEClusters(ctx context.Context, projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, userInfoGetter provider.UserInfoGetter, clusterProvider provider.ExternalClusterProvider, projectID, sa string) (apiv2.GKEClusterList, error)

func ListGKEImages

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

func ListGKEMachineDeploymentUpgrades

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

func ListGKEUpgrades

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

func ValidateGKECredentials

func ValidateGKECredentials(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