MCPcopy Create free account

hub / github.com/apache/camel-k / functions

Functions5,125 in github.com/apache/camel-k

↓ 1 callersMethodcheckTraitAnnotationsDeprecatedNotice
Deprecated: to be removed in future versions, when we won't support any longer trait annotations into IntegrationKits.
pkg/controller/integrationkit/monitor.go:88
↓ 1 callersFunctioncheckedStringToUint64
(str string)
pkg/trait/cron.go:528
↓ 1 callersMethodchooseContainer
(p *corev1.Pod, defaultContainerName string)
pkg/util/kubernetes/log/pod_scraper.go:215
↓ 1 callersMethodclientSideApply
(ctx context.Context, resource ctrl.Object)
pkg/client/apply.go:100
↓ 1 callersFunctionclone
(dst any, src any)
pkg/cmd/util.go:202
↓ 1 callersFunctioncollect
collect calls the function for each metric associated with the Collector
pkg/controller/integration/metrics_test.go:44
↓ 1 callersFunctioncollectConfigurationPairs
(configurationType string, configurable ...v1.Configurable)
pkg/trait/util.go:60
↓ 1 callersMethodcollectKamelets
collectKamelets load a Kamelet specification setting the specific version specification.
pkg/trait/kamelets.go:107
↓ 1 callersFunctioncompareBuilds
(b1 *Build, b2 *Build)
pkg/apis/camel/v1/build_types_support.go:360
↓ 1 callersFunctioncomputeApplicationProperties
(appPropertiesPath string, applicationProperties map[string]string)
pkg/builder/quarkus.go:244
↓ 1 callersMethodcomputeApplicationProperties
computeApplicationProperties is in charge to configure the configmap containing Camel application.properties.
pkg/trait/mount.go:348
↓ 1 callersFunctioncomputeForTrait
(hash hash.Hash, name string, trait map[string]any)
pkg/util/digest/digest.go:185
↓ 1 callersFunctioncomputeForTraits
(hash hash.Hash, traits v1.Traits)
pkg/util/digest/digest.go:171
↓ 1 callersFunctioncomputeQuarkusDependencies
(ctx *builderContext)
pkg/builder/quarkus.go:292
↓ 1 callersMethodcomputeUserProperties
(e *Environment)
pkg/trait/camel.go:303
↓ 1 callersMethodconfigureCaCert
configureCACert configures the CA certificate truststore and returns the JVM arguments.
pkg/trait/jvm.go:398
↓ 1 callersMethodconfigureCapabilities
(e *Environment)
pkg/trait/container.go:339
↓ 1 callersMethodconfigureChannels
(e *Environment, env *knativeapi.CamelEnvironment)
pkg/trait/knative.go:205
↓ 1 callersMethodconfigureContainer
(e *Environment)
pkg/trait/container.go:142
↓ 1 callersMethodconfigureContainers
(containers *[]corev1.Container)
pkg/trait/init_containers.go:172
↓ 1 callersMethodconfigureEndpoints
(e *Environment, env *knativeapi.CamelEnvironment)
pkg/trait/knative.go:274
↓ 1 callersMethodconfigureEvents
(e *Environment, env *knativeapi.CamelEnvironment)
pkg/trait/knative.go:323
↓ 1 callersFunctionconfigureForOpenShiftS2i
nolint:staticcheck
pkg/platform/defaults.go:158
↓ 1 callersMethodconfigureForQuarkus
(trait Trait, e *Environment, condition *TraitCondition)
pkg/trait/builder.go:123
↓ 1 callersMethodconfigureFromOptions
Deprecated: to be removed in future versions.
pkg/trait/trait_configure.go:150
↓ 1 callersMethodconfigureImageIntegrationKit
(e *Environment)
pkg/trait/container.go:126
↓ 1 callersMethodconfigurePorts
(container *corev1.Container)
pkg/trait/container.go:233
↓ 1 callersFunctionconfigureRegistry
nolint:staticcheck
pkg/platform/defaults.go:142
↓ 1 callersMethodconfigureResources
(container *corev1.Container)
pkg/trait/container.go:307
↓ 1 callersMethodconfigureService
(e *Environment, container *corev1.Container, isKnative bool)
pkg/trait/container.go:270
↓ 1 callersMethodconfigureSinkBinding
(e *Environment, env *knativeapi.CamelEnvironment)
pkg/trait/knative.go:401
↓ 1 callersFunctionconfigureTrait
Deprecated: to be removed in future versions.
pkg/trait/trait_configure.go:165
↓ 1 callersMethodconfigureTrait
(id string, trait map[string]any)
pkg/trait/trait_configure.go:86
↓ 1 callersMethodconfigureVolumesAndMounts
configureVolumesAndMounts is in charge to mount volumes and mounts coming from the trait configuration. icnts holds the InitContainers which also requ
pkg/trait/mount.go:149
↓ 1 callersMethodcontainsOnlyURIsIn
(fromURI []string, allowed map[string]bool)
pkg/util/source/inspector.go:426
↓ 1 callersFunctioncontextWithInterrupts
contextWithInterrupts registers for SIGTERM and SIGINT. A context is returned which is canceled on one of these signals. If a second signal is caught,
pkg/cmd/builder/builder.go:118
↓ 1 callersMethodconvert
(m map[any]any)
pkg/cmd/util_config.go:195
↓ 1 callersMethodconvertOptionsToTraits
(cmd *cobra.Command, c client.Client, it *v1.Integration)
pkg/cmd/run.go:776
↓ 1 callersFunctionconvertToKeyToPath
(k, v string)
pkg/trait/trait_types.go:443
↓ 1 callersFunctioncopyDir
(src, dst string)
e2e/support/util/temp_file.go:87
↓ 1 callersFunctioncopyFile
(src, dst string)
pkg/util/io/io.go:54
↓ 1 callersFunctioncreateArchiveFile
(files []string, buf io.Writer)
pkg/util/tar/util_compress.go:43
↓ 1 callersMethodcreateBuild
(ctx context.Context, it *v1.Integration)
pkg/controller/integration/build.go:92
↓ 1 callersMethodcreateBuild
(ctx context.Context, kit *v1.IntegrationKit)
pkg/controller/integrationkit/build.go:102
↓ 1 callersFunctioncreateBuilderRegistryRoleBinding
nolint:staticcheck
pkg/platform/defaults.go:407
↓ 1 callersMethodcreateBuilderRole
createBuilderRole creates the builder role in the ns namespace.
pkg/controller/integration/build.go:266
↓ 1 callersMethodcreateBuilderRoleBinding
createBuilderRole creates the builder role in the ns namespace.
pkg/controller/integration/build.go:308
↓ 1 callersMethodcreateBuilderServiceAccount
createBuilderServiceAccount creates the builder SA in the ns namespace.
pkg/controller/integration/build.go:246
↓ 1 callersFunctioncreateCamelCatalog
()
pkg/cmd/run_support.go:161
↓ 1 callersFunctioncreateContainerPort
createContainerPort creates a new container port for Prometheus endpoint.
pkg/trait/prometheus.go:176
↓ 1 callersFunctioncreateErrorProducerKamelet
(t *testing.T, ctx context.Context, ns string, name string)
e2e/common/misc/pipe_test.go:213
↓ 1 callersFunctioncreateNominalIngressTestWithIngressClassName
(ingressClassName string)
pkg/trait/ingress_test.go:338
↓ 1 callersFunctioncreateOpenshiftPodSettingContextEnvironment
(t *testing.T, profile v1.TraitProfile)
pkg/trait/security_context_test.go:186
↓ 1 callersFunctioncreatePVC
createPVC is in charge to create a PersistentVolumeClaim based on the configuration provided. Or it fail within the intent. volumeParts is expected to
pkg/trait/mount_support.go:103
↓ 1 callersFunctioncreateSecret
(t *testing.T, ctx context.Context, ns string)
e2e/common/traits/route_test.go:244
↓ 1 callersFunctioncreateServiceCaBundleConfigMap
nolint:staticcheck
pkg/platform/defaults.go:387
↓ 1 callersMethodcreateSubscription
(e *Environment, ref *corev1.ObjectReference, path string)
pkg/trait/knative.go:264
↓ 1 callersFunctioncreateSyntheticIntegration
(ctx context.Context, c client.Client, it *v1.Integration)
pkg/controller/synthetic/synthetic.go:165
↓ 1 callersMethodcreateTrigger
(e *Environment, ref *corev1.ObjectReference, eventType string, path string)
pkg/trait/knative.go:487
↓ 1 callersFunctioncronEquivalent
Utility
pkg/trait/cron.go:496
↓ 1 callersFunctiondecodeTrait
(in map[string]any, target Trait)
pkg/trait/trait_configure.go:96
↓ 1 callersFunctiondefaultMavenRepositories
()
pkg/util/maven/maven_repositories.go:40
↓ 1 callersMethoddelegateImagePuller
(e *Environment)
pkg/trait/pull_secret.go:114
↓ 1 callersMethoddelete
(cmd *cobra.Command, name string)
pkg/cmd/kit_delete.go:105
↓ 1 callersMethoddeleteAllIntegrationKits
(c client.Client)
pkg/cmd/reset.go:133
↓ 1 callersMethoddeleteAllIntegrations
(c client.Client)
pkg/cmd/reset.go:114
↓ 1 callersMethoddeleteAllPipes
(c client.Client)
pkg/cmd/reset.go:148
↓ 1 callersMethoddeleteEachOf
deleteEachOf takes care of the effective deletion of each deletableGVKs passed for the given selector. It should be any older generation resource of t
pkg/trait/gc.go:207
↓ 1 callersFunctiondeleteKnativeBroker
(t *testing.T, ctx context.Context, ns metav1.Object)
e2e/support/test_support.go:1986
↓ 1 callersFunctiondeletePipeIfExists
(ctx context.Context, c client.Client, integration *v1.Integration)
pkg/cmd/delete.go:144
↓ 1 callersFunctiondeleteSyntheticIntegration
(ctx context.Context, c client.Client, namespace, name string)
pkg/controller/synthetic/synthetic.go:169
↓ 1 callersFunctiondetermineBestTraitProfile
determineBestTraitProfile tries to detect the best trait profile for the integration. nolint:staticcheck
pkg/controller/integration/platform_setup.go:87
↓ 1 callersMethoddetermineCustomTasks
(e *Environment, builderTask *v1.BuilderTask, tasksConf map[string]*v1.BuildConfiguration)
pkg/trait/builder.go:531
↓ 1 callersFunctiondetermineRuntimeProvider
(e *Environment)
pkg/trait/camel.go:286
↓ 1 callersFunctiondetermineRuntimeVersion
(e *Environment)
pkg/trait/camel.go:269
↓ 1 callersFunctiondetermineTraitProfile
nolint:staticcheck
pkg/controller/pipe/integration.go:266
↓ 1 callersFunctiondiscoverGroupResources
(dc discovery.DiscoveryInterface, gr *restmapper.APIGroupResources)
pkg/client/fastmapper.go:87
↓ 1 callersMethoddisplayClientVersion
(cmd *cobra.Command)
pkg/cmd/version.go:103
↓ 1 callersMethoddisplayOperatorVersion
(cmd *cobra.Command, c client.Client)
pkg/cmd/version.go:114
↓ 1 callersFunctiondoAdd
(addToScheme registerFunction, scheme *runtime.Scheme, err error)
pkg/util/monitoring/register.go:39
↓ 1 callersMethoddownloadKamelet
(ctx context.Context, url string)
pkg/kamelet/repository/github_repository.go:120
↓ 1 callersFunctiondumpConditions
(prefix string, conditions []v1.PodCondition, out io.Writer)
pkg/cmd/dump.go:202
↓ 1 callersFunctiondumpLogs
(ctx context.Context, c client.Client, prefix string, ns string, name string, container string, out io.Writer,
pkg/cmd/dump.go:208
↓ 1 callersMethodenableDebug
(e *Environment)
pkg/trait/jvm.go:263
↓ 1 callersFunctionencodeXML
(content any, xmlHeader string)
pkg/util/util.go:164
↓ 1 callersFunctionenvOrDefault
(def string, envs ...string)
e2e/install/olm/olm_install_test.go:108
↓ 1 callersFunctionescapeASCIIDoc
escapeAsciiDoc is in charge to escape those chars used for formatting purposes.
cmd/util/doc-gen/generators/traitdocgen.go:318
↓ 1 callersFunctionexecuteMavenPackageCommand
executeMavenPackageCommand is in charge to execute the maven command.
pkg/builder/common.go:57
↓ 1 callersMethodexecutedTraitCondition
(executedTrait []Trait)
pkg/trait/trait_catalog.go:142
↓ 1 callersFunctionexpandModelineEnvVarOptions
(ops []modeline.Option)
pkg/cmd/modeline.go:268
↓ 1 callersMethodexpandReference
(ref *corev1.ObjectReference)
pkg/util/reference/reference.go:124
↓ 1 callersFunctionexpectedNominalRoute
()
pkg/controller/pipe/integration_test.go:248
↓ 1 callersMethodextract
(source v1.SourceSpec, meta *Metadata, from, to, kameletEips []string, hasRest bool)
pkg/util/source/inspector.go:230
↓ 1 callersFunctionextractAsArray
extractAsArray can detect if the value is an array representation as ["prop1=1", "prop2=2"] and return an array with the values or with the single val
pkg/trait/util.go:361
↓ 1 callersFunctionextractExistingClasspathItems
extractExistingClasspathItems returns any container classpath option (if exists).
pkg/trait/jvm.go:312
↓ 1 callersFunctionextractModelineOptions
(ctx context.Context, sources []string, cmd *cobra.Command)
pkg/cmd/modeline.go:195
↓ 1 callersFunctionextractModelineOptionsFromSource
(resolvedSource source.Source)
pkg/cmd/modeline.go:220
↓ 1 callersFunctionextractPortNumber
(port intstr.IntOrString, container *corev1.Container)
pkg/controller/integration/health.go:73
↓ 1 callersFunctionextractPorts
(ports []corev1.ServicePort)
pkg/trait/gateway.go:197
↓ 1 callersMethodfeedContainer
nolint:nestif
pkg/trait/jvm.go:189
← previousnext →1,701–1,800 of 5,125, ranked by callers