MCPcopy Create free account

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

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

↓ 12 callersFunctioncheckValidRefs
(t *testing.T, refs []v1.ObjectReference)
pkg/util/knative/apis_test.go:159
↓ 12 callersFunctioncreateNominalTolerationTrait
()
pkg/trait/toleration_test.go:199
↓ 12 callersFunctiongetLanguageSettings
Retrieves the settings of the given language from the Camel catalog.
pkg/trait/quarkus.go:78
↓ 12 callersFunctioninitializeBindCmdOptions
(t *testing.T)
pkg/cmd/bind_test.go:32
↓ 12 callersFunctioninitializePromoteCmdOptions
(t *testing.T, initObjs ...runtime.Object)
pkg/cmd/promote_test.go:39
↓ 11 callersMethodAddArgument
(argument string)
pkg/util/maven/maven_command.go:210
↓ 11 callersMethodConfigure
Configure reads trait configurations from environment and applies them to catalog.
pkg/trait/trait_configure.go:35
↓ 11 callersMethodDestinationPath
DestinationPath is the location where the resource will be stored on destination.
pkg/util/resource/config.go:36
↓ 11 callersMethodDetermineControllerStrategy
DetermineControllerStrategy determines the type of controller that should be used for the integration.
pkg/trait/trait_types.go:311
↓ 11 callersFunctionIntegrationPodHas
(t *testing.T, ctx context.Context, ns string, name string, predicate func(pod *corev1.Pod) bool)
e2e/support/test_support.go:493
↓ 11 callersMethodList
List the kamelets available in the repository
pkg/kamelet/repository/repository.go:40
↓ 11 callersFunctionNewSettings
(options ...SettingsOption)
pkg/util/maven/maven_settings.go:38
↓ 11 callersFunctionParseConfig
ParseConfig will parse a config and return a Config.
pkg/util/resource/config.go:141
↓ 11 callersFunctionRunAndLog
RunAndLog starts the provided command, scans its standard and error outputs line by line, to feed the provided handlers, and waits until the scans com
pkg/util/command.go:32
↓ 11 callersMethodSetReadyConditionError
SetReadyConditionError sets Ready condition to False with the given error message.
pkg/apis/camel/v1/integration_types_support.go:361
↓ 11 callersMethodSize
Size returns the number if items in the Set.
pkg/util/sets/set.go:91
↓ 11 callersMethodStatus
()
pkg/internal/client.go:197
↓ 11 callersFunctionStringSliceContainsAnyOf
(slice []string, items ...string)
pkg/util/util.go:84
↓ 11 callersFunctionToYAML
ToYAML marshal to yaml format.
pkg/util/kubernetes/util.go:32
↓ 11 callersFunctionnominalIntegration
(name string)
pkg/cmd/promote_test.go:84
↓ 10 callersFunctionCloseQuietly
CloseQuietly unconditionally close an io.Closer It should not be used to replace the Close statement(s).
pkg/util/util.go:399
↓ 10 callersMethodGetCronJob
GetCronJob returns a CronJob that matches the given function.
pkg/util/kubernetes/collection.go:337
↓ 10 callersFunctionGetQueryParameter
GetQueryParameter returns the given parameter from the uri, if present.
pkg/util/uri/uri.go:49
↓ 10 callersFunctionIntegrationKitNamespace
(t *testing.T, ctx context.Context, integrationNamespace string, name string)
e2e/support/test_support.go:896
↓ 10 callersFunctionIntegrationPodImage
(t *testing.T, ctx context.Context, ns string, name string)
e2e/support/test_support.go:469
↓ 10 callersFunctionIsLocalAndFileExists
(uri string)
pkg/cmd/source/util.go:36
↓ 10 callersFunctionKitPhase
(t *testing.T, ctx context.Context, ns, name string)
e2e/support/test_support.go:949
↓ 10 callersFunctionNewMonitorAction
NewMonitorAction returns an action that monitors the Pipe after it's fully initialized.
pkg/controller/pipe/monitor.go:36
↓ 10 callersFunctionNoErrorAndNotEmptyBytes
(t *testing.T, path string, callable func(path string) ([]byte, error))
pkg/resources/resources_test.go:31
↓ 10 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/pipe_types_support.go:119
↓ 10 callersFunctionStringSliceExists
(slice []string, item string)
pkg/util/util.go:80
↓ 9 callersMethodAdd
(key string, value string)
pkg/apis/camel/v1/maven_types_support.go:57
↓ 9 callersFunctionAddKamelet
(meta *Metadata, content string)
pkg/util/source/kamelet.go:42
↓ 9 callersFunctionAddToScheme
AddToScheme adds all Resources to the Scheme.
pkg/apis/apis.go:28
↓ 9 callersMethodAllSources
AllSources returns a new slice containing all the sources associated to the Integration. It merges any generated source, giving priority to this if th
pkg/apis/camel/v1/integration_types_support.go:87
↓ 9 callersMethodForIntegration
ForIntegration --.
pkg/util/log/log.go:108
↓ 9 callersFunctionGetForResource
nolint:staticcheck
pkg/platform/platform.go:55
↓ 9 callersMethodHandle
(ctx context.Context, integration *v1.Integration)
pkg/controller/integration/build_kit.go:46
↓ 9 callersFunctionMatchFieldsP
(options Options, fields Fields)
e2e/support/test_util.go:55
↓ 9 callersFunctionNewInitializeAction
NewInitializeAction returns a action that initializes the Pipe configuration when not provided by the user.
pkg/controller/pipe/initialize.go:41
↓ 9 callersFunctionNewIntegrationConditionUserDisabled
(traitID string)
pkg/trait/trait_condition_types.go:55
↓ 9 callersFunctionNewMonitorAction
NewMonitorAction returns an action that monitors the integration platform after it's fully initialized.
pkg/controller/integrationplatform/monitor.go:33
↓ 9 callersFunctionOperatorPodPhase
(t *testing.T, ctx context.Context, ns string)
e2e/support/test_support.go:1229
↓ 9 callersFunctionParseAndCreateVolume
ParseAndCreateVolume will parse a volume configuration. If the volume does not exist it tries to create one based on the storage class configuration p
pkg/trait/mount_support.go:67
↓ 9 callersMethodReplaceFromURI
ReplaceFromURI parses the source content and replace the `from` URI configuration with the a new URI.
pkg/util/source/inspector.go:188
↓ 9 callersMethodWithName
WithName --.
pkg/util/log/log.go:84
↓ 9 callersMethodadd
(k *v1.Kamelet)
pkg/trait/kamelets_support.go:43
↓ 9 callersFunctionassertExtractYAML
(t *testing.T, inspector YAMLInspector, source string, assertFn func(meta *Metadata))
pkg/util/source/source_support_test.go:43
↓ 9 callersFunctioncreateNominalCamelTest
(withSources bool)
pkg/trait/camel_test.go:117
↓ 9 callersFunctiondoAdd
(addToScheme registerFunction, scheme *runtime.Scheme, err error)
pkg/util/openshift/register.go:58
↓ 9 callersMethodgetKameletKeys
()
pkg/trait/kamelets.go:362
↓ 9 callersFunctionnominalPipe
(name string)
pkg/controller/pipe/integration_test.go:222
↓ 8 callersMethodAddReactor
(verb, resource string, reaction testing.ReactionFunc)
pkg/internal/client.go:166
↓ 8 callersMethodCamel
()
pkg/client/camel/informers/externalversions/factory.go:262
↓ 8 callersFunctionCapabilityPropertyKey
CapabilityPropertyKey returns the key or expand any variable provided in it. vars variable contain the possible dynamic values to use.
pkg/trait/trait_types.go:547
↓ 8 callersMethodConfiguration
()
pkg/apis/camel/v1/error_handler_types_support.go:31
↓ 8 callersFunctionConfigureDefaults
ConfigureDefaults fills with default values all missing details about the integration platform. Defaults are set in the status fields, not in the spec
pkg/platform/defaults.go:67
↓ 8 callersFunctionConfigureResource
ConfigureResource will set a resource on the specified resource list or returns an error.
pkg/util/kubernetes/factory.go:106
↓ 8 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
pkg/apis/duck/keda/v1alpha1/zz_generated.deepcopy.go:60
↓ 8 callersMethodDiscovery
()
pkg/client/keda/clientset/internalclientset/clientset.go:33
↓ 8 callersFunctionExtractKamelet
(uri string)
pkg/util/source/kamelet.go:30
↓ 8 callersMethodFromString
(str string)
pkg/util/reference/reference.go:74
↓ 8 callersMethodGetPropertyMap
GetPropertyMap returns the EndpointProperties as map.
pkg/apis/camel/v1/pipe_types_support.go:156
↓ 8 callersMethodGetService
GetService returns a Service that matches the given function.
pkg/util/kubernetes/collection.go:244
↓ 8 callersMethodInformer
()
pkg/client/camel/informers/externalversions/generic.go:33
↓ 8 callersMethodInformerFor
(obj runtime.Object, newFunc NewInformerFunc)
pkg/client/camel/informers/externalversions/internalinterfaces/factory_interfaces.go:37
↓ 8 callersFunctionInstallOperator
InstallOperator is in charge to install a namespaced operator. The func must be executed in a critical section as there may be concurrent access to it
e2e/support/test_util.go:70
↓ 8 callersMethodIsManagedBuild
IsManagedBuild returns true when the Integration requires to be built by the operator.
pkg/apis/camel/v1/integration_types_support.go:153
↓ 8 callersMethodMatches
nolint:staticcheck
pkg/trait/builder.go:71
↓ 8 callersFunctionNewRepository
NewRepository parses the given repository URL and generates the corresponding v1.Repository. The repository can be customized by appending @param to
pkg/util/maven/maven_project.go:178
↓ 8 callersFunctionSanitizeName
SanitizeName sanitizes the given name to be compatible with k8s.
pkg/util/kubernetes/sanitize.go:32
↓ 8 callersFunctionServicesByType
ServicesByType Find the service in the given namespace with the given type
e2e/support/test_support.go:699
↓ 8 callersFunctionToTraitMap
ToTraitMap accepts either v1.Traits or v1.IntegrationKitTraits and converts it to a map of traits.
pkg/trait/util.go:170
↓ 8 callersMethodV1
V1 provides access to shared informers for resources in V1.
pkg/client/camel/informers/externalversions/camel/interface.go:30
↓ 8 callersFunctionValidateDependency
ValidateDependency validates a dependency against Camel catalog. It only shows warning and does not throw error in case the Catalog is just not comple
pkg/util/camel/camel_dependencies.go:55
↓ 8 callersFunctioncreateKnativeServiceTestEnvironment
(t *testing.T, trait *traitv1.KnativeServiceTrait)
pkg/trait/knative_service_test.go:498
↓ 8 callersMethodextractServices
(names []string, serviceType knativeapi.CamelServiceType)
pkg/trait/knative.go:596
↓ 8 callersFunctiongetContainerCommand
()
e2e/native/native_test_support.go:31
↓ 8 callersFunctioninitializeKitCreateCmdOptions
(t *testing.T)
pkg/cmd/kit_create_test.go:30
↓ 8 callersFunctionkamelTestPreAddCommandInitWithClient
(client client.Client)
pkg/cmd/root_test.go:39
↓ 8 callersFunctionkamelet
(ns, name string)
pkg/trait/kamelets_support_test.go:86
↓ 8 callersFunctionnewDependenciesTrait
()
pkg/trait/dependencies.go:39
↓ 8 callersFunctionnewKnativeTrait
()
pkg/trait/knative.go:61
↓ 8 callersFunctionstringP
(s string)
e2e/advanced/operator_metrics_test.go:530
↓ 7 callersMethodAddConfiguration
(confType string, confValue string)
pkg/apis/camel/v1/integration_types_support.go:179
↓ 7 callersMethodAllTraits
()
pkg/trait/trait_catalog.go:66
↓ 7 callersFunctionCreateLogKamelet
(t *testing.T, ctx context.Context, ns string, name string)
e2e/support/test_support.go:2199
↓ 7 callersFunctionDecodeValueSource
DecodeValueSource returns a ValueSource object from an input that respects the format configmap|secret:resource-name[/path].
pkg/apis/camel/v1/common_types_support.go:222
↓ 7 callersFunctionEqualP
(expected interface{})
e2e/support/test_util.go:51
↓ 7 callersFunctionGenerateKeystore
(ctx context.Context, keystoreDir, keystoreName, keystorePass string, data [][]byte)
pkg/util/jvm/keystore.go:48
↓ 7 callersFunctionGetAnnotation
GetAnnotation safely get the annotation value.
pkg/apis/camel/v1/common_types_support.go:187
↓ 7 callersFunctionGetComponent
GetComponent returns the Camel component used in the URI.
pkg/util/uri/uri.go:39
↓ 7 callersMethodGetConfigurationProperty
GetConfigurationProperty returns a configuration property.
pkg/apis/camel/v1/integration_types_support.go:202
↓ 7 callersMethodIntercept
(intercept *interceptor.Funcs)
pkg/internal/client.go:160
↓ 7 callersFunctionIsAPIResourceInstalled
(c kubernetes.Interface, groupVersion string, kind string)
pkg/util/kubernetes/discovery.go:25
↓ 7 callersFunctionIsCurrentOperatorGlobal
IsCurrentOperatorGlobal returns true if the operator is configured to watch all namespaces.
pkg/platform/operator.go:48
↓ 7 callersFunctionKnativeService
(t *testing.T, ctx context.Context, ns string, name string)
e2e/support/test_support.go:1472
↓ 7 callersFunctionNewIntegrationKit
(namespace string, name string)
pkg/apis/camel/v1/integrationkit_types_support.go:33
↓ 7 callersFunctionNewSimpleClientset
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/camel/clientset/versioned/fake/clientset_generated.go:43
↓ 7 callersFunctionPipe
(t *testing.T, ctx context.Context, ns string, name string)
e2e/support/test_support.go:1001
← previousnext →201–300 of 5,125, ranked by callers