infrastructure

package
v1.15.2 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2020 License: Apache-2.0, MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BeNotFoundError

func BeNotFoundError() types.GomegaMatcher

BeNotFoundError matches errors returned by azure-sdk-for-go remote calls when an object could not be found (HTTP Status code = 404).

func HaveEqualID

func HaveEqualID(expected string) types.GomegaMatcher

HaveEqualID succeeds if Azure object has the expected ID. Azure objects are identified by an ID, which in azure-sdk-for-go is mapped to an `ID *string` field. HaveEqualID will succeed if actual is a struct or a pointer to a struct containing a field with this specification and points to a string equal to expected.

Types

This section is empty.

Jump to

Keyboard shortcuts

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