Documentation ¶
Index ¶
- func CloneInJSON[T any](v T) T
- func ExpectEqualInJSON(t *testing.T, expected, actual any, msgAndArgs ...any)
- func ExpectExactSecurityRules(t *testing.T, sg *network.SecurityGroup, expected []network.SecurityRule, ...)
- func ExpectHasSecurityRules(t *testing.T, sg *network.SecurityGroup, expected []network.SecurityRule, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloneInJSON ¶
func CloneInJSON[T any](v T) T
CloneInJSON clones an object mapping in JSON. Normally, all ARM resources are JSON mapping.
func ExpectEqualInJSON ¶
func ExpectExactSecurityRules ¶
func ExpectExactSecurityRules(t *testing.T, sg *network.SecurityGroup, expected []network.SecurityRule, msgAndArgs ...any)
ExpectExactSecurityRules asserts the security group whether it has the exact same rules.
func ExpectHasSecurityRules ¶
func ExpectHasSecurityRules(t *testing.T, sg *network.SecurityGroup, expected []network.SecurityRule, msgAndArgs ...any)
ExpectHasSecurityRules asserts the security group whether it has the given rules.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.