Documentation ¶
Index ¶
- func IsVmInstalled() bool
- func RunBuild(tag string, fileName string)
- func RunCleanupExisting(removeIstio, removeIngress, confirmed bool) error
- func RunCleanupGcp(value string) error
- func RunCleanupLocal() error
- func RunDescribe(cellImage string)
- func RunExtractResources(cellImage string, outputPath string)
- func RunImage()
- func RunImageInformation(input string)
- func RunInit(projectName string)
- func RunInspect(cellImage string)
- func RunListComponents(name string)
- func RunListIngresses(name string)
- func RunListInstances()
- func RunLogin(registryURL string, username string, password string)
- func RunLogout(registryURL string)
- func RunLogs(cellName, componentName string)
- func RunPull(cellImage string, isSilent bool, username string, password string)
- func RunPush(cellImage string, username string, password string)
- func RunRun(cellImageTag string, instanceName string, startDependencies bool, ...)
- func RunSetup()
- func RunSetupCreateGcp(isCompleteSetup bool)
- func RunSetupCreateLocal(isCompleteSelected, confirmed bool)
- func RunSetupCreateOnExistingCluster(...)
- func RunSetupListClusters() error
- func RunSetupModify(addApimGlobalGateway, addObservability bool)
- func RunStatus(cellName string)
- func RunSwitchCommand(context string) error
- func RunTerminate(instanceName string)
- func RunVersion()
- func RunView(cellImage string)
- func ValidateCluster(cluster string) error
- func ValidateGcpCluster(cluster string) (bool, error)
- type Component
- type Config
- type Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsVmInstalled ¶ added in v0.2.1
func IsVmInstalled() bool
func RunBuild ¶
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 RunCleanupExisting ¶ added in v0.2.1
func RunCleanupGcp ¶ added in v0.2.1
func RunCleanupLocal ¶ added in v0.2.1
func RunCleanupLocal() error
func RunDescribe ¶
func RunDescribe(cellImage string)
func RunExtractResources ¶
RunExtractResources extracts the cell image zip file and copies the resources folder to the provided path
func RunImageInformation ¶
func RunImageInformation(input string)
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
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 RunPull ¶
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 ¶
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 RunSetupCreateGcp ¶ added in v0.2.0
func RunSetupCreateGcp(isCompleteSetup bool)
func RunSetupCreateLocal ¶ added in v0.2.0
func RunSetupCreateLocal(isCompleteSelected, confirmed bool)
func RunSetupCreateOnExistingCluster ¶ added in v0.2.0
func RunSetupListClusters ¶ added in v0.2.1
func RunSetupListClusters() error
func RunSetupModify ¶ added in v0.2.0
func RunSetupModify(addApimGlobalGateway, addObservability bool)
func RunSwitchCommand ¶ added in v0.2.1
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
func ValidateCluster ¶ added in v0.2.1
func ValidateGcpCluster ¶ added in v0.2.1
Types ¶
Source Files ¶
- build.go
- describe.go
- extract_resources.go
- init.go
- inspect.go
- list_Instances.go
- list_components.go
- list_images.go
- list_ingresses.go
- login.go
- logout.go
- logs.go
- pull.go
- push.go
- run.go
- setup.go
- setup_cleanup_existing_cluster.go
- setup_cleanup_gcp.go
- setup_create.go
- setup_create_existing_cluster.go
- setup_create_gcp.go
- setup_create_local.go
- setup_list_clusters.go
- setup_manage.go
- setup_manage_local.go
- setup_modify.go
- setup_switch.go
- status.go
- terminate.go
- version.go
- view.go