diff --git a/developing-plugins/grpc-api-reference.md b/developing-plugins/grpc-api-reference.md index fe6e184..ead8f16 100644 --- a/developing-plugins/grpc-api-reference.md +++ b/developing-plugins/grpc-api-reference.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: gRPC API Reference description: GatewayD exposes a gRPC API that can be used to interact with the GatewayD plugin system. This API can be used by the GatewayD plugins and is available in the GatewayD SDK. diff --git a/developing-plugins/index.md b/developing-plugins/index.md index d74b3b3..f63f1cd 100644 --- a/developing-plugins/index.md +++ b/developing-plugins/index.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: Developing Plugins nav_order: 4 diff --git a/developing-plugins/plugin-developers-guide.md b/developing-plugins/plugin-developers-guide.md index 96333a9..fa73b78 100644 --- a/developing-plugins/plugin-developers-guide.md +++ b/developing-plugins/plugin-developers-guide.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 21:33:25 +last_modified_date: 2024-05-31 20:16:38 layout: default title: Plugin Developers Guide description: Plugin developers' guide of GatewayD diff --git a/developing-plugins/sdk-reference.md b/developing-plugins/sdk-reference.md index 45619e1..23f501e 100644 --- a/developing-plugins/sdk-reference.md +++ b/developing-plugins/sdk-reference.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: SDK Reference description: The GatewayD plugin SDK provides a number of interfaces, structs and methods to help you build your plugin. diff --git a/developing-plugins/template-projects.md b/developing-plugins/template-projects.md index c5d82ac..2263a0d 100644 --- a/developing-plugins/template-projects.md +++ b/developing-plugins/template-projects.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: Template Projects description: Template projects can be used to quickly get started with developing plugins. diff --git a/getting-started/index.md b/getting-started/index.md index ae4b7e8..49c633b 100644 --- a/getting-started/index.md +++ b/getting-started/index.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: Getting Started nav_order: 1 diff --git a/getting-started/installation.md b/getting-started/installation.md index ea5b0d3..9990de7 100644 --- a/getting-started/installation.md +++ b/getting-started/installation.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: Installation description: How to install GatewayD and its plugins on different platforms and how to build it from source. diff --git a/getting-started/running-gatewayd.md b/getting-started/running-gatewayd.md index 3c7f88f..30f6071 100644 --- a/getting-started/running-gatewayd.md +++ b/getting-started/running-gatewayd.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:18:45 layout: default title: Running GatewayD description: How to run GatewayD and test it with psql @@ -32,7 +32,7 @@ docker run --rm --name postgres-test -p 5432:5432 -e POSTGRES_PASSWORD=postgres Test your database by running the following command: ```bash -DOCKER_HOST=$(ip addr show docker0 | grep inet | grep -v inet6 | awk -F' ' '{ print $2 }' | sed 's/\/16//g') +DOCKER_HOST=$(if ip addr show docker0 > /dev/null 2>&1; then ip addr show docker0 | grep inet | grep -v inet6 | awk -F' ' '{ print $2 }' | sed 's/\/.*//'; else echo "host.docker.internal"; fi); docker exec -it postgres-test psql postgresql://postgres:postgres@${DOCKER_HOST}:5432/postgres -c "\d" ``` @@ -120,7 +120,6 @@ Running GatewayD will produce the following log output, which means that Gateway GatewayD is running on the host, while PostgreSQL is running inside a container. You can run the following command to test it. Notice that `${DOCKER_HOST}` holds the IP address of the host machine, that is accessible from inside the container. ```bash -DOCKER_HOST=$(ip addr show docker0 | grep inet | grep -v inet6 | awk -F' ' '{ print $2 }' | sed 's/\/16//g') docker exec -it postgres-test psql postgresql://postgres:postgres@${DOCKER_HOST}:15432/postgres ``` diff --git a/getting-started/welcome.md b/getting-started/welcome.md index cfe01de..02ac76d 100644 --- a/getting-started/welcome.md +++ b/getting-started/welcome.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: Welcome description: Introduction to GatewayD and its key features diff --git a/miscellaneous/glossary.md b/miscellaneous/glossary.md index 40d3e1f..fe4913b 100644 --- a/miscellaneous/glossary.md +++ b/miscellaneous/glossary.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: Glossary description: Glossary of GatewayD terms diff --git a/miscellaneous/index.md b/miscellaneous/index.md index 76caa20..c255a2c 100644 --- a/miscellaneous/index.md +++ b/miscellaneous/index.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: Miscellaneous nav_order: 6 diff --git a/miscellaneous/telemetry-and-usage-report.md b/miscellaneous/telemetry-and-usage-report.md index eaa2992..fd31f13 100644 --- a/miscellaneous/telemetry-and-usage-report.md +++ b/miscellaneous/telemetry-and-usage-report.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: Telemetry and Usage Report description: Telemetry and usage report of GatewayD diff --git a/plugins/gatewayd-plugin-cache.md b/plugins/gatewayd-plugin-cache.md index b3b26f5..f97dd7b 100644 --- a/plugins/gatewayd-plugin-cache.md +++ b/plugins/gatewayd-plugin-cache.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: gatewayd-plugin-cache description: GatewayD plugin for caching query results in Redis. diff --git a/plugins/gatewayd-plugin-js.md b/plugins/gatewayd-plugin-js.md index 04bc6c1..346b2f3 100644 --- a/plugins/gatewayd-plugin-js.md +++ b/plugins/gatewayd-plugin-js.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: gatewayd-plugin-js description: GatewayD plugin for running JS functions as hooks. diff --git a/plugins/index.md b/plugins/index.md index 62cb705..6a2a5b7 100644 --- a/plugins/index.md +++ b/plugins/index.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: Plugins nav_order: 5 diff --git a/using-gatewayd/API.md b/using-gatewayd/API.md index ecaf755..fd03cf5 100644 --- a/using-gatewayd/API.md +++ b/using-gatewayd/API.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: API description: GatewayD exposes a gRPC API with an HTTP gateway for querying and managing the `gatewayd` process and its plugins. diff --git a/using-gatewayd/Act.md b/using-gatewayd/Act.md index 14b61d5..27e1408 100644 --- a/using-gatewayd/Act.md +++ b/using-gatewayd/Act.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: Act description: Act is a policy engine that supports signals, policies and actions. It is used to automate the execution of business rules. diff --git a/using-gatewayd/CLI.md b/using-gatewayd/CLI.md index e687483..0185ffc 100644 --- a/using-gatewayd/CLI.md +++ b/using-gatewayd/CLI.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: CLI description: GatewayD is a CLI application that runs on Windows, Linux-based distributions and macOS. diff --git a/using-gatewayd/clients.md b/using-gatewayd/clients.md index 30f4e96..f0fd854 100644 --- a/using-gatewayd/clients.md +++ b/using-gatewayd/clients.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: Clients description: Client object is a client that can connect to the database servers over TCP, UDP and Unix Domain Socket. diff --git a/using-gatewayd/configuration.md b/using-gatewayd/configuration.md index 4cc432a..e05f4ef 100644 --- a/using-gatewayd/configuration.md +++ b/using-gatewayd/configuration.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: Configuration description: GatewayD is fully configurable via various sources, including default values, YAML config files, environment variables, CLI flags and plugins. diff --git a/using-gatewayd/connection-lifecycle.md b/using-gatewayd/connection-lifecycle.md index 2f5a427..f030cc2 100644 --- a/using-gatewayd/connection-lifecycle.md +++ b/using-gatewayd/connection-lifecycle.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: Connection Lifecycle description: Connection Lifecycle of GatewayD diff --git a/using-gatewayd/global-configuration/api.md b/using-gatewayd/global-configuration/api.md index 6e5d4fe..e1a5f7d 100644 --- a/using-gatewayd/global-configuration/api.md +++ b/using-gatewayd/global-configuration/api.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: API description: GatewayD gRPC API configuration diff --git a/using-gatewayd/global-configuration/clients.md b/using-gatewayd/global-configuration/clients.md index d85332a..8348f83 100644 --- a/using-gatewayd/global-configuration/clients.md +++ b/using-gatewayd/global-configuration/clients.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: Clients description: GatewayD client configuration diff --git a/using-gatewayd/global-configuration/index.md b/using-gatewayd/global-configuration/index.md index 106caa1..e9d29e3 100644 --- a/using-gatewayd/global-configuration/index.md +++ b/using-gatewayd/global-configuration/index.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: Global Configuration nav_order: 2 diff --git a/using-gatewayd/global-configuration/loggers.md b/using-gatewayd/global-configuration/loggers.md index f90b7e6..6dfa6cd 100644 --- a/using-gatewayd/global-configuration/loggers.md +++ b/using-gatewayd/global-configuration/loggers.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: Loggers description: GatewayD logger configuration diff --git a/using-gatewayd/global-configuration/metrics.md b/using-gatewayd/global-configuration/metrics.md index 1792adf..0f0be3a 100644 --- a/using-gatewayd/global-configuration/metrics.md +++ b/using-gatewayd/global-configuration/metrics.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: Metrics description: GatewayD metrics configuration diff --git a/using-gatewayd/global-configuration/pools.md b/using-gatewayd/global-configuration/pools.md index 06fc347..401cf5e 100644 --- a/using-gatewayd/global-configuration/pools.md +++ b/using-gatewayd/global-configuration/pools.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: Pools description: GatewayD pool configuration diff --git a/using-gatewayd/global-configuration/proxies.md b/using-gatewayd/global-configuration/proxies.md index 8afd62d..22db04f 100644 --- a/using-gatewayd/global-configuration/proxies.md +++ b/using-gatewayd/global-configuration/proxies.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: Proxies description: GatewayD proxy configuration diff --git a/using-gatewayd/global-configuration/servers.md b/using-gatewayd/global-configuration/servers.md index 5a65043..7c1d1ab 100644 --- a/using-gatewayd/global-configuration/servers.md +++ b/using-gatewayd/global-configuration/servers.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: Servers description: GatewayD server configuration diff --git a/using-gatewayd/index.md b/using-gatewayd/index.md index 0a40515..c241383 100644 --- a/using-gatewayd/index.md +++ b/using-gatewayd/index.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: Using GatewayD nav_order: 2 diff --git a/using-gatewayd/observability.md b/using-gatewayd/observability.md index df9cb08..4701f6d 100644 --- a/using-gatewayd/observability.md +++ b/using-gatewayd/observability.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: Observability description: Observability is a first-class citizen of GatewayD. It generates logs, metrics and traces to make it easier to see what is going on inside. diff --git a/using-gatewayd/plugins-configuration/general-configurations.md b/using-gatewayd/plugins-configuration/general-configurations.md index 22dd733..c91f7ac 100644 --- a/using-gatewayd/plugins-configuration/general-configurations.md +++ b/using-gatewayd/plugins-configuration/general-configurations.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: General configurations description: General configurations for plugins diff --git a/using-gatewayd/plugins-configuration/index.md b/using-gatewayd/plugins-configuration/index.md index 1ec9a9a..53778c3 100644 --- a/using-gatewayd/plugins-configuration/index.md +++ b/using-gatewayd/plugins-configuration/index.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: Plugins Configuration nav_order: 3 diff --git a/using-gatewayd/plugins-configuration/plugins-configuration.md b/using-gatewayd/plugins-configuration/plugins-configuration.md index 45206f4..e69bf6c 100644 --- a/using-gatewayd/plugins-configuration/plugins-configuration.md +++ b/using-gatewayd/plugins-configuration/plugins-configuration.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: Plugins configuration description: GatewayD plugins configuration diff --git a/using-gatewayd/pools.md b/using-gatewayd/pools.md index f133fd3..ef44821 100644 --- a/using-gatewayd/pools.md +++ b/using-gatewayd/pools.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: Pools description: GatewayD has a generic internal pool object that is used to manage plugins and connections. diff --git a/using-gatewayd/protocols.md b/using-gatewayd/protocols.md index 12918be..29b8afd 100644 --- a/using-gatewayd/protocols.md +++ b/using-gatewayd/protocols.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: Protocols description: GatewayD is application layer protocol-agnostic. This means that GatewayD *can* practically support any protocol in the application layer, or L7. diff --git a/using-gatewayd/proxies.md b/using-gatewayd/proxies.md index e676546..7a9fbbb 100644 --- a/using-gatewayd/proxies.md +++ b/using-gatewayd/proxies.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: Proxies description: Proxy object is used to create a binding between incoming connections from the database clients to the database servers. diff --git a/using-gatewayd/servers.md b/using-gatewayd/servers.md index 51533a8..4d0e35b 100644 --- a/using-gatewayd/servers.md +++ b/using-gatewayd/servers.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: Servers description: Server is an object that listens on an address:port pair and accepts connections from database clients. diff --git a/using-plugins/hook-registry.md b/using-plugins/hook-registry.md index c5460ca..4806425 100644 --- a/using-plugins/hook-registry.md +++ b/using-plugins/hook-registry.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: Hook registry description: The hook registry is a central place where all hooks are registered and executed. It is used by the plugin registry to register and execute plugin hooks. diff --git a/using-plugins/hooks.md b/using-plugins/hooks.md index c6e9809..a4ead1d 100644 --- a/using-plugins/hooks.md +++ b/using-plugins/hooks.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: Hooks description: Plugins can be used to modify the connection lifecycle. Each step in the connection lifecycle is represented by one or more plugin hook(s). Plugins can register themselves to be called when a specific hook is triggered. diff --git a/using-plugins/index.md b/using-plugins/index.md index 1a04d42..57097c0 100644 --- a/using-plugins/index.md +++ b/using-plugins/index.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: Using Plugins nav_order: 3 diff --git a/using-plugins/plugin-registry.md b/using-plugins/plugin-registry.md index b4499a9..586c0cf 100644 --- a/using-plugins/plugin-registry.md +++ b/using-plugins/plugin-registry.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: Plugin registry description: The plugin registry is a central place where all plugins are loaded, configured and executed, and also the main entry point for all plugins. diff --git a/using-plugins/plugin-types.md b/using-plugins/plugin-types.md index 8cd3322..8a66d1f 100644 --- a/using-plugins/plugin-types.md +++ b/using-plugins/plugin-types.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: Plugin types description: > diff --git a/using-plugins/plugins.md b/using-plugins/plugins.md index 440a84b..ba800d4 100644 --- a/using-plugins/plugins.md +++ b/using-plugins/plugins.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: Plugins description: Plugins play a very important role in GatewayD for adding support for different databases. They are the building blocks of GatewayD, and they are responsible for the majority of the functionality of GatewayD. diff --git a/using-plugins/proposals.md b/using-plugins/proposals.md index 6d11d41..39e3283 100644 --- a/using-plugins/proposals.md +++ b/using-plugins/proposals.md @@ -1,5 +1,5 @@ --- -last_modified_date: 2024-05-11 20:53:27 +last_modified_date: 2024-05-31 20:16:38 layout: default title: Proposals description: GatewayD proposals are used to propose new ideas and features for GatewayD.