Documentation
¶
Overview ¶
Package managedby holds the mark managed_by of C-33.FR-11: the name of the tool that keeps an object of configuration as code, such as terraform, or none. It is a mark only: the domain packages store it with their objects, check its value with Validate and record a change of it in the Audit log like any field, and nothing else reads it.
Index ¶
Constants ¶
const Detail = "The tool that manages it is 1 to 32 characters — lowercase letters, digits, ., _ and - — starting " +
"with a letter or a digit."
Detail is the detail of the invalid_format at Pointer that the domain packages answer for a value outside the format.
const Pointer = "/managed_by"
Pointer is the field in the request bodies, where a value outside the format is refused with invalid_format.
Variables ¶
var Clear = Input{Given: true}
Clear is the input of the field set to null.
var ErrInvalidFormat = errors.New("managed_by is 1 to 32 characters — lowercase letters, digits, ., _ and - — " +
"starting with a letter or a digit")
ErrInvalidFormat refuses a value outside the format.
Functions ¶
Types ¶
type Input ¶
Input is the field in a write: Given is false when the request leaves it out, which keeps the stored mark on an update and stores none on a creation, and a nil Value is null, which clears it.