aboutsummaryrefslogtreecommitdiffhomepage
path: root/vendor/github.com/hashicorp/terraform/terraform/ui_input.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/hashicorp/terraform/terraform/ui_input.go')
-rw-r--r--vendor/github.com/hashicorp/terraform/terraform/ui_input.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/vendor/github.com/hashicorp/terraform/terraform/ui_input.go b/vendor/github.com/hashicorp/terraform/terraform/ui_input.go
index 7c87459..f6790d9 100644
--- a/vendor/github.com/hashicorp/terraform/terraform/ui_input.go
+++ b/vendor/github.com/hashicorp/terraform/terraform/ui_input.go
@@ -1,10 +1,12 @@
1package terraform 1package terraform
2 2
3import "context"
4
3// UIInput is the interface that must be implemented to ask for input 5// UIInput is the interface that must be implemented to ask for input
4// from this user. This should forward the request to wherever the user 6// from this user. This should forward the request to wherever the user
5// inputs things to ask for values. 7// inputs things to ask for values.
6type UIInput interface { 8type UIInput interface {
7 Input(*InputOpts) (string, error) 9 Input(context.Context, *InputOpts) (string, error)
8} 10}
9 11
10// InputOpts are options for asking for input. 12// InputOpts are options for asking for input.