apihelper

package
v1.41.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindSubnetForPurpose

func FindSubnetForPurpose(subnets []gcp.Subnet, purpose gcp.SubnetPurpose) (*gcp.Subnet, error)

FindSubnetForPurpose takes a list of subnets and tries to find the first entry whose purpose matches with the given purpose. If no such entry is found then an error will be returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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