Documentation ¶
Index ¶
- func ConstructDockerArgs(testsRoot string, imageDir string) ([]string, error)
- func CreateBallerinaConf(iName string, verboseMode string, imageDir string, dependencyLinks string, ...) error
- func CreateTelepresenceDeployment(incell bool, imageDir string, instanceName string) (*string, error)
- func ExtractImage(cli cli.Cli, cellImage *image.CellImage, pullIfNotPresent bool) (string, error)
- func PromtConfirmation(assumeYes bool, balProj string) error
- func RunBuild(cli cli.Cli, tag string, fileName string) error
- func RunDeleteImage(cli cli.Cli, images []string, regex string, deleteAll bool) error
- func RunDescribe(cli cli.Cli, name string) error
- func RunExtractResources(cli cli.Cli, cellImage string, outputPath string) error
- func RunInspect(cli cli.Cli, cellImage string) error
- func RunListComponents(cli cli.Cli, name string) error
- func RunListImages(cli cli.Cli) error
- func RunListIngresses(cli cli.Cli, name string) error
- func RunPull(cli cli.Cli, cellImage string, isSilent bool, username string, password string) error
- func RunPush(cli cli.Cli, cellImage string, username string, password string) error
- func RunRun(cli cli.Cli, cellImageTag string, instanceName string, startDependencies bool, ...) error
- func RunTest(cli cli.Cli, cellImageTag string, instanceName string, startDependencies bool, ...) error
- func RunView(cli cli.Cli, cellImage string) error
- func StopTelepresence(filepath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConstructDockerArgs ¶
func CreateBallerinaConf ¶
func ExtractImage ¶
extractImage extracts the image into a temporary directory and returns the path. Cleaning the path after finishing your work is your responsibility.
func PromtConfirmation ¶
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 RunDeleteImage ¶
func RunExtractResources ¶
RunExtractResources extracts the cell image zip file and copies the resources folder to the provided path
func RunInspect ¶
RunInspect extracts the cell image and lists the files in the cell image
func RunListImages ¶
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(cli cli.Cli, cellImageTag string, instanceName string, startDependencies bool, shareDependencies bool, dependencyLinks []string, envVars []string) error
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 RunTest ¶
func RunTest(cli cli.Cli, cellImageTag string, instanceName string, startDependencies bool, shareDependencies bool, dependencyLinks []string, envVars []string, assumeYes bool, debug bool, verbose bool, incell bool, projLocation string) error
RunTest starts Cell instance (along with dependency instances if specified by the user)\
func StopTelepresence ¶
Types ¶
This section is empty.