computeengineservice

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 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