ReleaseManager
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#ReleaseManager
The ReleaseManager component is responsible for taking a deployment and making it active, this could be as simple as exposing it using a public load balancer or it may be a gradual and phased canary deployment.
To create a ReleaseManager component you implement the ReleaseManager interface in your component.
ReleaseManager
has a single method which you must implement which returns a function called by Waypoint.
The signature for the function returned by your implementation of ReleaseFunc can accept all the standard parameters
and in addition you can request the output value from the Deployment component. Return parameters for the function
are a Waypoint value and an error.