gke

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GKEControlPlaneIsRegional

func GKEControlPlaneIsRegional(resource commons.Resource) bool

func GKEIsNotExposedOnPublicEndpoint

func GKEIsNotExposedOnPublicEndpoint(resource commons.Resource) bool

func GKEIsUsingWorkloadIdentity

func GKEIsUsingWorkloadIdentity(resource commons.Resource) bool

func GetClusters

func GetClusters(account internal.GCPAccount) []*containerpb.Cluster

GetClusters returns all the clusters of the project (all zones/regions)

func RunChecks

func RunChecks(wa *sync.WaitGroup, account internal.GCPAccount, c *commons.Config, queue chan []commons.Check)

Types

type GKECluster

type GKECluster struct {
	Cluster containerpb.Cluster
}

func (*GKECluster) GetID

func (c *GKECluster) GetID() string

Jump to

Keyboard shortcuts

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