update

package
v1.3.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2018 License: GPL-3.0 Imports: 17 Imported by: 1

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

CasePut handles put requests that update existing cases.

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 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

Types

This section is empty.

Jump to

Keyboard shortcuts

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