MCPcopy Create free account

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

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

↓ 4 callersFunctionLoadCatalog
LoadCatalog --.
pkg/util/camel/camel_runtime.go:97
↓ 4 callersFunctionLogs
(t *testing.T, ctx context.Context, ns, podName string, options corev1.PodLogOptions)
e2e/support/test_support.go:389
↓ 4 callersFunctionMake
(t *testing.T, rule string, args ...string)
e2e/support/test_support.go:261
↓ 4 callersMethodMerge
Merge merges the given Traits into the receiver.
pkg/apis/camel/v1/common_types_support.go:59
↓ 4 callersMethodName
()
pkg/controller/integration/build_kit.go:38
↓ 4 callersMethodName
()
pkg/controller/integration/build.go:49
↓ 4 callersMethodName
Name returns a common name of the action.
pkg/controller/integration/initialize.go:42
↓ 4 callersFunctionNew
New creates a KameletRepository for the given namespaces.
pkg/kamelet/repository/repository.go:57
↓ 4 callersFunctionNew
(c client.Client)
pkg/builder/types.go:43
↓ 4 callersFunctionNewIstioTestEnv
(t *testing.T, d *appsv1.Deployment, s *serving.Service, enabled bool)
pkg/trait/istio_test.go:40
↓ 4 callersFunctionNewMasterTrait
NewMasterTrait --.
pkg/trait/master.go:46
↓ 4 callersFunctionNewProjectWithGAV
(group string, artifact string, version string)
pkg/util/maven/maven_project.go:38
↓ 4 callersFunctionNewSimpleClientset
NewSimpleClientset returns a clientset that will respond with the provided objects. It's backed by a very simple object tracker that processes creates
pkg/client/strimzi/clientset/internalclientset/fake/clientset_generated.go:42
↓ 4 callersFunctionNewSpecTraitsOptionsForIntegration
(c client.Client, i *v1.Integration)
pkg/trait/util.go:413
↓ 4 callersFunctionNewSpecTraitsOptionsForIntegrationKit
(c client.Client, i *v1.IntegrationKit)
pkg/trait/util.go:441
↓ 4 callersFunctionNewTelemetryTrait
NewTelemetryTrait instance the telemetry trait as a BaseTrait capable to inject quarkus properties.
pkg/trait/telemetry.go:65
↓ 4 callersFunctionNewTolerations
NewTolerations build an array of Tolerations from an array of string.
pkg/util/kubernetes/factory.go:44
↓ 4 callersFunctionNoErrorAndNotContains
(t *testing.T, path string, contains string, callable func(path string) ([]string, error))
pkg/resources/resources_test.go:56
↓ 4 callersFunctionNormalizeToURI
NormalizeToURI produces a Knative uri of the given service type if the argument is a plain string.
pkg/util/knative/uri.go:53
↓ 4 callersFunctionOpen
Open a safe wrapper of os.Open.
pkg/util/util.go:378
↓ 4 callersMethodOrder
nolint:staticcheck Order is the order in which the trait should be executed in the normal flow
pkg/trait/trait_types.go:98
↓ 4 callersMethodOrder
Order returns the relative order of execution of the binding provider
pkg/util/bindings/api.go:56
↓ 4 callersFunctionParse
(name, content string)
pkg/util/modeline/parser.go:36
↓ 4 callersFunctionRandomString
(n int)
pkg/util/util.go:142
↓ 4 callersFunctionRefreshClient
(t *testing.T)
e2e/support/test_support.go:135
↓ 4 callersFunctionResolve
Resolve resolves sources from a variety of locations including local and remote.
pkg/cmd/source/source.go:122
↓ 4 callersMethodSetBuildCompletePhase
SetBuildCompletePhase set the proper building phase and the related timestamps.
pkg/apis/camel/v1/integration_types_support.go:371
↓ 4 callersMethodSetOperatorID
SetOperatorID sets the given operator id as an annotation.
pkg/apis/camel/v1/integrationprofile_types_support.go:40
↓ 4 callersMethodStart
(stopCh <-chan struct{})
pkg/client/camel/informers/externalversions/internalinterfaces/factory_interfaces.go:36
↓ 4 callersFunctionSubstringBefore
(s string, substr string)
pkg/util/util.go:123
↓ 4 callersMethodTaskByName
TaskByName return the task identified by the name parameter.
pkg/builder/tasks.go:116
↓ 4 callersFunctionToDependency
ToDependency converts a jitpack dependency into Dependency struct.
pkg/util/jitpack/jitpack.go:34
↓ 4 callersFunctionToYamlDSL
ToYamlDSL converts a flow into its Camel YAML DSL equivalent.
pkg/apis/camel/v1/integration_types_support.go:531
↓ 4 callersMethodTranslate
(ctx BindingContext, _ EndpointContext, endpoint camelv1.Endpoint)
pkg/util/bindings/strimzi.go:52
↓ 4 callersFunctionUpdatePlainTextConfigmapWithLabels
(t *testing.T, ctx context.Context, ns string, name string, data map[string]string, labels map[string]string)
e2e/support/test_support.go:1353
↓ 4 callersMethodVisitConfigMap
VisitConfigMap executes the visitor function on all ConfigMap resources.
pkg/util/kubernetes/collection.go:173
↓ 4 callersMethodVisitKnativeConfigurationSpec
VisitKnativeConfigurationSpec executes the visitor function on all knative ConfigurationSpec inside serving Services.
pkg/util/kubernetes/collection.go:512
↓ 4 callersMethodVisitKnativeService
VisitKnativeService executes the visitor function on all Knative serving Service resources.
pkg/util/kubernetes/collection.go:369
↓ 4 callersMethodVisitKnativeTrigger
VisitKnativeTrigger executes the visitor function on all Knative eventing Trigger resources.
pkg/util/kubernetes/collection.go:389
↓ 4 callersFunctionWithName
*********************************** Helpers *********************************** WithName --.
pkg/util/log/log.go:191
↓ 4 callersMethodWithTimeout
WithTimeout sets the Timeout field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chain
pkg/client/camel/applyconfiguration/camel/v1/buildspec.go:105
↓ 4 callersFunctionassertTraitConfiguration
(t *testing.T, trait interface{}, expected interface{})
pkg/cmd/run_test.go:445
↓ 4 callersFunctionbuckets
(value float64, upperBounds []float64)
e2e/advanced/operator_metrics_test.go:516
↓ 4 callersFunctioncanBeDeleted
canBeDeleted is an important security check. We make sure that we are only deleting those resources belonging to the given Integration.
pkg/trait/gc.go:248
↓ 4 callersFunctioncancelAndWait
(cancel context.CancelFunc)
e2e/advanced/debug_test.go:114
↓ 4 callersFunctionconfigureBinding
(integration *v1.Integration, bindings ...*bindings.Binding)
pkg/controller/pipe/integration.go:243
↓ 4 callersMethodconfigureTraits
(traits any)
pkg/trait/trait_configure.go:71
↓ 4 callersFunctioncreateNominalDeployerTest
()
pkg/trait/deployer_test.go:68
↓ 4 callersFunctioncreatePodSettingContextEnvironment
(t *testing.T, profile v1.TraitProfile)
pkg/trait/security_context_test.go:150
↓ 4 callersFunctioncreateTelemetryEnvironment
(t *testing.T, catalogGen func() (*camel.RuntimeCatalog, error))
pkg/trait/telemetry_test.go:121
↓ 4 callersFunctioncreateTestContext
(uris ...string)
pkg/kamelet/repository/repository_test.go:177
↓ 4 callersFunctiondurationFromEnv
(key string, defaultDuration time.Duration)
e2e/support/gomega_support.go:47
↓ 4 callersFunctionexitOnError
(err error, msg string)
pkg/cmd/builder/builder.go:100
↓ 4 callersFunctionextractAndDeleteTraits
extractAndDeleteTraits will extract the annotation traits into v1.Traits struct, removing from the value from the input map.
pkg/controller/pipe/integration.go:239
↓ 4 callersMethodextractProperties
The function parse the value and if it is a file (file:/path/), it will parse as property file otherwise return a single property built from the item
pkg/cmd/run.go:962
↓ 4 callersFunctionfilterOutTagsAndComments
(comments []string)
cmd/util/doc-gen/generators/traitdocgen.go:304
↓ 4 callersFunctionfindIntegrationProfile
findIntegrationProfile finds profile from given resource annotations and resolves the profile in given resource namespace or operator namespace as a f
pkg/platform/profile.go:41
↓ 4 callersFunctionfindLocal
findLocal returns the currently installed platform or any platform existing in local namespace. nolint:staticcheck
pkg/platform/platform.go:143
↓ 4 callersFunctionfindVVolumeMount
(vols []corev1.VolumeMount, condition func(corev1.VolumeMount) bool)
pkg/trait/trait_test.go:192
↓ 4 callersFunctionfindVolume
(vols []corev1.Volume, condition func(corev1.Volume) bool)
pkg/trait/trait_test.go:181
↓ 4 callersFunctiongenerateSelfSignedCert
Helper to generate a self-signed certificate for testing
e2e/common/traits/jvm_test.go:222
↓ 4 callersFunctiongetContainer
(containers []corev1.Container, name string)
pkg/trait/pod_test.go:203
↓ 4 callersFunctiongetDependency
(artifact v1.CamelArtifact, runtimeProvider v1.RuntimeProvider)
pkg/util/camel/camel_util.go:107
↓ 4 callersFunctiongetEnvironmentAndDeployment
(t *testing.T)
pkg/trait/pull_secret_test.go:99
↓ 4 callersFunctiongetKameletVersion
(item string)
pkg/trait/kamelets.go:397
↓ 4 callersFunctiongetPackageTask
(tasks []v1.Task)
pkg/trait/util.go:241
↓ 4 callersMethodgetTrustStorePath
()
pkg/trait/jvm_cacert.go:51
↓ 4 callersMethodifServiceMissingDo
( e *Environment, env *knativeapi.CamelEnvironment, serviceURIs []string, serviceType knativeapi.CamelServ
pkg/trait/knative.go:538
↓ 4 callersFunctionimagePlatforms
()
pkg/platform/env_platform.go:247
↓ 4 callersFunctioninitializeOperatorCmdOptions
(t *testing.T)
pkg/cmd/operator_test.go:31
↓ 4 callersFunctioninitializeVersionCmdOptions
(t *testing.T, initObjs ...runtime.Object)
pkg/cmd/version_test.go:35
↓ 4 callersMethodisEmbedded
Indicates whether the given source code is embedded into the final binary.
pkg/trait/quarkus.go:474
↓ 4 callersMethodisNativeIntegration
(e *Environment)
pkg/trait/quarkus.go:467
↓ 4 callersFunctionliteral
literal compiles s into a literal regular expression, escaping any regexp reserved characters.
e2e/support/regexp.go:73
↓ 4 callersFunctionlookupKitsForIntegration
(ctx context.Context, c client.Client, integration *v1.Integration, options ...ctrl.ListOption)
pkg/controller/integration/kits.go:38
↓ 4 callersFunctionmetricTypeP
(t prometheus.MetricType)
e2e/advanced/operator_metrics_test.go:534
↓ 4 callersFunctionnewContext
newContext returns an empty cancelable Context.
pkg/builder/builder_support_test.go:30
↓ 4 callersFunctionnewKameletBundle
()
pkg/trait/kamelets_support.go:37
↓ 4 callersFunctionnewPullSecretTrait
()
pkg/trait/pull_secret.go:44
↓ 4 callersFunctionnewTestProbesEnv
(t *testing.T, integration *v1.Integration)
pkg/trait/container_probes_test.go:37
↓ 4 callersFunctionnewTraitsOptions
newTraitsOptions will merge the traits annotations with the traits spec using the same format.
pkg/trait/util.go:307
↓ 4 callersFunctionparseLog
(line string)
pkg/util/maven/maven_log.go:55
↓ 4 callersFunctionpathToRoot
(cmd *cobra.Command)
pkg/cmd/util.go:104
↓ 4 callersFunctionportIsInUse
(host string, port string)
e2e/advanced/debug_test.go:101
↓ 4 callersFunctionprocessTestEnv
(t *testing.T, env *Environment)
pkg/trait/trait_test.go:203
↓ 4 callersMethodpushGitOpsItInGitRepo
pushGitOpsItInGitRepo is in charge to clone the repo, do the kustomize overlays and push the changes to a new branch.
pkg/trait/gitops.go:108
↓ 4 callersMethodreadContentIfExists
(e *Environment, secretName string)
pkg/trait/route.go:213
↓ 4 callersFunctionscan
(stdOut io.ReadCloser, stdOutF func(string) string)
pkg/util/command.go:74
↓ 4 callersFunctionsplit
(doc []string, startMarker, endMarker string)
cmd/util/doc-gen/generators/traitdocgen.go:322
↓ 4 callersFunctiontasksByName
(tasks []v1.Task)
pkg/trait/builder_test.go:563
↓ 4 callersMethodtoConfigmaps
Split the contents of the Kamelets into one ore more configmap, making sure not to overpass the 1 MB limit.
pkg/trait/kamelets_support.go:48
↓ 4 callersFunctionuint64P
(i uint64)
e2e/advanced/operator_metrics_test.go:538
↓ 4 callersFunctionupsertRepository
(repository v1.Repository, repositories *[]v1.Repository)
pkg/util/maven/maven_repositories.go:81
↓ 3 callersMethodAddProfile
(profile Profile)
pkg/util/maven/maven_project.go:155
↓ 3 callersMethodAddRequiredCapability
AddRequiredCapability -- .
pkg/util/source/types.go:56
↓ 3 callersMethodAddSystemProperty
(name string, value string)
pkg/util/maven/maven_command.go:222
↓ 3 callersMethodApply
(e *Environment)
pkg/trait/git.go:47
↓ 3 callersMethodApply
(e *Environment)
pkg/trait/init_containers.go:141
↓ 3 callersMethodAsYamlDSL
AsYamlDSL construct proper Camel Yaml DSL from given binding.
pkg/util/bindings/api_support.go:23
↓ 3 callersMethodAuthorizationV1
()
pkg/internal/client.go:217
← previousnext →501–600 of 5,125, ranked by callers