Documentation ¶
Index ¶
- func CheckMapInMap(srcMap map[string]interface{}, dstMap map[string]interface{}) bool
- func CompareMetadata(srcMeta interface{}, dstMeta interface{}) (bool, error)
- func CreateTestNetwork(client *gcorecloud.ServiceClient, opts networks.CreateOpts) (string, error)
- func DeleteTestNetwork(client *gcorecloud.ServiceClient, networkID string) error
- func InitTestApp(args []string) (*cli.App, *cli.Context)
- func MetadataTest(getMetadata FuncGetMetadata, a *cli.App, resourceName string, ...) error
- func NormalizeMetadata(metadata interface{}, defaults ...bool) (map[string]interface{}, error)
- func PrepareMetadata(apiMetadata []metadata.Metadata) (metadataMap map[string]string, metadataReadOnly []map[string]interface{})
- type FuncGetMetadata
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckMapInMap ¶
func CompareMetadata ¶
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 ¶
Types ¶
type FuncGetMetadata ¶ added in v0.5.18
Click to show internal directories.
Click to hide internal directories.