openstackcommon

package
v0.13.4 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package openstackcommon holds helpers shared by OpenStack-based direct clients (NHN, KT).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindInstancesByUIDs added in v0.13.4

func FindInstancesByUIDs(ctx context.Context, region string, uids []string) (map[string]string, error)

FindInstancesByUIDs looks up whether instances with the given UIDs exist on OpenStack by querying servers.List with Name matching uids.

func PublicIPOf

func PublicIPOf(addresses map[string]interface{}) string

PublicIPOf picks the first floating/public address from a Nova addresses map.

func StateToTBStatus

func StateToTBStatus(state string) string

StateToTBStatus maps a Nova server status to a TB status string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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