testing

package
v0.29.3-dev Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License: MPL-2.0 Imports: 14 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckMapInMap

func CheckMapInMap(srcMap map[string]interface{}, dstMap map[string]interface{}) bool

func CompareMetadata

func CompareMetadata(srcMeta interface{}, dstMeta interface{}) (bool, error)

func CreateTestNetwork added in v0.5.19

func CreateTestNetwork(client *gcorecloud.ServiceClient, opts networks.CreateOpts) (string, error)

func DeleteTestNetwork added in v0.5.19

func DeleteTestNetwork(client *gcorecloud.ServiceClient, networkID string) error

func InitTestApp

func InitTestApp(args []string) (*cli.App, *cli.Context)

func MetadataTest added in v0.5.18

func MetadataTest(getMetadata FuncGetMetadata, a *cli.App, resourceName string, resourceID string) error

func NormalizeMetadata

func NormalizeMetadata(metadata interface{}, defaults ...bool) (map[string]interface{}, error)

func PrepareMetadata

func PrepareMetadata(apiMetadata []metadata.Metadata) (metadataMap map[string]string, metadataReadOnly []map[string]interface{})

Types

type FuncGetMetadata added in v0.5.18

type FuncGetMetadata func() ([]metadata.Metadata, error)

Jump to

Keyboard shortcuts

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