undeploy-delete-app

command
v3.0.0-milestone.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

README

Undeploy an application and delete it

This example shows how the Alien4Cloud go client can be used to run workflows on a deployed application.

Prerequisites

An application has been deployed as described in Create an deploy an application example.

Running this example

Build this example:

cd examples/undeploy-delete-app
go build -o undeploy.test

Now, run this example providing in arguments:

  • the Alien4Cloud URL
  • credentials of the user who has deployed the application
  • the name of the application to undeploy and detete
  • the falg delete if you want the application to be delete after its undeployment
./undeploy.test -url https://1.2.3.4:8088 \
                -user myuser \
                -password mypasswd \
                -app myapp \
                -delete

This will undeploy the application, print undeployment logs, and finally once the undeployment is done, delete the application.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL