Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[test] Add GetNAD and CreateNAD test helper
GetNAD - retrieves a NetworkAttachmentDefinition resource. Example usage: ~~~ th.GetNAD(types.NamespacedName{Name: "test-nad", Namespace: "test-namespace"}) ~~~ CreateNAD creates a new NetworkAttachmentDefinition resource with the provided spec. Example usage: ~~~ spec := map[string]interface{}{"key": "value"} p := th.CreateNAD(types.NamespacedName{Namespace: "default", Name: "example"}, spec) ~~~ Signed-off-by: Martin Schuppert <[email protected]>
- Loading branch information