MCPcopy Create free account

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

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

↓ 2 callersFunctiongetLastCommitMessage
getLastCommitMessage returns the latest commit message of the Git repository in dirPath.
pkg/trait/gitops_test.go:145
↓ 2 callersFunctiongetLegacyLanguageSettings
Provides the legacy settings of a given language.
pkg/trait/quarkus.go:100
↓ 2 callersMethodgetLimitCPU
()
pkg/trait/container.go:476
↓ 2 callersMethodgetLimitMemory
()
pkg/trait/container.go:484
↓ 2 callersFunctiongetNamespacesSelector
(operatorNamespace string, watchNamespace string)
pkg/cmd/operator/operator.go:242
↓ 2 callersMethodgetOverlays
Return the trait overlays or a default value.
pkg/trait/gitops.go:275
↓ 2 callersMethodgetOverwriteOverlay
Return the trait overwrite overlay parameter or a default value.
pkg/trait/gitops.go:284
↓ 2 callersMethodgetPodMonitorFor
(e *Environment, portName string)
pkg/trait/prometheus.go:140
↓ 2 callersMethodgetPort
()
pkg/trait/jolokia.go:133
↓ 2 callersMethodgetRequestCPU
()
pkg/trait/container.go:460
↓ 2 callersMethodgetRequestMemory
()
pkg/trait/container.go:468
↓ 2 callersFunctiongetSinkURI
getSinkURI retrieves the sink URI from the object referenced by the given ObjectReference. Method taken from https://github.com/knative/eventing-cont
pkg/util/knative/knative.go:205
↓ 2 callersMethodgetSourcesFromURIs
(e *Environment)
pkg/trait/cron.go:375
↓ 2 callersFunctiongroup
group wraps the regexp in a non-capturing group.
e2e/support/regexp.go:107
↓ 2 callersMethodhasJavaAgents
()
pkg/trait/jvm_agent.go:77
↓ 2 callersFunctionhasSupportedScheme
(uri string)
pkg/cmd/source/util.go:81
↓ 2 callersFunctioninitFakeGitRepo
initFakeGitInmemoryRepo has the goal to create a fake a git repository into a given directory. We can use this to simulate pull and push activities.
pkg/trait/gitops_test.go:113
↓ 2 callersFunctioninitializeDeleteCmdOptions
(t *testing.T)
pkg/cmd/delete_test.go:30
↓ 2 callersFunctioninitializePipe
(ctx context.Context, c client.Client, l log.Logger, pipe *v1.Pipe)
pkg/controller/pipe/initialize.go:63
↓ 2 callersFunctioninitializeRebuildCmdOptions
(t *testing.T)
pkg/cmd/rebuild_test.go:30
↓ 2 callersFunctioninitializeStatusFrom
initializeStatusFrom helps creating a BuildStatus from scratch filling with base and root images.
pkg/builder/util.go:35
↓ 2 callersMethodinjectIstioAnnotation
(annotations map[string]string, includeInject bool)
pkg/trait/istio.go:77
↓ 2 callersFunctionintegrationAndKitHaveSameTraits
(c client.Client, i1 *v1.Integration, i2 *v1.IntegrationKit)
pkg/controller/integration/kits_test.go:417
↓ 2 callersFunctionintegrationSourceFromKameletSource
(e *Environment, kamelet *v1.Kamelet, source v1.SourceSpec, name string)
pkg/trait/kamelets.go:416
↓ 2 callersFunctionisBaseImageDefault
()
pkg/util/defaults/defaults_test.go:65
↓ 2 callersFunctionisExistingFile
(uri string)
pkg/cmd/source/util.go:61
↓ 2 callersFunctionisIntegrationUpdated
(it *v1.Integration, previous, next *v1.IntegrationCondition)
pkg/controller/integration/integration_controller.go:133
↓ 2 callersFunctionisKnativeURI
(kind knativev1.CamelServiceType, uri string)
pkg/util/knative/uri.go:105
↓ 2 callersFunctionisKnownKnativeResource
(ref *corev1.ObjectReference)
pkg/util/bindings/knative_ref.go:149
↓ 2 callersMethodisManaged
()
pkg/cmd/run.go:659
↓ 2 callersFunctionisManagedObject
isManagedObject returns true if the object is managed by an Integration.
pkg/controller/synthetic/synthetic.go:177
↓ 2 callersFunctionisPlatformTrait
(traitID string)
cmd/util/doc-gen/generators/traitdocgen.go:372
↓ 2 callersFunctionkamelCommandWithContext
(t *testing.T, ctx context.Context, command string, operatorID string, namespace string, args ...string)
e2e/support/test_support.go:233
↓ 2 callersFunctionkamelPostAddCommandInit
(cmd *cobra.Command, v *viper.Viper)
pkg/cmd/root.go:97
↓ 2 callersFunctionkamelPreAddCommandInit
(options *RootCmdOptions)
pkg/cmd/root.go:75
↓ 2 callersFunctionkeyValuePairArrayAsStringMap
(pairs []string)
pkg/trait/util.go:101
↓ 2 callersFunctionkeyValueProps
(value string)
pkg/cmd/run_support.go:79
↓ 2 callersMethodlistFiles
(ctx context.Context)
pkg/kamelet/repository/github_repository.go:109
↓ 2 callersFunctionlistPublishedImages
(context *builderContext)
pkg/builder/image.go:187
↓ 2 callersFunctionloadCamelQuarkusCatalog
(ctx *builderContext)
pkg/builder/quarkus.go:109
↓ 2 callersFunctionloadCatalog
(ctx context.Context, c client.Client, namespace string, runtimeSpec v1.RuntimeSpec)
pkg/controller/integrationplatform/create.go:97
↓ 2 callersFunctionloadKamelet
nolint:staticcheck
pkg/controller/integrationplatform/kamelets.go:209
↓ 2 callersFunctionloadResource
(cli client.Client, name string, params any)
pkg/trait/master.go:194
↓ 2 callersFunctionmatchOrEmpty
(reg *regexp.Regexp, index int, str string)
pkg/util/knative/uri.go:96
↓ 2 callersMethodmergePropertiesWithPrecedence
(c client.Client, items []string)
pkg/cmd/run.go:935
↓ 2 callersMethodmonitorPods
(ctx context.Context, environment *trait.Environment, integration *v1.Integration)
pkg/controller/integration/monitor.go:169
↓ 2 callersMethodmountResource
mountResource add the resource to volumes and mounts and return the final path where the resource is mounted.
pkg/trait/mount.go:320
↓ 2 callersMethodnameForEndpoint
(endpoint v1.Endpoint)
pkg/cmd/bind.go:385
↓ 2 callersMethodnavigate
(values map[string]any, prefix string, create bool)
pkg/cmd/util_config.go:159
↓ 2 callersFunctionnewBuildKitAction
()
pkg/controller/integration/build_kit.go:30
↓ 2 callersFunctionnewBuilderTrait
()
pkg/trait/builder.go:59
↓ 2 callersFunctionnewBundleConfigmap
(name, namespace string, id int)
pkg/trait/kamelets_support.go:75
↓ 2 callersFunctionnewCatalogVersionCollection
(catalogs []v1.CamelCatalog)
pkg/util/camel/camel_util.go:81
↓ 2 callersFunctionnewCmdBind
newCmdBind --.
pkg/cmd/bind.go:44
↓ 2 callersFunctionnewCmdBuilder
(rootCmdOptions *RootCmdOptions)
pkg/cmd/builder.go:27
↓ 2 callersFunctionnewCmdDebug
(rootCmdOptions *RootCmdOptions)
pkg/cmd/debug.go:38
↓ 2 callersFunctionnewCmdDelete
newCmdDelete --.
pkg/cmd/delete.go:37
↓ 2 callersFunctionnewCmdDeploy
newCmdDeploy --.
pkg/cmd/deploy.go:30
↓ 2 callersFunctionnewCmdKit
(rootCmdOptions *RootCmdOptions)
pkg/cmd/kit.go:24
↓ 2 callersFunctionnewCmdLog
(rootCmdOptions *RootCmdOptions)
pkg/cmd/log.go:34
↓ 2 callersFunctionnewCmdOperator
(rootCmdOptions *RootCmdOptions)
pkg/cmd/operator.go:33
↓ 2 callersFunctionnewCmdPromote
newCmdPromote --.
pkg/cmd/promote.go:35
↓ 2 callersFunctionnewCmdRebuild
(rootCmdOptions *RootCmdOptions)
pkg/cmd/rebuild.go:32
↓ 2 callersFunctionnewCmdUndeploy
(rootCmdOptions *RootCmdOptions)
pkg/cmd/undeploy.go:31
↓ 2 callersFunctionnewCmdVersion
(rootCmdOptions *RootCmdOptions)
pkg/cmd/version.go:41
↓ 2 callersFunctionnewCompositeKameletRepository
(repositories ...KameletRepository)
pkg/kamelet/repository/composite_repository.go:35
↓ 2 callersFunctionnewEmptyKameletRepository
()
pkg/kamelet/repository/empty_repository.go:30
↓ 2 callersFunctionnewGithubKameletRepository
(ctx context.Context, owner, repo, path, ref string)
pkg/kamelet/repository/github_repository.go:47
↓ 2 callersFunctionnewKitCreateCmd
(rootCmdOptions *RootCmdOptions)
pkg/cmd/kit_create.go:36
↓ 2 callersFunctionnewMountTrait
()
pkg/trait/mount.go:53
↓ 2 callersFunctionnewPipeGitOpsTraitTestSetup
(t *testing.T)
pkg/trait/gitops_test.go:192
↓ 2 callersFunctionnewQuarkusTrait
()
pkg/trait/quarkus.go:109
↓ 2 callersFunctionnewRepo
(ctx context.Context, client camel.Interface, externalRepos []v1.KameletRepositorySpec, namespaces ...string)
pkg/kamelet/repository/repository.go:61
↓ 2 callersFunctionnewSemVerConstraint
(versionConstraint string)
pkg/util/camel/camel_util.go:67
↓ 2 callersFunctionnominalEnv
(t *testing.T)
pkg/trait/keda_test.go:223
↓ 2 callersFunctionnominalEnvironment
()
pkg/controller/integration/monitor_test.go:141
↓ 2 callersFunctionoperatorPods
(t *testing.T, ctx context.Context, ns string)
e2e/support/test_support.go:1739
↓ 2 callersFunctionoperatorToLabelSelectorOperator
(operator selection.Operator)
pkg/trait/affinity.go:252
↓ 2 callersFunctionpackageType
(mode traitv1.QuarkusMode)
pkg/trait/quarkus.go:490
↓ 2 callersMethodparseAndConvertToTrait
(cmd *cobra.Command, c client.Client, integration *v1.Integration, params []string, parse func(string) (*res
pkg/cmd/run.go:806
↓ 2 callersMethodparseJvmAgents
()
pkg/trait/jvm_agent.go:44
↓ 2 callersMethodparseProperty
(prop string)
pkg/cmd/bind.go:425
↓ 2 callersFunctionparseProxyFromEnvVar
(proxyEnvVar string)
pkg/util/maven/maven_proxies.go:52
↓ 2 callersFunctionparseTask
(task string, tasksConf map[string]*v1.BuildConfiguration, imageName string)
pkg/trait/builder.go:579
↓ 2 callersMethodparseTasks
()
pkg/trait/init_containers.go:190
↓ 2 callersFunctionpatchTraits
(baseTraits v1.Traits)
pkg/util/gitops/gitops.go:368
↓ 2 callersFunctionpodAffinityTerm
(key string, operator metav1.LabelSelectorOperator, topologyKey string)
e2e/common/traits/affinity_test.go:145
↓ 2 callersMethodpreRun
(cmd *cobra.Command, _ []string)
pkg/cmd/root.go:174
↓ 2 callersFunctionprepareKameletDirectory
()
pkg/controller/integrationplatform/kamelets.go:72
↓ 2 callersMethodprobeReadiness
probeReadiness calls the readiness probes of the non-ready Pods directly to retrieve insights from the Camel runtime. The func return the number of re
pkg/controller/integration/monitor.go:519
↓ 2 callersFunctionregistry
()
pkg/platform/env_platform.go:263
↓ 2 callersFunctionremoveNilValues
(v reflect.Value, parent reflect.Value)
pkg/util/patch/patch.go:90
↓ 2 callersMethodreplaceResource
(res k8sclient.Object)
pkg/cmd/promote.go:200
↓ 2 callersMethodserverSideApply
(ctx context.Context, resource ctrl.Object)
pkg/client/apply.go:83
↓ 2 callersFunctionsetConfigDefaults
(config *rest.Config)
pkg/client/strimzi/clientset/internalclientset/typed/strimzi/v1/strimzi_client.go:89
↓ 2 callersFunctionsetConfigDefaults
(config *rest.Config)
pkg/client/camel/clientset/versioned/typed/camel/v1/camel_client.go:119
↓ 2 callersFunctionsetConfigDefaults
(config *rest.Config)
pkg/client/keda/clientset/internalclientset/typed/keda/v1alpha1/keda_client.go:89
↓ 2 callersMethodsetContent
(content []byte)
pkg/cmd/source/source.go:72
↓ 2 callersFunctionsetPipeReadyCondition
(kb *v1.Pipe, it *v1.Integration)
pkg/controller/pipe/monitor.go:173
↓ 2 callersFunctionshouldUseContainerMode
()
pkg/client/client.go:275
← previousnext →1,001–1,100 of 5,125, ranked by callers