resources

package
v1.49.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnumerateInstancesInOrg

func EnumerateInstancesInOrg(
	ctx context.Context, clientOption option.ClientOption, region string,
	OrgId string, skipList map[string]bool, allowList map[string]bool,
) (map[string][]models.InstanceDetails, error)

func EnumerateInstancesInProject

func EnumerateInstancesInProject(
	ctx context.Context, clientOption option.ClientOption, region string, ProjectId string,
) ([]models.InstanceDetails, error)

Types

type NwIntfInfo

type NwIntfInfo struct {
	Ipaddr        string                    `json:"ipAddr,omitempty"`
	Ipv6addr      string                    `json:"ipv6Addr,omitempty"`
	Kind          string                    `json:"kind,omitempty"`
	Name          string                    `json:"name,omitempty"`
	NicType       string                    `json:"nicType,omitempty"`
	Network       string                    `json:"network,omitempty"`
	SubNetwork    string                    `json:"subNetwork,omitempty"`
	AccessConfigs []*computepb.AccessConfig `json:"accessConfigs,omitempty"`
}

Jump to

Keyboard shortcuts

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