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.
func IsNotFound ¶ added in v1.22.0
IsNotFound returns true if the given error is an azcore.ResponseError with status code http.StatusNotFound.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.