Add new yaml function to burrow configure templating
Now the the genesis spec can be generated as yaml or json.
<< yaml .Config >>
<< json .Config >>
Since the return value of yaml is string, json can also be used to
double quote and string escape the yaml.
<< json (yaml .Config) >>
Signed-off-by:
Sean Young <sean.young@monax.io>
Showing
- Gopkg.lock 6 additions, 6 deletionsGopkg.lock
- deployment/config.go 9 additions, 0 deletionsdeployment/config.go
- genesis/genesis.go 1 addition, 1 deletiongenesis/genesis.go
- vendor/github.com/prometheus/procfs/xfrm.go 1 addition, 1 deletionvendor/github.com/prometheus/procfs/xfrm.go
- vendor/golang.org/x/net/http2/flow.go 5 additions, 5 deletionsvendor/golang.org/x/net/http2/flow.go
- vendor/golang.org/x/net/http2/server.go 13 additions, 0 deletionsvendor/golang.org/x/net/http2/server.go
- vendor/golang.org/x/sys/unix/fcntl.go 5 additions, 1 deletionvendor/golang.org/x/sys/unix/fcntl.go
- vendor/golang.org/x/sys/unix/syscall_solaris.go 5 additions, 1 deletionvendor/golang.org/x/sys/unix/syscall_solaris.go
- vendor/golang.org/x/sys/windows/service.go 18 additions, 0 deletionsvendor/golang.org/x/sys/windows/service.go
Loading
Please register or sign in to comment