MCPcopy Create free account

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

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

↓ 20 callersMethodGetScheme
()
pkg/client/client.go:64
↓ 20 callersMethodhasCACerts
hasCACerts returns true if any CA certificates are configured.
pkg/trait/jvm_cacert.go:38
↓ 20 callersFunctioninitializeRunCmdOptionsWithOutput
(t *testing.T)
pkg/cmd/run_test.go:66
↓ 19 callersFunctionComputeForIntegration
ComputeForIntegration 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:48
↓ 19 callersMethodDebugf
Debugf --.
pkg/util/log/log.go:54
↓ 19 callersMethodDo
(ctx context.Context)
pkg/builder/types.go:61
↓ 19 callersFunctionGet
Get --.
pkg/util/envvar/envvar.go:26
↓ 19 callersFunctionInstallOperatorWithConf
InstallOperatorWithConf is in charge to install a namespaced operator with additional configurations.
e2e/support/test_util.go:75
↓ 19 callersFunctionIntegrationPods
(t *testing.T, ctx context.Context, ns string, name string)
e2e/support/test_support.go:503
↓ 19 callersFunctionNewBasePlatformTrait
(id string, order int)
pkg/trait/trait_types.go:133
↓ 19 callersMethodPatch
(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...
pkg/client/camel/clientset/versioned/typed/camel/v1/pipe.go:52
↓ 19 callersMethodRESTClient
()
pkg/client/camel/clientset/versioned/typed/camel/v1/camel_client.go:31
↓ 19 callersFunctionReadFile
ReadFile a safe wrapper of os.ReadFile.
pkg/util/util.go:389
↓ 19 callersFunctioncreateNominalDeploymentTest
()
pkg/trait/deployment_test.go:253
↓ 19 callersFunctionfilter
(tasks []v1.Task, filterTasks []string)
pkg/trait/builder.go:689
↓ 18 callersFunctionCreatePlainTextConfigmap
(t *testing.T, ctx context.Context, ns string, name string, data map[string]string)
e2e/support/test_support.go:1294
↓ 18 callersMethodGetConfig
()
pkg/client/client.go:65
↓ 18 callersFunctionNewIntegration
(namespace string, name string)
pkg/apis/camel/v1/integration_types_support.go:51
↓ 18 callersFunctionNewKamelWithModelineCommand
NewKamelWithModelineCommand ---.
pkg/cmd/modeline.go:72
↓ 18 callersFunctionRoute
(t *testing.T, ctx context.Context, ns string, name string)
e2e/support/test_support.go:724
↓ 18 callersFunctionToYAMLNoManagedFields
ToYAMLNoManagedFields marshal to yaml format but without metadata.managedFields.
pkg/util/kubernetes/util.go:42
↓ 18 callersFunctionWithTempDir
WithTempDir a safe wrapper to deal with temporary directories.
pkg/util/util.go:462
↓ 18 callersFunctioncmdOnly
(cmd *cobra.Command, options any)
pkg/cmd/util.go:194
↓ 18 callersFunctiontemplateOrFail
(template map[string]interface{})
pkg/trait/kamelets_test.go:609
↓ 17 callersFunctionCreateIntegrationFor
CreateIntegrationFor creates and Integration from a Pipe.
pkg/controller/pipe/integration.go:48
↓ 17 callersMethodGetKnativeService
GetKnativeService returns a Knative Service that matches the given function.
pkg/util/kubernetes/collection.go:280
↓ 17 callersMethodSetReadyCondition
SetReadyCondition sets Ready condition with the given status, reason, and message.
pkg/apis/camel/v1/integration_types_support.go:356
↓ 17 callersFunctionSetVal
SetVal --.
pkg/util/envvar/envvar.go:37
↓ 17 callersMethodStorageType
StorageType is the type of storage used for the configuration.
pkg/util/resource/config.go:41
↓ 17 callersFunctionWriteFileWithContent
WriteFileWithContent a safe wrapper to write content to a file.
pkg/util/util.go:438
↓ 17 callersFunctiondecode
(target any, v *viper.Viper)
pkg/cmd/util.go:157
↓ 17 callersFunctionnewTestYAMLInspector
(t *testing.T)
pkg/util/source/inspector_yaml_test.go:31
↓ 16 callersMethodHasMatchingBuild
HasMatchingBuild visit all items in the list of builds and search for a scheduled build that matches the given build's dependencies. It returns the fi
pkg/apis/camel/v1/build_types_support.go:277
↓ 16 callersMethodID
()
pkg/trait/trait_types.go:64
↓ 16 callersMethodKey
Key is the key specified for the resource.
pkg/util/resource/config.go:56
↓ 15 callersFunctionBuild
(t *testing.T, ctx context.Context, ns, name string)
e2e/support/test_support.go:1549
↓ 15 callersFunctionCompressBase64
CompressBase64 --.
pkg/util/gzip/compress.go:47
↓ 15 callersFunctionCreateTimerKamelet
(t *testing.T, ctx context.Context, ns string, name string)
e2e/support/test_support.go:1895
↓ 15 callersMethodFailed
(err error)
pkg/apis/camel/v1/build_types_support.go:141
↓ 15 callersMethodHas
Has returns true if it contains the item.
pkg/util/sets/set.go:81
↓ 15 callersMethodIsSynthetic
IsSynthetic returns true for synthetic Integrations (non managed, likely imported from external deployments).
pkg/apis/camel/v1/integration_types_support.go:366
↓ 15 callersFunctionKamelRunWithID
(t *testing.T, ctx context.Context, operatorID string, namespace string, args ...string)
e2e/support/test_support.go:213
↓ 15 callersFunctionNewEnvironmentTestCatalog
()
pkg/trait/environment_test.go:232
↓ 15 callersFunctionSetAnnotation
SetAnnotation safely sets the annotation on the given runtime object.
pkg/apis/camel/v1/common_types_support.go:200
↓ 15 callersMethodUpdate
(ctx context.Context, pipe *camelv1.Pipe, opts metav1.UpdateOptions)
pkg/client/camel/clientset/versioned/typed/camel/v1/pipe.go:44
↓ 15 callersFunctioncreateKameletsTestEnvironment
(flow string, objects ...runtime.Object)
pkg/trait/kamelets_test.go:572
↓ 15 callersMethodensureObjectMetaApplyConfigurationExists
()
pkg/client/camel/applyconfiguration/camel/v1/integrationprofile.go:206
↓ 15 callersMethodensureObjectMetaApplyConfigurationExists
()
pkg/client/camel/applyconfiguration/camel/v1/integrationplatform.go:209
↓ 15 callersMethodensureObjectMetaApplyConfigurationExists
()
pkg/client/camel/applyconfiguration/camel/v1/kamelet.go:207
↓ 15 callersMethodensureObjectMetaApplyConfigurationExists
()
pkg/client/camel/applyconfiguration/camel/v1/integrationkit.go:209
↓ 15 callersMethodensureObjectMetaApplyConfigurationExists
()
pkg/client/camel/applyconfiguration/camel/v1/build.go:205
↓ 15 callersMethodensureObjectMetaApplyConfigurationExists
()
pkg/client/camel/applyconfiguration/camel/v1/pipe.go:206
↓ 15 callersMethodensureObjectMetaApplyConfigurationExists
()
pkg/client/camel/applyconfiguration/camel/v1/integration.go:206
↓ 15 callersMethodensureObjectMetaApplyConfigurationExists
()
pkg/client/camel/applyconfiguration/camel/v1/camelcatalog.go:206
↓ 15 callersMethodhasBaseTruststore
hasBaseTruststore returns true if a base truststore is configured.
pkg/trait/jvm_cacert.go:56
↓ 14 callersFunctionErrorf
Errorf --.
pkg/util/log/log.go:227
↓ 14 callersMethodGetConfigMap
GetConfigMap returns a ConfigMap that matches the given function.
pkg/util/kubernetes/collection.go:182
↓ 14 callersMethodGetKnativeTrigger
GetKnativeTrigger returns a Knative Trigger that matches the given function.
pkg/util/kubernetes/collection.go:292
↓ 14 callersFunctionNewIntegrationConditionPlatformDisabledWithMessage
(traitID string, message string)
pkg/trait/trait_condition_types.go:59
↓ 14 callersFunctioncreateNominalDeploymentTraitTest
()
pkg/trait/trait_support_test.go:37
↓ 14 callersFunctionkamelTestPostAddCommandInit
(t *testing.T, rootCmd *cobra.Command, options *RootCmdOptions)
pkg/cmd/root_test.go:32
↓ 13 callersFunctionCRDs
(t *testing.T)
e2e/support/test_support.go:1698
↓ 13 callersFunctionDeployment
(t *testing.T, ctx context.Context, ns string, name string)
e2e/support/test_support.go:1498
↓ 13 callersFunctionFillMissingReferenceData
FillMissingReferenceData returns all possible combinations of ObjectReference that can be obtained by filling the missing fields with known data.
pkg/util/knative/apis.go:153
↓ 13 callersMethodFindService
FindService -- .
pkg/internal/knative/types_support.go:109
↓ 13 callersMethodGetArtifactByScheme
GetArtifactByScheme returns the artifact corresponding to the given component scheme.
pkg/util/camel/camel_runtime_catalog.go:126
↓ 13 callersFunctionGetOperatorNamespace
GetOperatorNamespace returns the namespace where the current operator is located (if set).
pkg/platform/operator.go:70
↓ 13 callersMethodGetRuntimeVersion
GetRuntimeVersion returns the Camel K runtime version of the catalog.
pkg/apis/camel/v1/camelcatalog_types_support.go:193
↓ 13 callersMethodGetTimeout
GetTimeout returns the specified duration or a default one.
pkg/apis/camel/v1/integrationprofile_types_support.go:45
↓ 13 callersFunctionGetTriggerName
(brokerName string, subscriberName string, eventType string)
pkg/util/knative/knative.go:133
↓ 13 callersMethodInferLanguage
InferLanguage returns the language of the source or discovers it from file extension if not set.
pkg/apis/camel/v1/common_types_support.go:269
↓ 13 callersFunctionInfof
Infof --.
pkg/util/log/log.go:222
↓ 13 callersFunctionNewSet
NewSet creates an empty Set.
pkg/util/sets/set.go:26
↓ 13 callersFunctionOperatorID
()
pkg/util/defaults/defaults_support.go:37
↓ 13 callersFunctionParseGAV
ParseGAV decodes the provided Maven GAV into the corresponding Dependency. The artifact id is in the form of: <groupId>:<artifactId>[:<packagingTyp
pkg/util/maven/maven_command.go:292
↓ 13 callersMethodPhase
()
pkg/builder/types.go:66
↓ 13 callersMethodVisitDeployment
VisitDeployment executes the visitor function on all Deployment resources.
pkg/util/kubernetes/collection.go:105
↓ 13 callersMethodWithName
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "W
pkg/client/camel/applyconfiguration/camel/v1/pipe.go:73
↓ 13 callersFunctioncreateNominalAffinityTest
()
pkg/trait/affinity_test.go:195
↓ 13 callersFunctioncreateNominalGCTest
()
pkg/trait/gc_test.go:337
↓ 13 callersFunctioncreateNominalIngressTest
()
pkg/trait/ingress_test.go:344
↓ 13 callersFunctioncreateTestRouteEnvironment
(t *testing.T, name string)
pkg/trait/route_test.go:109
↓ 13 callersFunctionexitOnError
(err error, msg string)
pkg/cmd/operator/operator.go:277
↓ 13 callersFunctiongetNominalEnv
(t *testing.T, traitCatalog *Catalog)
pkg/trait/mount_test.go:230
↓ 12 callersFunctionApply
(ctx context.Context, c client.Client, integration *v1.Integration, kit *v1.IntegrationKit)
pkg/trait/trait.go:41
↓ 12 callersFunctionBuilderPod
(t *testing.T, ctx context.Context, ns string, name string)
e2e/support/test_support.go:1239
↓ 12 callersFunctionDefaultOperatorSecurityContext
DefaultOperatorSecurityContext to ensure a container with low privilege and limited permissions.
e2e/support/test_support.go:2225
↓ 12 callersMethodGetConditions
GetConditions --.
pkg/apis/camel/v1/pipe_types_support.go:30
↓ 12 callersMethodGetLanguageDependency
GetLanguageDependency returns the maven dependency for the given language name.
pkg/util/camel/camel_runtime_catalog.go:155
↓ 12 callersMethodGetRoute
GetRoute returns a Route that matches the given function.
pkg/util/kubernetes/collection.go:325
↓ 12 callersMethodGetTrait
GetTrait returns the trait with the given ID.
pkg/trait/trait_catalog.go:177
↓ 12 callersMethodIntegrations
Integrations returns an object that can list and get Integrations.
pkg/client/camel/listers/camel/v1/integration.go:36
↓ 12 callersMethodIsEmpty
IsEmpty returns true if the set has no items.
pkg/util/sets/set.go:86
↓ 12 callersFunctionIsOpenShift
IsOpenShift returns true if we are connected to a OpenShift cluster.
pkg/util/openshift/openshift.go:34
↓ 12 callersMethodItems
Items returns all resources belonging to the collection.
pkg/util/kubernetes/collection.go:62
↓ 12 callersMethodMerge
Merge with items from another set.
pkg/util/sets/set.go:65
↓ 12 callersFunctionNewSourceSpec
(name string, content string, language Language)
pkg/apis/camel/v1/integration_types_support.go:271
↓ 12 callersFunctionNormalizeDependency
NormalizeDependency converts different forms of camel dependencies -- `camel-xxx`, `camel-quarkus-xxx`, and `camel-quarkus:xxx` -- into the unified fo
pkg/util/camel/camel_dependencies.go:34
↓ 12 callersMethodType
()
pkg/apis/camel/v1/error_handler_types_support.go:29
↓ 12 callersFunctionassertExtract
(t *testing.T, inspector Inspector, source string, assertFn func(meta *Metadata))
pkg/util/source/source_support_test.go:28
← previousnext →101–200 of 5,125, ranked by callers