Documentation ¶
Index ¶
- func ExtractImage(cellImage *image.CellImage, pullIfNotPresent bool, spinner *util.Spinner) (string, error)
- func RunApplyAutoscalePolicies(kind kubectl.InstanceKind, instance string, file string) error
- func RunBuild(tag string, fileName string)
- func RunCleanupExisting(removeKnative, removeIstio, removeIngress, removeHpa, confirmed bool) error
- func RunCleanupGcp(value string) error
- func RunCleanupLocal(removeVm, removeVmImage bool) error
- func RunDeleteImage(images []string, regex string, deleteAll bool)
- func RunDescribe(name string)
- func RunExportAutoscalePolicies(kind kubectl.InstanceKind, instance string, outputfile string) error
- func RunExtractResources(cellImage string, outputPath string)
- func RunImage()
- func RunInit(projectName string)
- func RunInspect(cellImage string)
- func RunListComponents(name string)
- func RunListDependencies(instanceName string) error
- func RunListIngresses(name string)
- func RunListInstances()
- func RunLogin(registryURL string, username string, password string)
- func RunLogout(registryURL string)
- func RunLogs(cellName, componentName string)
- func RunPatchForSingleComponent(instance string, component string, containerImage string, containerName string, ...) error
- func RunPull(cellImage string, isSilent bool, username string, password string)
- func RunPush(cellImage string, username string, password string)
- func RunRouteTrafficCommand(sourceInstances []string, dependencyInstance string, targetInstance string, ...) error
- func RunRun(cellImageTag string, instanceName string, startDependencies bool, ...)
- func RunSetup()
- func RunSetupCreateGcp(isCompleteSetup bool)
- func RunSetupCreateLocal(isCompleteSelected, forceDownload, confirmed bool)
- func RunSetupCreateOnExistingCluster(isPersistentVolume, hasNfsStorage, isLoadBalancerIngressMode bool, ...)
- func RunSetupListClusters() error
- func RunSetupModify(addApimGlobalGateway, addObservability, knative, hpa runtime.Selection)
- func RunSetupStatusCommand()
- func RunStatus(cellName string)
- func RunSwitchCommand(context string) error
- func RunTelepresenceTests(incell bool, cmd *exec.Cmd, cmdArgs []string, imageDir string, ...)
- func RunTerminate(terminatingInstances []string, terminateAll bool)
- func RunTest(cellImageTag string, instanceName string, startDependencies bool, ...)
- func RunVersion()
- func RunView(cellImage string)
- func StopTelepresence(filepath string) error
- func ValidateCluster(cluster string) error
- func ValidateGcpCluster(cluster string) (bool, error)
- type Component
- type SystemComponent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractImage ¶ added in v0.3.0
func ExtractImage(cellImage *image.CellImage, pullIfNotPresent bool, spinner *util.Spinner) (string, error)
extractImage extracts the image into a temporary directory and returns the path. Cleaning the path after finishing your work is your responsibility.
func RunApplyAutoscalePolicies ¶ added in v0.3.0
func RunApplyAutoscalePolicies(kind kubectl.InstanceKind, instance string, file string) error
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 RunDeleteImage ¶ added in v0.3.0
func RunDescribe ¶
func RunDescribe(name string)
func RunExportAutoscalePolicies ¶ added in v0.4.0
func RunExportAutoscalePolicies(kind kubectl.InstanceKind, instance string, outputfile string) error
func RunExtractResources ¶
RunExtractResources extracts the cell image zip file and copies the resources folder to the provided path
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 RunListDependencies ¶ added in v0.3.0
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 RunPatchForSingleComponent ¶ added in v0.4.0
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 RunRouteTrafficCommand ¶ added in v0.3.0
func RunSetupCreateGcp ¶ added in v0.2.0
func RunSetupCreateGcp(isCompleteSetup bool)
func RunSetupCreateLocal ¶ added in v0.2.0
func RunSetupCreateLocal(isCompleteSelected, forceDownload, 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 RunSetupStatusCommand ¶ added in v0.3.0
func RunSetupStatusCommand()
func RunSwitchCommand ¶ added in v0.2.1
func RunTelepresenceTests ¶ added in v0.4.0
func RunTerminate ¶ added in v0.2.0
func RunTest ¶ added in v0.3.0
func RunTest(cellImageTag string, instanceName string, startDependencies bool, shareDependencies bool, dependencyLinks []string, envVars []string, assumeYes bool, debug bool, verbose bool, incell bool)
RunRun starts Cell instance (along with dependency instances if specified by the user)\
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 StopTelepresence ¶ added in v0.4.0
func ValidateCluster ¶ added in v0.2.1
func ValidateGcpCluster ¶ added in v0.2.1
Types ¶
type SystemComponent ¶ added in v0.3.0
type SystemComponent struct {
// contains filtered or unexported fields
}
Source Files ¶
- apply_autoscale_policy.go
- build.go
- delete_image.go
- describe.go
- export_autoscale_policy.go
- extract_resources.go
- init.go
- inspect.go
- list_Instances.go
- list_components.go
- list_dependencies.go
- list_images.go
- list_ingresses.go
- login.go
- logout.go
- logs.go
- patch_components.go
- pull.go
- push.go
- route_traffic.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_status.go
- setup_switch.go
- status.go
- terminate.go
- test.go
- version.go
- view.go