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
↓ 12 callers
Function
checkValidRefs
(t *testing.T, refs []v1.ObjectReference)
pkg/util/knative/apis_test.go:159
↓ 12 callers
Function
createNominalTolerationTrait
()
pkg/trait/toleration_test.go:199
↓ 12 callers
Function
getLanguageSettings
Retrieves the settings of the given language from the Camel catalog.
pkg/trait/quarkus.go:78
↓ 12 callers
Function
initializeBindCmdOptions
(t *testing.T)
pkg/cmd/bind_test.go:32
↓ 12 callers
Function
initializePromoteCmdOptions
(t *testing.T, initObjs ...runtime.Object)
pkg/cmd/promote_test.go:39
↓ 11 callers
Method
AddArgument
(argument string)
pkg/util/maven/maven_command.go:210
↓ 11 callers
Method
Configure
Configure reads trait configurations from environment and applies them to catalog.
pkg/trait/trait_configure.go:35
↓ 11 callers
Method
DestinationPath
DestinationPath is the location where the resource will be stored on destination.
pkg/util/resource/config.go:36
↓ 11 callers
Method
DetermineControllerStrategy
DetermineControllerStrategy determines the type of controller that should be used for the integration.
pkg/trait/trait_types.go:311
↓ 11 callers
Function
IntegrationPodHas
(t *testing.T, ctx context.Context, ns string, name string, predicate func(pod *corev1.Pod) bool)
e2e/support/test_support.go:493
↓ 11 callers
Method
List
List the kamelets available in the repository
pkg/kamelet/repository/repository.go:40
↓ 11 callers
Function
NewSettings
(options ...SettingsOption)
pkg/util/maven/maven_settings.go:38
↓ 11 callers
Function
ParseConfig
ParseConfig will parse a config and return a Config.
pkg/util/resource/config.go:141
↓ 11 callers
Function
RunAndLog
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 callers
Method
SetReadyConditionError
SetReadyConditionError sets Ready condition to False with the given error message.
pkg/apis/camel/v1/integration_types_support.go:361
↓ 11 callers
Method
Size
Size returns the number if items in the Set.
pkg/util/sets/set.go:91
↓ 11 callers
Method
Status
()
pkg/internal/client.go:197
↓ 11 callers
Function
StringSliceContainsAnyOf
(slice []string, items ...string)
pkg/util/util.go:84
↓ 11 callers
Function
ToYAML
ToYAML marshal to yaml format.
pkg/util/kubernetes/util.go:32
↓ 11 callers
Function
nominalIntegration
(name string)
pkg/cmd/promote_test.go:84
↓ 10 callers
Function
CloseQuietly
CloseQuietly unconditionally close an io.Closer It should not be used to replace the Close statement(s).
pkg/util/util.go:399
↓ 10 callers
Method
GetCronJob
GetCronJob returns a CronJob that matches the given function.
pkg/util/kubernetes/collection.go:337
↓ 10 callers
Function
GetQueryParameter
GetQueryParameter returns the given parameter from the uri, if present.
pkg/util/uri/uri.go:49
↓ 10 callers
Function
IntegrationKitNamespace
(t *testing.T, ctx context.Context, integrationNamespace string, name string)
e2e/support/test_support.go:896
↓ 10 callers
Function
IntegrationPodImage
(t *testing.T, ctx context.Context, ns string, name string)
e2e/support/test_support.go:469
↓ 10 callers
Function
IsLocalAndFileExists
(uri string)
pkg/cmd/source/util.go:36
↓ 10 callers
Function
KitPhase
(t *testing.T, ctx context.Context, ns, name string)
e2e/support/test_support.go:949
↓ 10 callers
Function
NewMonitorAction
NewMonitorAction returns an action that monitors the Pipe after it's fully initialized.
pkg/controller/pipe/monitor.go:36
↓ 10 callers
Function
NoErrorAndNotEmptyBytes
(t *testing.T, path string, callable func(path string) ([]byte, error))
pkg/resources/resources_test.go:31
↓ 10 callers
Method
SetConditions
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 callers
Function
StringSliceExists
(slice []string, item string)
pkg/util/util.go:80
↓ 9 callers
Method
Add
(key string, value string)
pkg/apis/camel/v1/maven_types_support.go:57
↓ 9 callers
Function
AddKamelet
(meta *Metadata, content string)
pkg/util/source/kamelet.go:42
↓ 9 callers
Function
AddToScheme
AddToScheme adds all Resources to the Scheme.
pkg/apis/apis.go:28
↓ 9 callers
Method
AllSources
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 callers
Method
ForIntegration
ForIntegration --.
pkg/util/log/log.go:108
↓ 9 callers
Function
GetForResource
nolint:staticcheck
pkg/platform/platform.go:55
↓ 9 callers
Method
Handle
(ctx context.Context, integration *v1.Integration)
pkg/controller/integration/build_kit.go:46
↓ 9 callers
Function
MatchFieldsP
(options Options, fields Fields)
e2e/support/test_util.go:55
↓ 9 callers
Function
NewInitializeAction
NewInitializeAction returns a action that initializes the Pipe configuration when not provided by the user.
pkg/controller/pipe/initialize.go:41
↓ 9 callers
Function
NewIntegrationConditionUserDisabled
(traitID string)
pkg/trait/trait_condition_types.go:55
↓ 9 callers
Function
NewMonitorAction
NewMonitorAction returns an action that monitors the integration platform after it's fully initialized.
pkg/controller/integrationplatform/monitor.go:33
↓ 9 callers
Function
OperatorPodPhase
(t *testing.T, ctx context.Context, ns string)
e2e/support/test_support.go:1229
↓ 9 callers
Function
ParseAndCreateVolume
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 callers
Method
ReplaceFromURI
ReplaceFromURI parses the source content and replace the `from` URI configuration with the a new URI.
pkg/util/source/inspector.go:188
↓ 9 callers
Method
WithName
WithName --.
pkg/util/log/log.go:84
↓ 9 callers
Method
add
(k *v1.Kamelet)
pkg/trait/kamelets_support.go:43
↓ 9 callers
Function
assertExtractYAML
(t *testing.T, inspector YAMLInspector, source string, assertFn func(meta *Metadata))
pkg/util/source/source_support_test.go:43
↓ 9 callers
Function
createNominalCamelTest
(withSources bool)
pkg/trait/camel_test.go:117
↓ 9 callers
Function
doAdd
(addToScheme registerFunction, scheme *runtime.Scheme, err error)
pkg/util/openshift/register.go:58
↓ 9 callers
Method
getKameletKeys
()
pkg/trait/kamelets.go:362
↓ 9 callers
Function
nominalPipe
(name string)
pkg/controller/pipe/integration_test.go:222
↓ 8 callers
Method
AddReactor
(verb, resource string, reaction testing.ReactionFunc)
pkg/internal/client.go:166
↓ 8 callers
Method
Camel
()
pkg/client/camel/informers/externalversions/factory.go:262
↓ 8 callers
Function
CapabilityPropertyKey
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 callers
Method
Configuration
()
pkg/apis/camel/v1/error_handler_types_support.go:31
↓ 8 callers
Function
ConfigureDefaults
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 callers
Function
ConfigureResource
ConfigureResource will set a resource on the specified resource list or returns an error.
pkg/util/kubernetes/factory.go:106
↓ 8 callers
Method
DeepCopyInto
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 callers
Method
Discovery
()
pkg/client/keda/clientset/internalclientset/clientset.go:33
↓ 8 callers
Function
ExtractKamelet
(uri string)
pkg/util/source/kamelet.go:30
↓ 8 callers
Method
FromString
(str string)
pkg/util/reference/reference.go:74
↓ 8 callers
Method
GetPropertyMap
GetPropertyMap returns the EndpointProperties as map.
pkg/apis/camel/v1/pipe_types_support.go:156
↓ 8 callers
Method
GetService
GetService returns a Service that matches the given function.
pkg/util/kubernetes/collection.go:244
↓ 8 callers
Method
Informer
()
pkg/client/camel/informers/externalversions/generic.go:33
↓ 8 callers
Method
InformerFor
(obj runtime.Object, newFunc NewInformerFunc)
pkg/client/camel/informers/externalversions/internalinterfaces/factory_interfaces.go:37
↓ 8 callers
Function
InstallOperator
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 callers
Method
IsManagedBuild
IsManagedBuild returns true when the Integration requires to be built by the operator.
pkg/apis/camel/v1/integration_types_support.go:153
↓ 8 callers
Method
Matches
nolint:staticcheck
pkg/trait/builder.go:71
↓ 8 callers
Function
NewRepository
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 callers
Function
SanitizeName
SanitizeName sanitizes the given name to be compatible with k8s.
pkg/util/kubernetes/sanitize.go:32
↓ 8 callers
Function
ServicesByType
ServicesByType Find the service in the given namespace with the given type
e2e/support/test_support.go:699
↓ 8 callers
Function
ToTraitMap
ToTraitMap accepts either v1.Traits or v1.IntegrationKitTraits and converts it to a map of traits.
pkg/trait/util.go:170
↓ 8 callers
Method
V1
V1 provides access to shared informers for resources in V1.
pkg/client/camel/informers/externalversions/camel/interface.go:30
↓ 8 callers
Function
ValidateDependency
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 callers
Function
createKnativeServiceTestEnvironment
(t *testing.T, trait *traitv1.KnativeServiceTrait)
pkg/trait/knative_service_test.go:498
↓ 8 callers
Method
extractServices
(names []string, serviceType knativeapi.CamelServiceType)
pkg/trait/knative.go:596
↓ 8 callers
Function
getContainerCommand
()
e2e/native/native_test_support.go:31
↓ 8 callers
Function
initializeKitCreateCmdOptions
(t *testing.T)
pkg/cmd/kit_create_test.go:30
↓ 8 callers
Function
kamelTestPreAddCommandInitWithClient
(client client.Client)
pkg/cmd/root_test.go:39
↓ 8 callers
Function
kamelet
(ns, name string)
pkg/trait/kamelets_support_test.go:86
↓ 8 callers
Function
newDependenciesTrait
()
pkg/trait/dependencies.go:39
↓ 8 callers
Function
newKnativeTrait
()
pkg/trait/knative.go:61
↓ 8 callers
Function
stringP
(s string)
e2e/advanced/operator_metrics_test.go:530
↓ 7 callers
Method
AddConfiguration
(confType string, confValue string)
pkg/apis/camel/v1/integration_types_support.go:179
↓ 7 callers
Method
AllTraits
()
pkg/trait/trait_catalog.go:66
↓ 7 callers
Function
CreateLogKamelet
(t *testing.T, ctx context.Context, ns string, name string)
e2e/support/test_support.go:2199
↓ 7 callers
Function
DecodeValueSource
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 callers
Function
EqualP
(expected interface{})
e2e/support/test_util.go:51
↓ 7 callers
Function
GenerateKeystore
(ctx context.Context, keystoreDir, keystoreName, keystorePass string, data [][]byte)
pkg/util/jvm/keystore.go:48
↓ 7 callers
Function
GetAnnotation
GetAnnotation safely get the annotation value.
pkg/apis/camel/v1/common_types_support.go:187
↓ 7 callers
Function
GetComponent
GetComponent returns the Camel component used in the URI.
pkg/util/uri/uri.go:39
↓ 7 callers
Method
GetConfigurationProperty
GetConfigurationProperty returns a configuration property.
pkg/apis/camel/v1/integration_types_support.go:202
↓ 7 callers
Method
Intercept
(intercept *interceptor.Funcs)
pkg/internal/client.go:160
↓ 7 callers
Function
IsAPIResourceInstalled
(c kubernetes.Interface, groupVersion string, kind string)
pkg/util/kubernetes/discovery.go:25
↓ 7 callers
Function
IsCurrentOperatorGlobal
IsCurrentOperatorGlobal returns true if the operator is configured to watch all namespaces.
pkg/platform/operator.go:48
↓ 7 callers
Function
KnativeService
(t *testing.T, ctx context.Context, ns string, name string)
e2e/support/test_support.go:1472
↓ 7 callers
Function
NewIntegrationKit
(namespace string, name string)
pkg/apis/camel/v1/integrationkit_types_support.go:33
↓ 7 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/camel/clientset/versioned/fake/clientset_generated.go:43
↓ 7 callers
Function
Pipe
(t *testing.T, ctx context.Context, ns string, name string)
e2e/support/test_support.go:1001
← previous
next →
201–300 of 5,125, ranked by callers