commands

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2019 License: Apache-2.0 Imports: 45 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 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 RunInspect added in v0.2.0

func RunInspect(cellImage string)

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

func RunListComponents added in v0.2.0

func RunListComponents(name string)

func RunListIngresses added in v0.2.0

func RunListIngresses(name string)

func RunListInstances added in v0.2.0

func RunListInstances()

func RunLogin added in v0.2.0

func RunLogin(registryURL string, username string, password string)

RunLogin requests the user for credentials and logs into a Cellery Registry

func RunLogout added in v0.2.0

func RunLogout(registryURL string)

RunLogout removes the saved credentials for a particular registry

func RunLogs

func RunLogs(cellName, componentName string)

func RunPull

func RunPull(cellImage string, isSilent bool, username string, password string)

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, username string, password 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, startDependencies bool, shareDependencies bool,
	dependencyLinks []string, envVars []string, assumeYes bool)

RunRun starts Cell instance (along with dependency instances if specified by the user) This also support linking instances to parts of the dependency tree This command also strictly validates whether the requested Cell (and the dependencies are valid)

func RunSetup

func RunSetup()

func RunSetupCreateGcp added in v0.2.0

func RunSetupCreateGcp(isCompleteSetup bool)

func RunSetupCreateLocal added in v0.2.0

func RunSetupCreateLocal(isCompleteSelected bool)

func RunSetupCreateOnExistingCluster added in v0.2.0

func RunSetupCreateOnExistingCluster(isPersistedVolumeVolume bool)

func RunSetupModify added in v0.2.0

func RunSetupModify(addApimGlobalGateway, addObservability bool)

func RunStatus

func RunStatus(cellName string)

func RunTerminate added in v0.2.0

func RunTerminate(instanceName string)

func RunVersion

func RunVersion()

func RunView added in v0.2.0

func RunView(cellImage string)

RunView opens the View for a particular Cell Image

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