func NewEndpointsAction(componentKey string) *EndpointsAction {
	return &EndpointsAction{
		Metadata:     action.NewMetadata("action-component-endpoints", componentKey),
		ComponentKey: componentKey,
	}
}
NewEndpointsAction creates new EndpointsAction
package component
import (
	"fmt"
	"runtime/debug"
	"time"
	"github.com/Aptomi/aptomi/pkg/engine/apply/action"
	"github.com/Aptomi/aptomi/pkg/engine/resolve"
	"github.com/Aptomi/aptomi/pkg/lang"
	"github.com/Aptomi/aptomi/pkg/plugin"
	"github.com/Aptomi/aptomi/pkg/util"
)
type EndpointsAction struct {
	*action.Metadata
	ComponentKey string
}