update

package
v1.7.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2018 License: GPL-3.0 Imports: 21 Imported by: 0

Documentation

Overview

Package update contains the logic for updating elements in the system (cases/sequences/projects...).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CasePut

func CasePut(t handler.TestCaseUpdater, caseChecker id.TestExistenceChecker,
	commentStore handler.Comments, assigneeGetter handler.TaskAssigneeGetter) http.HandlerFunc

CasePut handles put requests that update existing cases.

func CommentPut added in v1.7.0

func CommentPut(commentStore handler.Comments) http.HandlerFunc

CommentPut updates a comment and prints the new fragment back.

func EditProfilePut added in v1.7.0

func InvalidIsMinor

func InvalidIsMinor(r *http.Request, v string, cause error) errors.HandlerError

InvalidIsMinor returns an error describing that the client send an invalid value for isMinor.

func MemberUpdate added in v1.3.0

func NoSequenceVersions

func NoSequenceVersions(r *http.Request, testID id.TestID) errors.HandlerError

NoSequenceVersions returns an ErrorMessage describing that the test sequence doesn't have a version.

func ProjectLabelsPut added in v1.7.0

func ProjectLabelsPut(ps handler.ProjectLabelUpdater) func(w http.ResponseWriter, r *http.Request)

* updates a project label * expects the old label and the new label

func ProjectPost

ProjectPost is used to update an existing project

func ProjectRolesPut added in v1.1.0

func ProjectRolesPut(projectAdder handler.ProjectAdder) func(w http.ResponseWriter, r *http.Request)

ProjectRolesPut handles the request to update the roles of a project

func SequencePut

SequencePut handles requests that demand to update a sequence

func SystemSettingsPut added in v1.7.0

func SystemSettingsPut(systemSettingsStore handler.SystemSettings) http.HandlerFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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