Documentation ¶
Index ¶
- func DiskIsCustomerEncrypted(resource commons.Resource) bool
- func GetComputeZones(account internal.GCPAccount) []string
- func GetDisks(account internal.GCPAccount, computeZone string) []computepb.Disk
- func GetInstanceGroupsAllZones(account internal.GCPAccount) []computepb.InstanceGroupManager
- func GetInstances(account internal.GCPAccount, computeZone string) []computepb.Instance
- func InstanceGroupIsMultiZone(resource commons.Resource) bool
- func InstanceNoPublicIPAttached(resource commons.Resource) bool
- func RunChecks(wa *sync.WaitGroup, account internal.GCPAccount, c *commons.Config, ...)
- type InstanceGroup
- type VMDisk
- type VMInstance
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiskIsCustomerEncrypted ¶
func GetComputeZones ¶
func GetComputeZones(account internal.GCPAccount) []string
Get the compute zones based on the list of compute regions provided in the config
func GetInstanceGroupsAllZones ¶ added in v1.5.0
func GetInstanceGroupsAllZones(account internal.GCPAccount) []computepb.InstanceGroupManager
Get all the instance groups (of type managed) of the account (zonal and regional)
func GetInstances ¶
func GetInstances(account internal.GCPAccount, computeZone string) []computepb.Instance
Get all the VM instances of the account for the given compute zone
func InstanceGroupIsMultiZone ¶ added in v1.5.0
Types ¶
type InstanceGroup ¶ added in v1.5.0
type InstanceGroup struct {
InstanceGroup computepb.InstanceGroupManager
}
This type implements commons.Resource
func (*InstanceGroup) GetID ¶ added in v1.5.0
func (i *InstanceGroup) GetID() string
type VMInstance ¶
This type implements commons.Resource
func (*VMInstance) GetID ¶
func (i *VMInstance) GetID() string
Click to show internal directories.
Click to hide internal directories.