CiscoCloud/toscalib

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

Homepage:

Size: 5944

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Abstract

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

Status

GoDoc GoCard coverage Build Status

Plans

ToDo Tasks

Normative Types

The normative types definitions are included de facto. The files are embeded using go-bindata.

Howto

Create a ServiceTemplateDefinition and call Parse(r io.Reader) of ParseCsar(c string) to fill it with a YAML definition.

Example
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)

Origins

Original implementation provided by Olivier Wulveryck at github.com/owulveryck/toscalib.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.