form

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2019 License: MIT Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const ReleaseTemplate string = `` /* 2654-byte string literal not displayed */

ReleaseTemplate is the go html/template used to render the form. Can publish HTML, though current workflow is to send the rendered HTML payload

to the athenapdf microservice for signing/distribution.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChangeItem

type ChangeItem struct {
	IssueID,
	ID int // PR ID

	Title,
	CommitSHA,
	RequestedBy,
	SummaryOfChangesNeeded,
	SummaryOfChangesImplemented,
	Notes,
	Developer,
	TestedBy,
	CodeReviewAndTesting,
	CodeReviewAndTestingNotes,
	ApprovedBy string // Approving Reviewers
}

ChangeItem represents a unit of change, where and engineering solution addresses a biz need, either a feature or a bug.

type ChangeItemEmitter

type ChangeItemEmitter <-chan ChangeItem

type ReleaseTemplateData

type ReleaseTemplateData struct {
	Date        string       `json:"Date"`
	Product     string       `json:"Product"`
	Changes     []ChangeItem `json:"ChangeItems"`
	BackOutProc string       `json:"BackOutProc"`
	PCIImpact   string       `json:"PCIImpact"`
	OWASPImpact string       `json:"OWASPImpact"`
}

ReleaseTemplateData is the encapsulating struct for software release forms.

func (*ReleaseTemplateData) AggregateChanges

func (rtd *ReleaseTemplateData) AggregateChanges(rx ChangeItemEmitter)

func (*ReleaseTemplateData) Render

func (rtd *ReleaseTemplateData) Render() []byte

Render is a receiver which returns the ReleaseTemplateData as a []byte payload. Used for transporting the bytes over the network currently.

func (*ReleaseTemplateData) Save

func (rtd *ReleaseTemplateData) Save()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL