]> git.immae.eu Git - github/fretlink/terraform-provider-statuscake.git/blobdiff - vendor/github.com/hashicorp/terraform/terraform/ui_input.go
Upgrade to 0.12
[github/fretlink/terraform-provider-statuscake.git] / vendor / github.com / hashicorp / terraform / terraform / ui_input.go
index 7c874592207aa2c2d5ad1c98a17fc9503464bade..f6790d9e5f3591c883c60fd5e861ebbd5a384014 100644 (file)
@@ -1,10 +1,12 @@
 package terraform
 
+import "context"
+
 // UIInput is the interface that must be implemented to ask for input
 // from this user. This should forward the request to wherever the user
 // inputs things to ask for values.
 type UIInput interface {
-       Input(*InputOpts) (string, error)
+       Input(context.Context, *InputOpts) (string, error)
 }
 
 // InputOpts are options for asking for input.