commands

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2019 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunApis

func RunApis(cellName string)

func RunBuild

func RunBuild(tag string, fileName string)

RunBuild executes the cell's build life cycle method and saves the generated cell image to the local repo. This also copies the relevant ballerina files to the ballerina repo directory.

func RunComponents

func RunComponents(cellName string)

func RunDescribe

func RunDescribe(cellImage string)

func RunExtractResources

func RunExtractResources(cellImage string, outputPath string)

RunExtractResources extracts the cell image zip file and copies the resources folder to the provided path

func RunImage

func RunImage()

func RunImageInformation

func RunImageInformation(input string)

func RunInit

func RunInit()

func RunListFiles

func RunListFiles(cellImage string)

RunListFiles extracts the cell image and lists the files in the cell image

func RunLogs

func RunLogs(cellName, componentName string)

func RunPs

func RunPs()

func RunPull

func RunPull(cellImage string, silent bool)

RunPull connects to the Cellery Registry and pulls the cell image and saves it in the local repository. This also adds the relevant ballerina files to the ballerina repo directory.

func RunPush

func RunPush(cellImage string)

RunPush parses the cell image name to recognize the Cellery Registry (A Docker Registry), Organization and version and pushes to the Cellery Registry

func RunRun

func RunRun(cellImageTag string, instanceName string, dependencies []string)

func RunSetup

func RunSetup()

func RunStatus

func RunStatus(cellName string)

func RunStop

func RunStop(instanceName string)

func RunVersion

func RunVersion()

Types

type Component

type Component struct {
	// contains filtered or unexported fields
}

type Config

type Config struct {
	Contexts []Context `json:"contexts"`
}

type Context

type Context struct {
	Name string `json:"name"`
}

Jump to

Keyboard shortcuts

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