computeengineservice

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComputeEngineInfo

type ComputeEngineInfo struct {
	Name              string
	ID                string
	Zone              string
	State             string
	ExternalIP        string
	InternalIP        string
	ServiceAccounts   []*compute.ServiceAccount // Assuming role is derived from service accounts
	NetworkInterfaces []*compute.NetworkInterface
	Tags              *compute.Tags
	ProjectID         string
}

type ComputeEngineService

type ComputeEngineService struct {
}

func New

func New() *ComputeEngineService

func (*ComputeEngineService) Instances

func (ces *ComputeEngineService) Instances(projectID string) ([]ComputeEngineInfo, error)

Retrieves instances from all regions and zones for a project without using concurrency.

Jump to

Keyboard shortcuts

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