utils

package
v0.75.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrResponseNil = errors.New("response is nil")
)

Functions

func GetVPCName

func GetVPCName(ctx context.Context, apiClient iaas.DefaultAPI, projectId, vpcId string) (string, error)

func GetVPCNetworkRangePrefix

func GetVPCNetworkRangePrefix(ctx context.Context, apiClient iaas.DefaultAPI, projectId, vpcId, region, networkRangeId string) (string, error)

func GetVPCRoutingTableName

func GetVPCRoutingTableName(ctx context.Context, apiClient iaas.DefaultAPI, projectId, vpcId, region, routingTableId string) (string, error)

Types

type RouteDetails

type RouteDetails struct {
	DestType     string
	DestValue    string
	NextHopType  string
	NextHopValue string
	CreatedAt    string
	UpdatedAt    string
	Labels       string
}

func ExtractRouteDetails

func ExtractRouteDetails(route *iaas.Route) RouteDetails

Jump to

Keyboard shortcuts

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