ConfigurableNotify
Warning
This content is part of the legacy version of Waypoint that is no longer actively maintained. For additional information on the new vision of Waypoint, check out this blog post and the HCP Waypoint documentation.
https://pkg.go.dev/github.com/hashicorp/waypoint-plugin-sdk/component#ConfigurableNotify
ConfigurableNotify
is an optional interface you can implement to receive a call back after the configuration
has been decoded by the Waypoint SDK. It has a single input parameter which is the configuration reference you
return from the Config
method. Returning an error from ConfigSet
would stop execution of the Waypoint operation.
ConfigSet
can be used to validate configuration before it is used, the following example shows an implementation of
ConfigurableNotify which does just that.