Documentation ¶
Index ¶
- func ExecDefaultDevfileCommands(projectDirPath, cmpName, namespace string)
- func ExecPushToTestFileChanges(projectDirPath, cmpName, namespace string)
- func ExecPushWithForceFlag(projectDirPath, cmpName, namespace string)
- func ExecPushWithNewFileAndDir(projectDirPath, cmpName, namespace, newFilePath, newDirPath string)
- func ExecWithCustomCommand(projectDirPath, cmpName, namespace string)
- func ExecWithMissingBuildCommand(projectDirPath, cmpName, namespace string)
- func ExecWithMissingRunCommand(projectDirPath, cmpName, namespace string)
- func ExecWithRestartAttribute(projectDirPath, cmpName, namespace string)
- func ExecWithWrongCustomCommand(projectDirPath, cmpName, namespace string)
- func OdoWatch(odoV1Watch OdoV1Watch, odoV2Watch OdoV2Watch, project, context, flag string, ...)
- type OdoV1Watch
- type OdoV2Watch
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecDefaultDevfileCommands ¶
func ExecDefaultDevfileCommands(projectDirPath, cmpName, namespace string)
ExecDefaultDevfileCommands executes the default devfile commands
func ExecPushToTestFileChanges ¶
func ExecPushToTestFileChanges(projectDirPath, cmpName, namespace string)
ExecPushToTestFileChanges executes odo push with and without a file change
func ExecPushWithForceFlag ¶
func ExecPushWithForceFlag(projectDirPath, cmpName, namespace string)
ExecPushWithForceFlag executes odo push with a force flag
func ExecPushWithNewFileAndDir ¶
func ExecPushWithNewFileAndDir(projectDirPath, cmpName, namespace, newFilePath, newDirPath string)
ExecPushWithNewFileAndDir executes odo push after creating a new file and dir
func ExecWithCustomCommand ¶
func ExecWithCustomCommand(projectDirPath, cmpName, namespace string)
ExecWithCustomCommand executes odo push with a custom command
func ExecWithMissingBuildCommand ¶
func ExecWithMissingBuildCommand(projectDirPath, cmpName, namespace string)
ExecWithMissingBuildCommand executes odo push with a missing build command
func ExecWithMissingRunCommand ¶
func ExecWithMissingRunCommand(projectDirPath, cmpName, namespace string)
ExecWithMissingRunCommand executes odo push with a missing run command
func ExecWithRestartAttribute ¶ added in v1.2.1
func ExecWithRestartAttribute(projectDirPath, cmpName, namespace string)
ExecWithRestartAttribute executes odo push with a command attribute restart
func ExecWithWrongCustomCommand ¶
func ExecWithWrongCustomCommand(projectDirPath, cmpName, namespace string)
ExecWithWrongCustomCommand executes odo push with a wrong custom command
func OdoWatch ¶ added in v1.2.2
func OdoWatch(odoV1Watch OdoV1Watch, odoV2Watch OdoV2Watch, project, context, flag string, runner interface{}, platform string)
OdoWatch creates files, dir in the context and watches for the changes to be pushed Specify OdoV1Watch for odo version 1, OdoV2Watch for odo version 2(devfile) platform is either kube or docker