MCPcopy Create free account

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

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

↓ 1,823 callersMethodEqual
Equal checks if the profile is equal to the given profile (case insensitive).
pkg/apis/camel/v1/common_types_support.go:54
↓ 368 callersMethodString
String information about the repository
pkg/kamelet/repository/repository.go:46
↓ 343 callersMethodErrorf
Errorf --.
pkg/util/log/log.go:64
↓ 323 callersMethodContains
Contains returns if the string has been found in the logs
e2e/support/util/log_scanner.go:76
↓ 295 callersMethodError
Error --.
pkg/util/log/log.go:79
↓ 258 callersMethodLen
Len returns the length of a collection. The number of CatalogVersion instances on the slice.
pkg/util/camel/camel_types.go:36
↓ 251 callersFunctionIntegrationLogs
(t *testing.T, ctx context.Context, ns, name string)
e2e/support/test_support.go:293
↓ 241 callersFunctionIntegrationPodPhase
(t *testing.T, ctx context.Context, ns string, name string)
e2e/support/test_support.go:459
↓ 235 callersFunctionNewFakeClient
NewFakeClient ---.
pkg/internal/client.go:54
↓ 219 callersFunctionKamelRun
(t *testing.T, ctx context.Context, namespace string, args ...string)
e2e/support/test_support.go:209
↓ 214 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
pkg/apis/camel/v1/zz_generated.deepcopy.go:36
↓ 208 callersFunctionIntegrationConditionStatus
(t *testing.T, ctx context.Context, ns string, name string, conditionType v1.IntegrationConditionType)
e2e/support/test_support.go:619
↓ 150 callersMethodName
a user friendly name for the action
pkg/controller/integrationkit/action.go:34
↓ 150 callersFunctionNewCatalog
NewCatalog creates a new trait Catalog.
pkg/trait/trait_catalog.go:39
↓ 142 callersMethodList
List lists all Pipes in the indexer. Objects returned here must be treated as read-only.
pkg/client/camel/listers/camel/v1/pipe.go:34
↓ 139 callersMethodApply
Apply executes a customization of the Environment
pkg/trait/trait_types.go:79
↓ 138 callersFunctionDefaultCatalog
()
pkg/util/camel/catalog.go:37
↓ 130 callersMethodConfigure
Configure the trait
pkg/trait/trait_types.go:76
↓ 127 callersFunctionRandomizedSuffixName
(name string)
e2e/support/test_support.go:2220
↓ 120 callersFunctionWithNewTestNamespace
(t *testing.T, doRun func(context.Context, *gomega.WithT, string))
e2e/support/test_support.go:1953
↓ 115 callersMethodGetCondition
GetCondition returns the condition with the provided type.
pkg/apis/camel/v1/pipe_types_support.go:80
↓ 112 callersMethodWithKind
WithKind sets the Kind 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:57
↓ 109 callersFunctionExecuteCommand
(root *cobra.Command, args ...string)
pkg/cmd/cmd_support_test.go:32
↓ 100 callersFunctionTestClient
(t *testing.T)
e2e/support/test_support.go:122
↓ 97 callersMethodAdd
Add items to the Set.
pkg/util/sets/set.go:58
↓ 93 callersMethodGet
Get the Kamelet corresponding to the given name, or nil if not found
pkg/kamelet/repository/repository.go:43
↓ 93 callersFunctionNewCollection
NewCollection creates a new empty collection.
pkg/util/kubernetes/collection.go:46
↓ 81 callersMethodapply
(environment *Environment)
pkg/trait/trait_catalog.go:95
↓ 79 callersMethodGetTrait
(id string)
pkg/trait/trait_catalog.go:188
↓ 72 callersMethodInjectClient
(client Client)
pkg/client/client.go:73
↓ 63 callersFunctionDebugf
*********************************** *********************************** Debugf --.
pkg/util/log/log.go:217
↓ 62 callersFunctionKamel
(t *testing.T, ctx context.Context, args ...string)
e2e/support/test_support.go:205
↓ 61 callersFunctionIntegrationKitName
(t *testing.T, ctx context.Context, ns string, name string)
e2e/support/test_support.go:883
↓ 60 callersMethodInjectLogger
(logger Logger)
pkg/util/log/log.go:45
↓ 52 callersFunctionIntegrationPod
(t *testing.T, ctx context.Context, ns string, name string)
e2e/support/test_support.go:479
↓ 51 callersFunctionNewIntegrationCondition
(traitID string, ict v1.IntegrationConditionType, cs corev1.ConditionStatus, reason, message string)
pkg/trait/trait_condition_types.go:45
↓ 50 callersFunctionIntegration
(t *testing.T, ctx context.Context, ns string, name string)
e2e/support/test_support.go:817
↓ 49 callersMethodCreate
(ctx context.Context, pipe *camelv1.Pipe, opts metav1.CreateOptions)
pkg/client/camel/clientset/versioned/typed/camel/v1/pipe.go:43
↓ 47 callersMethodGetTrait
(id ID)
pkg/trait/trait_types.go:253
↓ 47 callersMethodInfo
Info --.
pkg/util/log/log.go:74
↓ 47 callersFunctionIntegrationPhase
(t *testing.T, ctx context.Context, ns string, name string)
e2e/support/test_support.go:853
↓ 47 callersFunctionlabel
(name, value string)
e2e/advanced/operator_metrics_test.go:498
↓ 45 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Args.
pkg/apis/camel/v1/zz_generated.deepcopy.go:41
↓ 45 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
pkg/apis/camel/v1/trait/zz_generated.deepcopy.go:1533
↓ 44 callersMethodSetCondition
SetCondition --.
pkg/apis/camel/v1/pipe_types_support.go:92
↓ 43 callersMethodInfof
Infof --.
pkg/util/log/log.go:59
↓ 42 callersMethodapply
(settings *Settings)
pkg/util/maven/maven_settings.go:35
↓ 42 callersFunctioncreateNominalJvmTest
(kitType string)
pkg/trait/jvm_test.go:593
↓ 41 callersMethodGet
Get retrieves the Pipe from the indexer for a given namespace and name. Objects returned here must be treated as read-only.
pkg/client/camel/listers/camel/v1/pipe.go:63
↓ 41 callersMethodGetName
GetName retrieves the value of the Name field in the declarative configuration.
pkg/client/camel/applyconfiguration/camel/v1/pipe.go:239
↓ 40 callersFunctionExpectExecSucceed
(t *testing.T, g *WithT, command *exec.Cmd)
e2e/support/test_util.go:136
↓ 40 callersMethodHandle
executes the handling function
pkg/controller/integrationkit/action.go:40
↓ 40 callersFunctionKit
(t *testing.T, ctx context.Context, ns, name string)
e2e/support/test_support.go:937
↓ 40 callersFunctionfailTest
Only panic the test if absolutely necessary and there is no test locus. In most cases, the test should fail gracefully using the test locus to error o
e2e/support/test_support.go:108
↓ 38 callersFunctionAddToTraits
AddToTraits registers a trait Factory.
pkg/trait/trait_factory.go:27
↓ 38 callersMethodIntegrationInRunningPhases
()
pkg/trait/trait_types.go:271
↓ 36 callersMethodGetDeployment
GetDeployment returns a Deployment that matches the given function.
pkg/util/kubernetes/collection.go:125
↓ 36 callersMethodIntegrationInPhase
(phases ...v1.IntegrationPhase)
pkg/trait/trait_types.go:263
↓ 36 callersFunctionWithTransform
WithTransform sets a transform on all informers.
pkg/client/camel/informers/externalversions/factory.go:86
↓ 36 callersFunctioncreateNominalBuilderTraitTest
()
pkg/trait/builder_test.go:143
↓ 36 callersFunctioninitializeRunCmdOptions
(t *testing.T)
pkg/cmd/run_test.go:56
↓ 35 callersMethodGetDependencyID
nolint:nestif
pkg/apis/camel/v1/maven_types_support.go:25
↓ 35 callersMethodGetNamespace
GetNamespace retrieves the value of the Namespace field in the declarative configuration.
pkg/client/camel/applyconfiguration/camel/v1/pipe.go:245
↓ 33 callersMethodDebug
Debug --.
pkg/util/log/log.go:69
↓ 33 callersFunctionInfo
Info --.
pkg/util/log/log.go:237
↓ 32 callersMethodCamelV1
()
pkg/client/camel/clientset/versioned/clientset.go:34
↓ 31 callersFunctionBaseImage
()
pkg/util/defaults/defaults_support.go:29
↓ 30 callersMethodCanHandle
returns true if the action can handle the integration kit
pkg/controller/integrationkit/action.go:37
↓ 30 callersFunctionextract
extract returns metadata information from the source code.
pkg/metadata/metadata.go:72
↓ 28 callersFunctionNewBaseTrait
(id string, order int)
pkg/trait/trait_types.go:125
↓ 27 callersFunctionOperatorPod
(t *testing.T, ctx context.Context, ns string)
e2e/support/test_support.go:1763
↓ 27 callersMethodWatch
(ctx context.Context, opts metav1.ListOptions)
pkg/client/camel/clientset/versioned/typed/camel/v1/pipe.go:51
↓ 27 callersFunctioncreateBuilderTestEnv
(buildStrategy v1.BuildStrategy)
pkg/trait/builder_test.go:81
↓ 26 callersMethodDelete
(ctx context.Context, name string, opts metav1.DeleteOptions)
pkg/client/camel/clientset/versioned/typed/camel/v1/pipe.go:47
↓ 26 callersMethodvalidateCACertConfig
()
pkg/trait/jvm_cacert.go:109
↓ 25 callersMethodCommand
(context Context)
pkg/util/maven/maven_project.go:50
↓ 25 callersFunctionError
Error --.
pkg/util/log/log.go:242
↓ 25 callersFunctionKubectl
(args ...string)
e2e/support/test_support.go:285
↓ 25 callersFunctionNewStep
(phase int32, task StepTask)
pkg/builder/steps.go:51
↓ 25 callersMethodVisit
Visit executes the visitor function on all resources.
pkg/util/kubernetes/collection.go:528
↓ 24 callersMethodGetDeploymentForIntegration
GetDeploymentForIntegration returns a Deployment for the given integration.
pkg/util/kubernetes/collection.go:137
↓ 24 callersFunctionGetEnvOrDefault
(key string, def string)
pkg/platform/env_platform.go:87
↓ 24 callersMethodTranslate
Translate does the actual mapping
pkg/util/bindings/api.go:54
↓ 24 callersFunctionnewFakeClient
(namespace string)
pkg/trait/knative_test.go:1316
↓ 23 callersFunctionBuildConfig
(t *testing.T, ctx context.Context, ns, name string)
e2e/support/test_support.go:1562
↓ 23 callersFunctionBuildPhase
(t *testing.T, ctx context.Context, ns, name string)
e2e/support/test_support.go:1572
↓ 23 callersMethodGetCmdClient
GetCmdClient returns the client that can be used from command line tools.
pkg/cmd/root.go:200
↓ 22 callersMethodCamelV1
()
pkg/client/client.go:63
↓ 22 callersFunctionExtractObjectReference
ExtractObjectReference returns a reference to the object described in the Knative URI.
pkg/util/knative/uri.go:62
↓ 22 callersMethodGetIntegrationContainer
()
pkg/trait/trait_types.go:511
↓ 22 callersFunctionIntegrationStatusReplicas
(t *testing.T, ctx context.Context, ns string, name string)
e2e/support/test_support.go:575
↓ 22 callersFunctioncreateTestCamelCatalog
(ns string, runtimeProvider v1.RuntimeProvider, version string)
pkg/cmd/promote_test.go:139
↓ 21 callersMethodAddDependency
AddDependency -- .
pkg/util/source/types.go:61
↓ 21 callersFunctionCreatePlainTextSecret
(t *testing.T, ctx context.Context, ns string, name string, data map[string]string)
e2e/support/test_support.go:1398
↓ 21 callersFunctionIntegrationCondition
(t *testing.T, ctx context.Context, ns string, name string, conditionType v1.IntegrationConditionType)
e2e/support/test_support.go:595
↓ 21 callersFunctionKamelBind
(t *testing.T, ctx context.Context, namespace string, args ...string)
e2e/support/test_support.go:221
↓ 21 callersFunctionStringSliceUniqueAdd
StringSliceUniqueAdd appends the given item if not already present in the slice.
pkg/util/util.go:97
↓ 21 callersMethodWithValues
WithValues --.
pkg/util/log/log.go:91
↓ 21 callersFunctionasEndpointProperties
(props map[string]string)
pkg/util/bindings/binding_support_test.go:28
↓ 21 callersMethodgetTruststorePasswordPath
()
pkg/trait/jvm_cacert.go:60
next →1–100 of 5,125, ranked by callers