github.com/mysza/terraform@v0.7.6-0.20161011024539-258005408b33/terraform/ui_output_callback.go (about)

     1  package terraform
     2  
     3  type CallbackUIOutput struct {
     4  	OutputFn func(string)
     5  }
     6  
     7  func (o *CallbackUIOutput) Output(v string) {
     8  	o.OutputFn(v)
     9  }