Documentation ¶
Index ¶
- Constants
- Variables
- func BoolP(b bool) *bool
- func CopyFile(src, dst string) (int64, error)
- func CreateDirectory(directory string) error
- func CreateLocalDependenciesDirectory() error
- func CreateLocalPropertiesDirectory() error
- func CreateLocalRoutesDirectory() error
- func DependenciesToJSON(list []string) ([]byte, error)
- func DependenciesToYAML(list []string) ([]byte, error)
- func DirectoryExists(directory string) (bool, error)
- func EncodeXML(content interface{}) ([]byte, error)
- func FileExists(name string) (bool, error)
- func FindAllDistinctStringSubmatch(data string, regexps ...*regexp.Regexp) []string
- func FindNamedMatches(expr string, str string) map[string]string
- func GetEnvironmentVariable(variable string) (string, error)
- func GetLocalDependenciesDir() string
- func GetLocalPropertiesDir() string
- func GetLocalRoutesDir() string
- func IsFalse(b *bool) bool
- func IsNilOrFalse(b *bool) bool
- func IsNilOrTrue(b *bool) bool
- func IsTrue(b *bool) bool
- func JSONToYAML(src []byte) ([]byte, error)
- func SortedMapKeys(m map[string]interface{}) []string
- func SortedStringMapKeys(m map[string]string) []string
- func StringSliceContains(slice []string, items []string) bool
- func StringSliceContainsAnyOf(slice []string, items ...string) bool
- func StringSliceExists(slice []string, item string) bool
- func StringSliceJoin(slices ...[]string) []string
- func StringSliceUniqueAdd(slice *[]string, item string) bool
- func StringSliceUniqueConcat(slice *[]string, items []string) bool
- func WriteFileWithBytesMarshallerContent(buildDir string, relativePath string, content BytesMarshaller) error
- func WriteFileWithContent(buildDir string, relativePath string, content []byte) error
- func WriteToFile(filePath string, fileContents string) error
- type BytesMarshaller
Constants ¶
const DefaultDependenciesDirectoryName = "dependencies"
DefaultDependenciesDirectoryName --
const DefaultPropertiesDirectoryName = "properties"
DefaultPropertiesDirectoryName --
const DefaultRoutesDirectoryName = "routes"
DefaultRoutesDirectoryName --
const DefaultWorkingDirectoryName = "workspace"
DefaultWorkingDirectoryName --
Variables ¶
var ContainerDependenciesDirectory = "/deployments/dependencies"
ContainerDependenciesDirectory --
var ContainerPropertiesDirectory = "/etc/camel/conf.d"
ContainerPropertiesDirectory --
var ContainerResourcesDirectory = "/etc/camel/resources"
ContainerResourcesDirectory --
var ContainerRoutesDirectory = "/etc/camel/sources"
ContainerRoutesDirectory --
var MavenWorkingDirectory string = ""
MavenWorkingDirectory -- Directory used by Maven for an invocation of the kamel local command. By default a temporary folder will be used.
Functions ¶
func CreateDirectory ¶ added in v1.3.0
CreateDirectory --
func CreateLocalDependenciesDirectory ¶ added in v1.3.0
func CreateLocalDependenciesDirectory() error
CreateLocalDependenciesDirectory --
func CreateLocalPropertiesDirectory ¶ added in v1.3.0
func CreateLocalPropertiesDirectory() error
CreateLocalPropertiesDirectory --
func CreateLocalRoutesDirectory ¶ added in v1.3.0
func CreateLocalRoutesDirectory() error
CreateLocalRoutesDirectory --
func DependenciesToJSON ¶ added in v1.3.0
DependenciesToJSON --
func DependenciesToYAML ¶ added in v1.3.0
DependenciesToYAML --
func DirectoryExists ¶ added in v1.3.0
DirectoryExists --
func FindAllDistinctStringSubmatch ¶
FindAllDistinctStringSubmatch --
func FindNamedMatches ¶ added in v1.3.0
FindNamedMatches ---
func GetEnvironmentVariable ¶ added in v1.3.0
GetEnvironmentVariable --
func GetLocalDependenciesDir ¶ added in v1.3.0
func GetLocalDependenciesDir() string
GetLocalDependenciesDir --<mavenWorkingDirectory>/dependencies
func GetLocalPropertiesDir ¶ added in v1.3.0
func GetLocalPropertiesDir() string
GetLocalPropertiesDir -- <mavenWorkingDirectory>/properties
func GetLocalRoutesDir ¶ added in v1.3.0
func GetLocalRoutesDir() string
GetLocalRoutesDir -- <mavenWorkingDirectory>/routes
func IsNilOrFalse ¶ added in v1.3.0
IsNilOrFalse checks if the bool pointer is nil or false. You can use it if the bool pointer is meant to be false by default.
func IsNilOrTrue ¶ added in v1.3.0
IsNilOrTrue checks if the bool pointer is nil or true. You can use it if the bool pointer is meant to be true by default.
func SortedStringMapKeys ¶
SortedStringMapKeys --
func StringSliceContains ¶
StringSliceContains --
func StringSliceContainsAnyOf ¶
StringSliceContainsAnyOf --
func StringSliceExists ¶
StringSliceExists --
func StringSliceUniqueAdd ¶
StringSliceUniqueAdd append the given item if not already present in the slice
func StringSliceUniqueConcat ¶
StringSliceUniqueConcat append all the items of the "items" slice if they are not already present in the slice
func WriteFileWithBytesMarshallerContent ¶
func WriteFileWithBytesMarshallerContent(buildDir string, relativePath string, content BytesMarshaller) error
WriteFileWithBytesMarshallerContent --
func WriteFileWithContent ¶
WriteFileWithContent --
func WriteToFile ¶ added in v1.3.0
WriteToFile --
Types ¶
type BytesMarshaller ¶
BytesMarshaller --
Directories ¶
Path | Synopsis |
---|---|
Package bindings provides APIs to transform Kubernetes objects into Camel URIs equivalents
|
Package bindings provides APIs to transform Kubernetes objects into Camel URIs equivalents |
Package minishift contains utilities for Minishift deployments
|
Package minishift contains utilities for Minishift deployments |
Package sync provides useful tools to get notified when a file system resource changes
|
Package sync provides useful tools to get notified when a file system resource changes |