Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/camel-k
/ functions
Functions
5,125 in github.com/apache/camel-k
⨍
Functions
5,125
◇
Types & classes
777
↓ 3 callers
Function
BuilderPodsCount
(t *testing.T, ctx context.Context, ns string)
e2e/support/test_support.go:1275
↓ 3 callers
Function
ComputeForIntegrationKit
ComputeForIntegrationKit a digest of the fields that are relevant for the deployment Produces a digest that can be used as docker image tag.
pkg/util/digest/digest.go:234
↓ 3 callers
Function
ComputeSHA1
(elem ...string)
pkg/util/digest/digest.go:326
↓ 3 callers
Function
ConfigurationTasksByName
ConfigurationTasksByName returns the container configuration from the task list.
pkg/apis/camel/v1/build_types_support.go:80
↓ 3 callers
Method
ContainsService
ContainsService tells if the environment contains a service with the given name and type.
pkg/internal/knative/types_support.go:104
↓ 3 callers
Function
CreateCatalog
CreateCatalog --.
pkg/util/camel/camel_runtime.go:36
↓ 3 callers
Function
CreateKamelet
(t *testing.T, ctx context.Context, ns string, name string, template map[string]interface{}, properties map[st
e2e/support/test_support.go:1868
↓ 3 callers
Function
CreateKnativeChannel
(t *testing.T, ctx context.Context, ns string, name string)
e2e/support/test_support.go:1852
↓ 3 callers
Function
CreateMasterRBAC
CreateMasterRBAC creates the Role and RoleBinding
e2e/common/traits/master_test.go:96
↓ 3 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Integration.
pkg/apis/camel/v1/zz_generated.deepcopy.go:1175
↓ 3 callers
Function
DeleteConfigmap
(t *testing.T, ctx context.Context, ns string, name string)
e2e/support/test_support.go:1384
↓ 3 callers
Function
DeleteSecret
(t *testing.T, ctx context.Context, ns string, name string)
e2e/support/test_support.go:1458
↓ 3 callers
Function
DeploymentLabels
DeploymentLabels returns the fixed labels assigned to each Camel workload.
pkg/util/kubernetes/labels.go:29
↓ 3 callers
Method
DetermineProfile
DetermineProfile determines the TraitProfile of the environment. First looking at the Integration.Spec for a Profile, next looking at the IntegrationK
pkg/trait/trait_types.go:293
↓ 3 callers
Method
DisableAPIGroupDiscovery
(group string)
pkg/internal/client.go:201
↓ 3 callers
Method
DoPom
DoPom is in charge to generate the pom file.
pkg/util/maven/maven_command.go:60
↓ 3 callers
Method
Endpoint
()
pkg/apis/camel/v1/error_handler_types_support.go:30
↓ 3 callers
Function
FilterCamelCreatorLabels
FilterCamelCreatorLabels is used to inherit the creator information among resources.
pkg/util/kubernetes/camel.go:50
↓ 3 callers
Function
FindAllDistinctStringSubmatch
(data string, regexps ...*regexp.Regexp)
pkg/util/util.go:228
↓ 3 callers
Method
GetConsumerDependencyIDs
(schemeID string)
pkg/apis/camel/v1/camelcatalog_types_support.go:251
↓ 3 callers
Method
GetDependenciesPaths
GetDependenciesPaths returns the set of dependency paths.
pkg/apis/camel/v1/integrationkit_types_support.go:217
↓ 3 callers
Method
GetIntegrationName
(sources []string)
pkg/cmd/run.go:900
↓ 3 callers
Method
GetIntegrationPodSpec
GetIntegrationPodSpec return the Integration Template Pod Specification, regardless of the deployment strategy.
pkg/trait/trait_types.go:354
↓ 3 callers
Method
GetReason
()
pkg/apis/camel/v1/common_types.go:458
↓ 3 callers
Method
GetRuntimeProvider
GetRuntimeProvider returns the Camel K runtime provider of the catalog.
pkg/apis/camel/v1/camelcatalog_types_support.go:198
↓ 3 callers
Function
GetSecretsRefData
GetSecretsRefData returns the value of the secrets in the supplied namespace.
pkg/util/kubernetes/client.go:172
↓ 3 callers
Method
GetStatus
()
pkg/apis/camel/v1/common_types.go:455
↓ 3 callers
Method
GetType
()
pkg/apis/camel/v1/common_types.go:454
↓ 3 callers
Method
ID
ID returns the name of the binding provider
pkg/util/bindings/api.go:52
↓ 3 callers
Function
IntegrationPodsNumbers
(t *testing.T, ctx context.Context, ns string, name string)
e2e/support/test_support.go:538
↓ 3 callers
Function
IntegrationVersion
(t *testing.T, ctx context.Context, ns string, name string)
e2e/support/test_support.go:833
↓ 3 callers
Function
IsEventingInstalled
IsEventingInstalled returns true if we are connected to a cluster with Knative Eventing installed.
pkg/util/knative/enabled.go:62
↓ 3 callers
Method
IsExternal
IsExternal returns true for external IntegrationKits (integration kit not created by the operator).
pkg/apis/camel/v1/integrationkit_types_support.go:115
↓ 3 callers
Method
IsGitBuild
IsGitBuild returns true when the Integration requires to be built from a Git repo.
pkg/apis/camel/v1/integration_types_support.go:163
↓ 3 callers
Function
IsRefKindInstalled
IsRefKindInstalled returns true if the cluster has the referenced Kind installed.
pkg/util/knative/enabled.go:30
↓ 3 callers
Method
KafkaV1
()
pkg/client/strimzi/clientset/internalclientset/clientset.go:34
↓ 3 callers
Method
List
List returns the list of items of the Set.
pkg/util/sets/set.go:45
↓ 3 callers
Function
LookupPersistentVolumeClaim
LookupPersistentVolumeClaim will look for any k8s PersistentVolumeClaim with a given name in a given namespace.
pkg/util/kubernetes/lookup.go:97
↓ 3 callers
Function
LookupSecret
LookupSecret will look for any k8s Secret with a given name in a given namespace. Deprecated: won't be supported in future releases.
pkg/util/kubernetes/lookup.go:72
↓ 3 callers
Function
MapToKedaTrigger
(rawURI string)
pkg/trait/keda/mapper.go:42
↓ 3 callers
Method
MarshalBytes
()
pkg/util/maven/maven_settings.go:30
↓ 3 callers
Method
MarshalXML
(e *xml.Encoder, start xml.StartElement)
pkg/apis/camel/v1/maven_types_support.go:61
↓ 3 callers
Method
Matches
(trait Trait)
pkg/trait/camel.go:69
↓ 3 callers
Function
MigrateLegacyConfiguration
MigrateLegacyConfiguration moves up the legacy configuration in a trait to the new top-level properties. Values of the new properties always take prec
pkg/trait/util.go:190
↓ 3 callers
Function
NewCamelCatalogList
NewCamelCatalogList --.
pkg/apis/camel/v1/camelcatalog_types_support.go:57
↓ 3 callers
Function
NewConverter
(defaultPrefix string)
pkg/util/reference/reference.go:68
↓ 3 callers
Function
NewDependency
NewDependency creates an new dependency from the given GAV.
pkg/util/maven/maven_project.go:160
↓ 3 callers
Function
NewFakeEnvironment
(t *testing.T, source v1.SourceSpec)
pkg/trait/knative_test.go:1226
↓ 3 callers
Function
NewForConfig
NewForConfig creates a new Clientset for the given config. If config's RateLimiter is not set and QPS and Burst are acceptable, NewForConfig will gene
pkg/client/strimzi/clientset/internalclientset/clientset.go:61
↓ 3 callers
Function
NewInitTrait
()
pkg/trait/init.go:40
↓ 3 callers
Function
NewKamelet
NewKamelet creates a new Kamelet.
pkg/apis/camel/v1/kamelet_types_support.go:192
↓ 3 callers
Function
NewLogWalker
(logs *[]LogEntry)
e2e/support/util/log_walker.go:38
↓ 3 callers
Function
NewProject
()
pkg/util/maven/maven_project.go:28
↓ 3 callers
Function
NewSpecTraitsOptionsForIntegrationAndPlatform
NewSpecTraitsOptionsForIntegrationAndPlatform will merge traits giving priority to Integration, Profile and Platform respectively. nolint:staticcheck
pkg/trait/util.go:383
↓ 3 callers
Function
NewTraitsOptionsForPipe
(c client.Client, pipe *v1.Pipe)
pkg/trait/util.go:445
↓ 3 callers
Function
OperatorImage
(t *testing.T, ctx context.Context, ns string)
e2e/support/test_support.go:1207
↓ 3 callers
Method
OriginalSources
OriginalSources return a new slice containing only the original sources provided within the Integration. It checks if the spec source was transformed
pkg/apis/camel/v1/integration_types_support.go:113
↓ 3 callers
Function
PipesHaveSameTraits
PipesHaveSameTraits return if traits are the same.
pkg/trait/util.go:271
↓ 3 callers
Function
QuarkusRuntimeSupport
QuarkusRuntimeSupport is used to get the proper native configuration based on the Camel Quarkus version.
pkg/builder/runtime_support.go:61
↓ 3 callers
Function
SanitizeLabel
SanitizeLabel sanitizes the given name to be compatible with k8s.
pkg/util/kubernetes/sanitize.go:44
↓ 3 callers
Method
SetErrorCondition
SetErrorCondition --.
pkg/apis/camel/v1/pipe_types_support.go:104
↓ 3 callers
Function
SetValFrom
SetValFrom --.
pkg/util/envvar/envvar.go:67
↓ 3 callers
Function
StringSliceUniqueConcat
StringSliceUniqueConcat appends all the items of the "items" slice if they are not already present in the slice.
pkg/util/util.go:112
↓ 3 callers
Function
ToJSON
ToJSON marshal to json format.
pkg/util/kubernetes/util.go:27
↓ 3 callers
Function
ToTrait
ToTrait unmarshals a map configuration to a target trait.
pkg/trait/util.go:218
↓ 3 callers
Method
VisitCronJobE
VisitCronJobE executes the visitor function on all CronJob resources.
pkg/util/kubernetes/collection.go:358
↓ 3 callers
Method
VisitDeploymentE
VisitDeploymentE executes the visitor function on all Deployment resources.
pkg/util/kubernetes/collection.go:114
↓ 3 callers
Method
VisitE
VisitE executes the visitor function on all resources breaking if the visitor function returns an error.
pkg/util/kubernetes/collection.go:536
↓ 3 callers
Method
VisitKnativeServiceE
VisitKnativeServiceE executes the visitor function on all Knative serving Service resources.
pkg/util/kubernetes/collection.go:378
↓ 3 callers
Method
VisitMetaObject
VisitMetaObject executes the visitor function on all meta.Object resources.
pkg/util/kubernetes/collection.go:519
↓ 3 callers
Function
WithValues
WithValues --.
pkg/util/log/log.go:196
↓ 3 callers
Method
applyChangesTo
nolint:staticcheck
pkg/trait/pod.go:116
↓ 3 callers
Function
buildJibMavenArgs
buildJibMavenArgs build the jib execution expected parameters.
pkg/builder/jib.go:146
↓ 3 callers
Function
buildMavenProject
(ctx *builderContext)
pkg/builder/quarkus.go:218
↓ 3 callers
Method
checkCompliance
(cmd *cobra.Command, endpoint v1.Endpoint)
pkg/cmd/bind.go:445
↓ 3 callers
Function
cleanRegistryConfig
(registryConfigDir string)
pkg/builder/jib.go:134
↓ 3 callers
Method
collectConfigurationPairs
(configurationType string)
pkg/trait/trait_types.go:484
↓ 3 callers
Method
configureCamelVolumesAndMounts
configureCamelVolumesAndMounts is in charge to mount volumes and mounts coming from Camel configuration (ie, sources, properties, kamelets, etcetera).
pkg/trait/mount.go:246
↓ 3 callers
Method
containsHTTPURIs
(fromURI []string)
pkg/util/source/inspector.go:449
↓ 3 callers
Method
containsMode
(m traitv1.QuarkusMode)
pkg/trait/quarkus.go:486
↓ 3 callers
Method
convertToTraitParameter
(c client.Client, value, traitParameter string)
pkg/cmd/run.go:853
↓ 3 callers
Function
createCronJobTestEnvironment
(t *testing.T)
pkg/trait/default_container_annotation_test.go:275
↓ 3 callers
Function
decodeKey
(target any, key string, settings map[string]any)
pkg/cmd/util.go:117
↓ 3 callers
Function
deleteTestNamespace
(t *testing.T, ctx context.Context, ns ctrl.Object)
e2e/support/test_support.go:2020
↓ 3 callers
Method
determineDefaultContainerPortName
determineDefaultContainerPortName determines the default port name, according the controller strategy used.
pkg/trait/trait_types.go:325
↓ 3 callers
Method
discoverCapabilities
discoverCapabilities returns a list of dependencies required by the given source code.
pkg/util/source/inspector.go:258
↓ 3 callers
Method
discoverDependencies
discoverDependencies returns a list of dependencies required by the given source code.
pkg/util/source/inspector.go:294
↓ 3 callers
Method
discoverKamelets
discoverKamelets inspects endpoints and extract kamelets.
pkg/util/source/inspector.go:351
↓ 3 callers
Function
dumpNamespace
(ctx context.Context, c client.Client, ns string, out io.Writer, logLines int)
pkg/cmd/dump.go:94
↓ 3 callers
Function
envOrDefault
(def string, envs ...string)
pkg/util/defaults/defaults_support.go:51
↓ 3 callers
Function
extractTraitNames
(traitProps []string)
pkg/cmd/run_support.go:171
↓ 3 callers
Function
failIntegrationKit
when this trait fails, we must report the failure into the related IntegrationKit if it affects the success of the Build.
pkg/trait/builder.go:357
↓ 3 callers
Function
fillMissingReferenceDataWith
(serviceTypes []GroupVersionKindResource, ref v1.ObjectReference)
pkg/util/knative/apis.go:200
↓ 3 callers
Function
filterBuildPropertyFiles
(maybePropertyFiles []string)
pkg/cmd/run.go:320
↓ 3 callers
Function
filterTransferableAnnotations
filterTransferableAnnotations returns a map containing annotations that are meaningful for being transferred to child resources.
pkg/trait/util.go:116
↓ 3 callers
Function
float64P
(f float64)
e2e/advanced/operator_metrics_test.go:542
↓ 3 callers
Function
formatErr
(stdout, stderr string)
pkg/util/command.go:87
↓ 3 callers
Function
generateQuarkusProject
(ctx *builderContext)
pkg/builder/quarkus.go:133
↓ 3 callers
Method
getBaseImage
(e *Environment)
pkg/trait/builder.go:522
↓ 3 callers
Function
getDefaultKubeConfigFile
()
pkg/client/client.go:219
← previous
next →
601–700 of 5,125, ranked by callers