MCPcopy Create free account

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

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

↓ 2 callersMethodSetConditions
SetConditions updates the resource to include the provided conditions. If a condition that we are about to add already exists and has the same status
pkg/apis/camel/v1/kamelet_types_support.go:107
↓ 2 callersMethodSetConditions
SetConditions updates the resource to include the provided conditions. If a condition that we are about to add already exists and has the same status
pkg/apis/camel/v1/build_types_support.go:179
↓ 2 callersMethodSetConditions
SetConditions updates the resource to include the provided conditions. If a condition that we are about to add already exists and has the same status
pkg/apis/camel/v1/integrationkit_types_support.go:169
↓ 2 callersMethodSetConditions
SetConditions updates the resource to include the provided conditions. If a condition that we are about to add already exists and has the same status
pkg/apis/camel/v1/integration_types_support.go:418
↓ 2 callersMethodSetConditions
SetConditions updates the resource to include the provided conditions. If a condition that we are about to add already exists and has the same status
pkg/apis/camel/v1/camelcatalog_types_support.go:156
↓ 2 callersMethodSetConditions
SetConditions updates the resource to include the provided conditions. If a condition that we are about to add already exists and has the same status
pkg/apis/camel/v1/integrationplatform_types_support.go:147
↓ 2 callersMethodSetDeployingPhase
SetDeployingPhase set the proper deploy phase and the related timestamps.
pkg/apis/camel/v1/integration_types_support.go:378
↓ 2 callersMethodSetOperatorID
SetOperatorID sets the given operator id as an annotation.
pkg/apis/camel/v1/integrationkit_types_support.go:69
↓ 2 callersMethodSetSinkBinding
SetSinkBinding marks one of the service as SinkBinding.
pkg/internal/knative/types_support.go:45
↓ 2 callersMethodSetTraits
SetTraits add the Trait specification to the Pipe.
pkg/apis/camel/v1/pipe_types_support.go:75
↓ 2 callersFunctionStringSliceContains
(slice []string, items []string)
pkg/util/util.go:70
↓ 2 callersFunctionStructuredLogs
(t *testing.T, ctx context.Context, ns, podName string, options *corev1.PodLogOptions, ignoreParseErrors bool)
e2e/support/test_support.go:411
↓ 2 callersFunctionTailedLogs
TailedLogs Retrieve the Logs from the Pod defined by its name in the given namespace ns. The number of lines numLines from the end of the logs to show
e2e/support/test_support.go:379
↓ 2 callersFunctionTemplateResource
TemplateResource loads a file resource as go template and processes it using the given parameters.
pkg/resources/resources_support.go:66
↓ 2 callersFunctionTemplateToYamlDSL
TemplateToYamlDSL converts a kamelet template into its Camel YAML DSL equivalent.
pkg/util/dsl/template.go:30
↓ 2 callersFunctionTestContext
()
e2e/support/test_support.go:118
↓ 2 callersMethodTraitsForProfile
TraitsForProfile returns all traits associated with a given profile. Traits may depend on the result of previously executed ones, so care must be tak
pkg/trait/trait_catalog.go:84
↓ 2 callersFunctionUncompress
Uncompress --.
pkg/util/gzip/compress.go:58
↓ 2 callersFunctionUncompressBase64
UncompressBase64 --.
pkg/util/gzip/compress.go:83
↓ 2 callersMethodUnmarshalJSON
UnmarshalJSON sets *m to a copy of data.
pkg/apis/camel/v1/trait/support.go:35
↓ 2 callersMethodUpdateScale
(ctx context.Context, pipeName string, scale *autoscalingv1.Scale, opts metav1.UpdateOptions)
pkg/client/camel/clientset/versioned/typed/camel/v1/pipe.go:57
↓ 2 callersFunctionValidKameletName
(name string)
pkg/apis/camel/v1/kamelet_types_support.go:187
↓ 2 callersFunctionValidateDependencyE
ValidateDependencyE validates a dependency against Camel catalog and throws error in case it does not exist in the catalog.
pkg/util/camel/camel_dependencies.go:74
↓ 2 callersFunctionValidateLabelsAndAnnotations
(t *testing.T, res metav1.Object)
pkg/trait/owner_test.go:92
↓ 2 callersFunctionValidateTrait
(catalog *Catalog, trait string)
pkg/trait/trait_support.go:33
↓ 2 callersFunctionValidateTraits
(catalog *Catalog, traits []string)
pkg/trait/trait_support.go:42
↓ 2 callersMethodVisitSchemes
VisitSchemes --.
pkg/util/camel/camel_runtime_catalog.go:178
↓ 2 callersFunctionWithFile
WithFile a safe wrapper to process a file.
pkg/util/util.go:404
↓ 2 callersFunctionWithFileContent
WithFileContent a safe wrapper to process a file content.
pkg/util/util.go:426
↓ 2 callersMethodaddDependencies
(uri string, meta *Metadata, consumer bool)
pkg/util/source/inspector.go:360
↓ 2 callersMethodapplyProperties
(c client.Client, items []string, traitName string)
pkg/cmd/run.go:832
↓ 2 callersFunctionartifactIDs
(artifacts []v1.Artifact)
pkg/builder/util.go:24
↓ 2 callersFunctionasEndpointProperties
(props map[string]string)
pkg/controller/pipe/initialize_test.go:475
↓ 2 callersMethodasEndpointProperties
(props map[string]string)
pkg/cmd/bind.go:396
↓ 2 callersFunctionbootstrapPortForward
(ctx context.Context, c client.Client, ns string, labelSelector string, setupPortForward func(pod *corev1.Pod)
pkg/util/kubernetes/portforward.go:124
↓ 2 callersFunctionbuildStrategy
()
pkg/platform/env_platform.go:119
↓ 2 callersFunctioncaSecrets
caSecrets expects a csv like my-secret-1@key-a,mysecret2@key2.
pkg/platform/env_platform.go:363
↓ 2 callersFunctioncalculateNamespaces
(kamelets []string)
pkg/trait/kamelets.go:242
↓ 2 callersMethodcheckDigestAndRebuild
(ctx context.Context, integration *v1.Integration, kit *v1.IntegrationKit)
pkg/controller/integration/monitor.go:273
↓ 2 callersFunctioncloneAndReplaceNamespace
cloneAndReplaceNamespace clones and replace the content marked as %%% with the namespace passed as parameter.
e2e/common/misc/pipe_cross_ns_test.go:68
↓ 2 callersFunctioncloneAndReplaceNamespace
cloneAndReplaceNamespace clones and replace the content marked as %%% with the namespace passed as parameter.
e2e/common/traits/kamelet_test.go:139
↓ 2 callersFunctioncloneAnnotations
Return all annotations overriding the operator Id if provided.
pkg/util/gitops/gitops.go:119
↓ 2 callersFunctioncloneLabels
Return all labels. The method is a reference if in the future we need to apply any filtering.
pkg/util/gitops/gitops.go:145
↓ 2 callersFunctioncomputeForTraitProps
(hash hash.Hash, props map[string]any)
pkg/util/digest/digest.go:208
↓ 2 callersMethodconfigureTraitsFromAnnotations
Deprecated: to be removed in future versions.
pkg/trait/trait_configure.go:111
↓ 2 callersMethodconsumeSourcesMeta
consumeSourcesMeta is used to consume both sources and metadata information coming from Integration sources. If no sources available would return fals
pkg/trait/trait_types.go:572
↓ 2 callersFunctionconvertToTrait
(value, traitParameter string)
pkg/cmd/run.go:828
↓ 2 callersFunctioncreateCronJobTestEnvironmentWithAnnotations
(t *testing.T, annotations map[string]string)
pkg/trait/default_container_annotation_test.go:280
↓ 2 callersFunctioncreateDefaultLoggingTestEnv
(t *testing.T)
pkg/trait/logging_test.go:87
↓ 2 callersFunctioncreateEnvironmentMissingEventingCRDs
()
pkg/trait/knative_test.go:1589
↓ 2 callersFunctioncreateKamelWithModelineCommand
(ctx context.Context, args []string)
pkg/cmd/modeline.go:93
↓ 2 callersFunctioncreateLoggingTestEnv
(t *testing.T, color bool, json bool, jsonPrettyPrint bool, logLevel string, logFormat string)
pkg/trait/logging_test.go:39
↓ 2 callersFunctioncreateNominalGatewayTest
()
pkg/trait/gateway_test.go:116
↓ 2 callersFunctioncreateNominalMissingDeploymentTraitTest
()
pkg/trait/trait_support_test.go:62
↓ 2 callersFunctioncreateNonManagedBuildTestEnvironment
(t *testing.T, profile v1.TraitProfile)
pkg/trait/trait_types_test.go:210
↓ 2 callersFunctioncreateOrAppendAll
createOrAppendAll create or append this integration into an "all" directory. Useful for those CICD which wants to include all Integrations at once.
pkg/util/gitops/gitops.go:290
↓ 2 callersMethodcreateOrUpdateIntegration
(cmd *cobra.Command, c client.Client, sources []string)
pkg/cmd/run.go:535
↓ 2 callersFunctioncreatePodTest
nolint: unparam
pkg/trait/pod_test.go:116
↓ 2 callersFunctioncreateTestEnvironment
(t *testing.T, profile v1.TraitProfile)
pkg/trait/trait_types_test.go:151
↓ 2 callersFunctiondeletePipeOrIntegration
(ctx context.Context, cmd *cobra.Command, c client.Client, integration *v1.Integration)
pkg/cmd/delete.go:129
↓ 2 callersFunctiondetermineProfiles
(traitID string)
cmd/util/doc-gen/generators/traitdocgen.go:379
↓ 2 callersFunctiondirExists
(path string)
pkg/util/gitops/gitops.go:338
↓ 2 callersMethoddoScrape
(ctx context.Context, out *bufio.Writer, clientCloser func() error)
pkg/util/kubernetes/log/pod_scraper.go:84
↓ 2 callersFunctiondownloadGithubKamelet
(ctx context.Context, url string, httpClient *http.Client)
pkg/kamelet/repository/github_repository.go:124
↓ 2 callersFunctiondownloadKameletDependency
nolint:staticcheck
pkg/controller/integrationplatform/kamelets.go:92
↓ 2 callersFunctiondumpConditions
(prefix string, conditions []corev1.PodCondition, t *testing.T)
e2e/support/util/dump.go:390
↓ 2 callersFunctiondumpLogs
(ctx context.Context, c client.Client, prefix string, ns string, name string, container string, t *testing.T)
e2e/support/util/dump.go:396
↓ 2 callersFunctionenqueueRequestsFromConfigFunc
(ctx context.Context, c client.Client, res ctrl.Object)
pkg/controller/integration/integration_controller.go:187
↓ 2 callersFunctionenvVarHasValue
envVarHasValue --.
pkg/trait/knative_service_test.go:182
↓ 2 callersFunctionexitOnError
(err error)
cmd/kamel/main.go:46
↓ 2 callersFunctionexpectedNominalRouteWithDataType
(name string)
pkg/controller/pipe/integration_test.go:258
↓ 2 callersFunctionextractKameletsFromDependency
(ctx context.Context, version, kameletsDir string)
pkg/controller/integrationplatform/kamelets.go:158
↓ 2 callersFunctionfilterObjects
(scheme *runtime.Scheme, input []runtime.Object, filter func(gvk schema.GroupVersionKind) bool)
pkg/internal/client.go:135
↓ 2 callersFunctionfindAny
findAny returns the currently installed platform or any platform existing in local or operator namespace. nolint:staticcheck
pkg/platform/platform.go:128
↓ 2 callersFunctionfromCamelProperties
fromCamelProperties deserialize from properties to environment.
pkg/trait/knative_test.go:1490
↓ 2 callersFunctionfromMapToProperties
Deprecated: func supporting other deprecated funcs.
pkg/cmd/run_support.go:116
↓ 2 callersFunctiongenerateMavenContext
Create a .mvn/maven.config file containing all arguments for any follow up maven command.
pkg/util/maven/maven_command.go:325
↓ 2 callersFunctiongenerateMavenProject
(runtimeVersion string)
pkg/util/camel/catalog.go:165
↓ 2 callersFunctiongenerateProjectPom
generateProjectPom is in charge to generate the pom.xml of an "in-memory" Project type.
pkg/util/maven/maven_command.go:227
↓ 2 callersFunctiongenerateQuarkusProjectCommon
(runtimeProvider v1.RuntimeProvider, runtimeVersion string, quarkusPlatformVersion string)
pkg/builder/quarkus.go:147
↓ 2 callersFunctionget
get returns the given platform in the given namespace or the global one. nolint:staticcheck
pkg/platform/platform.go:113
↓ 2 callersMethodgetAllow
()
pkg/trait/istio.go:92
↓ 2 callersMethodgetBaseTruststore
getBaseTruststore returns the base truststore configuration if set.
pkg/trait/jvm_cacert.go:76
↓ 2 callersMethodgetBootstrapServers
(ctx BindingContext, clusterName, namespace string)
pkg/util/bindings/strimzi.go:184
↓ 2 callersFunctiongetBranchNameFromDir
getBranchNameFromDir returns the branch name of a given directory.
pkg/trait/gitops_test.go:163
↓ 2 callersMethodgetCACertMountPath
()
pkg/trait/jvm_cacert.go:43
↓ 2 callersFunctiongetClasspath
getClasspath merges the classpath required by the kit with any value provided in the trait.
pkg/util/gitops/gitops.go:89
↓ 2 callersMethodgetContainerName
()
pkg/trait/container.go:420
↓ 2 callersFunctiongetCronForURIs
(camelURIs []string)
pkg/trait/cron.go:397
↓ 2 callersMethodgetDeletableTypes
getDeletableTypes returns the list of deletable types resources, inspecting the rules for which the operator SA is allowed in the Integration namespac
pkg/trait/gc.go:260
↓ 2 callersMethodgetDependencyIDs
(schemeID string, scope func(CamelScheme) CamelSchemeScope)
pkg/apis/camel/v1/camelcatalog_types_support.go:259
↓ 2 callersMethodgetGlobalCron
(e *Environment)
pkg/trait/cron.go:345
↓ 2 callersFunctiongetImageName
(e *Environment)
pkg/trait/builder.go:506
↓ 2 callersFunctiongetIntegrationKit
getIntegrationKit retrieves the kit set on the integration.
pkg/trait/util.go:52
↓ 2 callersFunctiongetIntegrations
(ctx context.Context, c client.Client, names []string, namespace string)
pkg/cmd/util.go:255
↓ 2 callersMethodgetIntegrationsDirectory
Return the trait Integrations directory parameter or a default value.
pkg/trait/gitops.go:289
↓ 2 callersFunctiongetKameletKey
getKameletKey remove any params from the kamelet, eg my-kamelet/abc?param1=1 will return the uri path filtered (my-kamelet).
pkg/trait/kamelets.go:384
↓ 2 callersFunctiongetKameletNamespace
(item string)
pkg/trait/kamelets.go:401
↓ 2 callersFunctiongetKameletParam
(uri, param string)
pkg/trait/kamelets.go:405
↓ 2 callersFunctiongetKameletParam
getKameletParam parses the URI and return the query parameter or an empty value if not found.
pkg/util/source/kamelet.go:49
← previousnext →901–1,000 of 5,125, ranked by callers