blob: 878a03122fcf54f7c8c955d3995cb3e48c36cbe1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package terraform
// ProvisionerUIOutput is an implementation of UIOutput that calls a hook
// for the output so that the hooks can handle it.
type ProvisionerUIOutput struct {
Info *InstanceInfo
Type string
Hooks []Hook
}
func (o *ProvisionerUIOutput) Output(msg string) {
for _, h := range o.Hooks {
h.ProvisionOutput(o.Info, o.Type, msg)
}
}
|