Documentation ¶
Index ¶
- Variables
- func CopyAppFile(dependenciesDir string, appDir string) error
- func CopyIntegrationFilesToDirectory(files []string, directory string) ([]string, error)
- func CopyLibFiles(dependenciesDir string, libDir string) error
- func CopyQuarkusAppFiles(dependenciesDir string, quarkusDir string) error
- func CreateAndBuildIntegrationImage(ctx context.Context, containerRegistry string, justBaseImage bool, ...) error
- func CreateDockerBaseWorkingDirectory() error
- func CreateDockerWorkingDirectory() error
- func CreateLocalPropertiesDirectory() error
- func CreateMavenWorkingDirectory() error
- func DeleteDockerBaseWorkingDirectory() error
- func DeleteDockerWorkingDirectory() error
- func DeleteLocalIntegrationDirs(dir string) error
- func DeleteMavenWorkingDirectory() error
- func GetBuildDependencies(integrationDirectory string) ([]string, error)
- func GetBuildProperties(integrationDirectory string) ([]string, error)
- func GetBuildRoutes(integrationDirectory string) ([]string, error)
- func GetCustomAppDir(dir string) string
- func GetCustomDependenciesDir(dir string) string
- func GetCustomLibDir(dir string) string
- func GetCustomPropertiesDir(dir string) string
- func GetCustomQuarkusDir(dir string) string
- func GetCustomRoutesDir(dir string) string
- func GetDependencies(ctx context.Context, args []string, additionalDependencies []string, ...) ([]string, error)
- func GetLocalPropertiesDir() string
- func OutputDependencies(dependencies []string, format string, cmd *cobra.Command) error
- func RunIntegrationImage(ctx context.Context, image string, stdout, stderr io.Writer) error
- func RunLocalIntegration(ctx context.Context, properties []string, dependencies []string, ...) error
- func SetDockerEnvVars(envVars []string)
- func SetDockerNetworkName(networkName string)
- func UpdateIntegrationProperties(properties []string, propertyFiles []string, hasIntegrationDir bool) ([]string, error)
- func ValidateDependencies(dependencies []string) error
- func ValidateFiles(args []string) error
- func ValidatePropertyFiles(propertyFiles []string) error
Constants ¶
This section is empty.
Variables ¶
var MavenWorkingDirectory = ""
MavenWorkingDirectory is the directory used by Maven for an invocation of the kamel local command. By default, a temporary folder will be used.
Functions ¶
func CopyAppFile ¶
func CopyLibFiles ¶
func CopyQuarkusAppFiles ¶
func CreateDockerBaseWorkingDirectory ¶
func CreateDockerBaseWorkingDirectory() error
CreateDockerBaseWorkingDirectory creates local docker base directory.
func CreateDockerWorkingDirectory ¶
func CreateDockerWorkingDirectory() error
CreateDockerWorkingDirectory creates local docker directory.
func CreateLocalPropertiesDirectory ¶
func CreateLocalPropertiesDirectory() error
func CreateMavenWorkingDirectory ¶
func CreateMavenWorkingDirectory() error
CreateMavenWorkingDirectory creates local Maven working directory.
func DeleteDockerBaseWorkingDirectory ¶
func DeleteDockerBaseWorkingDirectory() error
DeleteDockerBaseWorkingDirectory removes directory used for computing the base dependencies.
func DeleteDockerWorkingDirectory ¶
func DeleteDockerWorkingDirectory() error
DeleteDockerWorkingDirectory removes directory used for computing the integration dependencies.
func DeleteMavenWorkingDirectory ¶
func DeleteMavenWorkingDirectory() error
DeleteMavenWorkingDirectory removes local Maven working directory.
func GetBuildDependencies ¶
func GetBuildProperties ¶
func GetBuildRoutes ¶
func GetCustomAppDir ¶
func GetCustomLibDir ¶
func GetCustomPropertiesDir ¶
func GetCustomQuarkusDir ¶
func GetCustomRoutesDir ¶
func GetDependencies ¶
func GetDependencies(ctx context.Context, args []string, additionalDependencies []string, repositories []string, allDependencies bool) ([]string, error)
GetDependencies resolves and gets the list of dependencies from catalog and sources.
func GetLocalPropertiesDir ¶
func GetLocalPropertiesDir() string
GetLocalPropertiesDir returns <mavenWorkingDirectory>/properties.
func OutputDependencies ¶
func RunIntegrationImage ¶
func RunLocalIntegration ¶
func SetDockerEnvVars ¶
func SetDockerEnvVars(envVars []string)
func SetDockerNetworkName ¶
func SetDockerNetworkName(networkName string)
func ValidateDependencies ¶
ValidateDependencies validates list of additional dependencies i.e. makes sure that each dependency has a valid type.
func ValidateFiles ¶
ValidateFiles ensures existence of given files.
func ValidatePropertyFiles ¶
Types ¶
This section is empty.