Created
May 11, 2020 22:11
-
-
Save jmrodri/676c3101ba8c899a61163ead7c57bba8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func newTestUnstructured(containers []interface{}) *unstructured.Unstructured { | |
return &unstructured.Unstructured{ | |
Object: map[string]interface{}{ | |
"kind": containers["kind"], | |
"apiVersion": containers["apiVersion"], | |
"metadata": containers["metadata"], | |
}, | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment