Skip to content

Instantly share code, notes, and snippets.

@imjasonh
Created January 7, 2020 14:42
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save imjasonh/e28498d52e8ee9ded05e92ce679a6d3a to your computer and use it in GitHub Desktop.
Save imjasonh/e28498d52e8ee9ded05e92ce679a6d3a to your computer and use it in GitHub Desktop.
gcloud
inputs:
* gcloud-image (default: foo)
* args (default: ["help"])
outputs:
* image (type: image)
@imjasonh
Copy link
Author

imjasonh commented Jan 7, 2020

fmt.Println(task.Name)

for _, i := range task.Spec.Inputs {
fmt.Println("got input:", i.Name)
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment