Name: toscalib
Owner: CiscoCloud
Description: A go implementation of the TOSCA Standard from OASIS (YAML version)
Forked from: owulveryck/toscalib
Created: 2016-10-13 16:37:47.0
Updated: 2017-12-13 05:30:00.0
Pushed: 2018-04-17 07:06:52.0
Size: 5944
Language: Go
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This library is an implementation of the TOSCA definition as described in the document written in pure GO TOSCA Simple Profile in YAML Version 1.1
The normative types definitions are included de facto. The files are embeded using go-bindata.
Create a ServiceTemplateDefinition
and call Parse(r io.Reader)
of ParseCsar(c string)
to fill it with a YAML definition.
t toscalib.ServiceTemplateDefinition
:= t.Parse(os.Stdin)
rr != nil {
log.Fatal(err)
o
t toscalib.ServiceTemplateDefinition
:= t.ParseCsar("tests/tosca_elk.zip")
rr != nil {
log.Fatal(err)
Original implementation provided by Olivier Wulveryck at github.com/owulveryck/toscalib.