release.go 623 B

123456789101112131415161718192021222324252627
  1. package types
  2. import "helm.sh/helm/v3/pkg/release"
  3. // Release is a helm release with a form attached
  4. type Release struct {
  5. *release.Release
  6. *PorterRelease
  7. Form *FormYAML `json:"form,omitempty"`
  8. }
  9. type PorterRelease struct {
  10. ID uint `json:"id"`
  11. WebhookToken string `json:"webhook_token"`
  12. GitActionConfig *GitActionConfig `json:"git_action_config,omitempty"`
  13. }
  14. type GetReleaseResponse Release
  15. type UpdateNotificationConfigRequest struct {
  16. Payload struct {
  17. Enabled bool `json:"enabled"`
  18. Success bool `json:"success"`
  19. Failure bool `json:"failure"`
  20. } `json:"payload"`
  21. }