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
↓ 4 callers
Function
LoadCatalog
LoadCatalog --.
pkg/util/camel/camel_runtime.go:97
↓ 4 callers
Function
Logs
(t *testing.T, ctx context.Context, ns, podName string, options corev1.PodLogOptions)
e2e/support/test_support.go:389
↓ 4 callers
Function
Make
(t *testing.T, rule string, args ...string)
e2e/support/test_support.go:261
↓ 4 callers
Method
Merge
Merge merges the given Traits into the receiver.
pkg/apis/camel/v1/common_types_support.go:59
↓ 4 callers
Method
Name
()
pkg/controller/integration/build_kit.go:38
↓ 4 callers
Method
Name
()
pkg/controller/integration/build.go:49
↓ 4 callers
Method
Name
Name returns a common name of the action.
pkg/controller/integration/initialize.go:42
↓ 4 callers
Function
New
New creates a KameletRepository for the given namespaces.
pkg/kamelet/repository/repository.go:57
↓ 4 callers
Function
New
(c client.Client)
pkg/builder/types.go:43
↓ 4 callers
Function
NewIstioTestEnv
(t *testing.T, d *appsv1.Deployment, s *serving.Service, enabled bool)
pkg/trait/istio_test.go:40
↓ 4 callers
Function
NewMasterTrait
NewMasterTrait --.
pkg/trait/master.go:46
↓ 4 callers
Function
NewProjectWithGAV
(group string, artifact string, version string)
pkg/util/maven/maven_project.go:38
↓ 4 callers
Function
NewSimpleClientset
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 callers
Function
NewSpecTraitsOptionsForIntegration
(c client.Client, i *v1.Integration)
pkg/trait/util.go:413
↓ 4 callers
Function
NewSpecTraitsOptionsForIntegrationKit
(c client.Client, i *v1.IntegrationKit)
pkg/trait/util.go:441
↓ 4 callers
Function
NewTelemetryTrait
NewTelemetryTrait instance the telemetry trait as a BaseTrait capable to inject quarkus properties.
pkg/trait/telemetry.go:65
↓ 4 callers
Function
NewTolerations
NewTolerations build an array of Tolerations from an array of string.
pkg/util/kubernetes/factory.go:44
↓ 4 callers
Function
NoErrorAndNotContains
(t *testing.T, path string, contains string, callable func(path string) ([]string, error))
pkg/resources/resources_test.go:56
↓ 4 callers
Function
NormalizeToURI
NormalizeToURI produces a Knative uri of the given service type if the argument is a plain string.
pkg/util/knative/uri.go:53
↓ 4 callers
Function
Open
Open a safe wrapper of os.Open.
pkg/util/util.go:378
↓ 4 callers
Method
Order
nolint:staticcheck Order is the order in which the trait should be executed in the normal flow
pkg/trait/trait_types.go:98
↓ 4 callers
Method
Order
Order returns the relative order of execution of the binding provider
pkg/util/bindings/api.go:56
↓ 4 callers
Function
Parse
(name, content string)
pkg/util/modeline/parser.go:36
↓ 4 callers
Function
RandomString
(n int)
pkg/util/util.go:142
↓ 4 callers
Function
RefreshClient
(t *testing.T)
e2e/support/test_support.go:135
↓ 4 callers
Function
Resolve
Resolve resolves sources from a variety of locations including local and remote.
pkg/cmd/source/source.go:122
↓ 4 callers
Method
SetBuildCompletePhase
SetBuildCompletePhase set the proper building phase and the related timestamps.
pkg/apis/camel/v1/integration_types_support.go:371
↓ 4 callers
Method
SetOperatorID
SetOperatorID sets the given operator id as an annotation.
pkg/apis/camel/v1/integrationprofile_types_support.go:40
↓ 4 callers
Method
Start
(stopCh <-chan struct{})
pkg/client/camel/informers/externalversions/internalinterfaces/factory_interfaces.go:36
↓ 4 callers
Function
SubstringBefore
(s string, substr string)
pkg/util/util.go:123
↓ 4 callers
Method
TaskByName
TaskByName return the task identified by the name parameter.
pkg/builder/tasks.go:116
↓ 4 callers
Function
ToDependency
ToDependency converts a jitpack dependency into Dependency struct.
pkg/util/jitpack/jitpack.go:34
↓ 4 callers
Function
ToYamlDSL
ToYamlDSL converts a flow into its Camel YAML DSL equivalent.
pkg/apis/camel/v1/integration_types_support.go:531
↓ 4 callers
Method
Translate
(ctx BindingContext, _ EndpointContext, endpoint camelv1.Endpoint)
pkg/util/bindings/strimzi.go:52
↓ 4 callers
Function
UpdatePlainTextConfigmapWithLabels
(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 callers
Method
VisitConfigMap
VisitConfigMap executes the visitor function on all ConfigMap resources.
pkg/util/kubernetes/collection.go:173
↓ 4 callers
Method
VisitKnativeConfigurationSpec
VisitKnativeConfigurationSpec executes the visitor function on all knative ConfigurationSpec inside serving Services.
pkg/util/kubernetes/collection.go:512
↓ 4 callers
Method
VisitKnativeService
VisitKnativeService executes the visitor function on all Knative serving Service resources.
pkg/util/kubernetes/collection.go:369
↓ 4 callers
Method
VisitKnativeTrigger
VisitKnativeTrigger executes the visitor function on all Knative eventing Trigger resources.
pkg/util/kubernetes/collection.go:389
↓ 4 callers
Function
WithName
*********************************** Helpers *********************************** WithName --.
pkg/util/log/log.go:191
↓ 4 callers
Method
WithTimeout
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 callers
Function
assertTraitConfiguration
(t *testing.T, trait interface{}, expected interface{})
pkg/cmd/run_test.go:445
↓ 4 callers
Function
buckets
(value float64, upperBounds []float64)
e2e/advanced/operator_metrics_test.go:516
↓ 4 callers
Function
canBeDeleted
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 callers
Function
cancelAndWait
(cancel context.CancelFunc)
e2e/advanced/debug_test.go:114
↓ 4 callers
Function
configureBinding
(integration *v1.Integration, bindings ...*bindings.Binding)
pkg/controller/pipe/integration.go:243
↓ 4 callers
Method
configureTraits
(traits any)
pkg/trait/trait_configure.go:71
↓ 4 callers
Function
createNominalDeployerTest
()
pkg/trait/deployer_test.go:68
↓ 4 callers
Function
createPodSettingContextEnvironment
(t *testing.T, profile v1.TraitProfile)
pkg/trait/security_context_test.go:150
↓ 4 callers
Function
createTelemetryEnvironment
(t *testing.T, catalogGen func() (*camel.RuntimeCatalog, error))
pkg/trait/telemetry_test.go:121
↓ 4 callers
Function
createTestContext
(uris ...string)
pkg/kamelet/repository/repository_test.go:177
↓ 4 callers
Function
durationFromEnv
(key string, defaultDuration time.Duration)
e2e/support/gomega_support.go:47
↓ 4 callers
Function
exitOnError
(err error, msg string)
pkg/cmd/builder/builder.go:100
↓ 4 callers
Function
extractAndDeleteTraits
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 callers
Method
extractProperties
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 callers
Function
filterOutTagsAndComments
(comments []string)
cmd/util/doc-gen/generators/traitdocgen.go:304
↓ 4 callers
Function
findIntegrationProfile
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 callers
Function
findLocal
findLocal returns the currently installed platform or any platform existing in local namespace. nolint:staticcheck
pkg/platform/platform.go:143
↓ 4 callers
Function
findVVolumeMount
(vols []corev1.VolumeMount, condition func(corev1.VolumeMount) bool)
pkg/trait/trait_test.go:192
↓ 4 callers
Function
findVolume
(vols []corev1.Volume, condition func(corev1.Volume) bool)
pkg/trait/trait_test.go:181
↓ 4 callers
Function
generateSelfSignedCert
Helper to generate a self-signed certificate for testing
e2e/common/traits/jvm_test.go:222
↓ 4 callers
Function
getContainer
(containers []corev1.Container, name string)
pkg/trait/pod_test.go:203
↓ 4 callers
Function
getDependency
(artifact v1.CamelArtifact, runtimeProvider v1.RuntimeProvider)
pkg/util/camel/camel_util.go:107
↓ 4 callers
Function
getEnvironmentAndDeployment
(t *testing.T)
pkg/trait/pull_secret_test.go:99
↓ 4 callers
Function
getKameletVersion
(item string)
pkg/trait/kamelets.go:397
↓ 4 callers
Function
getPackageTask
(tasks []v1.Task)
pkg/trait/util.go:241
↓ 4 callers
Method
getTrustStorePath
()
pkg/trait/jvm_cacert.go:51
↓ 4 callers
Method
ifServiceMissingDo
( e *Environment, env *knativeapi.CamelEnvironment, serviceURIs []string, serviceType knativeapi.CamelServ
pkg/trait/knative.go:538
↓ 4 callers
Function
imagePlatforms
()
pkg/platform/env_platform.go:247
↓ 4 callers
Function
initializeOperatorCmdOptions
(t *testing.T)
pkg/cmd/operator_test.go:31
↓ 4 callers
Function
initializeVersionCmdOptions
(t *testing.T, initObjs ...runtime.Object)
pkg/cmd/version_test.go:35
↓ 4 callers
Method
isEmbedded
Indicates whether the given source code is embedded into the final binary.
pkg/trait/quarkus.go:474
↓ 4 callers
Method
isNativeIntegration
(e *Environment)
pkg/trait/quarkus.go:467
↓ 4 callers
Function
literal
literal compiles s into a literal regular expression, escaping any regexp reserved characters.
e2e/support/regexp.go:73
↓ 4 callers
Function
lookupKitsForIntegration
(ctx context.Context, c client.Client, integration *v1.Integration, options ...ctrl.ListOption)
pkg/controller/integration/kits.go:38
↓ 4 callers
Function
metricTypeP
(t prometheus.MetricType)
e2e/advanced/operator_metrics_test.go:534
↓ 4 callers
Function
newContext
newContext returns an empty cancelable Context.
pkg/builder/builder_support_test.go:30
↓ 4 callers
Function
newKameletBundle
()
pkg/trait/kamelets_support.go:37
↓ 4 callers
Function
newPullSecretTrait
()
pkg/trait/pull_secret.go:44
↓ 4 callers
Function
newTestProbesEnv
(t *testing.T, integration *v1.Integration)
pkg/trait/container_probes_test.go:37
↓ 4 callers
Function
newTraitsOptions
newTraitsOptions will merge the traits annotations with the traits spec using the same format.
pkg/trait/util.go:307
↓ 4 callers
Function
parseLog
(line string)
pkg/util/maven/maven_log.go:55
↓ 4 callers
Function
pathToRoot
(cmd *cobra.Command)
pkg/cmd/util.go:104
↓ 4 callers
Function
portIsInUse
(host string, port string)
e2e/advanced/debug_test.go:101
↓ 4 callers
Function
processTestEnv
(t *testing.T, env *Environment)
pkg/trait/trait_test.go:203
↓ 4 callers
Method
pushGitOpsItInGitRepo
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 callers
Method
readContentIfExists
(e *Environment, secretName string)
pkg/trait/route.go:213
↓ 4 callers
Function
scan
(stdOut io.ReadCloser, stdOutF func(string) string)
pkg/util/command.go:74
↓ 4 callers
Function
split
(doc []string, startMarker, endMarker string)
cmd/util/doc-gen/generators/traitdocgen.go:322
↓ 4 callers
Function
tasksByName
(tasks []v1.Task)
pkg/trait/builder_test.go:563
↓ 4 callers
Method
toConfigmaps
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 callers
Function
uint64P
(i uint64)
e2e/advanced/operator_metrics_test.go:538
↓ 4 callers
Function
upsertRepository
(repository v1.Repository, repositories *[]v1.Repository)
pkg/util/maven/maven_repositories.go:81
↓ 3 callers
Method
AddProfile
(profile Profile)
pkg/util/maven/maven_project.go:155
↓ 3 callers
Method
AddRequiredCapability
AddRequiredCapability -- .
pkg/util/source/types.go:56
↓ 3 callers
Method
AddSystemProperty
(name string, value string)
pkg/util/maven/maven_command.go:222
↓ 3 callers
Method
Apply
(e *Environment)
pkg/trait/git.go:47
↓ 3 callers
Method
Apply
(e *Environment)
pkg/trait/init_containers.go:141
↓ 3 callers
Method
AsYamlDSL
AsYamlDSL construct proper Camel Yaml DSL from given binding.
pkg/util/bindings/api_support.go:23
↓ 3 callers
Method
AuthorizationV1
()
pkg/internal/client.go:217
← previous
next →
501–600 of 5,125, ranked by callers