Documentation ¶
Overview ¶
Package update contains the logic for updating elements in the system (cases/sequences/projects...).
Index ¶
- func CasePut(t handler.TestCaseUpdater, caseChecker id.TestExistenceChecker, ...) http.HandlerFunc
- func InvalidIsMinor(r *http.Request, v string, cause error) errors.HandlerError
- func NoSequenceVersions(r *http.Request, testID id.TestID) errors.HandlerError
- func ProjectPost(pa handler.ProjectAdder, pec id.ProjectExistenceChecker) http.HandlerFunc
- func SequencePut(t handler.TestCaseGetter, tsu handler.TestSequenceUpdater, ...) http.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CasePut ¶
func CasePut(t handler.TestCaseUpdater, caseChecker id.TestExistenceChecker, caseRenamer handler.ProtocolCaseRenamer) http.HandlerFunc
CasePut handles put requests that update existing cases.
func InvalidIsMinor ¶
InvalidIsMinor returns an error describing that the client send an invalid value for isMinor.
func NoSequenceVersions ¶
NoSequenceVersions returns an ErrorMessage describing that the test sequence doesn't have a version.
func ProjectPost ¶
func ProjectPost(pa handler.ProjectAdder, pec id.ProjectExistenceChecker) http.HandlerFunc
ProjectPost is used to update an existing project
func SequencePut ¶
func SequencePut(t handler.TestCaseGetter, tsu handler.TestSequenceUpdater, sequenceChecker id.TestExistenceChecker, protocolStore handler.SequenceRenameHandler) http.HandlerFunc
SequencePut handles requests that demand to update a sequence
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.