Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Add documentation for nomad-pack template functions #494

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

angrycub
Copy link
Contributor

This PR starts chipping away at the Pack documentation tech debt by documenting the template helper functions that Pack provides to the template context.

Copy link
Member

@gulducat gulducat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

couple lil things, but otherwise LGTM!

##### Example

```
[[ $cs := ( customSpew | withDisableCapacities true ) ]][[ $cs.Sdump . ]]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be a toStringList example

Comment on lines +89 to +98
##### Example

```

```

##### Output

```
```
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

empty example/output for nomadRegions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants