Skip to content

Commit

Permalink
docs: Add is_set/is_not_set
Browse files Browse the repository at this point in the history
  • Loading branch information
endocrimes committed Nov 14, 2018
1 parent 60f80fe commit 981dd2e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions website/source/docs/job-specification/constraint.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ all groups (and tasks) in the job.
regexp
set_contains
version
is_set
is_not_set
```

For a detailed explanation of these values and their behavior, please see
Expand Down Expand Up @@ -196,6 +198,12 @@ constraint {
}
```

- `"is_set"` - Specifies that a given attribute must be present. This can be
used with features like `!=` to require that an attribute has been configured,
but to omit particular values.

- `"is_not_set"` - Specifies that a given attribute must not be present.

## `constraint` Examples

The following examples only show the `constraint` stanzas. Remember that the
Expand Down

0 comments on commit 981dd2e

Please sign in to comment.