code
stringlengths
0
56.1M
repo_name
stringclasses
515 values
path
stringlengths
2
147
language
stringclasses
447 values
license
stringclasses
7 values
size
int64
0
56.8M
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/bindings/graphql" bindingsLoader "github.com/dapr/dapr/pkg/components/bindings" ) func init() { bindingsLoader.DefaultRegistry.RegisterOutputBinding(graphql.NewGraphQL, "graphql") }
mikeee/dapr
cmd/daprd/components/binding_graphql.go
GO
mit
838
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/bindings/http" bindingsLoader "github.com/dapr/dapr/pkg/components/bindings" ) func init() { bindingsLoader.DefaultRegistry.RegisterOutputBinding(http.NewHTTP, "http") }
mikeee/dapr
cmd/daprd/components/binding_http.go
GO
mit
846
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/bindings/huawei/obs" bindingsLoader "github.com/dapr/dapr/pkg/components/bindings" ) func init() { bindingsLoader.DefaultRegistry.RegisterOutputBinding(obs.NewHuaweiOBS, "huawei.obs") }
mikeee/dapr
cmd/daprd/components/binding_huawei_obs.go
GO
mit
842
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/bindings/influx" bindingsLoader "github.com/dapr/dapr/pkg/components/bindings" ) func init() { bindingsLoader.DefaultRegistry.RegisterOutputBinding(influx.NewInflux, "influx") }
mikeee/dapr
cmd/daprd/components/binding_influx.go
GO
mit
834
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/bindings" "github.com/dapr/components-contrib/bindings/kafka" bindingsLoader "github.com/dapr/dapr/pkg/components/bindings" "github.com/dapr/kit/logger" ) func init() { bindingsLoader.DefaultRegistry.RegisterInputBinding(func(l logger.Logger) bindings.InputBinding { return kafka.NewKafka(l) }, "kafka") bindingsLoader.DefaultRegistry.RegisterOutputBinding(func(l logger.Logger) bindings.OutputBinding { return kafka.NewKafka(l) }, "kafka") }
mikeee/dapr
cmd/daprd/components/binding_kafka.go
GO
mit
1,128
//go:build !(linux && arm) && allcomponents // +build !linux !arm // +build allcomponents /* Copyright 2023 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/bindings/kitex" bindingsLoader "github.com/dapr/dapr/pkg/components/bindings" ) func init() { bindingsLoader.DefaultRegistry.RegisterOutputBinding(kitex.NewKitexOutput, "kitex") }
mikeee/dapr
cmd/daprd/components/binding_kitex.go
GO
mit
901
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/bindings" "github.com/dapr/components-contrib/bindings/kubemq" bindingsLoader "github.com/dapr/dapr/pkg/components/bindings" "github.com/dapr/kit/logger" ) func init() { bindingsLoader.DefaultRegistry.RegisterInputBinding(func(l logger.Logger) bindings.InputBinding { return kubemq.NewKubeMQ(l) }, "kubemq") bindingsLoader.DefaultRegistry.RegisterOutputBinding(func(l logger.Logger) bindings.OutputBinding { return kubemq.NewKubeMQ(l) }, "kubemq") }
mikeee/dapr
cmd/daprd/components/binding_kubemq.go
GO
mit
1,115
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/bindings/kubernetes" bindingsLoader "github.com/dapr/dapr/pkg/components/bindings" ) func init() { bindingsLoader.DefaultRegistry.RegisterInputBinding(kubernetes.NewKubernetes, "kubernetes") }
mikeee/dapr
cmd/daprd/components/binding_kubernetes.go
GO
mit
849
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/bindings/localstorage" bindingsLoader "github.com/dapr/dapr/pkg/components/bindings" ) func init() { bindingsLoader.DefaultRegistry.RegisterOutputBinding(localstorage.NewLocalStorage, "localstorage") }
mikeee/dapr
cmd/daprd/components/binding_localstorage.go
GO
mit
878
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/bindings" mqtt "github.com/dapr/components-contrib/bindings/mqtt3" bindingsLoader "github.com/dapr/dapr/pkg/components/bindings" "github.com/dapr/kit/logger" ) func init() { bindingsLoader.DefaultRegistry.RegisterInputBinding(func(l logger.Logger) bindings.InputBinding { return mqtt.NewMQTT(l) }, "mqtt3", "mqtt") bindingsLoader.DefaultRegistry.RegisterOutputBinding(func(l logger.Logger) bindings.OutputBinding { return mqtt.NewMQTT(l) }, "mqtt3", "mqtt") }
mikeee/dapr
cmd/daprd/components/binding_mqtt.go
GO
mit
1,125
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/bindings/mysql" bindingsLoader "github.com/dapr/dapr/pkg/components/bindings" ) func init() { bindingsLoader.DefaultRegistry.RegisterOutputBinding(mysql.NewMysql, "mysql") }
mikeee/dapr
cmd/daprd/components/binding_mysql.go
GO
mit
830
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/bindings/postgres" bindingsLoader "github.com/dapr/dapr/pkg/components/bindings" ) func init() { bindingsLoader.DefaultRegistry.RegisterOutputBinding(postgres.NewPostgres, "postgres", "postgresql") }
mikeee/dapr
cmd/daprd/components/binding_postgres.go
GO
mit
876
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/bindings/postmark" bindingsLoader "github.com/dapr/dapr/pkg/components/bindings" ) func init() { bindingsLoader.DefaultRegistry.RegisterOutputBinding(postmark.NewPostmark, "postmark") }
mikeee/dapr
cmd/daprd/components/binding_postmark.go
GO
mit
842
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/bindings" "github.com/dapr/components-contrib/bindings/rabbitmq" bindingsLoader "github.com/dapr/dapr/pkg/components/bindings" "github.com/dapr/kit/logger" ) func init() { bindingsLoader.DefaultRegistry.RegisterInputBinding(func(l logger.Logger) bindings.InputBinding { return rabbitmq.NewRabbitMQ(l) }, "rabbitmq") bindingsLoader.DefaultRegistry.RegisterOutputBinding(func(l logger.Logger) bindings.OutputBinding { return rabbitmq.NewRabbitMQ(l) }, "rabbitmq") }
mikeee/dapr
cmd/daprd/components/binding_rabbitmq.go
GO
mit
1,149
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/bindings/redis" bindingsLoader "github.com/dapr/dapr/pkg/components/bindings" ) func init() { bindingsLoader.DefaultRegistry.RegisterOutputBinding(redis.NewRedis, "redis") }
mikeee/dapr
cmd/daprd/components/binding_redis.go
GO
mit
850
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/bindings/rethinkdb/statechange" bindingsLoader "github.com/dapr/dapr/pkg/components/bindings" ) func init() { bindingsLoader.DefaultRegistry.RegisterInputBinding(statechange.NewRethinkDBStateChangeBinding, "rethinkdb.statechange") }
mikeee/dapr
cmd/daprd/components/binding_rethinkdb_statechange.go
GO
mit
889
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/bindings/smtp" bindingsLoader "github.com/dapr/dapr/pkg/components/bindings" ) func init() { bindingsLoader.DefaultRegistry.RegisterOutputBinding(smtp.NewSMTP, "smtp") }
mikeee/dapr
cmd/daprd/components/binding_smtp.go
GO
mit
826
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/bindings/twilio/sendgrid" bindingsLoader "github.com/dapr/dapr/pkg/components/bindings" ) func init() { bindingsLoader.DefaultRegistry.RegisterOutputBinding(sendgrid.NewSendGrid, "twilio.sendgrid") }
mikeee/dapr
cmd/daprd/components/binding_twilio_sendgrid.go
GO
mit
856
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/bindings/twilio/sms" bindingsLoader "github.com/dapr/dapr/pkg/components/bindings" ) func init() { bindingsLoader.DefaultRegistry.RegisterOutputBinding(sms.NewSMS, "twilio.sms") }
mikeee/dapr
cmd/daprd/components/binding_twilio_sms.go
GO
mit
836
//go:build allcomponents /* Copyright 2023 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/bindings/wasm" "github.com/dapr/dapr/pkg/components" bindingsLoader "github.com/dapr/dapr/pkg/components/bindings" ) func init() { bindingsLoader.DefaultRegistry.RegisterOutputBinding(wasm.NewWasmOutput, "wasm") components.RegisterWasmComponentType(components.CategoryBindings, "wasm") }
mikeee/dapr
cmd/daprd/components/binding_webassembly.go
GO
mit
946
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/bindings/zeebe/command" bindingsLoader "github.com/dapr/dapr/pkg/components/bindings" ) func init() { bindingsLoader.DefaultRegistry.RegisterOutputBinding(command.NewZeebeCommand, "zeebe.command") }
mikeee/dapr
cmd/daprd/components/binding_zeebe_command.go
GO
mit
855
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/bindings/zeebe/jobworker" bindingsLoader "github.com/dapr/dapr/pkg/components/bindings" ) func init() { bindingsLoader.DefaultRegistry.RegisterInputBinding(jobworker.NewZeebeJobWorker, "zeebe.jobworker") }
mikeee/dapr
cmd/daprd/components/binding_zeebe_jobworker.go
GO
mit
862
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/configuration/azure/appconfig" configurationLoader "github.com/dapr/dapr/pkg/components/configuration" ) func init() { configurationLoader.DefaultRegistry.RegisterComponent(appconfig.NewAzureAppConfigurationStore, "azure.appconfig") }
mikeee/dapr
cmd/daprd/components/configuration_azure_appconfig.go
GO
mit
891
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( configPostgres "github.com/dapr/components-contrib/configuration/postgres" configurationLoader "github.com/dapr/dapr/pkg/components/configuration" ) func init() { configurationLoader.DefaultRegistry.RegisterComponent(configPostgres.NewPostgresConfigurationStore, "postgres", "postgresql") }
mikeee/dapr
cmd/daprd/components/configuration_postgres.go
GO
mit
931
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/configuration/redis" configurationLoader "github.com/dapr/dapr/pkg/components/configuration" ) func init() { configurationLoader.DefaultRegistry.RegisterComponent(redis.NewRedisConfigurationStore, "redis") }
mikeee/dapr
cmd/daprd/components/configuration_redis.go
GO
mit
884
//go:build allcomponents /* Copyright 2023 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/crypto/azure/keyvault" cryptoLoader "github.com/dapr/dapr/pkg/components/crypto" ) func init() { cryptoLoader.DefaultRegistry.RegisterComponent(keyvault.NewAzureKeyvaultCrypto, "azure.keyvault") }
mikeee/dapr
cmd/daprd/components/crypto_azure_keyvault.go
GO
mit
853
//go:build allcomponents /* Copyright 2023 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/crypto/jwks" cryptoLoader "github.com/dapr/dapr/pkg/components/crypto" ) func init() { cryptoLoader.DefaultRegistry.RegisterComponent(jwks.NewJWKSCrypto, "dapr.jwks") }
mikeee/dapr
cmd/daprd/components/crypto_dapr_jwks.go
GO
mit
825
//go:build allcomponents /* Copyright 2023 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/crypto/kubernetes/secrets" cryptoLoader "github.com/dapr/dapr/pkg/components/crypto" ) func init() { cryptoLoader.DefaultRegistry.RegisterComponent(secrets.NewKubeSecretsCrypto, "dapr.kubernetes.secrets") }
mikeee/dapr
cmd/daprd/components/crypto_dapr_kubernetes_secrets.go
GO
mit
863
//go:build allcomponents /* Copyright 2023 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/crypto/localstorage" cryptoLoader "github.com/dapr/dapr/pkg/components/crypto" ) func init() { cryptoLoader.DefaultRegistry.RegisterComponent(localstorage.NewLocalStorageCrypto, "dapr.localstorage") }
mikeee/dapr
cmd/daprd/components/crypto_dapr_localstorage.go
GO
mit
857
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/lock/redis" lockLoader "github.com/dapr/dapr/pkg/components/lock" ) func init() { lockLoader.DefaultRegistry.RegisterComponent(redis.NewStandaloneRedisLock, "redis") }
mikeee/dapr
cmd/daprd/components/lock_redis.go
GO
mit
824
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "context" contribmiddleware "github.com/dapr/components-contrib/middleware" "github.com/dapr/components-contrib/middleware/http/bearer" httpMiddlewareLoader "github.com/dapr/dapr/pkg/components/middleware/http" "github.com/dapr/dapr/pkg/middleware" "github.com/dapr/kit/logger" ) func init() { httpMiddlewareLoader.DefaultRegistry.RegisterComponent(func(log logger.Logger) httpMiddlewareLoader.FactoryMethod { return func(metadata contribmiddleware.Metadata) (middleware.HTTP, error) { return bearer.NewBearerMiddleware(log).GetHandler(context.TODO(), metadata) } }, "bearer") }
mikeee/dapr
cmd/daprd/components/middleware_http_bearer.go
GO
mit
1,232
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "context" contribmiddleware "github.com/dapr/components-contrib/middleware" "github.com/dapr/components-contrib/middleware/http/oauth2" httpMiddlewareLoader "github.com/dapr/dapr/pkg/components/middleware/http" "github.com/dapr/dapr/pkg/middleware" "github.com/dapr/kit/logger" ) func init() { httpMiddlewareLoader.DefaultRegistry.RegisterComponent(func(log logger.Logger) httpMiddlewareLoader.FactoryMethod { return func(metadata contribmiddleware.Metadata) (middleware.HTTP, error) { return oauth2.NewOAuth2Middleware(log).GetHandler(context.TODO(), metadata) } }, "oauth2") }
mikeee/dapr
cmd/daprd/components/middleware_http_oauth2.go
GO
mit
1,212
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "context" contribmiddleware "github.com/dapr/components-contrib/middleware" "github.com/dapr/components-contrib/middleware/http/oauth2clientcredentials" httpMiddlewareLoader "github.com/dapr/dapr/pkg/components/middleware/http" "github.com/dapr/dapr/pkg/middleware" "github.com/dapr/kit/logger" ) func init() { httpMiddlewareLoader.DefaultRegistry.RegisterComponent(func(log logger.Logger) httpMiddlewareLoader.FactoryMethod { return func(metadata contribmiddleware.Metadata) (middleware.HTTP, error) { return oauth2clientcredentials.NewOAuth2ClientCredentialsMiddleware(log).GetHandler(context.TODO(), metadata) } }, "oauth2clientcredentials") }
mikeee/dapr
cmd/daprd/components/middleware_http_oauth2clientcredentials.go
GO
mit
1,280
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "context" contribmiddleware "github.com/dapr/components-contrib/middleware" "github.com/dapr/components-contrib/middleware/http/opa" httpMiddlewareLoader "github.com/dapr/dapr/pkg/components/middleware/http" "github.com/dapr/dapr/pkg/middleware" "github.com/dapr/kit/logger" ) func init() { httpMiddlewareLoader.DefaultRegistry.RegisterComponent(func(log logger.Logger) httpMiddlewareLoader.FactoryMethod { return func(metadata contribmiddleware.Metadata) (middleware.HTTP, error) { return opa.NewMiddleware(log).GetHandler(context.TODO(), metadata) } }, "opa") }
mikeee/dapr
cmd/daprd/components/middleware_http_opa.go
GO
mit
1,197
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "context" contribmiddleware "github.com/dapr/components-contrib/middleware" "github.com/dapr/components-contrib/middleware/http/ratelimit" httpMiddlewareLoader "github.com/dapr/dapr/pkg/components/middleware/http" "github.com/dapr/dapr/pkg/middleware" "github.com/dapr/kit/logger" ) func init() { httpMiddlewareLoader.DefaultRegistry.RegisterComponent(func(log logger.Logger) httpMiddlewareLoader.FactoryMethod { return func(metadata contribmiddleware.Metadata) (middleware.HTTP, error) { return ratelimit.NewRateLimitMiddleware(log).GetHandler(context.TODO(), metadata) } }, "ratelimit") }
mikeee/dapr
cmd/daprd/components/middleware_http_ratelimit.go
GO
mit
1,244
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "context" contribmiddleware "github.com/dapr/components-contrib/middleware" "github.com/dapr/components-contrib/middleware/http/routeralias" httpMiddlewareLoader "github.com/dapr/dapr/pkg/components/middleware/http" "github.com/dapr/dapr/pkg/middleware" "github.com/dapr/kit/logger" ) func init() { httpMiddlewareLoader.DefaultRegistry.RegisterComponent(func(log logger.Logger) httpMiddlewareLoader.FactoryMethod { return func(metadata contribmiddleware.Metadata) (middleware.HTTP, error) { return routeralias.NewMiddleware(log).GetHandler(context.TODO(), metadata) } }, "routeralias") }
mikeee/dapr
cmd/daprd/components/middleware_http_routeralias.go
GO
mit
1,221
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "context" contribmiddleware "github.com/dapr/components-contrib/middleware" "github.com/dapr/components-contrib/middleware/http/routerchecker" httpMiddlewareLoader "github.com/dapr/dapr/pkg/components/middleware/http" "github.com/dapr/dapr/pkg/middleware" "github.com/dapr/kit/logger" ) func init() { httpMiddlewareLoader.DefaultRegistry.RegisterComponent(func(log logger.Logger) httpMiddlewareLoader.FactoryMethod { return func(metadata contribmiddleware.Metadata) (middleware.HTTP, error) { return routerchecker.NewMiddleware(log).GetHandler(context.TODO(), metadata) } }, "routerchecker") }
mikeee/dapr
cmd/daprd/components/middleware_http_routerchecker.go
GO
mit
1,227
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "context" contribmiddleware "github.com/dapr/components-contrib/middleware" "github.com/dapr/components-contrib/middleware/http/sentinel" httpMiddlewareLoader "github.com/dapr/dapr/pkg/components/middleware/http" "github.com/dapr/dapr/pkg/middleware" "github.com/dapr/kit/logger" ) func init() { httpMiddlewareLoader.DefaultRegistry.RegisterComponent(func(log logger.Logger) httpMiddlewareLoader.FactoryMethod { return func(metadata contribmiddleware.Metadata) (middleware.HTTP, error) { return sentinel.NewMiddleware(log).GetHandler(context.TODO(), metadata) } }, "sentinel") }
mikeee/dapr
cmd/daprd/components/middleware_http_sentinel.go
GO
mit
1,212
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "net/http" "strings" contribmiddleware "github.com/dapr/components-contrib/middleware" httpMiddlewareLoader "github.com/dapr/dapr/pkg/components/middleware/http" "github.com/dapr/dapr/pkg/middleware" "github.com/dapr/dapr/utils" "github.com/dapr/kit/logger" ) func init() { httpMiddlewareLoader.DefaultRegistry.RegisterComponent(func(log logger.Logger) httpMiddlewareLoader.FactoryMethod { return func(metadata contribmiddleware.Metadata) (middleware.HTTP, error) { // Apply to request only by default var request, response bool switch strings.ToLower(metadata.Properties["direction"]) { case "response": request = false response = true case "both": request = true response = true case "request": request = true response = false default: request = true response = false } if response && request { return func(next http.Handler) http.Handler { return utils.UppercaseRequestMiddleware( utils.UppercaseResponseMiddleware(next), ) }, nil } else if response { return utils.UppercaseResponseMiddleware, nil } else if request { return utils.UppercaseRequestMiddleware, nil } // Should never get here return nil, nil } }, "uppercase") }
mikeee/dapr
cmd/daprd/components/middleware_http_uppercase.go
GO
mit
1,888
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "context" contribmiddleware "github.com/dapr/components-contrib/middleware" "github.com/dapr/components-contrib/middleware/http/wasm" "github.com/dapr/dapr/pkg/components" httpMiddlewareLoader "github.com/dapr/dapr/pkg/components/middleware/http" "github.com/dapr/dapr/pkg/middleware" "github.com/dapr/kit/logger" ) func init() { httpMiddlewareLoader.DefaultRegistry.RegisterComponent(func(log logger.Logger) httpMiddlewareLoader.FactoryMethod { return func(metadata contribmiddleware.Metadata) (middleware.HTTP, error) { return wasm.NewMiddleware(log).GetHandler(context.TODO(), metadata) } }, "wasm") components.RegisterWasmComponentType(components.CategoryMiddleware, "wasm") }
mikeee/dapr
cmd/daprd/components/middleware_http_webassembly.go
GO
mit
1,316
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/nameresolution/consul" nrLoader "github.com/dapr/dapr/pkg/components/nameresolution" ) func init() { nrLoader.DefaultRegistry.RegisterComponent(consul.NewResolver, "consul") }
mikeee/dapr
cmd/daprd/components/nameresolution_consul.go
GO
mit
832
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/nameresolution/kubernetes" nrLoader "github.com/dapr/dapr/pkg/components/nameresolution" ) func init() { nrLoader.DefaultRegistry.RegisterComponent(kubernetes.NewResolver, "kubernetes") }
mikeee/dapr
cmd/daprd/components/nameresolution_kubernetes.go
GO
mit
864
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( mdns "github.com/dapr/components-contrib/nameresolution/mdns" nrLoader "github.com/dapr/dapr/pkg/components/nameresolution" ) func init() { nrLoader.DefaultRegistry.RegisterComponent(mdns.NewResolver, "mdns") }
mikeee/dapr
cmd/daprd/components/nameresolution_mdns.go
GO
mit
851
//go:build allcomponents /* Copyright 2023 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/nameresolution/sqlite" nrLoader "github.com/dapr/dapr/pkg/components/nameresolution" ) func init() { nrLoader.DefaultRegistry.RegisterComponent(sqlite.NewResolver, "sqlite") }
mikeee/dapr
cmd/daprd/components/nameresolution_sqlite.go
GO
mit
832
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/pubsub/aws/snssqs" pubsubLoader "github.com/dapr/dapr/pkg/components/pubsub" ) func init() { // alias "snssqs" for backwards-compatibility; see dapr/components-contrib#1753 pubsubLoader.DefaultRegistry.RegisterComponent(snssqs.NewSnsSqs, "aws.snssqs", "snssqs") }
mikeee/dapr
cmd/daprd/components/pubsub_aws_snssqs.go
GO
mit
941
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/pubsub/azure/eventhubs" pubsubLoader "github.com/dapr/dapr/pkg/components/pubsub" ) func init() { pubsubLoader.DefaultRegistry.RegisterComponent(eventhubs.NewAzureEventHubs, "azure.eventhubs") }
mikeee/dapr
cmd/daprd/components/pubsub_azure_eventhubs.go
GO
mit
871
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/pubsub/azure/servicebus/queues" pubsubLoader "github.com/dapr/dapr/pkg/components/pubsub" ) func init() { pubsubLoader.DefaultRegistry.RegisterComponent(queues.NewAzureServiceBusQueues, "azure.servicebus.queues") }
mikeee/dapr
cmd/daprd/components/pubsub_azure_servicebus_queues.go
GO
mit
871
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/pubsub/azure/servicebus/topics" pubsubLoader "github.com/dapr/dapr/pkg/components/pubsub" ) func init() { // "azure.servicebus" is the old name of the component and maintained for backwards-compatibility pubsubLoader.DefaultRegistry.RegisterComponent(topics.NewAzureServiceBusTopics, "azure.servicebus.topics", "azure.servicebus") }
mikeee/dapr
cmd/daprd/components/pubsub_azure_servicebus_topics.go
GO
mit
1,010
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( pubsubGcp "github.com/dapr/components-contrib/pubsub/gcp/pubsub" pubsubLoader "github.com/dapr/dapr/pkg/components/pubsub" ) func init() { pubsubLoader.DefaultRegistry.RegisterComponent(pubsubGcp.NewGCPPubSub, "gcp.pubsub") }
mikeee/dapr
cmd/daprd/components/pubsub_gcp_pubsub.go
GO
mit
866
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( inmemory "github.com/dapr/components-contrib/pubsub/in-memory" pubsubLoader "github.com/dapr/dapr/pkg/components/pubsub" ) func init() { pubsubLoader.DefaultRegistry.RegisterComponent(inmemory.New, "in-memory") }
mikeee/dapr
cmd/daprd/components/pubsub_in-memory.go
GO
mit
853
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/pubsub/jetstream" pubsubLoader "github.com/dapr/dapr/pkg/components/pubsub" ) func init() { pubsubLoader.DefaultRegistry.RegisterComponent(jetstream.NewJetStream, "jetstream") }
mikeee/dapr
cmd/daprd/components/pubsub_jetstream.go
GO
mit
834
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/pubsub/kafka" pubsubLoader "github.com/dapr/dapr/pkg/components/pubsub" ) func init() { pubsubLoader.DefaultRegistry.RegisterComponent(kafka.NewKafka, "kafka") }
mikeee/dapr
cmd/daprd/components/pubsub_kafka.go
GO
mit
838
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/pubsub/kubemq" pubsubLoader "github.com/dapr/dapr/pkg/components/pubsub" ) func init() { pubsubLoader.DefaultRegistry.RegisterComponent(kubemq.NewKubeMQ, "kubemq") }
mikeee/dapr
cmd/daprd/components/pubsub_kubemq.go
GO
mit
822
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( mqtt "github.com/dapr/components-contrib/pubsub/mqtt3" pubsubLoader "github.com/dapr/dapr/pkg/components/pubsub" ) func init() { pubsubLoader.DefaultRegistry.RegisterComponent(mqtt.NewMQTTPubSub, "mqtt3", "mqtt") }
mikeee/dapr
cmd/daprd/components/pubsub_mqtt.go
GO
mit
855
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/pubsub/pulsar" pubsubLoader "github.com/dapr/dapr/pkg/components/pubsub" ) func init() { pubsubLoader.DefaultRegistry.RegisterComponent(pulsar.NewPulsar, "pulsar") }
mikeee/dapr
cmd/daprd/components/pubsub_pulsar.go
GO
mit
842
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/pubsub/rabbitmq" pubsubLoader "github.com/dapr/dapr/pkg/components/pubsub" ) func init() { pubsubLoader.DefaultRegistry.RegisterComponent(rabbitmq.NewRabbitMQ, "rabbitmq") }
mikeee/dapr
cmd/daprd/components/pubsub_rabbitmq.go
GO
mit
850
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/pubsub/redis" pubsubLoader "github.com/dapr/dapr/pkg/components/pubsub" ) func init() { pubsubLoader.DefaultRegistry.RegisterComponent(redis.NewRedisStreams, "redis") }
mikeee/dapr
cmd/daprd/components/pubsub_redis.go
GO
mit
845
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/pubsub/rocketmq" pubsubLoader "github.com/dapr/dapr/pkg/components/pubsub" ) func init() { pubsubLoader.DefaultRegistry.RegisterComponent(rocketmq.NewRocketMQ, "rocketmq") }
mikeee/dapr
cmd/daprd/components/pubsub_rocketmq.go
GO
mit
830
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/pubsub/solace/amqp" pubsubLoader "github.com/dapr/dapr/pkg/components/pubsub" ) func init() { pubsubLoader.DefaultRegistry.RegisterComponent(amqp.NewAMQPPubsub, "solace.amqp") }
mikeee/dapr
cmd/daprd/components/pubsub_solace_amqp.go
GO
mit
834
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/secretstores/alicloud/parameterstore" secretstoresLoader "github.com/dapr/dapr/pkg/components/secretstores" ) func init() { secretstoresLoader.DefaultRegistry.RegisterComponent(parameterstore.NewParameterStore, "alicloud.parameterstore") }
mikeee/dapr
cmd/daprd/components/secretstores_alicloud_parameterstore.go
GO
mit
896
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/secretstores/aws/parameterstore" secretstoresLoader "github.com/dapr/dapr/pkg/components/secretstores" ) func init() { secretstoresLoader.DefaultRegistry.RegisterComponent(parameterstore.NewParameterStore, "aws.parameterstore") }
mikeee/dapr
cmd/daprd/components/secretstores_aws_parameterstore.go
GO
mit
886
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/secretstores/aws/secretmanager" secretstoresLoader "github.com/dapr/dapr/pkg/components/secretstores" ) func init() { secretstoresLoader.DefaultRegistry.RegisterComponent(secretmanager.NewSecretManager, "aws.secretmanager") }
mikeee/dapr
cmd/daprd/components/secretstores_aws_secretmanager.go
GO
mit
882
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/secretstores/azure/keyvault" secretstoresLoader "github.com/dapr/dapr/pkg/components/secretstores" ) func init() { secretstoresLoader.DefaultRegistry.RegisterComponent(keyvault.NewAzureKeyvaultSecretStore, "azure.keyvault") }
mikeee/dapr
cmd/daprd/components/secretstores_azure_keyvault.go
GO
mit
902
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/secretstores/gcp/secretmanager" secretstoresLoader "github.com/dapr/dapr/pkg/components/secretstores" ) func init() { secretstoresLoader.DefaultRegistry.RegisterComponent(secretmanager.NewSecreteManager, "gcp.secretmanager") }
mikeee/dapr
cmd/daprd/components/secretstores_gcp_secretmanager.go
GO
mit
883
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/secretstores/hashicorp/vault" secretstoresLoader "github.com/dapr/dapr/pkg/components/secretstores" ) func init() { secretstoresLoader.DefaultRegistry.RegisterComponent(vault.NewHashiCorpVaultSecretStore, "hashicorp.vault") }
mikeee/dapr
cmd/daprd/components/secretstores_hashicorp_vault.go
GO
mit
902
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/secretstores/huaweicloud/csms" secretstoresLoader "github.com/dapr/dapr/pkg/components/secretstores" ) func init() { secretstoresLoader.DefaultRegistry.RegisterComponent(csms.NewHuaweiCsmsSecretStore, "huaweicloud.csms") }
mikeee/dapr
cmd/daprd/components/secretstores_huaweicloud_csms.go
GO
mit
879
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/secretstores/kubernetes" secretstoresLoader "github.com/dapr/dapr/pkg/components/secretstores" ) func init() { secretstoresLoader.DefaultRegistry.RegisterComponent(kubernetes.NewKubernetesSecretStore, "kubernetes") }
mikeee/dapr
cmd/daprd/components/secretstores_kubernetes.go
GO
mit
893
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/secretstores/local/env" secretstoresLoader "github.com/dapr/dapr/pkg/components/secretstores" ) func init() { secretstoresLoader.DefaultRegistry.RegisterComponent(env.NewEnvSecretStore, "local.env") }
mikeee/dapr
cmd/daprd/components/secretstores_local_env.go
GO
mit
877
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/secretstores/local/file" secretstoresLoader "github.com/dapr/dapr/pkg/components/secretstores" ) func init() { secretstoresLoader.DefaultRegistry.RegisterComponent(file.NewLocalSecretStore, "local.file") }
mikeee/dapr
cmd/daprd/components/secretstores_local_file.go
GO
mit
882
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/secretstores/tencentcloud/ssm" secretstoresLoader "github.com/dapr/dapr/pkg/components/secretstores" ) func init() { secretstoresLoader.DefaultRegistry.RegisterComponent(ssm.NewSSM, "tencentcloud.ssm") }
mikeee/dapr
cmd/daprd/components/secretstores_tencentcloud_ssm.go
GO
mit
860
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/state/aerospike" stateLoader "github.com/dapr/dapr/pkg/components/state" ) func init() { stateLoader.DefaultRegistry.RegisterComponent(aerospike.NewAerospikeStateStore, "aerospike") }
mikeee/dapr
cmd/daprd/components/state_aerospike.go
GO
mit
840
//go:build allcomponents /* Copyright 2023 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/state/alicloud/tablestore" stateLoader "github.com/dapr/dapr/pkg/components/state" ) func init() { stateLoader.DefaultRegistry.RegisterComponent(tablestore.NewAliCloudTableStore, "alicloud.tablestore") }
mikeee/dapr
cmd/daprd/components/state_alicloud_tablestore.go
GO
mit
860
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/state/aws/dynamodb" stateLoader "github.com/dapr/dapr/pkg/components/state" ) func init() { stateLoader.DefaultRegistry.RegisterComponent(dynamodb.NewDynamoDBStateStore, "aws.dynamodb") }
mikeee/dapr
cmd/daprd/components/state_aws_dynamodb.go
GO
mit
864
//go:build allcomponents || stablecomponents /* Copyright 2023 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( v1 "github.com/dapr/components-contrib/state/azure/blobstorage/v1" v2 "github.com/dapr/components-contrib/state/azure/blobstorage/v2" "github.com/dapr/dapr/pkg/components" stateLoader "github.com/dapr/dapr/pkg/components/state" ) func init() { stateLoader.DefaultRegistry.RegisterComponentWithVersions("azure.blobstorage", components.Versioning{ Preferred: components.VersionConstructor{ Version: "v2", Constructor: v2.NewAzureBlobStorageStore, }, Deprecated: []components.VersionConstructor{ {Version: "v1", Constructor: v1.NewAzureBlobStorageStore}, }, Default: "v1", }) }
mikeee/dapr
cmd/daprd/components/state_azure_blobstorage.go
GO
mit
1,234
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/state/azure/cosmosdb" stateLoader "github.com/dapr/dapr/pkg/components/state" ) func init() { stateLoader.DefaultRegistry.RegisterComponent(cosmosdb.NewCosmosDBStateStore, "azure.cosmosdb") }
mikeee/dapr
cmd/daprd/components/state_azure_cosmosdb.go
GO
mit
868
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/state/azure/tablestorage" stateLoader "github.com/dapr/dapr/pkg/components/state" ) func init() { stateLoader.DefaultRegistry.RegisterComponent(tablestorage.NewAzureTablesStateStore, "azure.tablestorage") }
mikeee/dapr
cmd/daprd/components/state_azure_tablestorage.go
GO
mit
883
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/state/cassandra" stateLoader "github.com/dapr/dapr/pkg/components/state" ) func init() { stateLoader.DefaultRegistry.RegisterComponent(cassandra.NewCassandraStateStore, "cassandra") }
mikeee/dapr
cmd/daprd/components/state_cassandra.go
GO
mit
860
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( cfkv "github.com/dapr/components-contrib/state/cloudflare/workerskv" stateLoader "github.com/dapr/dapr/pkg/components/state" ) func init() { stateLoader.DefaultRegistry.RegisterComponent(cfkv.NewCFWorkersKV, "cloudflare.workerskv") }
mikeee/dapr
cmd/daprd/components/state_cloudflare_workerskv.go
GO
mit
854
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/state/cockroachdb" pgv2 "github.com/dapr/components-contrib/state/postgresql/v2" "github.com/dapr/dapr/pkg/components" stateLoader "github.com/dapr/dapr/pkg/components/state" ) func init() { stateLoader.DefaultRegistry.RegisterComponentWithVersions("cockroachdb", components.Versioning{ Preferred: components.VersionConstructor{ // For v2, this component uses the same implementation as the postgres state store Version: "v2", Constructor: pgv2.NewPostgreSQLStateStore, }, Others: []components.VersionConstructor{ {Version: "v1", Constructor: cockroachdb.New}, }, Default: "v1", }) }
mikeee/dapr
cmd/daprd/components/state_cockroachdb.go
GO
mit
1,282
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/state/hashicorp/consul" stateLoader "github.com/dapr/dapr/pkg/components/state" ) func init() { stateLoader.DefaultRegistry.RegisterComponent(consul.NewConsulStateStore, "consul") }
mikeee/dapr
cmd/daprd/components/state_consul.go
GO
mit
838
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/state/couchbase" stateLoader "github.com/dapr/dapr/pkg/components/state" ) func init() { stateLoader.DefaultRegistry.RegisterComponent(couchbase.NewCouchbaseStateStore, "couchbase") }
mikeee/dapr
cmd/daprd/components/state_couchbase.go
GO
mit
840
//go:build allcomponents /* Copyright 2023 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/state/etcd" "github.com/dapr/dapr/pkg/components" stateLoader "github.com/dapr/dapr/pkg/components/state" ) func init() { stateLoader.DefaultRegistry.RegisterComponentWithVersions("etcd", components.Versioning{ Preferred: components.VersionConstructor{ Version: "v2", Constructor: etcd.NewEtcdStateStoreV2, }, Deprecated: []components.VersionConstructor{ {Version: "v1", Constructor: etcd.NewEtcdStateStoreV1}, }, Default: "v1", }) }
mikeee/dapr
cmd/daprd/components/state_etcd.go
GO
mit
1,108
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/state/gcp/firestore" stateLoader "github.com/dapr/dapr/pkg/components/state" ) func init() { stateLoader.DefaultRegistry.RegisterComponent(firestore.NewFirestoreStateStore, "gcp.firestore") }
mikeee/dapr
cmd/daprd/components/state_gcp_firestore.go
GO
mit
868
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/state/hazelcast" stateLoader "github.com/dapr/dapr/pkg/components/state" ) func init() { stateLoader.DefaultRegistry.RegisterComponent(hazelcast.NewHazelcastStore, "hazelcast") }
mikeee/dapr
cmd/daprd/components/state_hazelcast.go
GO
mit
835
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( inmemory "github.com/dapr/components-contrib/state/in-memory" stateLoader "github.com/dapr/dapr/pkg/components/state" ) func init() { stateLoader.DefaultRegistry.RegisterComponent(inmemory.NewInMemoryStateStore, "in-memory") }
mikeee/dapr
cmd/daprd/components/state_in-memory.go
GO
mit
867
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/state/jetstream" stateLoader "github.com/dapr/dapr/pkg/components/state" ) func init() { stateLoader.DefaultRegistry.RegisterComponent(jetstream.NewJetstreamStateStore, "jetstream") }
mikeee/dapr
cmd/daprd/components/state_jetstream.go
GO
mit
840
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/state/memcached" stateLoader "github.com/dapr/dapr/pkg/components/state" ) func init() { stateLoader.DefaultRegistry.RegisterComponent(memcached.NewMemCacheStateStore, "memcached") }
mikeee/dapr
cmd/daprd/components/state_memcached.go
GO
mit
859
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/state/mongodb" stateLoader "github.com/dapr/dapr/pkg/components/state" ) func init() { stateLoader.DefaultRegistry.RegisterComponent(mongodb.NewMongoDB, "mongodb") }
mikeee/dapr
cmd/daprd/components/state_mongodb.go
GO
mit
842
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/state/mysql" stateLoader "github.com/dapr/dapr/pkg/components/state" ) func init() { stateLoader.DefaultRegistry.RegisterComponent(mysql.NewMySQLStateStore, "mysql") }
mikeee/dapr
cmd/daprd/components/state_mysql.go
GO
mit
844
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/state/oci/objectstorage" stateLoader "github.com/dapr/dapr/pkg/components/state" ) func init() { stateLoader.DefaultRegistry.RegisterComponent(objectstorage.NewOCIObjectStorageStore, "oci.objectstorage") }
mikeee/dapr
cmd/daprd/components/state_oci_objectstorage.go
GO
mit
862
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/state/oracledatabase" stateLoader "github.com/dapr/dapr/pkg/components/state" ) func init() { stateLoader.DefaultRegistry.RegisterComponent(oracledatabase.NewOracleDatabaseStateStore, "oracledatabase") }
mikeee/dapr
cmd/daprd/components/state_oracledatabase.go
GO
mit
860
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( pgv1 "github.com/dapr/components-contrib/state/postgresql/v1" pgv2 "github.com/dapr/components-contrib/state/postgresql/v2" "github.com/dapr/dapr/pkg/components" stateLoader "github.com/dapr/dapr/pkg/components/state" ) func init() { // Note: for v2, cockroachdb uses the same implementation as postgres, but it's defined in state_cockroachdb.go stateLoader.DefaultRegistry.RegisterComponentWithVersions("postgres", components.Versioning{ Preferred: components.VersionConstructor{ Version: "v2", Constructor: pgv2.NewPostgreSQLStateStore, }, Others: []components.VersionConstructor{ {Version: "v1", Constructor: pgv1.NewPostgreSQLStateStore}, }, Default: "v1", }) stateLoader.DefaultRegistry.RegisterComponentWithVersions("postgresql", components.Versioning{ Preferred: components.VersionConstructor{ Version: "v2", Constructor: pgv2.NewPostgreSQLStateStore, }, Others: []components.VersionConstructor{ {Version: "v1", Constructor: pgv1.NewPostgreSQLStateStore}, }, Default: "v1", }) // The v2 component can also be used with YugabyteDB // There's no "v1" for YugabyteDB stateLoader.DefaultRegistry.RegisterComponentWithVersions("yugabytedb", components.Versioning{ Preferred: components.VersionConstructor{ Version: "v2", Constructor: pgv2.NewPostgreSQLStateStore, }, Default: "v2", }) stateLoader.DefaultRegistry.RegisterComponentWithVersions("yugabyte", components.Versioning{ Preferred: components.VersionConstructor{ Version: "v2", Constructor: pgv2.NewPostgreSQLStateStore, }, Default: "v2", }) }
mikeee/dapr
cmd/daprd/components/state_postgres.go
GO
mit
2,207
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/state/redis" stateLoader "github.com/dapr/dapr/pkg/components/state" ) func init() { stateLoader.DefaultRegistry.RegisterComponent(redis.NewRedisStateStore, "redis") }
mikeee/dapr
cmd/daprd/components/state_redis.go
GO
mit
844
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/state/rethinkdb" stateLoader "github.com/dapr/dapr/pkg/components/state" ) func init() { stateLoader.DefaultRegistry.RegisterComponent(rethinkdb.NewRethinkDBStateStore, "rethinkdb") }
mikeee/dapr
cmd/daprd/components/state_rethinkdb.go
GO
mit
840
//go:build allcomponents || stablecomponents /* Copyright 2023 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/state/sqlite" stateLoader "github.com/dapr/dapr/pkg/components/state" ) func init() { stateLoader.DefaultRegistry.RegisterComponent(sqlite.NewSQLiteStateStore, "sqlite", "sqlite3") }
mikeee/dapr
cmd/daprd/components/state_sqlite.go
GO
mit
859
//go:build allcomponents || stablecomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/state/sqlserver" stateLoader "github.com/dapr/dapr/pkg/components/state" ) func init() { stateLoader.DefaultRegistry.RegisterComponent(sqlserver.New, "sqlserver") }
mikeee/dapr
cmd/daprd/components/state_sqlserver.go
GO
mit
841
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/state/zookeeper" stateLoader "github.com/dapr/dapr/pkg/components/state" ) func init() { stateLoader.DefaultRegistry.RegisterComponent(zookeeper.NewZookeeperStateStore, "zookeeper") }
mikeee/dapr
cmd/daprd/components/state_zookeeper.go
GO
mit
840
//go:build allcomponents || stablecomponents /* Copyright 2023 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( wfbeLoader "github.com/dapr/dapr/pkg/components/wfbackend" "github.com/dapr/dapr/pkg/runtime/wfengine/backends/actors" ) func init() { // Note that the actors backend is always enabled, even if this file is deleted // This component is still registered here to allow users to explicitly instantiate the actors backend wfbeLoader.DefaultRegistry.RegisterComponent(actors.NewActorBackend, "actor", "actors") }
mikeee/dapr
cmd/daprd/components/wfbackend_actors.go
GO
mit
1,050
//go:build wfbackendsqlite /* Copyright 2023 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( wfbeLoader "github.com/dapr/dapr/pkg/components/wfbackend" "github.com/dapr/dapr/pkg/runtime/wfengine/backends/sqlite" ) func init() { wfbeLoader.DefaultRegistry.RegisterComponent(sqlite.NewSQLiteBackend, "sqlite") }
mikeee/dapr
cmd/daprd/components/wfbackend_sqlite.go
GO
mit
839
//go:build allcomponents /* Copyright 2021 The Dapr Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package components import ( "github.com/dapr/components-contrib/workflows/temporal" workflowLoader "github.com/dapr/dapr/pkg/components/workflows" ) func init() { workflowLoader.DefaultRegistry.RegisterComponent(temporal.NewTemporalWorkflow, "temporal") }
mikeee/dapr
cmd/daprd/components/workflow_temporal.go.off
off
mit
848