Skip to content

Commit

Permalink
update docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
AnalogJ committed May 14, 2019
1 parent fef7e5c commit 537d01a
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ Check the [example.drawbridge.yml](https://github.com/AnalogJ/drawbridge/blob/ma

# Testing [![Circle CI](https://img.shields.io/circleci/project/github/AnalogJ/drawbridge.svg?style=flat-square)](https://circleci.com/gh/AnalogJ/drawbridge)
Drawbridge provides an extensive test-suite based on `go test`.
You can run all the integration & unit tests with `go test $(glide novendor)`
You can run all the integration & unit tests with `go test $(go list ./... | grep -v /vendor/)`

CircleCI is used for continuous integration testing: https://circleci.com/gh/AnalogJ/drawbridge

Expand Down
40 changes: 40 additions & 0 deletions example.drawbridge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,46 @@ questions:
# Answers
answers: []

######################################################################
# Template Functions
#
# The following functions are available for use in the templates, mapping to
# Go functions.
#
#
# TEMPLATE FUNCTION GO FUNCTION
#
# "uniquePort": UniquePort,
# "expandPath": ExpandPath,
# "stringsCompare": strings.Compare,
# "stringsContains": strings.Contains,
# "stringsContainsAny": strings.ContainsAny,
# "stringsCount": strings.Count,
# "stringsEqualFold": strings.EqualFold,
# "stringsHasPrefix": strings.HasPrefix,
# "stringsHasSuffix": strings.HasSuffix,
# "stringsIndex": strings.Index,
# "stringsIndexAny": strings.IndexAny,
# "stringsJoin": strings.Join,
# "stringsLastIndex": strings.LastIndex,
# "stringsLastIndexAny": strings.LastIndexAny,
# "stringsRepeat": strings.Repeat,
# "stringsReplace": strings.Replace,
# "stringsSplit": strings.Split,
# "stringsSplitAfter": strings.SplitAfter,
# "stringsSplitAfterN": strings.SplitAfterN,
# "stringsSplitN": strings.SplitN,
# "stringsTitle": strings.Title,
# "stringsToLower": strings.ToLower,
# "stringsToTitle": strings.ToTitle,
# "stringsToUpper": strings.ToUpper,
# "stringsTrim": strings.Trim,
# "stringsTrimLeft": strings.TrimLeft,
# "stringsTrimPrefix": strings.TrimPrefix,
# "stringsTrimRight": strings.TrimRight,
# "stringsTrimSpace": strings.TrimSpace,
# "stringsTrimSuffix": strings.TrimSuffix,

######################################################################
# SSH Config Templates
#
Expand Down

0 comments on commit 537d01a

Please sign in to comment.