Documentation ¶
Overview ¶
Package printing contains the logic for printing elements of the system.
Index ¶
- func BuildPdfForCaseProtocol(protocol test.CaseExecutionProtocol, testCase test.Case) (io.Reader, error)
- func CaseGet(w http.ResponseWriter, r *http.Request)
- func CaseProtocolsGet(w http.ResponseWriter, r *http.Request)
- func CasesListGet(lister handler.TestCaseLister) http.HandlerFunc
- func ProtocolCaseMd(l handler.CaseProtocolLister) http.HandlerFunc
- func ProtocolCasePdf(l handler.CaseProtocolLister) http.HandlerFunc
- func ProtocolSequenceMd(l handler.SequenceProtocolLister, lc handler.CaseProtocolLister, ...) http.HandlerFunc
- func ProtocolSequencePdf(l handler.SequenceProtocolLister, lc handler.CaseProtocolLister, ...) http.HandlerFunc
- func ProtocolsListGet(tcl handler.TestCaseLister, tsl handler.TestSequenceLister) http.HandlerFunc
- func SequenceGet(w http.ResponseWriter, r *http.Request)
- func SequenceProtocolsGet(w http.ResponseWriter, r *http.Request)
- func SequencesListGet(lister handler.TestSequenceLister) http.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildPdfForCaseProtocol ¶
func BuildPdfForCaseProtocol(protocol test.CaseExecutionProtocol, testCase test.Case) (io.Reader, error)
BuildPdfForCaseProtocol returns an io.Reader object for a pdf containing the protocol test.CaseExecutionProtocol information for the testCase test.Case
func CaseGet ¶
func CaseGet(w http.ResponseWriter, r *http.Request)
CaseGet handles the showing of the template to print all test cases
func CaseProtocolsGet ¶
func CaseProtocolsGet(w http.ResponseWriter, r *http.Request)
CaseProtocolsGet shows the template for printing a case protocol
func CasesListGet ¶
func CasesListGet(lister handler.TestCaseLister) http.HandlerFunc
CasesListGet handles the showing of the template to print all test cases
func ProtocolCaseMd ¶ added in v1.7.0
func ProtocolCaseMd(l handler.CaseProtocolLister) http.HandlerFunc
ProtocolCaseMd builds and serves a markdown string for the protocol
func ProtocolCasePdf ¶ added in v1.3.0
func ProtocolCasePdf(l handler.CaseProtocolLister) http.HandlerFunc
ProtocolCasePdf creates and serves a pdf for a case protocol
func ProtocolSequenceMd ¶ added in v1.7.0
func ProtocolSequenceMd(l handler.SequenceProtocolLister, lc handler.CaseProtocolLister, tg handler.TestCaseGetter) http.HandlerFunc
ProtocolSequenceMd builds and serves a markdown string for the protocol
func ProtocolSequencePdf ¶ added in v1.3.0
func ProtocolSequencePdf(l handler.SequenceProtocolLister, lc handler.CaseProtocolLister, tg handler.TestCaseGetter) http.HandlerFunc
ProtocolSequencePdf creates and serves a pdf for a sequence protocol
func ProtocolsListGet ¶
func ProtocolsListGet(tcl handler.TestCaseLister, tsl handler.TestSequenceLister) http.HandlerFunc
ProtocolsListGet serves the page that display the print screen for a list of protocols
func SequenceGet ¶
func SequenceGet(w http.ResponseWriter, r *http.Request)
SequenceGet serves the page for printing a testsequence.
func SequenceProtocolsGet ¶
func SequenceProtocolsGet(w http.ResponseWriter, r *http.Request)
SequenceProtocolsGet serves the page for printing testsequence protocols.
func SequencesListGet ¶
func SequencesListGet(lister handler.TestSequenceLister) http.HandlerFunc
SequencesListGet handles the showing of the template to print all test cases
Types ¶
This section is empty.