package
3.0.0-milestone.6
Repository: https://github.com/alien4cloud/alien4cloud-go-client.git
Documentation: pkg.go.dev

# README

Upload a CSAR (Cloud Service ARchive)

This example shows how the Alien4Cloud go client can be used to upload a CSAR (Cloud Service ARchive - zip file containing TOSCA types and templates definitions) to Alien4Cloud catalog.

Running this example

Build this example:

cd examples/upload-csar
go build -o run.test

Now, run this example providing in arguments:

  • the Alien4Cloud URL
  • credentials of the user who has deployed the application
  • csar path
./run.test -url https://1.2.3.4:8088 \
           -user myuser \
           -password mypasswd \
           -csar /path/to/csar.zip

What's next

To deploy an application, see create and deploy an application example.