From a4fb77f7f5a3a7c8b21b360dd0234c6393acdf80 Mon Sep 17 00:00:00 2001 From: Kemal <223029+disq@users.noreply.github.com> Date: Sun, 29 Oct 2023 04:19:00 -0700 Subject: [PATCH] feat: Upgrade to SDK v4 (#9) * feat: Upgrade to SDK v4 * Update goreleaser variable ref * update README * linter: disable depguard * use internalPlugin, revert goreleaser variable ref * update golangci-lint version * .github test: install cloudquery before make gen * more .gitignore --------- Co-authored-by: Kemal Hadimli --- .github/workflows/test.yaml | 7 +- .gitignore | 2 + .golangci.yml | 1 - Makefile | 22 +- README.md | 10 +- client/client.go | 122 ++---- client/multiplexers.go | 2 +- client/resolvers.go | 23 +- client/spec.go | 6 +- client/testing.go | 79 ++-- docs/tables/scaleway_applesilicon_os.md | 20 +- .../scaleway_applesilicon_server_types.md | 22 +- docs/tables/scaleway_applesilicon_servers.md | 32 +- docs/tables/scaleway_baremetal_offers.md | 48 +-- docs/tables/scaleway_baremetal_os.md | 32 +- docs/tables/scaleway_baremetal_servers.md | 46 +- docs/tables/scaleway_container_crons.md | 20 +- docs/tables/scaleway_container_domains.md | 20 +- docs/tables/scaleway_container_namespaces.md | 32 +- docs/tables/scaleway_container_tokens.md | 24 +- docs/tables/scaleway_containers.md | 50 +-- .../scaleway_default_security_group_rules.md | 28 +- docs/tables/scaleway_flexible_ips.md | 34 +- docs/tables/scaleway_function_crons.md | 20 +- docs/tables/scaleway_function_domains.md | 20 +- docs/tables/scaleway_function_namespaces.md | 32 +- docs/tables/scaleway_function_runtimes.md | 28 +- docs/tables/scaleway_function_tokens.md | 24 +- .../scaleway_function_trigger_inputs.md | 22 +- docs/tables/scaleway_function_triggers.md | 26 +- docs/tables/scaleway_functions.md | 48 +-- docs/tables/scaleway_iam_api_keys.md | 30 +- docs/tables/scaleway_iam_apps.md | 24 +- docs/tables/scaleway_iam_groups.md | 24 +- docs/tables/scaleway_iam_permission_sets.md | 18 +- docs/tables/scaleway_iam_policies.md | 36 +- docs/tables/scaleway_iam_policy_rules.md | 22 +- docs/tables/scaleway_iam_ssh_keys.md | 26 +- docs/tables/scaleway_iam_users.md | 28 +- docs/tables/scaleway_images.md | 38 +- docs/tables/scaleway_instances.md | 66 +-- docs/tables/scaleway_iot_devices.md | 34 +- docs/tables/scaleway_iot_hubs.md | 44 +- docs/tables/scaleway_iot_networks.md | 22 +- docs/tables/scaleway_iot_routes.md | 22 +- docs/tables/scaleway_ipfs_volume_pins.md | 22 +- docs/tables/scaleway_ipfs_volumes.md | 24 +- ...scaleway_k8s_cluster_available_versions.md | 28 +- docs/tables/scaleway_k8s_clusters.md | 56 +-- docs/tables/scaleway_k8s_nodes.md | 34 +- docs/tables/scaleway_k8s_pools.md | 52 +-- docs/tables/scaleway_k8s_versions.md | 26 +- docs/tables/scaleway_lb_backend_stats.md | 22 +- docs/tables/scaleway_lb_backends.md | 52 +-- docs/tables/scaleway_lb_certificates.md | 36 +- docs/tables/scaleway_lb_frontend_acls.md | 28 +- docs/tables/scaleway_lb_frontend_routes.md | 20 +- docs/tables/scaleway_lb_frontends.md | 32 +- docs/tables/scaleway_lb_ips.md | 24 +- docs/tables/scaleway_lb_private_networks.md | 24 +- docs/tables/scaleway_lb_subscribers.md | 16 +- docs/tables/scaleway_lb_types.md | 18 +- docs/tables/scaleway_lbs.md | 48 +-- .../tables/scaleway_marketplace_categories.md | 14 +- .../scaleway_marketplace_image_versions.md | 20 +- docs/tables/scaleway_marketplace_images.md | 26 +- .../scaleway_mnq_namespace_credentials.md | 20 +- docs/tables/scaleway_mnq_namespaces.md | 24 +- docs/tables/scaleway_projects.md | 20 +- docs/tables/scaleway_rdb_database_backups.md | 36 +- docs/tables/scaleway_rdb_database_engines.md | 16 +- docs/tables/scaleway_rdb_databases.md | 18 +- .../tables/scaleway_rdb_instance_acl_rules.md | 22 +- .../scaleway_rdb_instance_privileges.md | 16 +- docs/tables/scaleway_rdb_instances.md | 52 +-- docs/tables/scaleway_rdb_node_types.md | 32 +- docs/tables/scaleway_rdb_snapshots.md | 30 +- docs/tables/scaleway_rdb_users.md | 14 +- docs/tables/scaleway_redis_clusters.md | 42 +- docs/tables/scaleway_redis_node_types.md | 24 +- docs/tables/scaleway_redis_versions.md | 18 +- docs/tables/scaleway_registry_image_tags.md | 12 +- docs/tables/scaleway_registry_images.md | 28 +- docs/tables/scaleway_registry_namespaces.md | 36 +- docs/tables/scaleway_secret_versions.md | 20 +- docs/tables/scaleway_secrets.md | 28 +- docs/tables/scaleway_security_group_rules.md | 30 +- docs/tables/scaleway_security_groups.md | 42 +- docs/tables/scaleway_tem_domains.md | 36 +- docs/tables/scaleway_tem_emails.md | 32 +- docs/tables/scaleway_test_humans.md | 38 +- docs/tables/scaleway_vpc_private_networks.md | 26 +- docs/tables/scaleway_vpcgw_dhcp_entries.md | 26 +- docs/tables/scaleway_vpcgw_dhcps.md | 46 +- .../tables/scaleway_vpcgw_gateway_networks.md | 32 +- docs/tables/scaleway_vpcgw_gateways.md | 44 +- docs/tables/scaleway_vpcgw_ips.md | 28 +- go.mod | 130 +++++- go.sum | 405 +++++++++++++++--- main.go | 12 +- plugin/plugin.go | 94 +--- resources/plugin/client.go | 260 +++++++++++ resources/plugin/plugin.go | 16 + resources/{ => services}/account/projects.go | 4 +- .../{ => services}/account/projects_test.go | 2 +- resources/{ => services}/applesilicon/os.go | 4 +- .../applesilicon/server_types.go | 4 +- .../{ => services}/applesilicon/servers.go | 4 +- resources/{ => services}/baremetal/offers.go | 4 +- resources/{ => services}/baremetal/os.go | 4 +- resources/{ => services}/baremetal/servers.go | 4 +- .../containers/container_crons.go | 4 +- .../containers/container_domains.go | 4 +- .../{ => services}/containers/containers.go | 4 +- .../containers/namespace_tokens.go | 4 +- .../{ => services}/containers/namespaces.go | 4 +- .../flexibleips/flexible_ips.go | 4 +- .../functions/function_crons.go | 4 +- .../functions/function_domains.go | 4 +- .../functions/function_trigger_inputs.go | 15 +- .../functions/function_triggers.go | 4 +- .../{ => services}/functions/functions.go | 4 +- .../functions/namespace_tokens.go | 4 +- .../{ => services}/functions/namespaces.go | 4 +- .../functions/namespaces_test.go | 2 +- .../{ => services}/functions/runtimes.go | 4 +- resources/{ => services}/iam/api_keys.go | 4 +- resources/{ => services}/iam/apps.go | 4 +- resources/{ => services}/iam/groups.go | 4 +- .../{ => services}/iam/permission_sets.go | 4 +- resources/{ => services}/iam/policies.go | 4 +- resources/{ => services}/iam/policy_rules.go | 15 +- resources/{ => services}/iam/ssh_keys.go | 4 +- resources/{ => services}/iam/users.go | 4 +- .../instances/default_security_group_rules.go | 4 +- resources/{ => services}/instances/images.go | 4 +- .../{ => services}/instances/instances.go | 4 +- .../instances/security_group_rules.go | 15 +- .../instances/security_groups.go | 4 +- resources/{ => services}/iot/devices.go | 4 +- resources/{ => services}/iot/hubs.go | 4 +- resources/{ => services}/iot/networks.go | 4 +- resources/{ => services}/iot/routes.go | 4 +- resources/{ => services}/ipfs/volume_pins.go | 15 +- resources/{ => services}/ipfs/volumes.go | 4 +- resources/{ => services}/ipfs/volumes_test.go | 2 +- .../k8s/cluster_available_versions.go | 7 +- resources/{ => services}/k8s/cluster_nodes.go | 4 +- resources/{ => services}/k8s/cluster_pools.go | 4 +- resources/{ => services}/k8s/clusters.go | 4 +- resources/{ => services}/k8s/versions.go | 4 +- resources/{ => services}/lb/ips.go | 4 +- .../{ => services}/lb/lb_backend_stats.go | 15 +- resources/{ => services}/lb/lb_backends.go | 15 +- .../{ => services}/lb/lb_certificates.go | 15 +- .../{ => services}/lb/lb_frontend_acls.go | 15 +- .../{ => services}/lb/lb_frontend_routes.go | 4 +- resources/{ => services}/lb/lb_frontends.go | 15 +- .../{ => services}/lb/lb_private_networks.go | 15 +- resources/{ => services}/lb/lbs.go | 4 +- resources/{ => services}/lb/lbtypes.go | 4 +- resources/{ => services}/lb/subscribers.go | 4 +- .../{ => services}/marketplace/categories.go | 4 +- .../marketplace/image_versions.go | 7 +- .../{ => services}/marketplace/images.go | 4 +- .../mnq/namespace_credentials.go | 4 +- resources/{ => services}/mnq/namespaces.go | 4 +- .../{ => services}/rdb/database_backups.go | 4 +- .../{ => services}/rdb/database_engines.go | 4 +- .../{ => services}/rdb/instance_acl_rules.go | 7 +- .../{ => services}/rdb/instance_databases.go | 7 +- .../{ => services}/rdb/instance_privileges.go | 7 +- .../{ => services}/rdb/instance_users.go | 7 +- resources/{ => services}/rdb/instances.go | 4 +- resources/{ => services}/rdb/node_types.go | 4 +- resources/{ => services}/rdb/snapshots.go | 4 +- .../{ => services}/redis/cluster_versions.go | 4 +- resources/{ => services}/redis/clusters.go | 4 +- resources/{ => services}/redis/node_types.go | 4 +- .../{ => services}/registry/image_tags.go | 4 +- resources/{ => services}/registry/images.go | 4 +- .../{ => services}/registry/namespaces.go | 4 +- .../{ => services}/secrets/secret_versions.go | 4 +- resources/{ => services}/secrets/secrets.go | 4 +- resources/{ => services}/tem/domain_emails.go | 11 +- resources/{ => services}/tem/domains.go | 4 +- resources/{ => services}/test/humans.go | 4 +- resources/{ => services}/vpc/vpcs.go | 4 +- .../{ => services}/vpcgw/dhcp_entries.go | 4 +- resources/{ => services}/vpcgw/dhcps.go | 4 +- .../{ => services}/vpcgw/gateway_networks.go | 4 +- resources/{ => services}/vpcgw/gateways.go | 4 +- resources/{ => services}/vpcgw/ips.go | 4 +- test/config.yml | 15 + 194 files changed, 2402 insertions(+), 1865 deletions(-) create mode 100644 resources/plugin/client.go create mode 100644 resources/plugin/plugin.go rename resources/{ => services}/account/projects.go (90%) rename resources/{ => services}/account/projects_test.go (95%) rename resources/{ => services}/applesilicon/os.go (91%) rename resources/{ => services}/applesilicon/server_types.go (90%) rename resources/{ => services}/applesilicon/servers.go (91%) rename resources/{ => services}/baremetal/offers.go (91%) rename resources/{ => services}/baremetal/os.go (91%) rename resources/{ => services}/baremetal/servers.go (91%) rename resources/{ => services}/containers/container_crons.go (91%) rename resources/{ => services}/containers/container_domains.go (91%) rename resources/{ => services}/containers/containers.go (92%) rename resources/{ => services}/containers/namespace_tokens.go (91%) rename resources/{ => services}/containers/namespaces.go (92%) rename resources/{ => services}/flexibleips/flexible_ips.go (91%) rename resources/{ => services}/functions/function_crons.go (91%) rename resources/{ => services}/functions/function_domains.go (91%) rename resources/{ => services}/functions/function_trigger_inputs.go (80%) rename resources/{ => services}/functions/function_triggers.go (92%) rename resources/{ => services}/functions/functions.go (92%) rename resources/{ => services}/functions/namespace_tokens.go (91%) rename resources/{ => services}/functions/namespaces.go (92%) rename resources/{ => services}/functions/namespaces_test.go (97%) rename resources/{ => services}/functions/runtimes.go (90%) rename resources/{ => services}/iam/api_keys.go (90%) rename resources/{ => services}/iam/apps.go (90%) rename resources/{ => services}/iam/groups.go (90%) rename resources/{ => services}/iam/permission_sets.go (91%) rename resources/{ => services}/iam/policies.go (91%) rename resources/{ => services}/iam/policy_rules.go (78%) rename resources/{ => services}/iam/ssh_keys.go (90%) rename resources/{ => services}/iam/users.go (90%) rename resources/{ => services}/instances/default_security_group_rules.go (90%) rename resources/{ => services}/instances/images.go (91%) rename resources/{ => services}/instances/instances.go (91%) rename resources/{ => services}/instances/security_group_rules.go (79%) rename resources/{ => services}/instances/security_groups.go (92%) rename resources/{ => services}/iot/devices.go (90%) rename resources/{ => services}/iot/hubs.go (91%) rename resources/{ => services}/iot/networks.go (90%) rename resources/{ => services}/iot/routes.go (90%) rename resources/{ => services}/ipfs/volume_pins.go (78%) rename resources/{ => services}/ipfs/volumes.go (91%) rename resources/{ => services}/ipfs/volumes_test.go (97%) rename resources/{ => services}/k8s/cluster_available_versions.go (85%) rename resources/{ => services}/k8s/cluster_nodes.go (90%) rename resources/{ => services}/k8s/cluster_pools.go (90%) rename resources/{ => services}/k8s/clusters.go (91%) rename resources/{ => services}/k8s/versions.go (89%) rename resources/{ => services}/lb/ips.go (90%) rename resources/{ => services}/lb/lb_backend_stats.go (79%) rename resources/{ => services}/lb/lb_backends.go (80%) rename resources/{ => services}/lb/lb_certificates.go (80%) rename resources/{ => services}/lb/lb_frontend_acls.go (80%) rename resources/{ => services}/lb/lb_frontend_routes.go (92%) rename resources/{ => services}/lb/lb_frontends.go (81%) rename resources/{ => services}/lb/lb_private_networks.go (81%) rename resources/{ => services}/lb/lbs.go (91%) rename resources/{ => services}/lb/lbtypes.go (90%) rename resources/{ => services}/lb/subscribers.go (91%) rename resources/{ => services}/marketplace/categories.go (90%) rename resources/{ => services}/marketplace/image_versions.go (86%) rename resources/{ => services}/marketplace/images.go (91%) rename resources/{ => services}/mnq/namespace_credentials.go (91%) rename resources/{ => services}/mnq/namespaces.go (91%) rename resources/{ => services}/rdb/database_backups.go (91%) rename resources/{ => services}/rdb/database_engines.go (91%) rename resources/{ => services}/rdb/instance_acl_rules.go (87%) rename resources/{ => services}/rdb/instance_databases.go (86%) rename resources/{ => services}/rdb/instance_privileges.go (87%) rename resources/{ => services}/rdb/instance_users.go (86%) rename resources/{ => services}/rdb/instances.go (92%) rename resources/{ => services}/rdb/node_types.go (90%) rename resources/{ => services}/rdb/snapshots.go (91%) rename resources/{ => services}/redis/cluster_versions.go (91%) rename resources/{ => services}/redis/clusters.go (91%) rename resources/{ => services}/redis/node_types.go (91%) rename resources/{ => services}/registry/image_tags.go (92%) rename resources/{ => services}/registry/images.go (91%) rename resources/{ => services}/registry/namespaces.go (91%) rename resources/{ => services}/secrets/secret_versions.go (91%) rename resources/{ => services}/secrets/secrets.go (91%) rename resources/{ => services}/tem/domain_emails.go (85%) rename resources/{ => services}/tem/domains.go (91%) rename resources/{ => services}/test/humans.go (90%) rename resources/{ => services}/vpc/vpcs.go (91%) rename resources/{ => services}/vpcgw/dhcp_entries.go (91%) rename resources/{ => services}/vpcgw/dhcps.go (91%) rename resources/{ => services}/vpcgw/gateway_networks.go (91%) rename resources/{ => services}/vpcgw/gateways.go (91%) rename resources/{ => services}/vpcgw/ips.go (91%) create mode 100644 test/config.yml diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index f0a9a19..4c08e55 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -23,7 +23,12 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: - version: v1.50.1 + version: v1.54.2 + - name: Setup CloudQuery + if: github.event_name == 'pull_request' + uses: cloudquery/setup-cloudquery@v3 + with: + version: v3.26.1 - name: Get dependencies run: go get -t -d ./... - name: Build diff --git a/.gitignore b/.gitignore index 2282ed4..7a1edf0 100644 --- a/.gitignore +++ b/.gitignore @@ -2,5 +2,7 @@ dist/ vendor/ bin/ cq-source-scaleway +cloudquery +cloudquery.log .DS_Store .idea diff --git a/.golangci.yml b/.golangci.yml index d81b523..d7964ca 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -80,7 +80,6 @@ linters: enable: - asciicheck - bodyclose - - depguard - dupl - errcheck - gocritic diff --git a/Makefile b/Makefile index 4ffc6ae..41f42dc 100644 --- a/Makefile +++ b/Makefile @@ -1,16 +1,26 @@ +.PHONY: build +build: + go build + .PHONY: test test: - go test -timeout 3m ./... + go test -race -timeout 3m ./... + +.PHONY: gen-docs +gen-docs: build + @command -v cloudquery >/dev/null 2>&1 || { \ + echo "Error: 'cloudquery' command not found. Please install it before running gen-docs."; \ + echo "You can install it by following the instructions at: https://www.cloudquery.io/docs/quickstart"; \ + exit 1; \ + } + rm -rf docs/tables + cloudquery tables --format markdown --output-dir docs/ test/config.yml + mv -vf docs/scaleway docs/tables .PHONY: lint lint: @golangci-lint run --timeout 10m --verbose -.PHONY: gen-docs -gen-docs: - rm -rf ./docs/tables/* - go run main.go doc ./docs/tables - # All gen targets .PHONY: gen gen: gen-docs diff --git a/README.md b/README.md index a9b5c7a..7202f43 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,10 @@ spec: name: "scaleway" path: "scaleway/scaleway" version: "${VERSION}" - # backend: "local" # use this to enable incremental syncing + # use this to enable incremental syncing + # backend_options: + # table_name: "cq_state_scaleway" + # connection: "@@plugins.DESTINATION_NAME.connection" tables: - "*" skip_tables: @@ -59,9 +62,12 @@ spec: - `zones` (list of string, optional. Defaults to all zones): List of zones to query. -- `timeout_secs` (integer in seconds, optional. Default: 10): +- `timeout_secs` (integer in seconds, optional. Default: `10`): Timeout for requests against the Scaleway API endpoint. +- `concurrency` (int, optional, default: `1000`): + A best effort maximum number of Go routines to use. Lower this number to reduce memory usage. + ## Development ### Run tests diff --git a/client/client.go b/client/client.go index bdc906b..fbd3f0d 100644 --- a/client/client.go +++ b/client/client.go @@ -1,116 +1,58 @@ package client import ( - "context" - "errors" - "fmt" - "net/http" - "time" - - "github.com/cloudquery/plugin-sdk/backend" - "github.com/cloudquery/plugin-sdk/plugins/source" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/specs" + "github.com/cloudquery/plugin-sdk/v4/state" "github.com/rs/zerolog" "github.com/scaleway/scaleway-sdk-go/scw" ) type Client struct { Logger zerolog.Logger + Spec Spec SCWClient *scw.Client - Backend backend.Backend - OrgID string - Region scw.Region - Zone scw.Zone + Backend state.Client + + OrgID string + Region scw.Region + Zone scw.Zone +} - Spec Spec - sourceSpec specs.Source +func New(logger zerolog.Logger, spec Spec, orgID string, services *scw.Client, bk state.Client) *Client { + return &Client{ + Logger: logger, + Spec: spec, + OrgID: orgID, + SCWClient: services, + Backend: bk, + } } func (c *Client) ID() string { - return c.sourceSpec.Name + ":" + string(c.Region) + ":" + string(c.Zone) + return "scaleway:" + string(c.Region) + ":" + string(c.Zone) } func (c *Client) WithRegion(r scw.Region) *Client { return &Client{ - Logger: c.Logger.With().Str("region", string(r)).Logger(), - SCWClient: c.SCWClient, - Backend: c.Backend, - OrgID: c.OrgID, - Region: r, - Zone: c.Zone, - Spec: c.Spec, - sourceSpec: c.sourceSpec, + Logger: c.Logger.With().Str("region", string(r)).Logger(), + Spec: c.Spec, + SCWClient: c.SCWClient, + Backend: c.Backend, + + OrgID: c.OrgID, + Region: r, + Zone: c.Zone, } } func (c *Client) WithZone(z scw.Zone) *Client { return &Client{ - Logger: c.Logger.With().Str("zone", string(z)).Logger(), - SCWClient: c.SCWClient, - Backend: c.Backend, - OrgID: c.OrgID, - Region: c.Region, - Zone: z, - Spec: c.Spec, - sourceSpec: c.sourceSpec, - } -} + Logger: c.Logger.With().Str("zone", string(z)).Logger(), + Spec: c.Spec, + SCWClient: c.SCWClient, + Backend: c.Backend, -func New(_ context.Context, logger zerolog.Logger, s specs.Source, opts source.Options) (schema.ClientMeta, error) { - var pluginSpec Spec - if err := s.UnmarshalSpec(&pluginSpec); err != nil { - return nil, fmt.Errorf("failed to unmarshal plugin spec: %w", err) - } - err := pluginSpec.Validate() - if err != nil { - return nil, fmt.Errorf("failed to validate plugin spec: %w", err) + OrgID: c.OrgID, + Region: c.Region, + Zone: z, } - pluginSpec.SetDefaults() - - scwOpts := []scw.ClientOption{ - scw.WithEnv(), // existing env variables may overwrite active profile - - scw.WithHTTPClient(&http.Client{ - Timeout: time.Duration(pluginSpec.Timeout) * time.Second, - }), - scw.WithUserAgent("cq-plugin-scaleway/" + s.Version), - } - - cf, err := scw.LoadConfig() - if err != nil { - var configNotFoundError *scw.ConfigFileNotFoundError - if !errors.As(err, &configNotFoundError) { - return nil, err - } - } - if cf != nil { - p, err := cf.GetActiveProfile() - if err != nil { - return nil, err - } - scwOpts = append([]scw.ClientOption{ - scw.WithProfile(p), // active profile applies first - }, scwOpts...) - } - - // Create a Scaleway client - scwClient, err := scw.NewClient(scwOpts...) - if err != nil { - return nil, err - } - - orgID, ok := scwClient.GetDefaultOrganizationID() - if !ok { - return nil, fmt.Errorf("SCW_DEFAULT_ORGANIZATION_ID or default_organization_id not set, get yours from https://console.scaleway.com/organization/settings") - } - - return &Client{ - Logger: logger, - Backend: opts.Backend, - OrgID: orgID, - Spec: pluginSpec, - SCWClient: scwClient, - sourceSpec: s, - }, nil } diff --git a/client/multiplexers.go b/client/multiplexers.go index fd2087e..479dea4 100644 --- a/client/multiplexers.go +++ b/client/multiplexers.go @@ -1,7 +1,7 @@ package client import ( - "github.com/cloudquery/plugin-sdk/schema" + "github.com/cloudquery/plugin-sdk/v4/schema" "github.com/scaleway/scaleway-sdk-go/scw" ) diff --git a/client/resolvers.go b/client/resolvers.go index b43e052..af8946d 100644 --- a/client/resolvers.go +++ b/client/resolvers.go @@ -3,26 +3,23 @@ package client import ( "context" - "github.com/cloudquery/plugin-sdk/schema" + "github.com/apache/arrow/go/v14/arrow" + "github.com/cloudquery/plugin-sdk/v4/schema" ) var ( ZonePK = schema.Column{ - Name: "zone", - Type: schema.TypeString, - Resolver: ResolveClientZone, - CreationOptions: schema.ColumnCreationOptions{ - PrimaryKey: true, - }, + Name: "zone", + Type: arrow.BinaryTypes.String, + Resolver: ResolveClientZone, + PrimaryKey: true, } RegionPK = schema.Column{ - Name: "region", - Type: schema.TypeString, - Resolver: ResolveClientRegion, - CreationOptions: schema.ColumnCreationOptions{ - PrimaryKey: true, - }, + Name: "region", + Type: arrow.BinaryTypes.String, + Resolver: ResolveClientRegion, + PrimaryKey: true, } ) diff --git a/client/spec.go b/client/spec.go index 398403e..966501a 100644 --- a/client/spec.go +++ b/client/spec.go @@ -7,7 +7,8 @@ type Spec struct { Zones []scw.Zone `json:"zones,omitempty"` // Optional - Timeout int64 `json:"timeout_secs,omitempty"` + Timeout int64 `json:"timeout_secs,omitempty"` + Concurrency int `json:"concurrency,omitempty"` } func (Spec) Validate() error { @@ -25,4 +26,7 @@ func (s *Spec) SetDefaults() { if s.Timeout < 1 { s.Timeout = 10 } + if s.Concurrency < 1 { + s.Concurrency = 1000 + } } diff --git a/client/testing.go b/client/testing.go index 1e6748a..e416e78 100644 --- a/client/testing.go +++ b/client/testing.go @@ -8,9 +8,10 @@ import ( "testing" "time" - "github.com/cloudquery/plugin-sdk/plugins/source" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/specs" + "github.com/cloudquery/plugin-sdk/v4/plugin" + "github.com/cloudquery/plugin-sdk/v4/scheduler" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/gorilla/mux" "github.com/rs/zerolog" "github.com/scaleway/scaleway-sdk-go/scw" @@ -19,8 +20,6 @@ import ( var TestOrgID = "DECAF000-CAFE-0000-0000-000000000000" func TestHelper(t *testing.T, table *schema.Table, createServices func(*mux.Router) error) { - version := "vDev" - t.Helper() table.IgnoreInTests = false @@ -33,51 +32,39 @@ func TestHelper(t *testing.T, table *schema.Table, createServices func(*mux.Rout h := httptest.NewServer(router) defer h.Close() - logger := zerolog.New(zerolog.NewTestWriter(t)).Output( + l := zerolog.New(zerolog.NewTestWriter(t)).Output( zerolog.ConsoleWriter{Out: os.Stderr, TimeFormat: time.StampMicro}, ).Level(zerolog.DebugLevel).With().Timestamp().Logger() + sched := scheduler.NewScheduler(scheduler.WithLogger(l)) + spec := &Spec{} + spec.SetDefaults() + if err := spec.Validate(); err != nil { + t.Fatalf("failed to validate spec: %v", err) + } - newTestExecutionClient := func(ctx context.Context, logger zerolog.Logger, spec specs.Source, opts source.Options) (schema.ClientMeta, error) { - scwClient, err := scw.NewClient( - scw.WithoutAuth(), - scw.WithInsecure(), - scw.WithAPIURL(h.URL), - scw.WithDefaultOrganizationID(TestOrgID), - ) - if err != nil { - return nil, err - } - s := Spec{} - s.SetDefaults() - if err := s.Validate(); err != nil { - return nil, err - } + if err := createServices(router); err != nil { + t.Fatal(err) + } - if err := createServices(router); err != nil { - return nil, err - } + services, err := scw.NewClient( + scw.WithoutAuth(), + scw.WithInsecure(), + scw.WithAPIURL(h.URL), + scw.WithDefaultOrganizationID(TestOrgID), + ) + if err != nil { + t.Fatal(err) + } - return &Client{ - Logger: logger, - SCWClient: scwClient, - Backend: opts.Backend, - Spec: s, - sourceSpec: spec, - }, nil + c := New(l, *spec, TestOrgID, services, nil) + + tables := schema.Tables{table} + if err := transformers.TransformTables(tables); err != nil { + t.Fatal(err) } - p := source.NewPlugin( - table.Name, - version, - []*schema.Table{ - table, - }, - newTestExecutionClient) - p.SetLogger(logger) - source.TestPluginSync(t, p, specs.Source{ - Name: "dev", - Path: "cloudquery/dev", - Version: version, - Tables: []string{table.Name}, - Destinations: []string{"mock-destination"}, - }) + messages, err := sched.SyncAll(context.Background(), c, tables) + if err != nil { + t.Fatalf("failed to sync: %v", err) + } + plugin.ValidateNoEmptyColumns(t, tables, messages) } diff --git a/docs/tables/scaleway_applesilicon_os.md b/docs/tables/scaleway_applesilicon_os.md index 124a8f8..f7f6326 100644 --- a/docs/tables/scaleway_applesilicon_os.md +++ b/docs/tables/scaleway_applesilicon_os.md @@ -1,18 +1,18 @@ # Table: scaleway_applesilicon_os +This table shows data for Scaleway Applesilicon Os. + The composite primary key for this table is (**zone**, **id**). ## Columns | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|zone (PK)|String| -|id (PK)|String| -|name|String| -|label|String| -|image_url|String| -|compatible_server_types|StringArray| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|zone (PK)|`utf8`| +|id (PK)|`utf8`| +|name|`utf8`| +|label|`utf8`| +|image_url|`utf8`| +|compatible_server_types|`list`| \ No newline at end of file diff --git a/docs/tables/scaleway_applesilicon_server_types.md b/docs/tables/scaleway_applesilicon_server_types.md index 3d72480..fb502a1 100644 --- a/docs/tables/scaleway_applesilicon_server_types.md +++ b/docs/tables/scaleway_applesilicon_server_types.md @@ -1,19 +1,19 @@ # Table: scaleway_applesilicon_server_types +This table shows data for Scaleway Applesilicon Server Types. + The composite primary key for this table is (**zone**, **name**). ## Columns | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|zone (PK)|String| -|cpu|JSON| -|disk|JSON| -|name (PK)|String| -|memory|JSON| -|stock|String| -|minimum_lease_duration|JSON| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|zone (PK)|`utf8`| +|cpu|`json`| +|disk|`json`| +|name (PK)|`utf8`| +|memory|`json`| +|stock|`utf8`| +|minimum_lease_duration|`json`| \ No newline at end of file diff --git a/docs/tables/scaleway_applesilicon_servers.md b/docs/tables/scaleway_applesilicon_servers.md index 8c37e46..f272618 100644 --- a/docs/tables/scaleway_applesilicon_servers.md +++ b/docs/tables/scaleway_applesilicon_servers.md @@ -1,24 +1,24 @@ # Table: scaleway_applesilicon_servers +This table shows data for Scaleway Applesilicon Servers. + The primary key for this table is **id**. ## Columns | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|type|String| -|name|String| -|project_id|String| -|organization_id|String| -|ip|Inet| -|vnc_url|String| -|status|String| -|created_at|Timestamp| -|updated_at|Timestamp| -|deletable_at|Timestamp| -|zone|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|type|`utf8`| +|name|`utf8`| +|project_id|`utf8`| +|organization_id|`utf8`| +|ip|`inet`| +|vnc_url|`utf8`| +|status|`utf8`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| +|deletable_at|`timestamp[us, tz=UTC]`| +|zone|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_baremetal_offers.md b/docs/tables/scaleway_baremetal_offers.md index 5b0f2fa..a481f65 100644 --- a/docs/tables/scaleway_baremetal_offers.md +++ b/docs/tables/scaleway_baremetal_offers.md @@ -1,32 +1,32 @@ # Table: scaleway_baremetal_offers +This table shows data for Scaleway Baremetal Offers. + The composite primary key for this table is (**zone**, **id**). ## Columns | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|zone (PK)|String| -|id (PK)|String| -|name|String| -|stock|String| -|bandwidth|Int| -|commercial_range|String| -|price_per_hour|JSON| -|price_per_month|JSON| -|disks|JSON| -|enable|Bool| -|cpus|JSON| -|memories|JSON| -|quota_name|String| -|persistent_memories|JSON| -|raid_controllers|JSON| -|incompatible_os_ids|StringArray| -|subscription_period|String| -|operation_path|String| -|fee|JSON| -|options|JSON| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|zone (PK)|`utf8`| +|id (PK)|`utf8`| +|name|`utf8`| +|stock|`utf8`| +|bandwidth|`int64`| +|commercial_range|`utf8`| +|price_per_hour|`json`| +|price_per_month|`json`| +|disks|`json`| +|enable|`bool`| +|cpus|`json`| +|memories|`json`| +|quota_name|`utf8`| +|persistent_memories|`json`| +|raid_controllers|`json`| +|incompatible_os_ids|`list`| +|subscription_period|`utf8`| +|operation_path|`utf8`| +|fee|`json`| +|options|`json`| \ No newline at end of file diff --git a/docs/tables/scaleway_baremetal_os.md b/docs/tables/scaleway_baremetal_os.md index 67647af..bc0d878 100644 --- a/docs/tables/scaleway_baremetal_os.md +++ b/docs/tables/scaleway_baremetal_os.md @@ -1,24 +1,24 @@ # Table: scaleway_baremetal_os +This table shows data for Scaleway Baremetal Os. + The composite primary key for this table is (**zone**, **id**). ## Columns | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|zone (PK)|String| -|id (PK)|String| -|name|String| -|version|String| -|logo_url|String| -|ssh|JSON| -|user|JSON| -|password|JSON| -|service_user|JSON| -|service_password|JSON| -|enabled|Bool| -|license_required|Bool| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|zone (PK)|`utf8`| +|id (PK)|`utf8`| +|name|`utf8`| +|version|`utf8`| +|logo_url|`utf8`| +|ssh|`json`| +|user|`json`| +|password|`json`| +|service_user|`json`| +|service_password|`json`| +|enabled|`bool`| +|license_required|`bool`| \ No newline at end of file diff --git a/docs/tables/scaleway_baremetal_servers.md b/docs/tables/scaleway_baremetal_servers.md index 8fb9e13..8e434f0 100644 --- a/docs/tables/scaleway_baremetal_servers.md +++ b/docs/tables/scaleway_baremetal_servers.md @@ -1,31 +1,31 @@ # Table: scaleway_baremetal_servers +This table shows data for Scaleway Baremetal Servers. + The primary key for this table is **id**. ## Columns | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|organization_id|String| -|project_id|String| -|name|String| -|description|String| -|updated_at|Timestamp| -|created_at|Timestamp| -|status|String| -|offer_id|String| -|offer_name|String| -|tags|StringArray| -|ips|JSON| -|domain|String| -|boot_type|String| -|zone|String| -|install|JSON| -|ping_status|String| -|options|JSON| -|rescue_server|JSON| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|organization_id|`utf8`| +|project_id|`utf8`| +|name|`utf8`| +|description|`utf8`| +|updated_at|`timestamp[us, tz=UTC]`| +|created_at|`timestamp[us, tz=UTC]`| +|status|`utf8`| +|offer_id|`utf8`| +|offer_name|`utf8`| +|tags|`list`| +|ips|`json`| +|domain|`utf8`| +|boot_type|`utf8`| +|zone|`utf8`| +|install|`json`| +|ping_status|`utf8`| +|options|`json`| +|rescue_server|`json`| \ No newline at end of file diff --git a/docs/tables/scaleway_container_crons.md b/docs/tables/scaleway_container_crons.md index 9c51aa5..1f39666 100644 --- a/docs/tables/scaleway_container_crons.md +++ b/docs/tables/scaleway_container_crons.md @@ -1,5 +1,7 @@ # Table: scaleway_container_crons +This table shows data for Scaleway Container Crons. + The primary key for this table is **id**. ## Relations @@ -10,13 +12,11 @@ This table depends on [scaleway_containers](scaleway_containers.md). | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|container_id|String| -|schedule|String| -|args|JSON| -|status|String| -|name|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|container_id|`utf8`| +|schedule|`utf8`| +|args|`json`| +|status|`utf8`| +|name|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_container_domains.md b/docs/tables/scaleway_container_domains.md index 7759924..0f903dc 100644 --- a/docs/tables/scaleway_container_domains.md +++ b/docs/tables/scaleway_container_domains.md @@ -1,5 +1,7 @@ # Table: scaleway_container_domains +This table shows data for Scaleway Container Domains. + The primary key for this table is **id**. ## Relations @@ -10,13 +12,11 @@ This table depends on [scaleway_containers](scaleway_containers.md). | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|hostname|String| -|container_id|String| -|url|String| -|status|String| -|error_message|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|hostname|`utf8`| +|container_id|`utf8`| +|url|`utf8`| +|status|`utf8`| +|error_message|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_container_namespaces.md b/docs/tables/scaleway_container_namespaces.md index 64dd09e..7ebe96a 100644 --- a/docs/tables/scaleway_container_namespaces.md +++ b/docs/tables/scaleway_container_namespaces.md @@ -1,5 +1,7 @@ # Table: scaleway_container_namespaces +This table shows data for Scaleway Container Namespaces. + The primary key for this table is **id**. ## Relations @@ -11,19 +13,17 @@ The following tables depend on scaleway_container_namespaces: | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|name|String| -|environment_variables|JSON| -|organization_id|String| -|project_id|String| -|status|String| -|registry_namespace_id|String| -|error_message|String| -|registry_endpoint|String| -|description|String| -|secret_environment_variables|JSON| -|region|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|name|`utf8`| +|environment_variables|`json`| +|organization_id|`utf8`| +|project_id|`utf8`| +|status|`utf8`| +|registry_namespace_id|`utf8`| +|error_message|`utf8`| +|registry_endpoint|`utf8`| +|description|`utf8`| +|secret_environment_variables|`json`| +|region|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_container_tokens.md b/docs/tables/scaleway_container_tokens.md index 795d18a..400d5f5 100644 --- a/docs/tables/scaleway_container_tokens.md +++ b/docs/tables/scaleway_container_tokens.md @@ -1,5 +1,7 @@ # Table: scaleway_container_tokens +This table shows data for Scaleway Container Tokens. + The primary key for this table is **id**. ## Relations @@ -10,15 +12,13 @@ This table depends on [scaleway_container_namespaces](scaleway_container_namespa | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|token|String| -|container_id|String| -|namespace_id|String| -|public_key|String| -|status|String| -|description|String| -|expires_at|Timestamp| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|token|`utf8`| +|container_id|`utf8`| +|namespace_id|`utf8`| +|public_key|`utf8`| +|status|`utf8`| +|description|`utf8`| +|expires_at|`timestamp[us, tz=UTC]`| \ No newline at end of file diff --git a/docs/tables/scaleway_containers.md b/docs/tables/scaleway_containers.md index 41048b3..24e0ce9 100644 --- a/docs/tables/scaleway_containers.md +++ b/docs/tables/scaleway_containers.md @@ -1,5 +1,7 @@ # Table: scaleway_containers +This table shows data for Scaleway Containers. + The primary key for this table is **id**. ## Relations @@ -12,28 +14,26 @@ The following tables depend on scaleway_containers: | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|name|String| -|namespace_id|String| -|status|String| -|environment_variables|JSON| -|min_scale|Int| -|max_scale|Int| -|memory_limit|Int| -|cpu_limit|Int| -|timeout|JSON| -|error_message|String| -|privacy|String| -|description|String| -|registry_image|String| -|max_concurrency|Int| -|domain_name|String| -|protocol|String| -|port|Int| -|secret_environment_variables|JSON| -|http_option|String| -|region|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|name|`utf8`| +|namespace_id|`utf8`| +|status|`utf8`| +|environment_variables|`json`| +|min_scale|`int64`| +|max_scale|`int64`| +|memory_limit|`int64`| +|cpu_limit|`int64`| +|timeout|`json`| +|error_message|`utf8`| +|privacy|`utf8`| +|description|`utf8`| +|registry_image|`utf8`| +|max_concurrency|`int64`| +|domain_name|`utf8`| +|protocol|`utf8`| +|port|`int64`| +|secret_environment_variables|`json`| +|http_option|`utf8`| +|region|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_default_security_group_rules.md b/docs/tables/scaleway_default_security_group_rules.md index 746ade1..3920abc 100644 --- a/docs/tables/scaleway_default_security_group_rules.md +++ b/docs/tables/scaleway_default_security_group_rules.md @@ -1,22 +1,22 @@ # Table: scaleway_default_security_group_rules +This table shows data for Scaleway Default Security Group Rules. + The primary key for this table is **id**. ## Columns | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|protocol|String| -|direction|String| -|action|String| -|ip_range|JSON| -|dest_port_from|Int| -|dest_port_to|Int| -|position|Int| -|editable|Bool| -|zone|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|protocol|`utf8`| +|direction|`utf8`| +|action|`utf8`| +|ip_range|`json`| +|dest_port_from|`int64`| +|dest_port_to|`int64`| +|position|`int64`| +|editable|`bool`| +|zone|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_flexible_ips.md b/docs/tables/scaleway_flexible_ips.md index ad1d11c..ea97415 100644 --- a/docs/tables/scaleway_flexible_ips.md +++ b/docs/tables/scaleway_flexible_ips.md @@ -1,25 +1,25 @@ # Table: scaleway_flexible_ips +This table shows data for Scaleway Flexible IPs. + The primary key for this table is **id**. ## Columns | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|organization_id|String| -|project_id|String| -|description|String| -|tags|StringArray| -|updated_at|Timestamp| -|created_at|Timestamp| -|status|String| -|ip_address|JSON| -|mac_address|JSON| -|server_id|String| -|reverse|String| -|zone|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|organization_id|`utf8`| +|project_id|`utf8`| +|description|`utf8`| +|tags|`list`| +|updated_at|`timestamp[us, tz=UTC]`| +|created_at|`timestamp[us, tz=UTC]`| +|status|`utf8`| +|ip_address|`json`| +|mac_address|`json`| +|server_id|`utf8`| +|reverse|`utf8`| +|zone|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_function_crons.md b/docs/tables/scaleway_function_crons.md index e8e8a10..29b79d5 100644 --- a/docs/tables/scaleway_function_crons.md +++ b/docs/tables/scaleway_function_crons.md @@ -1,5 +1,7 @@ # Table: scaleway_function_crons +This table shows data for Scaleway Function Crons. + The primary key for this table is **id**. ## Relations @@ -10,13 +12,11 @@ This table depends on [scaleway_functions](scaleway_functions.md). | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|function_id|String| -|schedule|String| -|args|JSON| -|status|String| -|name|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|function_id|`utf8`| +|schedule|`utf8`| +|args|`json`| +|status|`utf8`| +|name|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_function_domains.md b/docs/tables/scaleway_function_domains.md index 9b25f31..d25a448 100644 --- a/docs/tables/scaleway_function_domains.md +++ b/docs/tables/scaleway_function_domains.md @@ -1,5 +1,7 @@ # Table: scaleway_function_domains +This table shows data for Scaleway Function Domains. + The primary key for this table is **id**. ## Relations @@ -10,13 +12,11 @@ This table depends on [scaleway_functions](scaleway_functions.md). | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|hostname|String| -|function_id|String| -|url|String| -|status|String| -|error_message|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|hostname|`utf8`| +|function_id|`utf8`| +|url|`utf8`| +|status|`utf8`| +|error_message|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_function_namespaces.md b/docs/tables/scaleway_function_namespaces.md index 11bb4f2..127b0b1 100644 --- a/docs/tables/scaleway_function_namespaces.md +++ b/docs/tables/scaleway_function_namespaces.md @@ -1,5 +1,7 @@ # Table: scaleway_function_namespaces +This table shows data for Scaleway Function Namespaces. + The primary key for this table is **id**. ## Relations @@ -11,19 +13,17 @@ The following tables depend on scaleway_function_namespaces: | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|name|String| -|environment_variables|JSON| -|organization_id|String| -|project_id|String| -|status|String| -|registry_namespace_id|String| -|error_message|String| -|registry_endpoint|String| -|description|String| -|secret_environment_variables|JSON| -|region|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|name|`utf8`| +|environment_variables|`json`| +|organization_id|`utf8`| +|project_id|`utf8`| +|status|`utf8`| +|registry_namespace_id|`utf8`| +|error_message|`utf8`| +|registry_endpoint|`utf8`| +|description|`utf8`| +|secret_environment_variables|`json`| +|region|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_function_runtimes.md b/docs/tables/scaleway_function_runtimes.md index 1820a2e..658aa9c 100644 --- a/docs/tables/scaleway_function_runtimes.md +++ b/docs/tables/scaleway_function_runtimes.md @@ -1,22 +1,22 @@ # Table: scaleway_function_runtimes +This table shows data for Scaleway Function Runtimes. + The composite primary key for this table is (**region**, **name**). ## Columns | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|region (PK)|String| -|name (PK)|String| -|language|String| -|version|String| -|default_handler|String| -|code_sample|String| -|status|String| -|status_message|String| -|extension|String| -|implementation|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|region (PK)|`utf8`| +|name (PK)|`utf8`| +|language|`utf8`| +|version|`utf8`| +|default_handler|`utf8`| +|code_sample|`utf8`| +|status|`utf8`| +|status_message|`utf8`| +|extension|`utf8`| +|implementation|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_function_tokens.md b/docs/tables/scaleway_function_tokens.md index de818f0..7a6c927 100644 --- a/docs/tables/scaleway_function_tokens.md +++ b/docs/tables/scaleway_function_tokens.md @@ -1,5 +1,7 @@ # Table: scaleway_function_tokens +This table shows data for Scaleway Function Tokens. + The primary key for this table is **id**. ## Relations @@ -10,15 +12,13 @@ This table depends on [scaleway_function_namespaces](scaleway_function_namespace | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|token|String| -|function_id|String| -|namespace_id|String| -|public_key|String| -|status|String| -|description|String| -|expires_at|Timestamp| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|token|`utf8`| +|function_id|`utf8`| +|namespace_id|`utf8`| +|public_key|`utf8`| +|status|`utf8`| +|description|`utf8`| +|expires_at|`timestamp[us, tz=UTC]`| \ No newline at end of file diff --git a/docs/tables/scaleway_function_trigger_inputs.md b/docs/tables/scaleway_function_trigger_inputs.md index 752be37..97c68d6 100644 --- a/docs/tables/scaleway_function_trigger_inputs.md +++ b/docs/tables/scaleway_function_trigger_inputs.md @@ -1,5 +1,7 @@ # Table: scaleway_function_trigger_inputs +This table shows data for Scaleway Function Trigger Inputs. + The composite primary key for this table is (**trigger_id**, **id**). ## Relations @@ -10,14 +12,12 @@ This table depends on [scaleway_function_triggers](scaleway_function_triggers.md | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|trigger_id (PK)|String| -|id (PK)|String| -|mnq_namespace_id|String| -|status|String| -|error_message|String| -|nats_config|JSON| -|sqs_config|JSON| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|trigger_id (PK)|`utf8`| +|id (PK)|`utf8`| +|mnq_namespace_id|`utf8`| +|status|`utf8`| +|error_message|`utf8`| +|nats_config|`json`| +|sqs_config|`json`| \ No newline at end of file diff --git a/docs/tables/scaleway_function_triggers.md b/docs/tables/scaleway_function_triggers.md index 894dc16..68634db 100644 --- a/docs/tables/scaleway_function_triggers.md +++ b/docs/tables/scaleway_function_triggers.md @@ -1,5 +1,7 @@ # Table: scaleway_function_triggers +This table shows data for Scaleway Function Triggers. + The primary key for this table is **id**. ## Relations @@ -13,16 +15,14 @@ The following tables depend on scaleway_function_triggers: | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|name|String| -|description|String| -|type|String| -|status|String| -|error_message|String| -|function_id|String| -|nats_failure_handling_policy|JSON| -|sqs_failure_handling_policy|JSON| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|name|`utf8`| +|description|`utf8`| +|type|`utf8`| +|status|`utf8`| +|error_message|`utf8`| +|function_id|`utf8`| +|nats_failure_handling_policy|`json`| +|sqs_failure_handling_policy|`json`| \ No newline at end of file diff --git a/docs/tables/scaleway_functions.md b/docs/tables/scaleway_functions.md index 2808c15..20764f3 100644 --- a/docs/tables/scaleway_functions.md +++ b/docs/tables/scaleway_functions.md @@ -1,5 +1,7 @@ # Table: scaleway_functions +This table shows data for Scaleway Functions. + The primary key for this table is **id**. ## Relations @@ -13,27 +15,25 @@ The following tables depend on scaleway_functions: | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|name|String| -|namespace_id|String| -|status|String| -|environment_variables|JSON| -|min_scale|Int| -|max_scale|Int| -|runtime|String| -|memory_limit|Int| -|cpu_limit|Int| -|timeout|JSON| -|handler|String| -|error_message|String| -|privacy|String| -|description|String| -|domain_name|String| -|secret_environment_variables|JSON| -|region|String| -|http_option|String| -|runtime_message|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|name|`utf8`| +|namespace_id|`utf8`| +|status|`utf8`| +|environment_variables|`json`| +|min_scale|`int64`| +|max_scale|`int64`| +|runtime|`utf8`| +|memory_limit|`int64`| +|cpu_limit|`int64`| +|timeout|`json`| +|handler|`utf8`| +|error_message|`utf8`| +|privacy|`utf8`| +|description|`utf8`| +|domain_name|`utf8`| +|secret_environment_variables|`json`| +|region|`utf8`| +|http_option|`utf8`| +|runtime_message|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_iam_api_keys.md b/docs/tables/scaleway_iam_api_keys.md index 288e739..19d235d 100644 --- a/docs/tables/scaleway_iam_api_keys.md +++ b/docs/tables/scaleway_iam_api_keys.md @@ -1,23 +1,23 @@ # Table: scaleway_iam_api_keys +This table shows data for Scaleway IAM API Keys. + The primary key for this table is **access_key**. ## Columns | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|access_key (PK)|String| -|secret_key|String| -|application_id|String| -|user_id|String| -|description|String| -|created_at|Timestamp| -|updated_at|Timestamp| -|expires_at|Timestamp| -|default_project_id|String| -|editable|Bool| -|creation_ip|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|access_key (PK)|`utf8`| +|secret_key|`utf8`| +|application_id|`utf8`| +|user_id|`utf8`| +|description|`utf8`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| +|expires_at|`timestamp[us, tz=UTC]`| +|default_project_id|`utf8`| +|editable|`bool`| +|creation_ip|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_iam_apps.md b/docs/tables/scaleway_iam_apps.md index f845ba3..4f84f25 100644 --- a/docs/tables/scaleway_iam_apps.md +++ b/docs/tables/scaleway_iam_apps.md @@ -1,20 +1,20 @@ # Table: scaleway_iam_apps +This table shows data for Scaleway IAM Apps. + The primary key for this table is **id**. ## Columns | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|name|String| -|description|String| -|created_at|Timestamp| -|updated_at|Timestamp| -|organization_id|String| -|editable|Bool| -|nb_api_keys|Int| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|name|`utf8`| +|description|`utf8`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| +|organization_id|`utf8`| +|editable|`bool`| +|nb_api_keys|`int64`| \ No newline at end of file diff --git a/docs/tables/scaleway_iam_groups.md b/docs/tables/scaleway_iam_groups.md index 85be4f6..a66db3a 100644 --- a/docs/tables/scaleway_iam_groups.md +++ b/docs/tables/scaleway_iam_groups.md @@ -1,20 +1,20 @@ # Table: scaleway_iam_groups +This table shows data for Scaleway IAM Groups. + The primary key for this table is **id**. ## Columns | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|created_at|Timestamp| -|updated_at|Timestamp| -|organization_id|String| -|name|String| -|description|String| -|user_ids|StringArray| -|application_ids|StringArray| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| +|organization_id|`utf8`| +|name|`utf8`| +|description|`utf8`| +|user_ids|`list`| +|application_ids|`list`| \ No newline at end of file diff --git a/docs/tables/scaleway_iam_permission_sets.md b/docs/tables/scaleway_iam_permission_sets.md index dc41a4c..a6c4798 100644 --- a/docs/tables/scaleway_iam_permission_sets.md +++ b/docs/tables/scaleway_iam_permission_sets.md @@ -1,17 +1,17 @@ # Table: scaleway_iam_permission_sets +This table shows data for Scaleway IAM Permission Sets. + The primary key for this table is **id**. ## Columns | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|name|String| -|scope_type|String| -|description|String| -|categories|StringArray| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|name|`utf8`| +|scope_type|`utf8`| +|description|`utf8`| +|categories|`list`| \ No newline at end of file diff --git a/docs/tables/scaleway_iam_policies.md b/docs/tables/scaleway_iam_policies.md index 6206583..7052880 100644 --- a/docs/tables/scaleway_iam_policies.md +++ b/docs/tables/scaleway_iam_policies.md @@ -1,5 +1,7 @@ # Table: scaleway_iam_policies +This table shows data for Scaleway IAM Policies. + The primary key for this table is **id**. ## Relations @@ -11,21 +13,19 @@ The following tables depend on scaleway_iam_policies: | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|name|String| -|description|String| -|organization_id|String| -|created_at|Timestamp| -|updated_at|Timestamp| -|editable|Bool| -|nb_rules|Int| -|nb_scopes|Int| -|nb_permission_sets|Int| -|user_id|String| -|group_id|String| -|application_id|String| -|no_principal|Bool| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|name|`utf8`| +|description|`utf8`| +|organization_id|`utf8`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| +|editable|`bool`| +|nb_rules|`int64`| +|nb_scopes|`int64`| +|nb_permission_sets|`int64`| +|user_id|`utf8`| +|group_id|`utf8`| +|application_id|`utf8`| +|no_principal|`bool`| \ No newline at end of file diff --git a/docs/tables/scaleway_iam_policy_rules.md b/docs/tables/scaleway_iam_policy_rules.md index e2bf61c..40c3bb0 100644 --- a/docs/tables/scaleway_iam_policy_rules.md +++ b/docs/tables/scaleway_iam_policy_rules.md @@ -1,5 +1,7 @@ # Table: scaleway_iam_policy_rules +This table shows data for Scaleway IAM Policy Rules. + The composite primary key for this table is (**policy_id**, **id**). ## Relations @@ -10,14 +12,12 @@ This table depends on [scaleway_iam_policies](scaleway_iam_policies.md). | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|policy_id (PK)|String| -|id (PK)|String| -|permission_set_names|StringArray| -|permission_sets_scope_type|String| -|project_ids|StringArray| -|organization_id|String| -|account_root_user_id|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|policy_id (PK)|`utf8`| +|id (PK)|`utf8`| +|permission_set_names|`list`| +|permission_sets_scope_type|`utf8`| +|project_ids|`list`| +|organization_id|`utf8`| +|account_root_user_id|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_iam_ssh_keys.md b/docs/tables/scaleway_iam_ssh_keys.md index 7f4da22..1d63a6f 100644 --- a/docs/tables/scaleway_iam_ssh_keys.md +++ b/docs/tables/scaleway_iam_ssh_keys.md @@ -1,21 +1,21 @@ # Table: scaleway_iam_ssh_keys +This table shows data for Scaleway IAM SSH Keys. + The primary key for this table is **id**. ## Columns | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|name|String| -|public_key|String| -|fingerprint|String| -|created_at|Timestamp| -|updated_at|Timestamp| -|organization_id|String| -|project_id|String| -|disabled|Bool| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|name|`utf8`| +|public_key|`utf8`| +|fingerprint|`utf8`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| +|organization_id|`utf8`| +|project_id|`utf8`| +|disabled|`bool`| \ No newline at end of file diff --git a/docs/tables/scaleway_iam_users.md b/docs/tables/scaleway_iam_users.md index 2d63580..cf324ce 100644 --- a/docs/tables/scaleway_iam_users.md +++ b/docs/tables/scaleway_iam_users.md @@ -1,22 +1,22 @@ # Table: scaleway_iam_users +This table shows data for Scaleway IAM Users. + The primary key for this table is **id**. ## Columns | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|email|String| -|created_at|Timestamp| -|updated_at|Timestamp| -|organization_id|String| -|deletable|Bool| -|last_login_at|Timestamp| -|type|String| -|two_factor_enabled|Bool| -|status|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|email|`utf8`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| +|organization_id|`utf8`| +|deletable|`bool`| +|last_login_at|`timestamp[us, tz=UTC]`| +|type|`utf8`| +|two_factor_enabled|`bool`| +|status|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_images.md b/docs/tables/scaleway_images.md index 93e3d08..4a77b0b 100644 --- a/docs/tables/scaleway_images.md +++ b/docs/tables/scaleway_images.md @@ -1,27 +1,27 @@ # Table: scaleway_images +This table shows data for Scaleway Images. + The primary key for this table is **id**. ## Columns | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|name|String| -|arch|String| -|creation_date|Timestamp| -|modification_date|Timestamp| -|default_bootscript|JSON| -|extra_volumes|JSON| -|from_server|String| -|organization|String| -|public|Bool| -|root_volume|JSON| -|state|String| -|project|String| -|tags|StringArray| -|zone|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|name|`utf8`| +|arch|`utf8`| +|creation_date|`timestamp[us, tz=UTC]`| +|modification_date|`timestamp[us, tz=UTC]`| +|default_bootscript|`json`| +|extra_volumes|`json`| +|from_server|`utf8`| +|organization|`utf8`| +|public|`bool`| +|root_volume|`json`| +|state|`utf8`| +|project|`utf8`| +|tags|`list`| +|zone|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_instances.md b/docs/tables/scaleway_instances.md index 4a0c762..f049d73 100644 --- a/docs/tables/scaleway_instances.md +++ b/docs/tables/scaleway_instances.md @@ -1,41 +1,41 @@ # Table: scaleway_instances +This table shows data for Scaleway Instances. + The primary key for this table is **id**. ## Columns | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|name|String| -|organization|String| -|project|String| -|allowed_actions|StringArray| -|tags|StringArray| -|commercial_type|String| -|creation_date|Timestamp| -|dynamic_ip_required|Bool| -|enable_ipv6|Bool| -|hostname|String| -|image|JSON| -|protected|Bool| -|private_ip|String| -|public_ip|JSON| -|modification_date|Timestamp| -|state|String| -|location|JSON| -|ipv6|JSON| -|bootscript|JSON| -|boot_type|String| -|volumes|JSON| -|security_group|JSON| -|maintenances|JSON| -|state_detail|String| -|arch|String| -|placement_group|JSON| -|private_nics|JSON| -|zone|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|name|`utf8`| +|organization|`utf8`| +|project|`utf8`| +|allowed_actions|`list`| +|tags|`list`| +|commercial_type|`utf8`| +|creation_date|`timestamp[us, tz=UTC]`| +|dynamic_ip_required|`bool`| +|enable_ipv6|`bool`| +|hostname|`utf8`| +|image|`json`| +|protected|`bool`| +|private_ip|`utf8`| +|public_ip|`json`| +|modification_date|`timestamp[us, tz=UTC]`| +|state|`utf8`| +|location|`json`| +|ipv6|`json`| +|bootscript|`json`| +|boot_type|`utf8`| +|volumes|`json`| +|security_group|`json`| +|maintenances|`json`| +|state_detail|`utf8`| +|arch|`utf8`| +|placement_group|`json`| +|private_nics|`json`| +|zone|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_iot_devices.md b/docs/tables/scaleway_iot_devices.md index b9664c0..c044b4a 100644 --- a/docs/tables/scaleway_iot_devices.md +++ b/docs/tables/scaleway_iot_devices.md @@ -1,5 +1,7 @@ # Table: scaleway_iot_devices +This table shows data for Scaleway IOT Devices. + The primary key for this table is **id**. ## Relations @@ -10,20 +12,18 @@ This table depends on [scaleway_iot_hubs](scaleway_iot_hubs.md). | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|name|String| -|description|String| -|status|String| -|hub_id|String| -|last_activity_at|Timestamp| -|is_connected|Bool| -|allow_insecure|Bool| -|allow_multiple_connections|Bool| -|message_filters|JSON| -|has_custom_certificate|Bool| -|created_at|Timestamp| -|updated_at|Timestamp| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|name|`utf8`| +|description|`utf8`| +|status|`utf8`| +|hub_id|`utf8`| +|last_activity_at|`timestamp[us, tz=UTC]`| +|is_connected|`bool`| +|allow_insecure|`bool`| +|allow_multiple_connections|`bool`| +|message_filters|`json`| +|has_custom_certificate|`bool`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| \ No newline at end of file diff --git a/docs/tables/scaleway_iot_hubs.md b/docs/tables/scaleway_iot_hubs.md index d34c2fd..a2f3a64 100644 --- a/docs/tables/scaleway_iot_hubs.md +++ b/docs/tables/scaleway_iot_hubs.md @@ -1,5 +1,7 @@ # Table: scaleway_iot_hubs +This table shows data for Scaleway IOT Hubs. + The primary key for this table is **id**. ## Relations @@ -13,25 +15,23 @@ The following tables depend on scaleway_iot_hubs: | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|name|String| -|status|String| -|product_plan|String| -|enabled|Bool| -|device_count|Int| -|connected_device_count|Int| -|endpoint|String| -|disable_events|Bool| -|events_topic_prefix|String| -|region|String| -|created_at|Timestamp| -|updated_at|Timestamp| -|project_id|String| -|organization_id|String| -|enable_device_auto_provisioning|Bool| -|has_custom_ca|Bool| -|twins_graphite_config|JSON| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|name|`utf8`| +|status|`utf8`| +|product_plan|`utf8`| +|enabled|`bool`| +|device_count|`int64`| +|connected_device_count|`int64`| +|endpoint|`utf8`| +|disable_events|`bool`| +|events_topic_prefix|`utf8`| +|region|`utf8`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| +|project_id|`utf8`| +|organization_id|`utf8`| +|enable_device_auto_provisioning|`bool`| +|has_custom_ca|`bool`| +|twins_graphite_config|`json`| \ No newline at end of file diff --git a/docs/tables/scaleway_iot_networks.md b/docs/tables/scaleway_iot_networks.md index f57f56e..bad1168 100644 --- a/docs/tables/scaleway_iot_networks.md +++ b/docs/tables/scaleway_iot_networks.md @@ -1,5 +1,7 @@ # Table: scaleway_iot_networks +This table shows data for Scaleway IOT Networks. + The primary key for this table is **id**. ## Relations @@ -10,14 +12,12 @@ This table depends on [scaleway_iot_hubs](scaleway_iot_hubs.md). | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|name|String| -|type|String| -|endpoint|String| -|hub_id|String| -|created_at|Timestamp| -|topic_prefix|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|name|`utf8`| +|type|`utf8`| +|endpoint|`utf8`| +|hub_id|`utf8`| +|created_at|`timestamp[us, tz=UTC]`| +|topic_prefix|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_iot_routes.md b/docs/tables/scaleway_iot_routes.md index dc82316..00690ff 100644 --- a/docs/tables/scaleway_iot_routes.md +++ b/docs/tables/scaleway_iot_routes.md @@ -1,5 +1,7 @@ # Table: scaleway_iot_routes +This table shows data for Scaleway IOT Routes. + The primary key for this table is **id**. ## Relations @@ -10,14 +12,12 @@ This table depends on [scaleway_iot_hubs](scaleway_iot_hubs.md). | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|name|String| -|hub_id|String| -|topic|String| -|type|String| -|created_at|Timestamp| -|updated_at|Timestamp| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|name|`utf8`| +|hub_id|`utf8`| +|topic|`utf8`| +|type|`utf8`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| \ No newline at end of file diff --git a/docs/tables/scaleway_ipfs_volume_pins.md b/docs/tables/scaleway_ipfs_volume_pins.md index 1c4e33e..51e35fb 100644 --- a/docs/tables/scaleway_ipfs_volume_pins.md +++ b/docs/tables/scaleway_ipfs_volume_pins.md @@ -1,5 +1,7 @@ # Table: scaleway_ipfs_volume_pins +This table shows data for Scaleway Ipfs Volume Pins. + The composite primary key for this table is (**volume_id**, **pin_id**). ## Relations @@ -10,14 +12,12 @@ This table depends on [scaleway_ipfs_volumes](scaleway_ipfs_volumes.md). | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|volume_id (PK)|String| -|pin_id (PK)|String| -|status|String| -|created_at|Timestamp| -|cid|JSON| -|delegates|StringArray| -|info|JSON| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|volume_id (PK)|`utf8`| +|pin_id (PK)|`utf8`| +|status|`utf8`| +|created_at|`timestamp[us, tz=UTC]`| +|cid|`json`| +|delegates|`list`| +|info|`json`| \ No newline at end of file diff --git a/docs/tables/scaleway_ipfs_volumes.md b/docs/tables/scaleway_ipfs_volumes.md index 9e0f392..5d42da3 100644 --- a/docs/tables/scaleway_ipfs_volumes.md +++ b/docs/tables/scaleway_ipfs_volumes.md @@ -1,5 +1,7 @@ # Table: scaleway_ipfs_volumes +This table shows data for Scaleway Ipfs Volumes. + The primary key for this table is **id**. ## Relations @@ -11,15 +13,13 @@ The following tables depend on scaleway_ipfs_volumes: | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|project_id|String| -|region|String| -|count_pin|Int| -|created_at|Timestamp| -|updated_at|Timestamp| -|tags|StringArray| -|name|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|project_id|`utf8`| +|region|`utf8`| +|count_pin|`int64`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| +|tags|`list`| +|name|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_k8s_cluster_available_versions.md b/docs/tables/scaleway_k8s_cluster_available_versions.md index ba67b1f..b58ca46 100644 --- a/docs/tables/scaleway_k8s_cluster_available_versions.md +++ b/docs/tables/scaleway_k8s_cluster_available_versions.md @@ -1,5 +1,7 @@ # Table: scaleway_k8s_cluster_available_versions +This table shows data for Scaleway K8s Cluster Available Versions. + The primary key for this table is **name**. ## Relations @@ -10,17 +12,15 @@ This table depends on [scaleway_k8s_clusters](scaleway_k8s_clusters.md). | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|cluster_id|String| -|name (PK)|String| -|label|String| -|region|String| -|available_cnis|StringArray| -|available_ingresses|StringArray| -|available_container_runtimes|StringArray| -|available_feature_gates|StringArray| -|available_admission_plugins|StringArray| -|available_kubelet_args|JSON| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|cluster_id|`utf8`| +|name (PK)|`utf8`| +|label|`utf8`| +|region|`utf8`| +|available_cnis|`list`| +|available_ingresses|`list`| +|available_container_runtimes|`list`| +|available_feature_gates|`list`| +|available_admission_plugins|`list`| +|available_kubelet_args|`json`| \ No newline at end of file diff --git a/docs/tables/scaleway_k8s_clusters.md b/docs/tables/scaleway_k8s_clusters.md index b490207..9586263 100644 --- a/docs/tables/scaleway_k8s_clusters.md +++ b/docs/tables/scaleway_k8s_clusters.md @@ -1,5 +1,7 @@ # Table: scaleway_k8s_clusters +This table shows data for Scaleway K8s Clusters. + The primary key for this table is **id**. ## Relations @@ -13,31 +15,29 @@ The following tables depend on scaleway_k8s_clusters: | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|type|String| -|name|String| -|status|String| -|version|String| -|region|String| -|organization_id|String| -|project_id|String| -|tags|StringArray| -|cni|String| -|description|String| -|cluster_url|String| -|dns_wildcard|String| -|created_at|Timestamp| -|updated_at|Timestamp| -|autoscaler_config|JSON| -|dashboard_enabled|Bool| -|ingress|String| -|auto_upgrade|JSON| -|upgrade_available|Bool| -|feature_gates|StringArray| -|admission_plugins|StringArray| -|open_id_connect_config|JSON| -|apiserver_cert_sans|StringArray| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|type|`utf8`| +|name|`utf8`| +|status|`utf8`| +|version|`utf8`| +|region|`utf8`| +|organization_id|`utf8`| +|project_id|`utf8`| +|tags|`list`| +|cni|`utf8`| +|description|`utf8`| +|cluster_url|`utf8`| +|dns_wildcard|`utf8`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| +|autoscaler_config|`json`| +|dashboard_enabled|`bool`| +|ingress|`utf8`| +|auto_upgrade|`json`| +|upgrade_available|`bool`| +|feature_gates|`list`| +|admission_plugins|`list`| +|open_id_connect_config|`json`| +|apiserver_cert_sans|`list`| \ No newline at end of file diff --git a/docs/tables/scaleway_k8s_nodes.md b/docs/tables/scaleway_k8s_nodes.md index eb925ec..d5e1729 100644 --- a/docs/tables/scaleway_k8s_nodes.md +++ b/docs/tables/scaleway_k8s_nodes.md @@ -1,5 +1,7 @@ # Table: scaleway_k8s_nodes +This table shows data for Scaleway K8s Nodes. + The primary key for this table is **id**. ## Relations @@ -10,20 +12,18 @@ This table depends on [scaleway_k8s_clusters](scaleway_k8s_clusters.md). | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|pool_id|String| -|cluster_id|String| -|provider_id|String| -|region|String| -|name|String| -|public_ip_v4|Inet| -|public_ip_v6|Inet| -|conditions|JSON| -|status|String| -|error_message|String| -|created_at|Timestamp| -|updated_at|Timestamp| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|pool_id|`utf8`| +|cluster_id|`utf8`| +|provider_id|`utf8`| +|region|`utf8`| +|name|`utf8`| +|public_ip_v4|`inet`| +|public_ip_v6|`inet`| +|conditions|`json`| +|status|`utf8`| +|error_message|`utf8`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| \ No newline at end of file diff --git a/docs/tables/scaleway_k8s_pools.md b/docs/tables/scaleway_k8s_pools.md index e9b2501..5c3e365 100644 --- a/docs/tables/scaleway_k8s_pools.md +++ b/docs/tables/scaleway_k8s_pools.md @@ -1,5 +1,7 @@ # Table: scaleway_k8s_pools +This table shows data for Scaleway K8s Pools. + The primary key for this table is **id**. ## Relations @@ -10,29 +12,27 @@ This table depends on [scaleway_k8s_clusters](scaleway_k8s_clusters.md). | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|cluster_id|String| -|created_at|Timestamp| -|updated_at|Timestamp| -|name|String| -|status|String| -|version|String| -|node_type|String| -|autoscaling|Bool| -|size|Int| -|min_size|Int| -|max_size|Int| -|container_runtime|String| -|autohealing|Bool| -|tags|StringArray| -|placement_group_id|String| -|kubelet_args|JSON| -|upgrade_policy|JSON| -|zone|String| -|root_volume_type|String| -|root_volume_size|Int| -|region|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|cluster_id|`utf8`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| +|name|`utf8`| +|status|`utf8`| +|version|`utf8`| +|node_type|`utf8`| +|autoscaling|`bool`| +|size|`int64`| +|min_size|`int64`| +|max_size|`int64`| +|container_runtime|`utf8`| +|autohealing|`bool`| +|tags|`list`| +|placement_group_id|`utf8`| +|kubelet_args|`json`| +|upgrade_policy|`json`| +|zone|`utf8`| +|root_volume_type|`utf8`| +|root_volume_size|`int64`| +|region|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_k8s_versions.md b/docs/tables/scaleway_k8s_versions.md index 7f64b52..0309bc2 100644 --- a/docs/tables/scaleway_k8s_versions.md +++ b/docs/tables/scaleway_k8s_versions.md @@ -1,21 +1,21 @@ # Table: scaleway_k8s_versions +This table shows data for Scaleway K8s Versions. + The composite primary key for this table is (**name**, **region**). ## Columns | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|name (PK)|String| -|label|String| -|region (PK)|String| -|available_cnis|StringArray| -|available_ingresses|StringArray| -|available_container_runtimes|StringArray| -|available_feature_gates|StringArray| -|available_admission_plugins|StringArray| -|available_kubelet_args|JSON| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|name (PK)|`utf8`| +|label|`utf8`| +|region (PK)|`utf8`| +|available_cnis|`list`| +|available_ingresses|`list`| +|available_container_runtimes|`list`| +|available_feature_gates|`list`| +|available_admission_plugins|`list`| +|available_kubelet_args|`json`| \ No newline at end of file diff --git a/docs/tables/scaleway_lb_backend_stats.md b/docs/tables/scaleway_lb_backend_stats.md index 4da9fd3..bc5b1ef 100644 --- a/docs/tables/scaleway_lb_backend_stats.md +++ b/docs/tables/scaleway_lb_backend_stats.md @@ -1,5 +1,7 @@ # Table: scaleway_lb_backend_stats +This table shows data for Scaleway Lb Backend Stats. + The composite primary key for this table is (**lb_id**, **instance_id**, **backend_id**, **ip**). ## Relations @@ -10,14 +12,12 @@ This table depends on [scaleway_lbs](scaleway_lbs.md). | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|lb_id (PK)|String| -|instance_id (PK)|String| -|backend_id (PK)|String| -|ip (PK)|String| -|server_state|String| -|server_state_changed_at|Timestamp| -|last_health_check_status|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|lb_id (PK)|`utf8`| +|instance_id (PK)|`utf8`| +|backend_id (PK)|`utf8`| +|ip (PK)|`utf8`| +|server_state|`utf8`| +|server_state_changed_at|`timestamp[us, tz=UTC]`| +|last_health_check_status|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_lb_backends.md b/docs/tables/scaleway_lb_backends.md index 0c828b9..bdb026a 100644 --- a/docs/tables/scaleway_lb_backends.md +++ b/docs/tables/scaleway_lb_backends.md @@ -1,5 +1,7 @@ # Table: scaleway_lb_backends +This table shows data for Scaleway Lb Backends. + The composite primary key for this table is (**lb_id**, **id**). ## Relations @@ -10,29 +12,27 @@ This table depends on [scaleway_lbs](scaleway_lbs.md). | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|lb_id (PK)|String| -|id (PK)|String| -|name|String| -|forward_protocol|String| -|forward_port|Int| -|forward_port_algorithm|String| -|sticky_sessions|String| -|sticky_sessions_cookie_name|String| -|health_check|JSON| -|pool|StringArray| -|lb|JSON| -|send_proxy_v2|Bool| -|timeout_server|Int| -|timeout_connect|Int| -|timeout_tunnel|Int| -|on_marked_down_action|String| -|proxy_protocol|String| -|created_at|Timestamp| -|updated_at|Timestamp| -|failover_host|String| -|ssl_bridging|Bool| -|ignore_ssl_server_verify|Bool| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|lb_id (PK)|`utf8`| +|id (PK)|`utf8`| +|name|`utf8`| +|forward_protocol|`utf8`| +|forward_port|`int64`| +|forward_port_algorithm|`utf8`| +|sticky_sessions|`utf8`| +|sticky_sessions_cookie_name|`utf8`| +|health_check|`json`| +|pool|`list`| +|lb|`json`| +|send_proxy_v2|`bool`| +|timeout_server|`int64`| +|timeout_connect|`int64`| +|timeout_tunnel|`int64`| +|on_marked_down_action|`utf8`| +|proxy_protocol|`utf8`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| +|failover_host|`utf8`| +|ssl_bridging|`bool`| +|ignore_ssl_server_verify|`bool`| \ No newline at end of file diff --git a/docs/tables/scaleway_lb_certificates.md b/docs/tables/scaleway_lb_certificates.md index c59aba8..f12edb0 100644 --- a/docs/tables/scaleway_lb_certificates.md +++ b/docs/tables/scaleway_lb_certificates.md @@ -1,5 +1,7 @@ # Table: scaleway_lb_certificates +This table shows data for Scaleway Lb Certificates. + The composite primary key for this table is (**lb_id**, **id**). ## Relations @@ -10,21 +12,19 @@ This table depends on [scaleway_lbs](scaleway_lbs.md). | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|lb_id (PK)|String| -|type|String| -|id (PK)|String| -|common_name|String| -|subject_alternative_name|StringArray| -|fingerprint|String| -|not_valid_before|Timestamp| -|not_valid_after|Timestamp| -|status|String| -|lb|JSON| -|name|String| -|created_at|Timestamp| -|updated_at|Timestamp| -|status_details|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|lb_id (PK)|`utf8`| +|type|`utf8`| +|id (PK)|`utf8`| +|common_name|`utf8`| +|subject_alternative_name|`list`| +|fingerprint|`utf8`| +|not_valid_before|`timestamp[us, tz=UTC]`| +|not_valid_after|`timestamp[us, tz=UTC]`| +|status|`utf8`| +|lb|`json`| +|name|`utf8`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| +|status_details|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_lb_frontend_acls.md b/docs/tables/scaleway_lb_frontend_acls.md index 98a8446..5a715ea 100644 --- a/docs/tables/scaleway_lb_frontend_acls.md +++ b/docs/tables/scaleway_lb_frontend_acls.md @@ -1,5 +1,7 @@ # Table: scaleway_lb_frontend_acls +This table shows data for Scaleway Lb Frontend ACLs. + The composite primary key for this table is (**frontend_id**, **id**). ## Relations @@ -10,17 +12,15 @@ This table depends on [scaleway_lb_frontends](scaleway_lb_frontends.md). | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|frontend_id (PK)|String| -|id (PK)|String| -|name|String| -|match|JSON| -|action|JSON| -|frontend|JSON| -|index|Int| -|created_at|Timestamp| -|updated_at|Timestamp| -|description|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|frontend_id (PK)|`utf8`| +|id (PK)|`utf8`| +|name|`utf8`| +|match|`json`| +|action|`json`| +|frontend|`json`| +|index|`int64`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| +|description|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_lb_frontend_routes.md b/docs/tables/scaleway_lb_frontend_routes.md index 8e992b0..eb0d164 100644 --- a/docs/tables/scaleway_lb_frontend_routes.md +++ b/docs/tables/scaleway_lb_frontend_routes.md @@ -1,5 +1,7 @@ # Table: scaleway_lb_frontend_routes +This table shows data for Scaleway Lb Frontend Routes. + The primary key for this table is **id**. ## Relations @@ -10,13 +12,11 @@ This table depends on [scaleway_lb_frontends](scaleway_lb_frontends.md). | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|frontend_id|String| -|backend_id|String| -|match|JSON| -|created_at|Timestamp| -|updated_at|Timestamp| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|frontend_id|`utf8`| +|backend_id|`utf8`| +|match|`json`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| \ No newline at end of file diff --git a/docs/tables/scaleway_lb_frontends.md b/docs/tables/scaleway_lb_frontends.md index faf905a..5d6e9ce 100644 --- a/docs/tables/scaleway_lb_frontends.md +++ b/docs/tables/scaleway_lb_frontends.md @@ -1,5 +1,7 @@ # Table: scaleway_lb_frontends +This table shows data for Scaleway Lb Frontends. + The composite primary key for this table is (**lb_id**, **id**). ## Relations @@ -14,19 +16,17 @@ The following tables depend on scaleway_lb_frontends: | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|lb_id (PK)|String| -|id (PK)|String| -|name|String| -|inbound_port|Int| -|backend|JSON| -|lb|JSON| -|timeout_client|Int| -|certificate|JSON| -|certificate_ids|StringArray| -|created_at|Timestamp| -|updated_at|Timestamp| -|enable_http3|Bool| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|lb_id (PK)|`utf8`| +|id (PK)|`utf8`| +|name|`utf8`| +|inbound_port|`int64`| +|backend|`json`| +|lb|`json`| +|timeout_client|`int64`| +|certificate|`json`| +|certificate_ids|`list`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| +|enable_http3|`bool`| \ No newline at end of file diff --git a/docs/tables/scaleway_lb_ips.md b/docs/tables/scaleway_lb_ips.md index 24b2d11..7aaa203 100644 --- a/docs/tables/scaleway_lb_ips.md +++ b/docs/tables/scaleway_lb_ips.md @@ -1,20 +1,20 @@ # Table: scaleway_lb_ips +This table shows data for Scaleway Lb IPs. + The primary key for this table is **id**. ## Columns | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|ip_address|String| -|organization_id|String| -|project_id|String| -|lb_id|String| -|reverse|String| -|region|String| -|zone|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|ip_address|`utf8`| +|organization_id|`utf8`| +|project_id|`utf8`| +|lb_id|`utf8`| +|reverse|`utf8`| +|region|`utf8`| +|zone|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_lb_private_networks.md b/docs/tables/scaleway_lb_private_networks.md index ebc7382..03551f8 100644 --- a/docs/tables/scaleway_lb_private_networks.md +++ b/docs/tables/scaleway_lb_private_networks.md @@ -1,5 +1,7 @@ # Table: scaleway_lb_private_networks +This table shows data for Scaleway Lb Private Networks. + The composite primary key for this table is (**lb_id**, **private_network_id**). ## Relations @@ -10,15 +12,13 @@ This table depends on [scaleway_lbs](scaleway_lbs.md). | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|lb_id (PK)|String| -|lb|JSON| -|static_config|JSON| -|dhcp_config|JSON| -|private_network_id (PK)|String| -|status|String| -|created_at|Timestamp| -|updated_at|Timestamp| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|lb_id (PK)|`utf8`| +|lb|`json`| +|static_config|`json`| +|dhcp_config|`json`| +|private_network_id (PK)|`utf8`| +|status|`utf8`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| \ No newline at end of file diff --git a/docs/tables/scaleway_lb_subscribers.md b/docs/tables/scaleway_lb_subscribers.md index 4059949..c632f88 100644 --- a/docs/tables/scaleway_lb_subscribers.md +++ b/docs/tables/scaleway_lb_subscribers.md @@ -1,16 +1,16 @@ # Table: scaleway_lb_subscribers +This table shows data for Scaleway Lb Subscribers. + The primary key for this table is **id**. ## Columns | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|name|String| -|email_config|JSON| -|webhook_config|JSON| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|name|`utf8`| +|email_config|`json`| +|webhook_config|`json`| \ No newline at end of file diff --git a/docs/tables/scaleway_lb_types.md b/docs/tables/scaleway_lb_types.md index 285bfac..feee896 100644 --- a/docs/tables/scaleway_lb_types.md +++ b/docs/tables/scaleway_lb_types.md @@ -1,17 +1,17 @@ # Table: scaleway_lb_types +This table shows data for Scaleway Lb Types. + The composite primary key for this table is (**name**, **region**). ## Columns | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|name (PK)|String| -|stock_status|String| -|description|String| -|region (PK)|String| -|zone|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|name (PK)|`utf8`| +|stock_status|`utf8`| +|description|`utf8`| +|region (PK)|`utf8`| +|zone|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_lbs.md b/docs/tables/scaleway_lbs.md index f969cb0..56a3f35 100644 --- a/docs/tables/scaleway_lbs.md +++ b/docs/tables/scaleway_lbs.md @@ -1,5 +1,7 @@ # Table: scaleway_lbs +This table shows data for Scaleway Lbs. + The primary key for this table is **id**. ## Relations @@ -15,27 +17,25 @@ The following tables depend on scaleway_lbs: | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|name|String| -|description|String| -|status|String| -|instances|JSON| -|organization_id|String| -|project_id|String| -|ip|JSON| -|tags|StringArray| -|frontend_count|Int| -|backend_count|Int| -|type|String| -|subscriber|JSON| -|ssl_compatibility_level|String| -|created_at|Timestamp| -|updated_at|Timestamp| -|private_network_count|Int| -|route_count|Int| -|region|String| -|zone|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|name|`utf8`| +|description|`utf8`| +|status|`utf8`| +|instances|`json`| +|organization_id|`utf8`| +|project_id|`utf8`| +|ip|`json`| +|tags|`list`| +|frontend_count|`int64`| +|backend_count|`int64`| +|type|`utf8`| +|subscriber|`json`| +|ssl_compatibility_level|`utf8`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| +|private_network_count|`int64`| +|route_count|`int64`| +|region|`utf8`| +|zone|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_marketplace_categories.md b/docs/tables/scaleway_marketplace_categories.md index df521e7..477da02 100644 --- a/docs/tables/scaleway_marketplace_categories.md +++ b/docs/tables/scaleway_marketplace_categories.md @@ -1,15 +1,15 @@ # Table: scaleway_marketplace_categories +This table shows data for Scaleway Marketplace Categories. + The primary key for this table is **id**. ## Columns | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|name|String| -|description|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|name|`utf8`| +|description|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_marketplace_image_versions.md b/docs/tables/scaleway_marketplace_image_versions.md index 50fecaa..7a34e91 100644 --- a/docs/tables/scaleway_marketplace_image_versions.md +++ b/docs/tables/scaleway_marketplace_image_versions.md @@ -1,5 +1,7 @@ # Table: scaleway_marketplace_image_versions +This table shows data for Scaleway Marketplace Image Versions. + The primary key for this table is **id**. ## Relations @@ -10,13 +12,11 @@ This table depends on [scaleway_marketplace_images](scaleway_marketplace_images. | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|image_id|String| -|id (PK)|String| -|name|String| -|created_at|Timestamp| -|updated_at|Timestamp| -|published_at|Timestamp| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|image_id|`utf8`| +|id (PK)|`utf8`| +|name|`utf8`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| +|published_at|`timestamp[us, tz=UTC]`| \ No newline at end of file diff --git a/docs/tables/scaleway_marketplace_images.md b/docs/tables/scaleway_marketplace_images.md index e83e236..d69c143 100644 --- a/docs/tables/scaleway_marketplace_images.md +++ b/docs/tables/scaleway_marketplace_images.md @@ -1,5 +1,7 @@ # Table: scaleway_marketplace_images +This table shows data for Scaleway Marketplace Images. + The primary key for this table is **id**. ## Relations @@ -11,16 +13,14 @@ The following tables depend on scaleway_marketplace_images: | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|name|String| -|description|String| -|logo|String| -|categories|StringArray| -|created_at|Timestamp| -|updated_at|Timestamp| -|valid_until|Timestamp| -|label|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|name|`utf8`| +|description|`utf8`| +|logo|`utf8`| +|categories|`list`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| +|valid_until|`timestamp[us, tz=UTC]`| +|label|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_mnq_namespace_credentials.md b/docs/tables/scaleway_mnq_namespace_credentials.md index 7f25c35..56930a5 100644 --- a/docs/tables/scaleway_mnq_namespace_credentials.md +++ b/docs/tables/scaleway_mnq_namespace_credentials.md @@ -1,5 +1,7 @@ # Table: scaleway_mnq_namespace_credentials +This table shows data for Scaleway Mnq Namespace Credentials. + The composite primary key for this table is (**id**, **namespace_id**). ## Relations @@ -10,13 +12,11 @@ This table depends on [scaleway_mnq_namespaces](scaleway_mnq_namespaces.md). | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|name|String| -|namespace_id (PK)|String| -|protocol|String| -|nats_credentials|JSON| -|sqs_sns_credentials|JSON| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|name|`utf8`| +|namespace_id (PK)|`utf8`| +|protocol|`utf8`| +|nats_credentials|`json`| +|sqs_sns_credentials|`json`| \ No newline at end of file diff --git a/docs/tables/scaleway_mnq_namespaces.md b/docs/tables/scaleway_mnq_namespaces.md index 6d8b5e9..8e75682 100644 --- a/docs/tables/scaleway_mnq_namespaces.md +++ b/docs/tables/scaleway_mnq_namespaces.md @@ -1,5 +1,7 @@ # Table: scaleway_mnq_namespaces +This table shows data for Scaleway Mnq Namespaces. + The primary key for this table is **id**. ## Relations @@ -11,15 +13,13 @@ The following tables depend on scaleway_mnq_namespaces: | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|name|String| -|endpoint|String| -|protocol|String| -|project_id|String| -|region|String| -|created_at|Timestamp| -|updated_at|Timestamp| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|name|`utf8`| +|endpoint|`utf8`| +|protocol|`utf8`| +|project_id|`utf8`| +|region|`utf8`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| \ No newline at end of file diff --git a/docs/tables/scaleway_projects.md b/docs/tables/scaleway_projects.md index 76f8c3a..1160c14 100644 --- a/docs/tables/scaleway_projects.md +++ b/docs/tables/scaleway_projects.md @@ -1,18 +1,18 @@ # Table: scaleway_projects +This table shows data for Scaleway Projects. + The primary key for this table is **id**. ## Columns | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|name|String| -|organization_id|String| -|created_at|Timestamp| -|updated_at|Timestamp| -|description|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|name|`utf8`| +|organization_id|`utf8`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| +|description|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_rdb_database_backups.md b/docs/tables/scaleway_rdb_database_backups.md index 26a5fba..2938704 100644 --- a/docs/tables/scaleway_rdb_database_backups.md +++ b/docs/tables/scaleway_rdb_database_backups.md @@ -1,26 +1,26 @@ # Table: scaleway_rdb_database_backups +This table shows data for Scaleway Rdb Database Backups. + The primary key for this table is **id**. ## Columns | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|instance_id|String| -|database_name|String| -|name|String| -|status|String| -|size|Int| -|expires_at|Timestamp| -|created_at|Timestamp| -|updated_at|Timestamp| -|instance_name|String| -|download_url|String| -|download_url_expires_at|Timestamp| -|region|String| -|same_region|Bool| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|instance_id|`utf8`| +|database_name|`utf8`| +|name|`utf8`| +|status|`utf8`| +|size|`int64`| +|expires_at|`timestamp[us, tz=UTC]`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| +|instance_name|`utf8`| +|download_url|`utf8`| +|download_url_expires_at|`timestamp[us, tz=UTC]`| +|region|`utf8`| +|same_region|`bool`| \ No newline at end of file diff --git a/docs/tables/scaleway_rdb_database_engines.md b/docs/tables/scaleway_rdb_database_engines.md index f697729..22a665f 100644 --- a/docs/tables/scaleway_rdb_database_engines.md +++ b/docs/tables/scaleway_rdb_database_engines.md @@ -1,16 +1,16 @@ # Table: scaleway_rdb_database_engines +This table shows data for Scaleway Rdb Database Engines. + The composite primary key for this table is (**name**, **region**). ## Columns | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|name (PK)|String| -|logo_url|String| -|versions|JSON| -|region (PK)|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|name (PK)|`utf8`| +|logo_url|`utf8`| +|versions|`json`| +|region (PK)|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_rdb_databases.md b/docs/tables/scaleway_rdb_databases.md index ac6a909..dc0be78 100644 --- a/docs/tables/scaleway_rdb_databases.md +++ b/docs/tables/scaleway_rdb_databases.md @@ -1,5 +1,7 @@ # Table: scaleway_rdb_databases +This table shows data for Scaleway Rdb Databases. + The primary key for this table is **name**. ## Relations @@ -10,12 +12,10 @@ This table depends on [scaleway_rdb_instances](scaleway_rdb_instances.md). | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|instance_id|String| -|name (PK)|String| -|owner|String| -|managed|Bool| -|size|Int| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|instance_id|`utf8`| +|name (PK)|`utf8`| +|owner|`utf8`| +|managed|`bool`| +|size|`int64`| \ No newline at end of file diff --git a/docs/tables/scaleway_rdb_instance_acl_rules.md b/docs/tables/scaleway_rdb_instance_acl_rules.md index f83d559..f6d4dbd 100644 --- a/docs/tables/scaleway_rdb_instance_acl_rules.md +++ b/docs/tables/scaleway_rdb_instance_acl_rules.md @@ -1,5 +1,7 @@ # Table: scaleway_rdb_instance_acl_rules +This table shows data for Scaleway Rdb Instance ACL Rules. + The composite primary key for this table is (**ip**, **port**, **protocol**, **direction**, **action**). ## Relations @@ -10,14 +12,12 @@ This table depends on [scaleway_rdb_instances](scaleway_rdb_instances.md). | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|instance_id|String| -|ip (PK)|JSON| -|port (PK)|Int| -|protocol (PK)|String| -|direction (PK)|String| -|action (PK)|String| -|description|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|instance_id|`utf8`| +|ip (PK)|`json`| +|port (PK)|`int64`| +|protocol (PK)|`utf8`| +|direction (PK)|`utf8`| +|action (PK)|`utf8`| +|description|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_rdb_instance_privileges.md b/docs/tables/scaleway_rdb_instance_privileges.md index d667a29..a2da262 100644 --- a/docs/tables/scaleway_rdb_instance_privileges.md +++ b/docs/tables/scaleway_rdb_instance_privileges.md @@ -1,5 +1,7 @@ # Table: scaleway_rdb_instance_privileges +This table shows data for Scaleway Rdb Instance Privileges. + The composite primary key for this table is (**permission**, **database_name**, **user_name**). ## Relations @@ -10,11 +12,9 @@ This table depends on [scaleway_rdb_instances](scaleway_rdb_instances.md). | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|instance_id|String| -|permission (PK)|String| -|database_name (PK)|String| -|user_name (PK)|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|instance_id|`utf8`| +|permission (PK)|`utf8`| +|database_name (PK)|`utf8`| +|user_name (PK)|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_rdb_instances.md b/docs/tables/scaleway_rdb_instances.md index 0b115b6..b8afde4 100644 --- a/docs/tables/scaleway_rdb_instances.md +++ b/docs/tables/scaleway_rdb_instances.md @@ -1,5 +1,7 @@ # Table: scaleway_rdb_instances +This table shows data for Scaleway Rdb Instances. + The primary key for this table is **id**. ## Relations @@ -14,29 +16,27 @@ The following tables depend on scaleway_rdb_instances: | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|created_at|Timestamp| -|volume|JSON| -|region|String| -|id (PK)|String| -|name|String| -|organization_id|String| -|project_id|String| -|status|String| -|engine|String| -|upgradable_version|JSON| -|endpoint|JSON| -|tags|StringArray| -|settings|JSON| -|backup_schedule|JSON| -|is_ha_cluster|Bool| -|read_replicas|JSON| -|node_type|String| -|init_settings|JSON| -|endpoints|JSON| -|logs_policy|JSON| -|backup_same_region|Bool| -|maintenances|JSON| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|created_at|`timestamp[us, tz=UTC]`| +|volume|`json`| +|region|`utf8`| +|id (PK)|`utf8`| +|name|`utf8`| +|organization_id|`utf8`| +|project_id|`utf8`| +|status|`utf8`| +|engine|`utf8`| +|upgradable_version|`json`| +|endpoint|`json`| +|tags|`list`| +|settings|`json`| +|backup_schedule|`json`| +|is_ha_cluster|`bool`| +|read_replicas|`json`| +|node_type|`utf8`| +|init_settings|`json`| +|endpoints|`json`| +|logs_policy|`json`| +|backup_same_region|`bool`| +|maintenances|`json`| \ No newline at end of file diff --git a/docs/tables/scaleway_rdb_node_types.md b/docs/tables/scaleway_rdb_node_types.md index bda37f0..5b1067a 100644 --- a/docs/tables/scaleway_rdb_node_types.md +++ b/docs/tables/scaleway_rdb_node_types.md @@ -1,24 +1,24 @@ # Table: scaleway_rdb_node_types +This table shows data for Scaleway Rdb Node Types. + The composite primary key for this table is (**name**, **region**). ## Columns | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|name (PK)|String| -|stock_status|String| -|description|String| -|vcpus|Int| -|memory|Int| -|volume_constraint|JSON| -|is_bssd_compatible|Bool| -|disabled|Bool| -|beta|Bool| -|available_volume_types|JSON| -|is_ha_required|Bool| -|region (PK)|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|name (PK)|`utf8`| +|stock_status|`utf8`| +|description|`utf8`| +|vcpus|`int64`| +|memory|`int64`| +|volume_constraint|`json`| +|is_bssd_compatible|`bool`| +|disabled|`bool`| +|beta|`bool`| +|available_volume_types|`json`| +|is_ha_required|`bool`| +|region (PK)|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_rdb_snapshots.md b/docs/tables/scaleway_rdb_snapshots.md index 841f5ec..c407815 100644 --- a/docs/tables/scaleway_rdb_snapshots.md +++ b/docs/tables/scaleway_rdb_snapshots.md @@ -1,23 +1,23 @@ # Table: scaleway_rdb_snapshots +This table shows data for Scaleway Rdb Snapshots. + The primary key for this table is **id**. ## Columns | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|instance_id|String| -|name|String| -|status|String| -|size|Int| -|expires_at|Timestamp| -|created_at|Timestamp| -|updated_at|Timestamp| -|instance_name|String| -|node_type|String| -|region|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|instance_id|`utf8`| +|name|`utf8`| +|status|`utf8`| +|size|`int64`| +|expires_at|`timestamp[us, tz=UTC]`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| +|instance_name|`utf8`| +|node_type|`utf8`| +|region|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_rdb_users.md b/docs/tables/scaleway_rdb_users.md index 777119c..d7bf98c 100644 --- a/docs/tables/scaleway_rdb_users.md +++ b/docs/tables/scaleway_rdb_users.md @@ -1,5 +1,7 @@ # Table: scaleway_rdb_users +This table shows data for Scaleway Rdb Users. + The primary key for this table is **name**. ## Relations @@ -10,10 +12,8 @@ This table depends on [scaleway_rdb_instances](scaleway_rdb_instances.md). | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|instance_id|String| -|name (PK)|String| -|is_admin|Bool| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|instance_id|`utf8`| +|name (PK)|`utf8`| +|is_admin|`bool`| \ No newline at end of file diff --git a/docs/tables/scaleway_redis_clusters.md b/docs/tables/scaleway_redis_clusters.md index f32f173..ce05d1a 100644 --- a/docs/tables/scaleway_redis_clusters.md +++ b/docs/tables/scaleway_redis_clusters.md @@ -1,29 +1,29 @@ # Table: scaleway_redis_clusters +This table shows data for Scaleway Redis Clusters. + The primary key for this table is **id**. ## Columns | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|name|String| -|project_id|String| -|status|String| -|version|String| -|endpoints|JSON| -|tags|StringArray| -|node_type|String| -|created_at|Timestamp| -|updated_at|Timestamp| -|tls_enabled|Bool| -|cluster_settings|JSON| -|acl_rules|JSON| -|cluster_size|Int| -|zone|String| -|user_name|String| -|upgradable_versions|StringArray| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|name|`utf8`| +|project_id|`utf8`| +|status|`utf8`| +|version|`utf8`| +|endpoints|`json`| +|tags|`list`| +|node_type|`utf8`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| +|tls_enabled|`bool`| +|cluster_settings|`json`| +|acl_rules|`json`| +|cluster_size|`int64`| +|zone|`utf8`| +|user_name|`utf8`| +|upgradable_versions|`list`| \ No newline at end of file diff --git a/docs/tables/scaleway_redis_node_types.md b/docs/tables/scaleway_redis_node_types.md index c706a91..6d9eb0a 100644 --- a/docs/tables/scaleway_redis_node_types.md +++ b/docs/tables/scaleway_redis_node_types.md @@ -1,20 +1,20 @@ # Table: scaleway_redis_node_types +This table shows data for Scaleway Redis Node Types. + The composite primary key for this table is (**name**, **zone**). ## Columns | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|name (PK)|String| -|stock_status|String| -|description|String| -|vcpus|Int| -|memory|Int| -|disabled|Bool| -|beta|Bool| -|zone (PK)|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|name (PK)|`utf8`| +|stock_status|`utf8`| +|description|`utf8`| +|vcpus|`int64`| +|memory|`int64`| +|disabled|`bool`| +|beta|`bool`| +|zone (PK)|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_redis_versions.md b/docs/tables/scaleway_redis_versions.md index 7c8aedb..7bd837d 100644 --- a/docs/tables/scaleway_redis_versions.md +++ b/docs/tables/scaleway_redis_versions.md @@ -1,17 +1,17 @@ # Table: scaleway_redis_versions +This table shows data for Scaleway Redis Versions. + The composite primary key for this table is (**version**, **zone**). ## Columns | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|version (PK)|String| -|end_of_life_at|Timestamp| -|available_settings|JSON| -|logo_url|String| -|zone (PK)|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|version (PK)|`utf8`| +|end_of_life_at|`timestamp[us, tz=UTC]`| +|available_settings|`json`| +|logo_url|`utf8`| +|zone (PK)|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_registry_image_tags.md b/docs/tables/scaleway_registry_image_tags.md index a68ff8e..d6e1a31 100644 --- a/docs/tables/scaleway_registry_image_tags.md +++ b/docs/tables/scaleway_registry_image_tags.md @@ -1,5 +1,7 @@ # Table: scaleway_registry_image_tags +This table shows data for Scaleway Registry Image Tags. + The primary key for this table is **image_id**. ## Relations @@ -10,9 +12,7 @@ This table depends on [scaleway_registry_images](scaleway_registry_images.md). | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|image_id (PK)|String| -|tags|JSON| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|image_id (PK)|`utf8`| +|tags|`json`| \ No newline at end of file diff --git a/docs/tables/scaleway_registry_images.md b/docs/tables/scaleway_registry_images.md index ce56fb3..e7a417c 100644 --- a/docs/tables/scaleway_registry_images.md +++ b/docs/tables/scaleway_registry_images.md @@ -1,5 +1,7 @@ # Table: scaleway_registry_images +This table shows data for Scaleway Registry Images. + The primary key for this table is **id**. ## Relations @@ -11,17 +13,15 @@ The following tables depend on scaleway_registry_images: | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|name|String| -|namespace_id|String| -|status|String| -|status_message|String| -|visibility|String| -|size|Int| -|created_at|Timestamp| -|updated_at|Timestamp| -|tags|StringArray| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|name|`utf8`| +|namespace_id|`utf8`| +|status|`utf8`| +|status_message|`utf8`| +|visibility|`utf8`| +|size|`int64`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| +|tags|`list`| \ No newline at end of file diff --git a/docs/tables/scaleway_registry_namespaces.md b/docs/tables/scaleway_registry_namespaces.md index 798078e..c4df62a 100644 --- a/docs/tables/scaleway_registry_namespaces.md +++ b/docs/tables/scaleway_registry_namespaces.md @@ -1,26 +1,26 @@ # Table: scaleway_registry_namespaces +This table shows data for Scaleway Registry Namespaces. + The composite primary key for this table is (**id**, **region**). ## Columns | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|name|String| -|description|String| -|organization_id|String| -|project_id|String| -|status|String| -|status_message|String| -|endpoint|String| -|is_public|Bool| -|size|Int| -|created_at|Timestamp| -|updated_at|Timestamp| -|image_count|Int| -|region (PK)|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|name|`utf8`| +|description|`utf8`| +|organization_id|`utf8`| +|project_id|`utf8`| +|status|`utf8`| +|status_message|`utf8`| +|endpoint|`utf8`| +|is_public|`bool`| +|size|`int64`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| +|image_count|`int64`| +|region (PK)|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_secret_versions.md b/docs/tables/scaleway_secret_versions.md index 9e0db96..462a7db 100644 --- a/docs/tables/scaleway_secret_versions.md +++ b/docs/tables/scaleway_secret_versions.md @@ -1,5 +1,7 @@ # Table: scaleway_secret_versions +This table shows data for Scaleway Secret Versions. + The composite primary key for this table is (**secret_id**, **revision**). ## Relations @@ -10,13 +12,11 @@ This table depends on [scaleway_secrets](scaleway_secrets.md). | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|secret_id (PK)|String| -|revision (PK)|Int| -|status|String| -|created_at|Timestamp| -|updated_at|Timestamp| -|description|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|secret_id (PK)|`utf8`| +|revision (PK)|`int64`| +|status|`utf8`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| +|description|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_secrets.md b/docs/tables/scaleway_secrets.md index 0a7b83a..c8bdb10 100644 --- a/docs/tables/scaleway_secrets.md +++ b/docs/tables/scaleway_secrets.md @@ -1,5 +1,7 @@ # Table: scaleway_secrets +This table shows data for Scaleway Secrets. + The primary key for this table is **id**. ## Relations @@ -11,17 +13,15 @@ The following tables depend on scaleway_secrets: | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|project_id|String| -|name|String| -|status|String| -|created_at|Timestamp| -|updated_at|Timestamp| -|tags|StringArray| -|region|String| -|version_count|Int| -|description|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|project_id|`utf8`| +|name|`utf8`| +|status|`utf8`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| +|tags|`list`| +|region|`utf8`| +|version_count|`int64`| +|description|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_security_group_rules.md b/docs/tables/scaleway_security_group_rules.md index f6eae36..d621a26 100644 --- a/docs/tables/scaleway_security_group_rules.md +++ b/docs/tables/scaleway_security_group_rules.md @@ -1,5 +1,7 @@ # Table: scaleway_security_group_rules +This table shows data for Scaleway Security Group Rules. + The composite primary key for this table is (**security_group_id**, **id**). ## Relations @@ -10,18 +12,16 @@ This table depends on [scaleway_security_groups](scaleway_security_groups.md). | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|security_group_id (PK)|String| -|id (PK)|String| -|protocol|String| -|direction|String| -|action|String| -|ip_range|JSON| -|dest_port_from|Int| -|dest_port_to|Int| -|position|Int| -|editable|Bool| -|zone|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|security_group_id (PK)|`utf8`| +|id (PK)|`utf8`| +|protocol|`utf8`| +|direction|`utf8`| +|action|`utf8`| +|ip_range|`json`| +|dest_port_from|`int64`| +|dest_port_to|`int64`| +|position|`int64`| +|editable|`bool`| +|zone|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_security_groups.md b/docs/tables/scaleway_security_groups.md index 4f9def4..a50a1df 100644 --- a/docs/tables/scaleway_security_groups.md +++ b/docs/tables/scaleway_security_groups.md @@ -1,5 +1,7 @@ # Table: scaleway_security_groups +This table shows data for Scaleway Security Groups. + The primary key for this table is **id**. ## Relations @@ -11,24 +13,22 @@ The following tables depend on scaleway_security_groups: | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|name|String| -|description|String| -|enable_default_security|Bool| -|inbound_default_policy|String| -|outbound_default_policy|String| -|organization|String| -|project|String| -|tags|StringArray| -|organization_default|Bool| -|project_default|Bool| -|creation_date|Timestamp| -|modification_date|Timestamp| -|servers|JSON| -|stateful|Bool| -|state|String| -|zone|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|name|`utf8`| +|description|`utf8`| +|enable_default_security|`bool`| +|inbound_default_policy|`utf8`| +|outbound_default_policy|`utf8`| +|organization|`utf8`| +|project|`utf8`| +|tags|`list`| +|organization_default|`bool`| +|project_default|`bool`| +|creation_date|`timestamp[us, tz=UTC]`| +|modification_date|`timestamp[us, tz=UTC]`| +|servers|`json`| +|stateful|`bool`| +|state|`utf8`| +|zone|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_tem_domains.md b/docs/tables/scaleway_tem_domains.md index 3111cd5..b76629b 100644 --- a/docs/tables/scaleway_tem_domains.md +++ b/docs/tables/scaleway_tem_domains.md @@ -1,5 +1,7 @@ # Table: scaleway_tem_domains +This table shows data for Scaleway Tem Domains. + The primary key for this table is **id**. ## Relations @@ -11,21 +13,19 @@ The following tables depend on scaleway_tem_domains: | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|organization_id|String| -|project_id|String| -|name|String| -|status|String| -|created_at|Timestamp| -|next_check_at|Timestamp| -|last_valid_at|Timestamp| -|revoked_at|Timestamp| -|last_error|String| -|spf_config|String| -|dkim_config|String| -|statistics|JSON| -|region|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|organization_id|`utf8`| +|project_id|`utf8`| +|name|`utf8`| +|status|`utf8`| +|created_at|`timestamp[us, tz=UTC]`| +|next_check_at|`timestamp[us, tz=UTC]`| +|last_valid_at|`timestamp[us, tz=UTC]`| +|revoked_at|`timestamp[us, tz=UTC]`| +|last_error|`utf8`| +|spf_config|`utf8`| +|dkim_config|`utf8`| +|statistics|`json`| +|region|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_tem_emails.md b/docs/tables/scaleway_tem_emails.md index fd6e901..93f3f98 100644 --- a/docs/tables/scaleway_tem_emails.md +++ b/docs/tables/scaleway_tem_emails.md @@ -1,5 +1,7 @@ # Table: scaleway_tem_emails +This table shows data for Scaleway Tem Emails. + The primary key for this table is **id**. It supports incremental syncs. ## Relations @@ -10,19 +12,17 @@ This table depends on [scaleway_tem_domains](scaleway_tem_domains.md). | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|message_id|String| -|project_id|String| -|mail_from|String| -|rcpt_to|String| -|rcpt_type|String| -|created_at|Timestamp| -|updated_at|Timestamp| -|status|String| -|status_details|String| -|try_count|Int| -|last_tries|JSON| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|message_id|`utf8`| +|project_id|`utf8`| +|mail_from|`utf8`| +|rcpt_to|`utf8`| +|rcpt_type|`utf8`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| +|status|`utf8`| +|status_details|`utf8`| +|try_count|`int64`| +|last_tries|`json`| \ No newline at end of file diff --git a/docs/tables/scaleway_test_humans.md b/docs/tables/scaleway_test_humans.md index a952b6a..3a1c5fc 100644 --- a/docs/tables/scaleway_test_humans.md +++ b/docs/tables/scaleway_test_humans.md @@ -1,27 +1,27 @@ # Table: scaleway_test_humans +This table shows data for Scaleway Test Humans. + The primary key for this table is **id**. ## Columns | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|organization_id|String| -|created_at|Timestamp| -|updated_at|Timestamp| -|height|Float| -|shoe_size|Float| -|altitude_in_meter|Int| -|altitude_in_millimeter|Int| -|fingers_count|Int| -|hair_count|Int| -|is_happy|Bool| -|eyes_color|String| -|status|String| -|name|String| -|project_id|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|organization_id|`utf8`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| +|height|`float64`| +|shoe_size|`float64`| +|altitude_in_meter|`int64`| +|altitude_in_millimeter|`int64`| +|fingers_count|`int64`| +|hair_count|`int64`| +|is_happy|`bool`| +|eyes_color|`utf8`| +|status|`utf8`| +|name|`utf8`| +|project_id|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_vpc_private_networks.md b/docs/tables/scaleway_vpc_private_networks.md index 8ce9cb7..587353d 100644 --- a/docs/tables/scaleway_vpc_private_networks.md +++ b/docs/tables/scaleway_vpc_private_networks.md @@ -1,21 +1,21 @@ # Table: scaleway_vpc_private_networks +This table shows data for Scaleway VPC Private Networks. + The primary key for this table is **id**. ## Columns | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|name|String| -|organization_id|String| -|project_id|String| -|zone|String| -|tags|StringArray| -|created_at|Timestamp| -|updated_at|Timestamp| -|subnets|JSON| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|name|`utf8`| +|organization_id|`utf8`| +|project_id|`utf8`| +|zone|`utf8`| +|tags|`list`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| +|subnets|`json`| \ No newline at end of file diff --git a/docs/tables/scaleway_vpcgw_dhcp_entries.md b/docs/tables/scaleway_vpcgw_dhcp_entries.md index cb95d02..27d6307 100644 --- a/docs/tables/scaleway_vpcgw_dhcp_entries.md +++ b/docs/tables/scaleway_vpcgw_dhcp_entries.md @@ -1,21 +1,21 @@ # Table: scaleway_vpcgw_dhcp_entries +This table shows data for Scaleway Vpcgw DHCP Entries. + The primary key for this table is **id**. ## Columns | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|created_at|Timestamp| -|updated_at|Timestamp| -|gateway_network_id|String| -|mac_address|String| -|ip_address|Inet| -|hostname|String| -|type|String| -|zone|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| +|gateway_network_id|`utf8`| +|mac_address|`utf8`| +|ip_address|`inet`| +|hostname|`utf8`| +|type|`utf8`| +|zone|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_vpcgw_dhcps.md b/docs/tables/scaleway_vpcgw_dhcps.md index 2e62343..2534be8 100644 --- a/docs/tables/scaleway_vpcgw_dhcps.md +++ b/docs/tables/scaleway_vpcgw_dhcps.md @@ -1,31 +1,31 @@ # Table: scaleway_vpcgw_dhcps +This table shows data for Scaleway Vpcgw Dhcps. + The primary key for this table is **id**. ## Columns | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|organization_id|String| -|project_id|String| -|created_at|Timestamp| -|updated_at|Timestamp| -|subnet|JSON| -|address|Inet| -|pool_low|Inet| -|pool_high|Inet| -|enable_dynamic|Bool| -|valid_lifetime|JSON| -|renew_timer|JSON| -|rebind_timer|JSON| -|push_default_route|Bool| -|push_dns_server|Bool| -|dns_servers_override|StringArray| -|dns_search|StringArray| -|dns_local_name|String| -|zone|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|organization_id|`utf8`| +|project_id|`utf8`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| +|subnet|`json`| +|address|`inet`| +|pool_low|`inet`| +|pool_high|`inet`| +|enable_dynamic|`bool`| +|valid_lifetime|`json`| +|renew_timer|`json`| +|rebind_timer|`json`| +|push_default_route|`bool`| +|push_dns_server|`bool`| +|dns_servers_override|`list`| +|dns_search|`list`| +|dns_local_name|`utf8`| +|zone|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_vpcgw_gateway_networks.md b/docs/tables/scaleway_vpcgw_gateway_networks.md index 8503c1f..9a0c248 100644 --- a/docs/tables/scaleway_vpcgw_gateway_networks.md +++ b/docs/tables/scaleway_vpcgw_gateway_networks.md @@ -1,5 +1,7 @@ # Table: scaleway_vpcgw_gateway_networks +This table shows data for Scaleway Vpcgw Gateway Networks. + The primary key for this table is **id**. ## Relations @@ -10,19 +12,17 @@ This table depends on [scaleway_vpcgw_gateways](scaleway_vpcgw_gateways.md). | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|created_at|Timestamp| -|updated_at|Timestamp| -|gateway_id|String| -|private_network_id|String| -|mac_address|String| -|enable_masquerade|Bool| -|status|String| -|dhcp|JSON| -|enable_dhcp|Bool| -|address|JSON| -|zone|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| +|gateway_id|`utf8`| +|private_network_id|`utf8`| +|mac_address|`utf8`| +|enable_masquerade|`bool`| +|status|`utf8`| +|dhcp|`json`| +|enable_dhcp|`bool`| +|address|`json`| +|zone|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_vpcgw_gateways.md b/docs/tables/scaleway_vpcgw_gateways.md index bd822b6..d180cb3 100644 --- a/docs/tables/scaleway_vpcgw_gateways.md +++ b/docs/tables/scaleway_vpcgw_gateways.md @@ -1,5 +1,7 @@ # Table: scaleway_vpcgw_gateways +This table shows data for Scaleway Vpcgw Gateways. + The primary key for this table is **id**. ## Relations @@ -11,25 +13,23 @@ The following tables depend on scaleway_vpcgw_gateways: | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|organization_id|String| -|project_id|String| -|created_at|Timestamp| -|updated_at|Timestamp| -|type|JSON| -|status|String| -|name|String| -|tags|StringArray| -|ip|JSON| -|gateway_networks|JSON| -|upstream_dns_servers|StringArray| -|version|String| -|can_upgrade_to|String| -|bastion_enabled|Bool| -|bastion_port|Int| -|smtp_enabled|Bool| -|zone|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|organization_id|`utf8`| +|project_id|`utf8`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| +|type|`json`| +|status|`utf8`| +|name|`utf8`| +|tags|`list`| +|ip|`json`| +|gateway_networks|`json`| +|upstream_dns_servers|`list`| +|version|`utf8`| +|can_upgrade_to|`utf8`| +|bastion_enabled|`bool`| +|bastion_port|`int64`| +|smtp_enabled|`bool`| +|zone|`utf8`| \ No newline at end of file diff --git a/docs/tables/scaleway_vpcgw_ips.md b/docs/tables/scaleway_vpcgw_ips.md index 8f61434..6c30485 100644 --- a/docs/tables/scaleway_vpcgw_ips.md +++ b/docs/tables/scaleway_vpcgw_ips.md @@ -1,22 +1,22 @@ # Table: scaleway_vpcgw_ips +This table shows data for Scaleway Vpcgw IPs. + The primary key for this table is **id**. ## Columns | Name | Type | | ------------- | ------------- | -|_cq_source_name|String| -|_cq_sync_time|Timestamp| -|_cq_id|UUID| -|_cq_parent_id|UUID| -|id (PK)|String| -|organization_id|String| -|project_id|String| -|created_at|Timestamp| -|updated_at|Timestamp| -|tags|StringArray| -|address|Inet| -|reverse|String| -|gateway_id|String| -|zone|String| \ No newline at end of file +|_cq_id|`uuid`| +|_cq_parent_id|`uuid`| +|id (PK)|`utf8`| +|organization_id|`utf8`| +|project_id|`utf8`| +|created_at|`timestamp[us, tz=UTC]`| +|updated_at|`timestamp[us, tz=UTC]`| +|tags|`list`| +|address|`inet`| +|reverse|`utf8`| +|gateway_id|`utf8`| +|zone|`utf8`| \ No newline at end of file diff --git a/go.mod b/go.mod index 7157c1f..d4609ba 100644 --- a/go.mod +++ b/go.mod @@ -1,35 +1,129 @@ module github.com/scaleway/cq-source-scaleway -go 1.19 +go 1.21.1 require ( - github.com/cloudquery/plugin-sdk v1.35.0 + github.com/apache/arrow/go/v14 v14.0.0-20230929201650-00efb06dc0de + github.com/cloudquery/plugin-sdk/v4 v4.16.1 github.com/gorilla/mux v1.8.0 - github.com/rs/zerolog v1.29.0 + github.com/rs/zerolog v1.29.1 github.com/scaleway/scaleway-sdk-go v1.0.0-beta.13 + google.golang.org/grpc v1.58.2 ) +replace github.com/apache/arrow/go/v14 => github.com/cloudquery/arrow/go/v14 v14.0.0-20231023001216-f46436fa3561 + require ( - github.com/getsentry/sentry-go v0.17.0 // indirect + github.com/BurntSushi/toml v1.3.2 // indirect + github.com/CloudyKit/fastprinter v0.0.0-20200109182630-33d98a066a53 // indirect + github.com/CloudyKit/jet/v6 v6.2.0 // indirect + github.com/Joker/jade v1.1.3 // indirect + github.com/Shopify/goreferrer v0.0.0-20220729165902-8cddb4f5de06 // indirect + github.com/andybalholm/brotli v1.0.5 // indirect + github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 // indirect + github.com/apapsch/go-jsonmerge/v2 v2.0.0 // indirect + github.com/aymerick/douceur v0.2.0 // indirect + github.com/bahlo/generic-list-go v0.2.0 // indirect + github.com/buger/jsonparser v1.1.1 // indirect + github.com/bytedance/sonic v1.10.1 // indirect + github.com/cenkalti/backoff/v4 v4.2.1 // indirect + github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect + github.com/chenzhuoyu/iasm v0.9.0 // indirect + github.com/cloudquery/cloudquery-api-go v1.4.1 // indirect + github.com/cloudquery/plugin-pb-go v1.12.3 // indirect + github.com/cloudquery/plugin-sdk/v2 v2.7.0 // indirect + github.com/davecgh/go-spew v1.1.1 // indirect + github.com/deepmap/oapi-codegen v1.15.0 // indirect + github.com/fatih/structs v1.1.0 // indirect + github.com/flosch/pongo2/v4 v4.0.2 // indirect + github.com/gabriel-vasile/mimetype v1.4.2 // indirect + github.com/getsentry/sentry-go v0.24.1 // indirect github.com/ghodss/yaml v1.0.0 // indirect - github.com/golang/protobuf v1.5.2 // indirect - github.com/google/uuid v1.3.0 // indirect - github.com/grpc-ecosystem/go-grpc-middleware/providers/zerolog/v2 v2.0.0-rc.3 // indirect - github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.0.0-rc.3 // indirect + github.com/gin-contrib/sse v0.1.0 // indirect + github.com/gin-gonic/gin v1.9.1 // indirect + github.com/go-logr/logr v1.2.4 // indirect + github.com/go-logr/stdr v1.2.2 // indirect + github.com/go-playground/locales v0.14.1 // indirect + github.com/go-playground/universal-translator v0.18.1 // indirect + github.com/go-playground/validator/v10 v10.14.0 // indirect + github.com/goccy/go-json v0.10.2 // indirect + github.com/golang/protobuf v1.5.3 // indirect + github.com/golang/snappy v0.0.4 // indirect + github.com/gomarkdown/markdown v0.0.0-20230922112808-5421fefb8386 // indirect + github.com/google/flatbuffers v23.5.26+incompatible // indirect + github.com/google/uuid v1.3.1 // indirect + github.com/gorilla/css v1.0.0 // indirect + github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.0.1 // indirect + github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect + github.com/invopop/jsonschema v0.10.0 // indirect + github.com/iris-contrib/schema v0.0.6 // indirect + github.com/josharian/intern v1.0.0 // indirect + github.com/json-iterator/go v1.1.12 // indirect + github.com/kataras/blocks v0.0.8 // indirect + github.com/kataras/golog v0.1.9 // indirect + github.com/kataras/iris/v12 v12.2.6-0.20230908161203-24ba4e8933b9 // indirect + github.com/kataras/pio v0.0.12 // indirect + github.com/kataras/sitemap v0.0.6 // indirect + github.com/kataras/tunnel v0.0.4 // indirect + github.com/klauspost/compress v1.16.7 // indirect + github.com/klauspost/cpuid/v2 v2.2.5 // indirect + github.com/labstack/echo/v4 v4.11.1 // indirect + github.com/labstack/gommon v0.4.0 // indirect + github.com/leodido/go-urn v1.2.4 // indirect + github.com/mailgun/raymond/v2 v2.0.48 // indirect + github.com/mailru/easyjson v0.7.7 // indirect github.com/mattn/go-colorable v0.1.13 // indirect - github.com/mattn/go-isatty v0.0.17 // indirect - github.com/spf13/cast v1.5.0 // indirect + github.com/mattn/go-isatty v0.0.19 // indirect + github.com/microcosm-cc/bluemonday v1.0.25 // indirect + github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect + github.com/modern-go/reflect2 v1.0.2 // indirect + github.com/pelletier/go-toml/v2 v2.0.8 // indirect + github.com/pierrec/lz4/v4 v4.1.18 // indirect + github.com/pmezard/go-difflib v1.0.0 // indirect + github.com/russross/blackfriday/v2 v2.1.0 // indirect + github.com/santhosh-tekuri/jsonschema/v5 v5.3.1 // indirect + github.com/schollz/closestmatch v2.1.0+incompatible // indirect + github.com/sirupsen/logrus v1.9.3 // indirect github.com/spf13/cobra v1.6.1 // indirect github.com/spf13/pflag v1.0.5 // indirect + github.com/stretchr/testify v1.8.4 // indirect + github.com/tdewolff/minify/v2 v2.12.9 // indirect + github.com/tdewolff/parse/v2 v2.6.8 // indirect github.com/thoas/go-funk v0.9.3 // indirect - golang.org/x/exp v0.0.0-20230131160201-f062dba9d201 // indirect - golang.org/x/net v0.7.0 // indirect - golang.org/x/sync v0.1.0 // indirect - golang.org/x/sys v0.5.0 // indirect - golang.org/x/text v0.7.0 // indirect - google.golang.org/genproto v0.0.0-20230131230820-1c016267d619 // indirect - google.golang.org/grpc v1.52.3 // indirect - google.golang.org/protobuf v1.28.1 // indirect + github.com/twitchyliquid64/golang-asm v0.15.1 // indirect + github.com/ugorji/go/codec v1.2.11 // indirect + github.com/valyala/bytebufferpool v1.0.0 // indirect + github.com/valyala/fasttemplate v1.2.2 // indirect + github.com/vmihailenco/msgpack/v5 v5.3.5 // indirect + github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect + github.com/wk8/go-ordered-map/v2 v2.1.8 // indirect + github.com/yosssi/ace v0.0.5 // indirect + github.com/zeebo/xxh3 v1.0.2 // indirect + go.opentelemetry.io/otel v1.16.0 // indirect + go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.16.0 // indirect + go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.16.0 // indirect + go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.16.0 // indirect + go.opentelemetry.io/otel/metric v1.16.0 // indirect + go.opentelemetry.io/otel/sdk v1.16.0 // indirect + go.opentelemetry.io/otel/trace v1.16.0 // indirect + go.opentelemetry.io/proto/otlp v0.19.0 // indirect + golang.org/x/arch v0.3.0 // indirect + golang.org/x/crypto v0.14.0 // indirect + golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect + golang.org/x/mod v0.13.0 // indirect + golang.org/x/net v0.17.0 // indirect + golang.org/x/sync v0.4.0 // indirect + golang.org/x/sys v0.13.0 // indirect + golang.org/x/text v0.13.0 // indirect + golang.org/x/time v0.3.0 // indirect + golang.org/x/tools v0.14.0 // indirect + golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect + google.golang.org/genproto v0.0.0-20230920204549-e6e6cdab5c13 // indirect + google.golang.org/genproto/googleapis/api v0.0.0-20230920204549-e6e6cdab5c13 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20231002182017-d307bd883b97 // indirect + google.golang.org/protobuf v1.31.0 // indirect + gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/go.sum b/go.sum index db5ea81..c0da66c 100644 --- a/go.sum +++ b/go.sum @@ -32,41 +32,134 @@ cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RX cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/BurntSushi/toml v1.3.2 h1:o7IhLm0Msx3BaB+n3Ag7L8EVlByGnpq14C4YWiu/gL8= +github.com/BurntSushi/toml v1.3.2/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= -github.com/avast/retry-go/v4 v4.3.2 h1:x4sTEu3jSwr7zNjya8NTdIN+U88u/jtO/q3OupBoDtM= +github.com/CloudyKit/fastprinter v0.0.0-20200109182630-33d98a066a53 h1:sR+/8Yb4slttB4vD+b9btVEnWgL3Q00OBTzVT8B9C0c= +github.com/CloudyKit/fastprinter v0.0.0-20200109182630-33d98a066a53/go.mod h1:+3IMCy2vIlbG1XG/0ggNQv0SvxCAIpPM5b1nCz56Xno= +github.com/CloudyKit/jet/v6 v6.2.0 h1:EpcZ6SR9n28BUGtNJSvlBqf90IpjeFr36Tizxhn/oME= +github.com/CloudyKit/jet/v6 v6.2.0/go.mod h1:d3ypHeIRNo2+XyqnGA8s+aphtcVpjP5hPwP/Lzo7Ro4= +github.com/Joker/hpp v1.0.0 h1:65+iuJYdRXv/XyN62C1uEmmOx3432rNG/rKlX6V7Kkc= +github.com/Joker/hpp v1.0.0/go.mod h1:8x5n+M1Hp5hC0g8okX3sR3vFQwynaX/UgSOM9MeBKzY= +github.com/Joker/jade v1.1.3 h1:Qbeh12Vq6BxURXT1qZBRHsDxeURB8ztcL6f3EXSGeHk= +github.com/Joker/jade v1.1.3/go.mod h1:T+2WLyt7VH6Lp0TRxQrUYEs64nRc83wkMQrfeIQKduM= +github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= +github.com/RaveNoX/go-jsoncommentstrip v1.0.0/go.mod h1:78ihd09MekBnJnxpICcwzCMzGrKSKYe4AqU6PDYYpjk= +github.com/Shopify/goreferrer v0.0.0-20220729165902-8cddb4f5de06 h1:KkH3I3sJuOLP3TjA/dfr4NAY8bghDwnXiU7cTKxQqo0= +github.com/Shopify/goreferrer v0.0.0-20220729165902-8cddb4f5de06/go.mod h1:7erjKLwalezA0k99cWs5L11HWOAPNjdUZ6RxH1BXbbM= +github.com/ajg/form v1.5.1 h1:t9c7v8JUKu/XxOGBU0yjNpaMloxGEJhUkqFRq0ibGeU= +github.com/ajg/form v1.5.1/go.mod h1:uL1WgH+h2mgNtvBq0339dVnzXdBETtL2LeUXaIv25UY= +github.com/andybalholm/brotli v1.0.5 h1:8uQZIdzKmjc/iuPu7O2ioW48L81FgatrcpfFmiq/cCs= +github.com/andybalholm/brotli v1.0.5/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig= +github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= +github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 h1:mFDZW1FQk9yndPvxScp7RpcOpdSHaqcgBWO7sDlx4S8= +github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882/go.mod h1:W69eByFNO0ZR30q1/7Sr9d83zcVZmF2MiP3fFYAWJOc= +github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ= +github.com/apapsch/go-jsonmerge/v2 v2.0.0/go.mod h1:lvDnEdqiQrp0O42VQGgmlKpxL1AP2+08jFMw88y4klk= +github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk= +github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= +github.com/bahlo/generic-list-go v0.2.0 h1:5sz/EEAK+ls5wF+NeqDpk5+iNdMDXrh3z3nPnH1Wvgk= +github.com/bahlo/generic-list-go v0.2.0/go.mod h1:2KvAjgMlE5NNynlg/5iLrrCCZ2+5xWbdbCW3pNTGyYg= +github.com/bmatcuk/doublestar v1.1.1/go.mod h1:UD6OnuiIn0yFxxA2le/rnRU1G4RaI4UvFv1sNto9p6w= github.com/bradleyjkemp/cupaloy/v2 v2.8.0 h1:any4BmKE+jGIaMpnU8YgH/I2LPiLBufr6oMMlVBbn9M= +github.com/bradleyjkemp/cupaloy/v2 v2.8.0/go.mod h1:bm7JXdkRd4BHJk9HpwqAI8BoAY1lps46Enkdqw6aRX0= +github.com/buger/jsonparser v1.1.1 h1:2PnMjfWD7wBILjqQbt530v576A/cAbQvEW9gGIpYMUs= +github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx27UK13J/0= +github.com/bytedance/sonic v1.5.0/go.mod h1:ED5hyg4y6t3/9Ku1R6dU/4KyJ48DZ4jPhfY1O2AihPM= +github.com/bytedance/sonic v1.10.0-rc/go.mod h1:ElCzW+ufi8qKqNW0FY314xriJhyJhuoJ3gFZdAHF7NM= +github.com/bytedance/sonic v1.10.1 h1:7a1wuFXL1cMy7a3f7/VFcEtriuXQnUBhtoVfOZiaysc= +github.com/bytedance/sonic v1.10.1/go.mod h1:iZcSUejdk5aukTND/Eu/ivjQuEL0Cu9/rf50Hi0u/g4= +github.com/cenkalti/backoff/v4 v4.2.1 h1:y4OZtCnogmCPw98Zjyt5a6+QwPLGkiQsYW5oUqylYbM= +github.com/cenkalti/backoff/v4 v4.2.1/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= +github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= +github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/chenzhuoyu/base64x v0.0.0-20211019084208-fb5309c8db06/go.mod h1:DH46F32mSOjUmXrMHnKwZdA8wcEefY7UVqBKYGjpdQY= +github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311/go.mod h1:b583jCggY9gE99b6G5LEC39OIiVsWj+R97kbl5odCEk= +github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d h1:77cEq6EriyTZ0g/qfRdp61a3Uu/AWrgIq2s0ClJV1g0= +github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d/go.mod h1:8EPpVsBuRksnlj1mLy4AWzRNQYxauNi62uWcE3to6eA= +github.com/chenzhuoyu/iasm v0.9.0 h1:9fhXjVzq5hUy2gkhhgHl95zG2cEAhw9OSGs8toWWAwo= +github.com/chenzhuoyu/iasm v0.9.0/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/cloudquery/plugin-sdk v1.35.0 h1:AS9wRMMhd+3+75WUUUkwYaxyv/B4c54rTWLn2pGT7/8= -github.com/cloudquery/plugin-sdk v1.35.0/go.mod h1:GEu6A0vJdV2ty3ssTiX64bPhkxVpnLGpuM1OhDvcHTk= +github.com/cloudquery/arrow/go/v14 v14.0.0-20231023001216-f46436fa3561 h1:sXA8imGI4P8EPdycL1w7mzigIHx2KqyntgAqGuTgTi8= +github.com/cloudquery/arrow/go/v14 v14.0.0-20231023001216-f46436fa3561/go.mod h1:u3fgh3EdgN/YQ8cVQRguVW3R+seMybFg8QBQ5LU+eBY= +github.com/cloudquery/cloudquery-api-go v1.4.1 h1:ag//nY7xWo+7LiBmS7FX6OSSIrutgTgo+DpEpYujjzs= +github.com/cloudquery/cloudquery-api-go v1.4.1/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA= +github.com/cloudquery/plugin-pb-go v1.12.3 h1:rLK3/RR70/BX8tj2QzTnrjkxQhzfAT7SXEEEGuKr7Rk= +github.com/cloudquery/plugin-pb-go v1.12.3/go.mod h1:CYorX3zCHF9ByoOgdBOuwLX/2vVCDH6/FoREOE3oH+w= +github.com/cloudquery/plugin-sdk/v2 v2.7.0 h1:hRXsdEiaOxJtsn/wZMFQC9/jPfU1MeMK3KF+gPGqm7U= +github.com/cloudquery/plugin-sdk/v2 v2.7.0/go.mod h1:pAX6ojIW99b/Vg4CkhnsGkRIzNaVEceYMR+Bdit73ug= +github.com/cloudquery/plugin-sdk/v4 v4.16.1 h1:Ir2fkqsu5htnnI4wTGTmA6wp1LkixZmmbyxRSIsGoxM= +github.com/cloudquery/plugin-sdk/v4 v4.16.1/go.mod h1:ujSFEUAp8BmozOee0ljjsPHQfddXJCUTAzCD6sVKsu8= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= -github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= -github.com/coreos/go-systemd/v22 v22.3.3-0.20220203105225-a9a7ef127534/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= +github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= +github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/deepmap/oapi-codegen v1.15.0 h1:SQqViaeb4k2vMul8gx12oDOIadEtoRqTdLkxjzqtQ90= +github.com/deepmap/oapi-codegen v1.15.0/go.mod h1:a6KoHV7lMRwsPoEg2C6NDHiXYV3EQfiFocOlJ8dgJQE= github.com/dnaeon/go-vcr v1.2.0 h1:zHCHvJYTMh1N7xnV7zf1m1GPBF9Ad0Jk/whtQ1663qI= +github.com/dnaeon/go-vcr v1.2.0/go.mod h1:R4UdLID7HZT3taECzJs4YgbbH6PIGXB6W/sc5OLb6RQ= github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= -github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= +github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= +github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.mod h1:hliV/p42l8fGbc6Y9bQ70uLwIvmJyVE5k4iMKlh8wCQ= +github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/frankban/quicktest v1.14.3 h1:FJKSZTDHjyhriyC81FLQ0LY93eSai0ZyR/ZIkd3ZUKE= -github.com/getsentry/sentry-go v0.17.0 h1:UustVWnOoDFHBS7IJUB2QK/nB5pap748ZEp0swnQJak= -github.com/getsentry/sentry-go v0.17.0/go.mod h1:B82dxtBvxG0KaPD8/hfSV+VcHD+Lg/xUS4JuQn1P4cM= +github.com/fatih/color v1.15.0 h1:kOqh6YHBtK8aywxGerMG2Eq3H6Qgoqeo13Bk2Mv/nBs= +github.com/fatih/color v1.15.0/go.mod h1:0h5ZqXfHYED7Bhv2ZJamyIOUej9KtShiJESRwBDUSsw= +github.com/fatih/structs v1.1.0 h1:Q7juDM0QtcnhCpeyLGQKyg4TOIghuNXrkL32pHAUMxo= +github.com/fatih/structs v1.1.0/go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga6PJ7M= +github.com/flosch/pongo2/v4 v4.0.2 h1:gv+5Pe3vaSVmiJvh/BZa82b7/00YUGm0PIyVVLop0Hw= +github.com/flosch/pongo2/v4 v4.0.2/go.mod h1:B5ObFANs/36VwxxlgKpdchIJHMvHB562PW+BWPhwZD8= +github.com/gabriel-vasile/mimetype v1.4.2 h1:w5qFW6JKBz9Y393Y4q372O9A7cUSequkh1Q7OhCmWKU= +github.com/gabriel-vasile/mimetype v1.4.2/go.mod h1:zApsH/mKG4w07erKIaJPFiX0Tsq9BFQgN3qGY5GnNgA= +github.com/getsentry/sentry-go v0.24.1 h1:W6/0GyTy8J6ge6lVCc94WB6Gx2ZuLrgopnn9w8Hiwuk= +github.com/getsentry/sentry-go v0.24.1/go.mod h1:lc76E2QywIyW8WuBnwl8Lc4bkmQH4+w1gwTf25trprY= github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= +github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE= +github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= +github.com/gin-gonic/gin v1.9.1 h1:4idEAncQnU5cB7BeOkPtxjfCSye0AAm1R0RVIqJ+Jmg= +github.com/gin-gonic/gin v1.9.1/go.mod h1:hPrL7YrpYKXt5YId3A/Tnip5kqbEAP+KLuI3SUcPTeU= github.com/go-errors/errors v1.4.2 h1:J6MZopCL4uSllY1OfXM374weqZFFItUbrImctkmUxIA= +github.com/go-errors/errors v1.4.2/go.mod h1:sIVyrIiJhuEF+Pj9Ebtd6P/rEYROXFi3BopGUQ5a5Og= github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= +github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/logr v1.2.4 h1:g01GSCwiDw2xSZfjJ2/T9M+S6pFdcNtFYsp+Y43HYDQ= +github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= +github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= +github.com/go-playground/assert/v2 v2.2.0 h1:JvknZsQTYeFEAhQwI4qEt9cyV5ONwRHC+lYKSsYSR8s= +github.com/go-playground/assert/v2 v2.2.0/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= +github.com/go-playground/locales v0.14.1 h1:EWaQ/wswjilfKLTECiXz7Rh+3BjFhfDFKv/oXslEjJA= +github.com/go-playground/locales v0.14.1/go.mod h1:hxrqLVvrK65+Rwrd5Fc6F2O76J/NuW9t0sjnWqG1slY= +github.com/go-playground/universal-translator v0.18.1 h1:Bcnm0ZwsGyWbCzImXv+pAJnYK9S473LQFuzCbDbfSFY= +github.com/go-playground/universal-translator v0.18.1/go.mod h1:xekY+UJKNuX9WP91TpwSH2VMlDf28Uj24BCp08ZFTUY= +github.com/go-playground/validator/v10 v10.14.0 h1:vgvQWe3XCz3gIeFDm/HnTIbj6UGmg/+t63MyGU2n5js= +github.com/go-playground/validator/v10 v10.14.0/go.mod h1:9iXMNT7sEkjXb0I+enO7QXmzG6QCsPWY4zveKFVRSyU= +github.com/gobwas/glob v0.2.3 h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y= +github.com/gobwas/glob v0.2.3/go.mod h1:d3Ez4x06l9bZtSvzIay5+Yzi0fmZzPgnTbPcKjJAkT8= +github.com/goccy/go-json v0.10.2 h1:CrxCmQqYDkv1z7lO7Wbh2HN93uovUHgrECaO5ZrCXAU= +github.com/goccy/go-json v0.10.2/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= -github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= +github.com/golang/glog v1.0.0/go.mod h1:EWib/APOK0SL3dFbYqvxE3UYd8E6s1ouQ7iEp/0LWV4= +github.com/golang/glog v1.1.0 h1:/d3pCKDPWNnvIWe0vVUpNP32qc8U3PDVxySP/y360qE= +github.com/golang/glog v1.1.0/go.mod h1:pfYeQZ3JWZoXTV5sFc986z3HTpwQs9At6P4ImfuP3NQ= github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= @@ -90,11 +183,19 @@ github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:W github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw= github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= +github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= +github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= +github.com/golang/snappy v0.0.4 h1:yAGX7huGHXlcLOEtBnF4w7FQwA26wojNCwOYAEhLjQM= +github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/gomarkdown/markdown v0.0.0-20230922112808-5421fefb8386 h1:EcQR3gusLHN46TAD+G+EbaaqJArt5vHhNpXAa12PQf4= +github.com/gomarkdown/markdown v0.0.0-20230922112808-5421fefb8386/go.mod h1:JDGcbDT52eL4fju3sZ4TeHGsQwhG9nbDV21aMyhwPoA= github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/flatbuffers v23.5.26+incompatible h1:M9dgRyhJemaM4Sw8+66GHBu8ioaQmyPLg1b8VwK5WJg= +github.com/google/flatbuffers v23.5.26+incompatible/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= @@ -103,7 +204,12 @@ github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= +github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8= +github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU= +github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= @@ -115,87 +221,228 @@ github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hf github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= -github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.3.1 h1:KjJaJ9iWZ3jOFZIf1Lqf4laDRCasjl0BCmnEGxkdLb4= +github.com/google/uuid v1.3.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= +github.com/gorilla/css v1.0.0 h1:BQqNyPTi50JCFMTw/b67hByjMVXZRwGha6wxVGkeihY= +github.com/gorilla/css v1.0.0/go.mod h1:Dn721qIggHpt4+EFCcTLTU/vk5ySda2ReITrtgBl60c= github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI= github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= -github.com/grpc-ecosystem/go-grpc-middleware/providers/zerolog/v2 v2.0.0-rc.3 h1:hRcWZ7716+E1tkMSZJ/QeeC2dPGGB1R/4z4m9RsL8Qg= -github.com/grpc-ecosystem/go-grpc-middleware/providers/zerolog/v2 v2.0.0-rc.3/go.mod h1:54asssGY3Bohr5FRbew+bjfuQTT2WS9V7hW7gPqmcKM= -github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.0.0-rc.2.0.20201002093600-73cf2ae9d891/go.mod h1:GhphxcdlaRyAuBSvo6rV71BvQcvB/vuX8ugCyybuS2k= -github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.0.0-rc.3 h1:o95KDiV/b1xdkumY5YbLR0/n2+wBxUpgf3HgfKgTyLI= -github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.0.0-rc.3/go.mod h1:hTxjzRcX49ogbTGVJ1sM5mz5s+SSgiGIyL3jjPxl32E= +github.com/gorilla/websocket v1.5.0 h1:PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWmnc= +github.com/gorilla/websocket v1.5.0/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= +github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.0.1 h1:HcUWd006luQPljE73d5sk+/VgYPGUReEVz2y1/qylwY= +github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.0.1/go.mod h1:w9Y7gY31krpLmrVU5ZPG9H7l9fZuRu5/3R3S3FMtVQ4= +github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0 h1:BZHcxBETFHIdVyhyEfOvn/RdU/QGdLI4y34qQGjGWO0= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0/go.mod h1:hgWBS7lorOAVIJEQMi4ZsPv9hVvWI6+ch50m39Pf2Ks= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= +github.com/imkira/go-interpol v1.1.0 h1:KIiKr0VSG2CUW1hl1jpiyuzuJeKUUpC8iM1AIE7N1Vk= +github.com/imkira/go-interpol v1.1.0/go.mod h1:z0h2/2T3XF8kyEPpRgJ3kmNv+C43p+I/CoI+jC3w2iA= github.com/inconshreveable/mousetrap v1.0.1/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= +github.com/invopop/jsonschema v0.10.0 h1:c1ktzNLBun3LyQQhyty5WE3lulbOdIIyOVlkmDLehcE= +github.com/invopop/jsonschema v0.10.0/go.mod h1:ffZ5Km5SWWRAIN6wbDXItl95euhFz2uON45H2qjYt+0= +github.com/iris-contrib/httpexpect/v2 v2.15.2 h1:T9THsdP1woyAqKHwjkEsbCnMefsAFvk8iJJKokcJ3Go= +github.com/iris-contrib/httpexpect/v2 v2.15.2/go.mod h1:JLDgIqnFy5loDSUv1OA2j0mb6p/rDhiCqigP22Uq9xE= +github.com/iris-contrib/schema v0.0.6 h1:CPSBLyx2e91H2yJzPuhGuifVRnZBBJ3pCOMbOvPZaTw= +github.com/iris-contrib/schema v0.0.6/go.mod h1:iYszG0IOsuIsfzjymw1kMzTL8YQcCWlm65f3wX8J5iA= +github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= +github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= +github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= +github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= -github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= +github.com/juju/gnuflag v0.0.0-20171113085948-2ce1bb71843d/go.mod h1:2PavIy+JPciBPrBUjwbNvtwB6RQlve+hkpll6QSNmOE= +github.com/kataras/blocks v0.0.8 h1:MrpVhoFTCR2v1iOOfGng5VJSILKeZZI+7NGfxEh3SUM= +github.com/kataras/blocks v0.0.8/go.mod h1:9Jm5zx6BB+06NwA+OhTbHW1xkMOYxahnqTN5DveZ2Yg= +github.com/kataras/golog v0.1.9 h1:vLvSDpP7kihFGKFAvBSofYo7qZNULYSHOH2D7rPTKJk= +github.com/kataras/golog v0.1.9/go.mod h1:jlpk/bOaYCyqDqH18pgDHdaJab72yBE6i0O3s30hpWY= +github.com/kataras/iris/v12 v12.2.6-0.20230908161203-24ba4e8933b9 h1:Vx8kDVhO2qepK8w44lBtp+RzN3ld743i+LYPzODJSpQ= +github.com/kataras/iris/v12 v12.2.6-0.20230908161203-24ba4e8933b9/go.mod h1:ldkoR3iXABBeqlTibQ3MYaviA1oSlPvim6f55biwBh4= +github.com/kataras/pio v0.0.12 h1:o52SfVYauS3J5X08fNjlGS5arXHjW/ItLkyLcKjoH6w= +github.com/kataras/pio v0.0.12/go.mod h1:ODK/8XBhhQ5WqrAhKy+9lTPS7sBf6O3KcLhc9klfRcY= +github.com/kataras/sitemap v0.0.6 h1:w71CRMMKYMJh6LR2wTgnk5hSgjVNB9KL60n5e2KHvLY= +github.com/kataras/sitemap v0.0.6/go.mod h1:dW4dOCNs896OR1HmG+dMLdT7JjDk7mYBzoIRwuj5jA4= +github.com/kataras/tunnel v0.0.4 h1:sCAqWuJV7nPzGrlb0os3j49lk2JhILT0rID38NHNLpA= +github.com/kataras/tunnel v0.0.4/go.mod h1:9FkU4LaeifdMWqZu7o20ojmW4B7hdhv2CMLwfnHGpYw= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= +github.com/klauspost/compress v1.16.7 h1:2mk3MPGNzKyxErAw8YaohYh69+pa4sIQSC0fPGCFR9I= +github.com/klauspost/compress v1.16.7/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQskQzEyD//IeE= +github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= +github.com/klauspost/cpuid/v2 v2.2.5 h1:0E5MSMDEoAulmXNFquVs//DdoomxaoTY1kUhbc/qbZg= +github.com/klauspost/cpuid/v2 v2.2.5/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws= +github.com/knz/go-libedit v1.10.1/go.mod h1:MZTVkCWyz0oBc7JOWP3wNAzd002ZbM/5hgShxwh4x8M= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= -github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0= +github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= +github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= +github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= +github.com/labstack/echo/v4 v4.11.1 h1:dEpLU2FLg4UVmvCGPuk/APjlH6GDpbEPti61srUUUs4= +github.com/labstack/echo/v4 v4.11.1/go.mod h1:YuYRTSM3CHs2ybfrL8Px48bO6BAnYIN4l8wSTMP6BDQ= +github.com/labstack/gommon v0.4.0 h1:y7cvthEAEbU0yHOf4axH8ZG2NH8knB9iNSoTO8dyIk8= +github.com/labstack/gommon v0.4.0/go.mod h1:uW6kP17uPlLJsD3ijUYn3/M5bAxtlZhMI6m3MFxTMTM= +github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q= +github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4= +github.com/mailgun/raymond/v2 v2.0.48 h1:5dmlB680ZkFG2RN/0lvTAghrSxIESeu9/2aeDqACtjw= +github.com/mailgun/raymond/v2 v2.0.48/go.mod h1:lsgvL50kgt1ylcFJYZiULi5fjPBkkhNfj4KA0W54Z18= +github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0= +github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= +github.com/mattn/go-colorable v0.1.11/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= -github.com/mattn/go-isatty v0.0.17 h1:BTarxUcIeDqL27Mc+vyvdWYSL28zpIhv3RoTdsLMPng= -github.com/mattn/go-isatty v0.0.17/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= -github.com/mattn/go-runewidth v0.0.14 h1:+xnbZSEeDbOIg5/mE6JF0w6n9duR1l3/WmbinWVwUuU= -github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db h1:62I3jR2EmQ4l5rM/4FEfDWcRD+abF5XlKShorW5LRoQ= -github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= +github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA= +github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= +github.com/microcosm-cc/bluemonday v1.0.25 h1:4NEwSfiJ+Wva0VxN5B8OwMicaJvD8r9tlJWm9rtloEg= +github.com/microcosm-cc/bluemonday v1.0.25/go.mod h1:ZIOjCQp1OrzBBPIJmfX4qDYFuhU02nx4bn030ixfHLE= +github.com/mitchellh/go-wordwrap v1.0.1 h1:TLuKupo69TCn6TQSyGxwI1EblZZEsQ0vMlAFQflz0v0= +github.com/mitchellh/go-wordwrap v1.0.1/go.mod h1:R62XHJLzvMFRBbcrT7m7WgmE1eOyTSsCt+hzestvNj0= +github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= +github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M= +github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= +github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= +github.com/pelletier/go-toml/v2 v2.0.8 h1:0ctb6s9mE31h0/lhu+J6OPmVeDxJn+kYnJc2jZR9tGQ= +github.com/pelletier/go-toml/v2 v2.0.8/go.mod h1:vuYfssBdrU2XDZ9bYydBu6t+6a6PYNcZljzZR9VXg+4= +github.com/pierrec/lz4/v4 v4.1.18 h1:xaKrnTkyoqfh1YItXl56+6KJNVYWlEEPuAQW9xsplYQ= +github.com/pierrec/lz4/v4 v4.1.18/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4= github.com/pingcap/errors v0.11.4 h1:lFuQV/oaUMGcD2tqt+01ROSmJs75VG1ToEOkZIZ4nE4= -github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pingcap/errors v0.11.4/go.mod h1:Oi8TUi2kEtXXLMJk9l1cGmz20kV3TaQ0usTwv5KuLY8= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/rivo/uniseg v0.4.3 h1:utMvzDsuh3suAEnhH0RdHmoPbU648o6CvXxTx4SBMOw= +github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/rogpeppe/go-internal v1.6.1 h1:/FiVV8dS/e+YqF2JvO3yXRFbBLTIuSDkuC7aBOAvL+k= -github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ= +github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= +github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= github.com/rs/xid v1.4.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg= -github.com/rs/zerolog v1.19.0/go.mod h1:IzD0RJ65iWH0w97OQQebJEvTZYvsCUm9WVLWBQrJRjo= -github.com/rs/zerolog v1.29.0 h1:Zes4hju04hjbvkVkOhdl2HpZa+0PmVwigmo8XoORE5w= -github.com/rs/zerolog v1.29.0/go.mod h1:NILgTygv/Uej1ra5XxGf82ZFSLk58MFGAUS2o6usyD0= +github.com/rs/zerolog v1.29.1 h1:cO+d60CHkknCbvzEWxP0S9K6KqyTjrCNUy1LdQLCGPc= +github.com/rs/zerolog v1.29.1/go.mod h1:Le6ESbR7hc+DP6Lt1THiV8CQSdkkNrd3R0XbEgp3ZBU= +github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/sanity-io/litter v1.5.5 h1:iE+sBxPBzoK6uaEP5Lt3fHNgpKcHXc/A2HGETy0uJQo= +github.com/sanity-io/litter v1.5.5/go.mod h1:9gzJgR2i4ZpjZHsKvUXIRQVk7P+yM3e+jAF7bU2UI5U= +github.com/santhosh-tekuri/jsonschema/v5 v5.3.1 h1:lZUw3E0/J3roVtGQ+SCrUrg3ON6NgVqpn3+iol9aGu4= +github.com/santhosh-tekuri/jsonschema/v5 v5.3.1/go.mod h1:uToXkOrWAZ6/Oc07xWQrPOhJotwFIyu2bBVN41fcDUY= github.com/scaleway/scaleway-sdk-go v1.0.0-beta.13 h1:n5J2K6g/kl/iT6mODjCoSoRBGQVmIG3aMtYbofi9kxc= github.com/scaleway/scaleway-sdk-go v1.0.0-beta.13/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg= -github.com/schollz/progressbar/v3 v3.13.0 h1:9TeeWRcjW2qd05I8Kf9knPkW4vLM/hYoa6z9ABvxje8= -github.com/spf13/cast v1.5.0 h1:rj3WzYc11XZaIZMPKmwP96zkFEnnAmV8s6XbB2aY32w= -github.com/spf13/cast v1.5.0/go.mod h1:SpXXQ5YoyJw6s3/6cMTQuxvgRl3PCJiyaX9p6b155UU= +github.com/schollz/closestmatch v2.1.0+incompatible h1:Uel2GXEpJqOWBrlyI+oY9LTiyyjYS17cCYRqP13/SHk= +github.com/schollz/closestmatch v2.1.0+incompatible/go.mod h1:RtP1ddjLong6gTkbtmuhtR2uUrrJOpYzYRvbcPAid+g= +github.com/sergi/go-diff v1.0.0 h1:Kpca3qRNrduNnOQeazBd0ysaKrUJiIuISHxogkT9RPQ= +github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= +github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= +github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= +github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= +github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= github.com/spf13/cobra v1.6.1 h1:o94oiPyS4KD1mPy2fmcYYHHfCxLqYjJOhGsCHFZtEzA= github.com/spf13/cobra v1.6.1/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= +github.com/spkg/bom v0.0.0-20160624110644-59b7046e48ad/go.mod h1:qLr4V1qq6nMqFKkMo8ZTx3f+BZEkzsRUY10Xsm2mwU0= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= +github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= +github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= +github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= +github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk= +github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= +github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= +github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= +github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= +github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/tdewolff/minify/v2 v2.12.9 h1:dvn5MtmuQ/DFMwqf5j8QhEVpPX6fi3WGImhv8RUB4zA= +github.com/tdewolff/minify/v2 v2.12.9/go.mod h1:qOqdlDfL+7v0/fyymB+OP497nIxJYSvX4MQWA8OoiXU= +github.com/tdewolff/parse/v2 v2.6.8 h1:mhNZXYCx//xG7Yq2e/kVLNZw4YfYmeHbhx+Zc0OvFMA= +github.com/tdewolff/parse/v2 v2.6.8/go.mod h1:XHDhaU6IBgsryfdnpzUXBlT6leW/l25yrFBTEb4eIyM= +github.com/tdewolff/test v1.0.9 h1:SswqJCmeN4B+9gEAi/5uqT0qpi1y2/2O47V/1hhGZT0= +github.com/tdewolff/test v1.0.9/go.mod h1:6DAvZliBAAnD7rhVgwaM7DE5/d9NMOAJ09SqYqeK4QE= github.com/thoas/go-funk v0.9.3 h1:7+nAEx3kn5ZJcnDm2Bh23N2yOtweO14bi//dvRtgLpw= github.com/thoas/go-funk v0.9.3/go.mod h1:+IWnUfUmFO1+WVYQWQtIJHeRRdaIyyYglZN7xzUPe4Q= +github.com/twitchyliquid64/golang-asm v0.15.1 h1:SU5vSMR7hnwNxj24w34ZyCi/FmDZTkS4MhqMhdFk5YI= +github.com/twitchyliquid64/golang-asm v0.15.1/go.mod h1:a1lVb/DtPvCB8fslRZhAngC2+aY1QWCk3Cedj/Gdt08= +github.com/ugorji/go/codec v1.2.11 h1:BMaWp1Bb6fHwEtbplGBGJ498wD+LKlNSl25MjdZY4dU= +github.com/ugorji/go/codec v1.2.11/go.mod h1:UNopzCgEMSXjBc6AOMqYvWC1ktqTAfzJZUZgYf6w6lg= +github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw= +github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= +github.com/valyala/fasttemplate v1.2.1/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ= +github.com/valyala/fasttemplate v1.2.2 h1:lxLXG0uE3Qnshl9QyaK6XJxMXlQZELvChBOCmQD0Loo= +github.com/valyala/fasttemplate v1.2.2/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ= +github.com/vmihailenco/msgpack/v5 v5.3.5 h1:5gO0H1iULLWGhs2H5tbAHIZTV8/cYafcFOr9znI5mJU= +github.com/vmihailenco/msgpack/v5 v5.3.5/go.mod h1:7xyJ9e+0+9SaZT0Wt1RGleJXzli6Q/V5KbhBonMG9jc= +github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g= +github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds= +github.com/wk8/go-ordered-map/v2 v2.1.8 h1:5h/BUHu93oj4gIdvHHHGsScSTMijfx5PeYkE/fJgbpc= +github.com/wk8/go-ordered-map/v2 v2.1.8/go.mod h1:5nJHM5DyteebpVlHnWMV0rPz6Zp7+xBAnxjb1X5vnTw= +github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f h1:J9EGpcZtP0E/raorCMxlFGSTBrsSlaDGf3jU/qvAE2c= +github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= +github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 h1:EzJWgHovont7NscjpAxXsDA8S8BMYve8Y5+7cuRE7R0= +github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415/go.mod h1:GwrjFmJcFw6At/Gs6z4yjiIwzuJ1/+UwLxMQDVQXShQ= +github.com/xeipuuv/gojsonschema v1.2.0 h1:LhYJRs+L4fBtjZUfuSZIKGeVu0QRy8e5Xi7D17UxZ74= +github.com/xeipuuv/gojsonschema v1.2.0/go.mod h1:anYRn/JVcOK2ZgGU+IjEV4nwlhoK5sQluxsYJ78Id3Y= +github.com/yalp/jsonpath v0.0.0-20180802001716-5cc68e5049a0 h1:6fRhSjgLCkTD3JnJxvaJ4Sj+TYblw757bqYgZaOq5ZY= +github.com/yalp/jsonpath v0.0.0-20180802001716-5cc68e5049a0/go.mod h1:/LWChgwKmvncFJFHJ7Gvn9wZArjbV5/FppcK2fKk/tI= +github.com/yosssi/ace v0.0.5 h1:tUkIP/BLdKqrlrPwcmH0shwEEhTRHoGnc1wFIWmaBUA= +github.com/yosssi/ace v0.0.5/go.mod h1:ALfIzm2vT7t5ZE7uoIZqF3TQ7SAOyupFZnkrF5id+K0= +github.com/yudai/gojsondiff v1.0.0 h1:27cbfqXLVEJ1o8I6v3y9lg8Ydm53EKqHXAOMxEGlCOA= +github.com/yudai/gojsondiff v1.0.0/go.mod h1:AY32+k2cwILAkW1fbgxQ5mUmMiZFgLIV+FBNExI05xg= +github.com/yudai/golcs v0.0.0-20170316035057-ecda9a501e82 h1:BHyfKlQyqbsFN5p3IfnEUduWvb9is428/nNb5L3U01M= +github.com/yudai/golcs v0.0.0-20170316035057-ecda9a501e82/go.mod h1:lgjkn3NuSvDfVJdfcVVdX+jpBxNmX4rDAzaS45IcYoM= github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= +github.com/zeebo/assert v1.3.0 h1:g7C04CbJuIDKNPFHmsk4hwZDO5O+kntRxzaUoNXj+IQ= +github.com/zeebo/assert v1.3.0/go.mod h1:Pq9JiuJQpG8JLJdtkwrJESF0Foym2/D9XMU5ciN/wJ0= +github.com/zeebo/xxh3 v1.0.2 h1:xZmwmqxHZA8AI603jOQ0tMqmBr9lPeFwGg6d+xy9DC0= +github.com/zeebo/xxh3 v1.0.2/go.mod h1:5NWz9Sef7zIDm2JHfFlcQvNekmcEl9ekUZQQKCYaDcA= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.opentelemetry.io/otel v1.16.0 h1:Z7GVAX/UkAXPKsy94IU+i6thsQS4nb7LviLpnaNeW8s= +go.opentelemetry.io/otel v1.16.0/go.mod h1:vl0h9NUa1D5s1nv3A5vZOYWn8av4K8Ml6JDeHrT/bx4= +go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.16.0 h1:t4ZwRPU+emrcvM2e9DHd0Fsf0JTPVcbfa/BhTDF03d0= +go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.16.0/go.mod h1:vLarbg68dH2Wa77g71zmKQqlQ8+8Rq3GRG31uc0WcWI= +go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.16.0 h1:cbsD4cUcviQGXdw8+bo5x2wazq10SKz8hEbtCRPcU78= +go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.16.0/go.mod h1:JgXSGah17croqhJfhByOLVY719k1emAXC8MVhCIJlRs= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.16.0 h1:iqjq9LAB8aK++sKVcELezzn655JnBNdsDhghU4G/So8= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.16.0/go.mod h1:hGXzO5bhhSHZnKvrDaXB82Y9DRFour0Nz/KrBh7reWw= +go.opentelemetry.io/otel/metric v1.16.0 h1:RbrpwVG1Hfv85LgnZ7+txXioPDoh6EdbZHo26Q3hqOo= +go.opentelemetry.io/otel/metric v1.16.0/go.mod h1:QE47cpOmkwipPiefDwo2wDzwJrlfxxNYodqc4xnGCo4= +go.opentelemetry.io/otel/sdk v1.16.0 h1:Z1Ok1YsijYL0CSJpHt4cS3wDDh7p572grzNrBMiMWgE= +go.opentelemetry.io/otel/sdk v1.16.0/go.mod h1:tMsIuKXuuIWPBAOrH+eHtvhTL+SntFtXF9QD68aP6p4= +go.opentelemetry.io/otel/trace v1.16.0 h1:8JRpaObFoW0pxuVPapkgH8UhHQj+bJW8jJsCZEu5MQs= +go.opentelemetry.io/otel/trace v1.16.0/go.mod h1:Yt9vYq1SdNz3xdjZZK7wcXv1qv2pwLkqr2QVwea0ef0= +go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= +go.opentelemetry.io/proto/otlp v0.19.0 h1:IVN6GR+mhC4s5yfcTbmzHYODqvWAp3ZedA2SJPI1Nnw= +go.opentelemetry.io/proto/otlp v0.19.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= +golang.org/x/arch v0.0.0-20210923205945-b76863e36670/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8= +golang.org/x/arch v0.3.0 h1:02VY4/ZcO/gBOH6PUaoiptASxtXU10jazRCP865E97k= +golang.org/x/arch v0.3.0/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.14.0 h1:wBqGXzWJW6m1XrIKlAH0Hs1JJ7+9KBwnIO8v66Q9cHc= +golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= @@ -206,8 +453,8 @@ golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u0 golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= -golang.org/x/exp v0.0.0-20230131160201-f062dba9d201 h1:BEABXpNXLEz0WxtA+6CQIz2xkg80e+1zrhWyMcq8VzE= -golang.org/x/exp v0.0.0-20230131160201-f062dba9d201/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc= +golang.org/x/exp v0.0.0-20231006140011-7918f672742d h1:jtJma62tbqLibJ5sFQz8bKtEM8rJBtfilJ2qTU199MI= +golang.org/x/exp v0.0.0-20231006140011-7918f672742d/go.mod h1:ldy0pHrwJyGW56pPQzzkH36rKxoZW1tw7ZJpeKx+hdo= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= @@ -228,11 +475,15 @@ golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzB golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.5.1/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= +golang.org/x/mod v0.13.0 h1:I/DsJXRlw/8l/0c24sM9yb0T4z9liZTduXvdAWYiysY= +golang.org/x/mod v0.13.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190327091125-710a502c58a2/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= @@ -254,15 +505,16 @@ golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/ golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20210423184538-5f58ad60dda6/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk= -golang.org/x/net v0.7.0 h1:rJrUqqhjsgNp7KqAIc25s9pZnjU7TUcSY7HcVZjdn1g= -golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= +golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= +golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= +golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20210413134643-5e61552d6c78/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -271,8 +523,9 @@ golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o= -golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.4.0 h1:zxkM55ReGkDlKSM+Fu41A+zmbZuaPVbGMzvvdUPznYQ= +golang.org/x/sync v0.4.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -283,6 +536,7 @@ golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -299,26 +553,35 @@ golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211103235746-7861aae1554b/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.5.0 h1:MUK/U/4lj1t1oPg0HfuXDN/Z1wv31ZJ/YcPiGccS4DU= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= +golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/term v0.5.0 h1:n2a8QNdAb0sZNpU9R1ALUXBbY+w51fCQDN+7EdxNBsY= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.7.0 h1:4BRB4x83lYWy72KwLD/qYDuTu7q9PjSagHvijDw7cLo= -golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= +golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= +golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k= +golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/time v0.3.0 h1:rg5rLMjNzMS1RkNLzCG38eapWhnYLFYXDXj2gOlr8j4= +golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= @@ -332,7 +595,6 @@ golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgw golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20190828213141-aed303cbaa74/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= @@ -360,10 +622,17 @@ golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roY golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/tools v0.1.9/go.mod h1:nABZi5QlRsZVlzPpHl034qft6wpY4eDcsTt5AaioBiU= +golang.org/x/tools v0.14.0 h1:jvNa2pY0M4r62jkRQ6RwEZZyPcymeL9XZMLBbV7U2nc= +golang.org/x/tools v0.14.0/go.mod h1:uYBEerGOWcJyEORxN+Ek8+TT266gXkNlHdJBwexUsBg= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 h1:H2TDz8ibqkAF6YGhCdN3jS9O0/s90v0rJh3X/OLHEUk= +golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= +gonum.org/v1/gonum v0.12.0 h1:xKuo6hzt+gMav00meVPUlXwSdoEJP46BR+wdxQEFK2o= +gonum.org/v1/gonum v0.12.0/go.mod h1:73TDxJfAAHeA8Mk9mf8NlIppyhQNo5GLTcYeqgo2lvY= google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= @@ -409,15 +678,20 @@ google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfG google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200806141610-86f49bd18e98/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20230131230820-1c016267d619 h1:p0kMzw6AG0JEzd7Z+kXqOiLhC6gjUQTbtS2zR0Q3DbI= -google.golang.org/genproto v0.0.0-20230131230820-1c016267d619/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= +google.golang.org/genproto v0.0.0-20211118181313-81c1377c94b1/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= +google.golang.org/genproto v0.0.0-20230920204549-e6e6cdab5c13 h1:vlzZttNJGVqTsRFU9AmdnrcO1Znh8Ew9kCD//yjigk0= +google.golang.org/genproto v0.0.0-20230920204549-e6e6cdab5c13/go.mod h1:CCviP9RmpZ1mxVr8MUjCnSiY09IbAXZxhLE6EhHIdPU= +google.golang.org/genproto/googleapis/api v0.0.0-20230920204549-e6e6cdab5c13 h1:U7+wNaVuSTaUqNvK2+osJ9ejEZxbjHHk8F2b6Hpx0AE= +google.golang.org/genproto/googleapis/api v0.0.0-20230920204549-e6e6cdab5c13/go.mod h1:RdyHbowztCGQySiCvQPgWQWgWhGnouTdCflKoDBt32U= +google.golang.org/genproto/googleapis/rpc v0.0.0-20231002182017-d307bd883b97 h1:6GQBEOdGkX6MMTLT9V+TjtIRZCw9VPD5Z+yHY9wMgS0= +google.golang.org/genproto/googleapis/rpc v0.0.0-20231002182017-d307bd883b97/go.mod h1:v7nGkzlmW8P3n/bKmWBn2WpBjpOEx8Q6gMueudAmKfY= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= @@ -430,10 +704,12 @@ google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKa google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc v1.37.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= -google.golang.org/grpc v1.52.3 h1:pf7sOysg4LdgBqduXveGKrcEwbStiK2rtfghdzlUYDQ= -google.golang.org/grpc v1.52.3/go.mod h1:pu6fVzoFb+NBYNAvQL08ic+lvB2IojljRYuun5vorUY= -google.golang.org/grpc/examples v0.0.0-20210424002626-9572fd6faeae/go.mod h1:Ly7ZA/ARzg8fnPU9TyZIxoz33sEUuWX7txiqs8lPTgE= +google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0= +google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= +google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= +google.golang.org/grpc v1.42.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= +google.golang.org/grpc v1.58.2 h1:SXUpjxeVF3FKrTYQI4f4KvbGD5u2xccdYdurwowix5I= +google.golang.org/grpc v1.58.2/go.mod h1:tgX3ZQDlNJGU96V6yHh1T/JeoBQ2TXdr43YbYSsCJk0= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= @@ -446,16 +722,23 @@ google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGj google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.28.1 h1:d0NfwRgPtno5B1Wa6L2DAG+KivqkdutMf1UhdNx175w= -google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= +google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8= +google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= +gopkg.in/ini.v1 v1.67.0 h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA= +gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= @@ -465,6 +748,10 @@ honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWh honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= +moul.io/http2curl/v2 v2.3.0 h1:9r3JfDzWPcbIklMOs2TnIFzDYvfAZvjeavG6EzP7jYs= +moul.io/http2curl/v2 v2.3.0/go.mod h1:RW4hyBjTWSYDOxapodpNEtX0g5Eb16sxklBqmd2RHcE= +nullprogram.com/x/optparse v1.0.0/go.mod h1:KdyPE+Igbe0jQUrVfMqDMeJQIJZEuyV7pjYmp6pbG50= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= +rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= diff --git a/main.go b/main.go index 9f921cf..df7c7da 100644 --- a/main.go +++ b/main.go @@ -1,10 +1,16 @@ package main import ( - "github.com/cloudquery/plugin-sdk/serve" - "github.com/scaleway/cq-source-scaleway/plugin" + "context" + "log" + + "github.com/cloudquery/plugin-sdk/v4/serve" + "github.com/scaleway/cq-source-scaleway/resources/plugin" ) func main() { - serve.Source(plugin.Plugin()) + p := serve.Plugin(plugin.Plugin()) + if err := p.Serve(context.Background()); err != nil { + log.Fatalf("failed to serve plugin: %v", err) + } } diff --git a/plugin/plugin.go b/plugin/plugin.go index c1eb299..6bc857e 100644 --- a/plugin/plugin.go +++ b/plugin/plugin.go @@ -1,96 +1,8 @@ package plugin -import ( - "github.com/cloudquery/plugin-sdk/plugins/source" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/scaleway/cq-source-scaleway/client" - "github.com/scaleway/cq-source-scaleway/resources/account" - "github.com/scaleway/cq-source-scaleway/resources/applesilicon" - "github.com/scaleway/cq-source-scaleway/resources/baremetal" - "github.com/scaleway/cq-source-scaleway/resources/containers" - "github.com/scaleway/cq-source-scaleway/resources/flexibleips" - "github.com/scaleway/cq-source-scaleway/resources/functions" - "github.com/scaleway/cq-source-scaleway/resources/iam" - "github.com/scaleway/cq-source-scaleway/resources/instances" - "github.com/scaleway/cq-source-scaleway/resources/iot" - "github.com/scaleway/cq-source-scaleway/resources/ipfs" - "github.com/scaleway/cq-source-scaleway/resources/k8s" - "github.com/scaleway/cq-source-scaleway/resources/lb" - "github.com/scaleway/cq-source-scaleway/resources/marketplace" - "github.com/scaleway/cq-source-scaleway/resources/mnq" - "github.com/scaleway/cq-source-scaleway/resources/rdb" - "github.com/scaleway/cq-source-scaleway/resources/redis" - "github.com/scaleway/cq-source-scaleway/resources/registry" - "github.com/scaleway/cq-source-scaleway/resources/secrets" - "github.com/scaleway/cq-source-scaleway/resources/tem" - "github.com/scaleway/cq-source-scaleway/resources/test" - "github.com/scaleway/cq-source-scaleway/resources/vpc" - "github.com/scaleway/cq-source-scaleway/resources/vpcgw" -) - var ( + Name = "scaleway" + Kind = "source" + Team = "scaleway" Version = "development" ) - -func Plugin() *source.Plugin { - return source.NewPlugin( - "scaleway", - Version, - schema.Tables{ - account.Projects(), - applesilicon.OS(), - applesilicon.ServerTypes(), - applesilicon.Servers(), - baremetal.OS(), - baremetal.Offers(), - baremetal.Servers(), - containers.Containers(), - containers.Namespaces(), - flexibleips.FlexibleIPs(), - functions.Functions(), - functions.Namespaces(), - functions.Runtimes(), - iam.APIKeys(), - iam.Apps(), - iam.Groups(), - iam.PermissionSets(), - iam.Policies(), - iam.SSHKeys(), - iam.Users(), - instances.DefaultSecurityGroupRules(), - instances.Images(), - instances.Instances(), - instances.SecurityGroups(), - iot.Hubs(), - ipfs.Volumes(), - k8s.Clusters(), - k8s.Versions(), - lb.LBs(), - lb.LBTypes(), - lb.IPs(), - lb.Subscribers(), - marketplace.Categories(), - marketplace.Images(), - mnq.Namespaces(), - rdb.DatabaseBackups(), - rdb.DatabaseEngines(), - rdb.Instances(), - rdb.Snapshots(), - rdb.NodeTypes(), - redis.Clusters(), - redis.Versions(), - redis.NodeTypes(), - registry.Images(), - registry.Namespaces(), - secrets.Secrets(), - tem.Domains(), - test.Humans(), - vpc.PrivateNetworks(), - vpcgw.DHCPs(), - vpcgw.DHCPEntries(), - vpcgw.Gateways(), - vpcgw.IPs(), - }, - client.New, - ) -} diff --git a/resources/plugin/client.go b/resources/plugin/client.go new file mode 100644 index 0000000..dcd660d --- /dev/null +++ b/resources/plugin/client.go @@ -0,0 +1,260 @@ +package plugin + +import ( + "context" + "encoding/json" + "errors" + "fmt" + "net/http" + "time" + + "github.com/cloudquery/plugin-sdk/v4/docs" + "github.com/cloudquery/plugin-sdk/v4/message" + "github.com/cloudquery/plugin-sdk/v4/plugin" + "github.com/cloudquery/plugin-sdk/v4/scheduler" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/state" + "github.com/cloudquery/plugin-sdk/v4/transformers" + internalPlugin "github.com/scaleway/cq-source-scaleway/plugin" + "github.com/scaleway/scaleway-sdk-go/scw" + "google.golang.org/grpc" + "google.golang.org/grpc/credentials/insecure" + + "github.com/rs/zerolog" + "github.com/scaleway/cq-source-scaleway/client" + "github.com/scaleway/cq-source-scaleway/resources/services/account" + "github.com/scaleway/cq-source-scaleway/resources/services/applesilicon" + "github.com/scaleway/cq-source-scaleway/resources/services/baremetal" + "github.com/scaleway/cq-source-scaleway/resources/services/containers" + "github.com/scaleway/cq-source-scaleway/resources/services/flexibleips" + "github.com/scaleway/cq-source-scaleway/resources/services/functions" + "github.com/scaleway/cq-source-scaleway/resources/services/iam" + "github.com/scaleway/cq-source-scaleway/resources/services/instances" + "github.com/scaleway/cq-source-scaleway/resources/services/iot" + "github.com/scaleway/cq-source-scaleway/resources/services/ipfs" + "github.com/scaleway/cq-source-scaleway/resources/services/k8s" + "github.com/scaleway/cq-source-scaleway/resources/services/lb" + "github.com/scaleway/cq-source-scaleway/resources/services/marketplace" + "github.com/scaleway/cq-source-scaleway/resources/services/mnq" + "github.com/scaleway/cq-source-scaleway/resources/services/rdb" + "github.com/scaleway/cq-source-scaleway/resources/services/redis" + "github.com/scaleway/cq-source-scaleway/resources/services/registry" + "github.com/scaleway/cq-source-scaleway/resources/services/secrets" + "github.com/scaleway/cq-source-scaleway/resources/services/tem" + "github.com/scaleway/cq-source-scaleway/resources/services/test" + "github.com/scaleway/cq-source-scaleway/resources/services/vpc" + "github.com/scaleway/cq-source-scaleway/resources/services/vpcgw" +) + +const ( + maxMsgSize = 100 * 1024 * 1024 // 100 MiB +) + +type Client struct { + logger zerolog.Logger + config client.Spec + tables schema.Tables + options plugin.NewClientOptions + scheduler *scheduler.Scheduler + backendConn *grpc.ClientConn + services *scw.Client + orgID string + + plugin.UnimplementedDestination +} + +func (c *Client) Logger() *zerolog.Logger { + return &c.logger +} + +func (c *Client) Sync(ctx context.Context, options plugin.SyncOptions, res chan<- message.SyncMessage) error { + tt, err := c.tables.FilterDfs(options.Tables, options.SkipTables, options.SkipDependentTables) + if err != nil { + return err + } + + var stateClient state.Client + if options.BackendOptions == nil { + c.logger.Info().Msg("No backend options provided, using no state backend") + stateClient = &state.NoOpClient{} + c.backendConn = nil + } else { + c.backendConn, err = grpc.DialContext(ctx, options.BackendOptions.Connection, + grpc.WithTransportCredentials(insecure.NewCredentials()), + grpc.WithDefaultCallOptions( + grpc.MaxCallRecvMsgSize(maxMsgSize), + grpc.MaxCallSendMsgSize(maxMsgSize), + ), + ) + if err != nil { + return fmt.Errorf("failed to dial grpc source plugin at %s: %w", options.BackendOptions.Connection, err) + } + stateClient, err = state.NewClient(ctx, c.backendConn, options.BackendOptions.TableName) + if err != nil { + return fmt.Errorf("failed to create state client: %w", err) + } + c.logger.Info().Str("table_name", options.BackendOptions.TableName).Msg("Connected to state backend") + } + + schedulerClient := client.New(c.logger, c.config, c.orgID, c.services, stateClient) + err = c.scheduler.Sync(ctx, schedulerClient, tt, res, scheduler.WithSyncDeterministicCQID(options.DeterministicCQID)) + if err != nil { + return fmt.Errorf("failed to sync: %w", err) + } + return stateClient.Flush(ctx) +} + +func (c *Client) Tables(_ context.Context, options plugin.TableOptions) (schema.Tables, error) { + tt, err := c.tables.FilterDfs(options.Tables, options.SkipTables, options.SkipDependentTables) + if err != nil { + return nil, err + } + return tt, nil +} + +func (c *Client) Close(_ context.Context) error { + if c.backendConn != nil { + return c.backendConn.Close() + } + return nil +} + +func Configure(_ context.Context, logger zerolog.Logger, specBytes []byte, opts plugin.NewClientOptions) (plugin.Client, error) { + if opts.NoConnection { + return &Client{ + logger: logger.With().Str("module", "scaleway").Logger(), + options: opts, + tables: getTables(), + }, nil + } + + config := client.Spec{} + if err := json.Unmarshal(specBytes, &config); err != nil { + return nil, fmt.Errorf("failed to unmarshal spec: %w", err) + } + config.SetDefaults() + if err := config.Validate(); err != nil { + return nil, fmt.Errorf("failed to validate spec: %w", err) + } + + scwOpts := []scw.ClientOption{ + scw.WithEnv(), // existing env variables may overwrite active profile + + scw.WithHTTPClient(&http.Client{ + Timeout: time.Duration(config.Timeout) * time.Second, + }), + scw.WithUserAgent("cq-plugin-scaleway/" + internalPlugin.Version), + } + + cf, err := scw.LoadConfig() + if err != nil { + var configNotFoundError *scw.ConfigFileNotFoundError + if !errors.As(err, &configNotFoundError) { + return nil, err + } + } + if cf != nil { + p, err := cf.GetActiveProfile() + if err != nil { + return nil, err + } + scwOpts = append([]scw.ClientOption{ + scw.WithProfile(p), // active profile applies first + }, scwOpts...) + } + + // Create a Scaleway client + scwClient, err := scw.NewClient(scwOpts...) + if err != nil { + return nil, err + } + + orgID, ok := scwClient.GetDefaultOrganizationID() + if !ok { + return nil, fmt.Errorf("SCW_DEFAULT_ORGANIZATION_ID or default_organization_id not set, get yours from https://console.scaleway.com/organization/settings") + } + + return &Client{ + logger: logger.With().Str("module", "scaleway").Logger(), + options: opts, + config: config, + scheduler: scheduler.NewScheduler( + scheduler.WithLogger(logger), + scheduler.WithConcurrency(config.Concurrency), + ), + orgID: orgID, + services: scwClient, + tables: getTables(), + }, nil +} + +func getTables() schema.Tables { + tables := []*schema.Table{ + account.Projects(), + applesilicon.OS(), + applesilicon.ServerTypes(), + applesilicon.Servers(), + baremetal.OS(), + baremetal.Offers(), + baremetal.Servers(), + containers.Containers(), + containers.Namespaces(), + flexibleips.FlexibleIPs(), + functions.Functions(), + functions.Namespaces(), + functions.Runtimes(), + iam.APIKeys(), + iam.Apps(), + iam.Groups(), + iam.PermissionSets(), + iam.Policies(), + iam.SSHKeys(), + iam.Users(), + instances.DefaultSecurityGroupRules(), + instances.Images(), + instances.Instances(), + instances.SecurityGroups(), + iot.Hubs(), + ipfs.Volumes(), + k8s.Clusters(), + k8s.Versions(), + lb.LBs(), + lb.LBTypes(), + lb.IPs(), + lb.Subscribers(), + marketplace.Categories(), + marketplace.Images(), + mnq.Namespaces(), + rdb.DatabaseBackups(), + rdb.DatabaseEngines(), + rdb.Instances(), + rdb.Snapshots(), + rdb.NodeTypes(), + redis.Clusters(), + redis.Versions(), + redis.NodeTypes(), + registry.Images(), + registry.Namespaces(), + secrets.Secrets(), + tem.Domains(), + test.Humans(), + vpc.PrivateNetworks(), + vpcgw.DHCPs(), + vpcgw.DHCPEntries(), + vpcgw.Gateways(), + vpcgw.IPs(), + } + if err := transformers.TransformTables(tables); err != nil { + panic(err) + } + if err := transformers.Apply(tables, func(t *schema.Table) error { + t.Title = docs.DefaultTitleTransformer(t) + return nil + }); err != nil { + panic(err) + } + for _, t := range tables { + schema.AddCqIDs(t) + } + return tables +} diff --git a/resources/plugin/plugin.go b/resources/plugin/plugin.go new file mode 100644 index 0000000..c3eeff8 --- /dev/null +++ b/resources/plugin/plugin.go @@ -0,0 +1,16 @@ +package plugin + +import ( + "github.com/cloudquery/plugin-sdk/v4/plugin" + internalPlugin "github.com/scaleway/cq-source-scaleway/plugin" +) + +func Plugin() *plugin.Plugin { + return plugin.NewPlugin( + internalPlugin.Name, + internalPlugin.Version, + Configure, + plugin.WithKind(internalPlugin.Kind), + plugin.WithTeam(internalPlugin.Team), + ) +} diff --git a/resources/account/projects.go b/resources/services/account/projects.go similarity index 90% rename from resources/account/projects.go rename to resources/services/account/projects.go index 3c9cb7f..0dcd660 100644 --- a/resources/account/projects.go +++ b/resources/services/account/projects.go @@ -3,8 +3,8 @@ package account import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/account/v2" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/account/projects_test.go b/resources/services/account/projects_test.go similarity index 95% rename from resources/account/projects_test.go rename to resources/services/account/projects_test.go index 9a08431..8c4b656 100644 --- a/resources/account/projects_test.go +++ b/resources/services/account/projects_test.go @@ -5,7 +5,7 @@ import ( "net/http" "testing" - "github.com/cloudquery/plugin-sdk/faker" + "github.com/cloudquery/plugin-sdk/v4/faker" "github.com/gorilla/mux" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/account/v2" diff --git a/resources/applesilicon/os.go b/resources/services/applesilicon/os.go similarity index 91% rename from resources/applesilicon/os.go rename to resources/services/applesilicon/os.go index 8c2249d..eb94cd8 100644 --- a/resources/applesilicon/os.go +++ b/resources/services/applesilicon/os.go @@ -3,8 +3,8 @@ package applesilicon import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" applesilicon "github.com/scaleway/scaleway-sdk-go/api/applesilicon/v1alpha1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/applesilicon/server_types.go b/resources/services/applesilicon/server_types.go similarity index 90% rename from resources/applesilicon/server_types.go rename to resources/services/applesilicon/server_types.go index b3eeba5..d9cc5e3 100644 --- a/resources/applesilicon/server_types.go +++ b/resources/services/applesilicon/server_types.go @@ -3,8 +3,8 @@ package applesilicon import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" applesilicon "github.com/scaleway/scaleway-sdk-go/api/applesilicon/v1alpha1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/applesilicon/servers.go b/resources/services/applesilicon/servers.go similarity index 91% rename from resources/applesilicon/servers.go rename to resources/services/applesilicon/servers.go index 9d5ad3d..ea62f76 100644 --- a/resources/applesilicon/servers.go +++ b/resources/services/applesilicon/servers.go @@ -3,8 +3,8 @@ package applesilicon import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" applesilicon "github.com/scaleway/scaleway-sdk-go/api/applesilicon/v1alpha1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/baremetal/offers.go b/resources/services/baremetal/offers.go similarity index 91% rename from resources/baremetal/offers.go rename to resources/services/baremetal/offers.go index 788f475..47b2387 100644 --- a/resources/baremetal/offers.go +++ b/resources/services/baremetal/offers.go @@ -3,8 +3,8 @@ package baremetal import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/baremetal/v1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/baremetal/os.go b/resources/services/baremetal/os.go similarity index 91% rename from resources/baremetal/os.go rename to resources/services/baremetal/os.go index 7134cc2..21086d2 100644 --- a/resources/baremetal/os.go +++ b/resources/services/baremetal/os.go @@ -3,8 +3,8 @@ package baremetal import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/baremetal/v1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/baremetal/servers.go b/resources/services/baremetal/servers.go similarity index 91% rename from resources/baremetal/servers.go rename to resources/services/baremetal/servers.go index c1c2af4..2534b4e 100644 --- a/resources/baremetal/servers.go +++ b/resources/services/baremetal/servers.go @@ -3,8 +3,8 @@ package baremetal import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/baremetal/v1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/containers/container_crons.go b/resources/services/containers/container_crons.go similarity index 91% rename from resources/containers/container_crons.go rename to resources/services/containers/container_crons.go index c9dd3f9..b73e9ff 100644 --- a/resources/containers/container_crons.go +++ b/resources/services/containers/container_crons.go @@ -3,8 +3,8 @@ package containers import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" container "github.com/scaleway/scaleway-sdk-go/api/container/v1beta1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/containers/container_domains.go b/resources/services/containers/container_domains.go similarity index 91% rename from resources/containers/container_domains.go rename to resources/services/containers/container_domains.go index d217adf..4096c19 100644 --- a/resources/containers/container_domains.go +++ b/resources/services/containers/container_domains.go @@ -3,8 +3,8 @@ package containers import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" container "github.com/scaleway/scaleway-sdk-go/api/container/v1beta1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/containers/containers.go b/resources/services/containers/containers.go similarity index 92% rename from resources/containers/containers.go rename to resources/services/containers/containers.go index fe181ef..4dd87bb 100644 --- a/resources/containers/containers.go +++ b/resources/services/containers/containers.go @@ -3,8 +3,8 @@ package containers import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" container "github.com/scaleway/scaleway-sdk-go/api/container/v1beta1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/containers/namespace_tokens.go b/resources/services/containers/namespace_tokens.go similarity index 91% rename from resources/containers/namespace_tokens.go rename to resources/services/containers/namespace_tokens.go index 98bb4a5..29b89a1 100644 --- a/resources/containers/namespace_tokens.go +++ b/resources/services/containers/namespace_tokens.go @@ -3,8 +3,8 @@ package containers import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" container "github.com/scaleway/scaleway-sdk-go/api/container/v1beta1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/containers/namespaces.go b/resources/services/containers/namespaces.go similarity index 92% rename from resources/containers/namespaces.go rename to resources/services/containers/namespaces.go index 0a04bf5..8066900 100644 --- a/resources/containers/namespaces.go +++ b/resources/services/containers/namespaces.go @@ -3,8 +3,8 @@ package containers import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" container "github.com/scaleway/scaleway-sdk-go/api/container/v1beta1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/flexibleips/flexible_ips.go b/resources/services/flexibleips/flexible_ips.go similarity index 91% rename from resources/flexibleips/flexible_ips.go rename to resources/services/flexibleips/flexible_ips.go index be52f28..3b9494b 100644 --- a/resources/flexibleips/flexible_ips.go +++ b/resources/services/flexibleips/flexible_ips.go @@ -3,8 +3,8 @@ package flexibleips import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" flexibleip "github.com/scaleway/scaleway-sdk-go/api/flexibleip/v1alpha1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/functions/function_crons.go b/resources/services/functions/function_crons.go similarity index 91% rename from resources/functions/function_crons.go rename to resources/services/functions/function_crons.go index a9d13bc..51db872 100644 --- a/resources/functions/function_crons.go +++ b/resources/services/functions/function_crons.go @@ -3,8 +3,8 @@ package functions import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" function "github.com/scaleway/scaleway-sdk-go/api/function/v1beta1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/functions/function_domains.go b/resources/services/functions/function_domains.go similarity index 91% rename from resources/functions/function_domains.go rename to resources/services/functions/function_domains.go index ddb86d7..18fc2ea 100644 --- a/resources/functions/function_domains.go +++ b/resources/services/functions/function_domains.go @@ -3,8 +3,8 @@ package functions import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" function "github.com/scaleway/scaleway-sdk-go/api/function/v1beta1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/functions/function_trigger_inputs.go b/resources/services/functions/function_trigger_inputs.go similarity index 80% rename from resources/functions/function_trigger_inputs.go rename to resources/services/functions/function_trigger_inputs.go index d15d0e5..acf9262 100644 --- a/resources/functions/function_trigger_inputs.go +++ b/resources/services/functions/function_trigger_inputs.go @@ -3,8 +3,9 @@ package functions import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/apache/arrow/go/v14/arrow" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" function "github.com/scaleway/scaleway-sdk-go/api/function/v1beta1" "github.com/scaleway/scaleway-sdk-go/scw" @@ -17,12 +18,10 @@ func functionTriggerInputs() *schema.Table { Transform: transformers.TransformWithStruct(&function.TriggerInput{}, transformers.WithPrimaryKeys("ID")), Columns: schema.ColumnList{ { - Name: "trigger_id", - Type: schema.TypeString, - Resolver: schema.ParentColumnResolver("id"), - CreationOptions: schema.ColumnCreationOptions{ - PrimaryKey: true, - }, + Name: "trigger_id", + Type: arrow.BinaryTypes.String, + Resolver: schema.ParentColumnResolver("id"), + PrimaryKey: true, }, }, } diff --git a/resources/functions/function_triggers.go b/resources/services/functions/function_triggers.go similarity index 92% rename from resources/functions/function_triggers.go rename to resources/services/functions/function_triggers.go index 25bd2a6..bd1135b 100644 --- a/resources/functions/function_triggers.go +++ b/resources/services/functions/function_triggers.go @@ -3,8 +3,8 @@ package functions import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" function "github.com/scaleway/scaleway-sdk-go/api/function/v1beta1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/functions/functions.go b/resources/services/functions/functions.go similarity index 92% rename from resources/functions/functions.go rename to resources/services/functions/functions.go index 5618336..8145906 100644 --- a/resources/functions/functions.go +++ b/resources/services/functions/functions.go @@ -3,8 +3,8 @@ package functions import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" function "github.com/scaleway/scaleway-sdk-go/api/function/v1beta1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/functions/namespace_tokens.go b/resources/services/functions/namespace_tokens.go similarity index 91% rename from resources/functions/namespace_tokens.go rename to resources/services/functions/namespace_tokens.go index 14368af..2669b88 100644 --- a/resources/functions/namespace_tokens.go +++ b/resources/services/functions/namespace_tokens.go @@ -3,8 +3,8 @@ package functions import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" function "github.com/scaleway/scaleway-sdk-go/api/function/v1beta1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/functions/namespaces.go b/resources/services/functions/namespaces.go similarity index 92% rename from resources/functions/namespaces.go rename to resources/services/functions/namespaces.go index 232dab4..06c7f73 100644 --- a/resources/functions/namespaces.go +++ b/resources/services/functions/namespaces.go @@ -3,8 +3,8 @@ package functions import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" function "github.com/scaleway/scaleway-sdk-go/api/function/v1beta1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/functions/namespaces_test.go b/resources/services/functions/namespaces_test.go similarity index 97% rename from resources/functions/namespaces_test.go rename to resources/services/functions/namespaces_test.go index 87194c7..2012da8 100644 --- a/resources/functions/namespaces_test.go +++ b/resources/services/functions/namespaces_test.go @@ -5,7 +5,7 @@ import ( "net/http" "testing" - "github.com/cloudquery/plugin-sdk/faker" + "github.com/cloudquery/plugin-sdk/v4/faker" "github.com/gorilla/mux" "github.com/scaleway/cq-source-scaleway/client" function "github.com/scaleway/scaleway-sdk-go/api/function/v1beta1" diff --git a/resources/functions/runtimes.go b/resources/services/functions/runtimes.go similarity index 90% rename from resources/functions/runtimes.go rename to resources/services/functions/runtimes.go index 3e62f8c..5094812 100644 --- a/resources/functions/runtimes.go +++ b/resources/services/functions/runtimes.go @@ -3,8 +3,8 @@ package functions import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" function "github.com/scaleway/scaleway-sdk-go/api/function/v1beta1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/iam/api_keys.go b/resources/services/iam/api_keys.go similarity index 90% rename from resources/iam/api_keys.go rename to resources/services/iam/api_keys.go index ac0de17..fc47917 100644 --- a/resources/iam/api_keys.go +++ b/resources/services/iam/api_keys.go @@ -3,8 +3,8 @@ package iam import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" iam "github.com/scaleway/scaleway-sdk-go/api/iam/v1alpha1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/iam/apps.go b/resources/services/iam/apps.go similarity index 90% rename from resources/iam/apps.go rename to resources/services/iam/apps.go index 07f907a..aa05d54 100644 --- a/resources/iam/apps.go +++ b/resources/services/iam/apps.go @@ -3,8 +3,8 @@ package iam import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" iam "github.com/scaleway/scaleway-sdk-go/api/iam/v1alpha1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/iam/groups.go b/resources/services/iam/groups.go similarity index 90% rename from resources/iam/groups.go rename to resources/services/iam/groups.go index 5eb2d7a..310e242 100644 --- a/resources/iam/groups.go +++ b/resources/services/iam/groups.go @@ -3,8 +3,8 @@ package iam import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" iam "github.com/scaleway/scaleway-sdk-go/api/iam/v1alpha1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/iam/permission_sets.go b/resources/services/iam/permission_sets.go similarity index 91% rename from resources/iam/permission_sets.go rename to resources/services/iam/permission_sets.go index 0f54b16..3218f2f 100644 --- a/resources/iam/permission_sets.go +++ b/resources/services/iam/permission_sets.go @@ -3,8 +3,8 @@ package iam import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" iam "github.com/scaleway/scaleway-sdk-go/api/iam/v1alpha1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/iam/policies.go b/resources/services/iam/policies.go similarity index 91% rename from resources/iam/policies.go rename to resources/services/iam/policies.go index 67f3502..327ac52 100644 --- a/resources/iam/policies.go +++ b/resources/services/iam/policies.go @@ -3,8 +3,8 @@ package iam import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" iam "github.com/scaleway/scaleway-sdk-go/api/iam/v1alpha1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/iam/policy_rules.go b/resources/services/iam/policy_rules.go similarity index 78% rename from resources/iam/policy_rules.go rename to resources/services/iam/policy_rules.go index e0c708a..da2a894 100644 --- a/resources/iam/policy_rules.go +++ b/resources/services/iam/policy_rules.go @@ -3,8 +3,9 @@ package iam import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/apache/arrow/go/v14/arrow" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" iam "github.com/scaleway/scaleway-sdk-go/api/iam/v1alpha1" "github.com/scaleway/scaleway-sdk-go/scw" @@ -17,12 +18,10 @@ func policyRules() *schema.Table { Transform: transformers.TransformWithStruct(&iam.Rule{}, transformers.WithPrimaryKeys("ID")), Columns: []schema.Column{ { - Name: "policy_id", - Type: schema.TypeString, - Resolver: schema.ParentColumnResolver("id"), - CreationOptions: schema.ColumnCreationOptions{ - PrimaryKey: true, - }, + Name: "policy_id", + Type: arrow.BinaryTypes.String, + Resolver: schema.ParentColumnResolver("id"), + PrimaryKey: true, }, }, } diff --git a/resources/iam/ssh_keys.go b/resources/services/iam/ssh_keys.go similarity index 90% rename from resources/iam/ssh_keys.go rename to resources/services/iam/ssh_keys.go index f10324f..6cb0095 100644 --- a/resources/iam/ssh_keys.go +++ b/resources/services/iam/ssh_keys.go @@ -3,8 +3,8 @@ package iam import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" iam "github.com/scaleway/scaleway-sdk-go/api/iam/v1alpha1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/iam/users.go b/resources/services/iam/users.go similarity index 90% rename from resources/iam/users.go rename to resources/services/iam/users.go index 6ef3458..f0989bd 100644 --- a/resources/iam/users.go +++ b/resources/services/iam/users.go @@ -3,8 +3,8 @@ package iam import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" iam "github.com/scaleway/scaleway-sdk-go/api/iam/v1alpha1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/instances/default_security_group_rules.go b/resources/services/instances/default_security_group_rules.go similarity index 90% rename from resources/instances/default_security_group_rules.go rename to resources/services/instances/default_security_group_rules.go index f158678..d9647cc 100644 --- a/resources/instances/default_security_group_rules.go +++ b/resources/services/instances/default_security_group_rules.go @@ -3,8 +3,8 @@ package instances import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/instance/v1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/instances/images.go b/resources/services/instances/images.go similarity index 91% rename from resources/instances/images.go rename to resources/services/instances/images.go index c2d1310..cd3a0f1 100644 --- a/resources/instances/images.go +++ b/resources/services/instances/images.go @@ -3,8 +3,8 @@ package instances import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/instance/v1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/instances/instances.go b/resources/services/instances/instances.go similarity index 91% rename from resources/instances/instances.go rename to resources/services/instances/instances.go index bcef3db..960df71 100644 --- a/resources/instances/instances.go +++ b/resources/services/instances/instances.go @@ -3,8 +3,8 @@ package instances import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/instance/v1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/instances/security_group_rules.go b/resources/services/instances/security_group_rules.go similarity index 79% rename from resources/instances/security_group_rules.go rename to resources/services/instances/security_group_rules.go index b0c824a..c9aac40 100644 --- a/resources/instances/security_group_rules.go +++ b/resources/services/instances/security_group_rules.go @@ -3,8 +3,9 @@ package instances import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/apache/arrow/go/v14/arrow" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/instance/v1" "github.com/scaleway/scaleway-sdk-go/scw" @@ -17,12 +18,10 @@ func securityGroupRules() *schema.Table { Transform: transformers.TransformWithStruct(&instance.SecurityGroupRule{}, transformers.WithPrimaryKeys("ID")), Columns: []schema.Column{ { - Name: "security_group_id", - Type: schema.TypeString, - Resolver: schema.ParentColumnResolver("id"), - CreationOptions: schema.ColumnCreationOptions{ - PrimaryKey: true, - }, + Name: "security_group_id", + Type: arrow.BinaryTypes.String, + Resolver: schema.ParentColumnResolver("id"), + PrimaryKey: true, }, }, } diff --git a/resources/instances/security_groups.go b/resources/services/instances/security_groups.go similarity index 92% rename from resources/instances/security_groups.go rename to resources/services/instances/security_groups.go index cd6b131..892683f 100644 --- a/resources/instances/security_groups.go +++ b/resources/services/instances/security_groups.go @@ -3,8 +3,8 @@ package instances import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/instance/v1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/iot/devices.go b/resources/services/iot/devices.go similarity index 90% rename from resources/iot/devices.go rename to resources/services/iot/devices.go index 5cbd24e..db05591 100644 --- a/resources/iot/devices.go +++ b/resources/services/iot/devices.go @@ -3,8 +3,8 @@ package iot import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/iot/v1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/iot/hubs.go b/resources/services/iot/hubs.go similarity index 91% rename from resources/iot/hubs.go rename to resources/services/iot/hubs.go index 303223a..e8a4919 100644 --- a/resources/iot/hubs.go +++ b/resources/services/iot/hubs.go @@ -3,8 +3,8 @@ package iot import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/iot/v1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/iot/networks.go b/resources/services/iot/networks.go similarity index 90% rename from resources/iot/networks.go rename to resources/services/iot/networks.go index cbba8ac..631f195 100644 --- a/resources/iot/networks.go +++ b/resources/services/iot/networks.go @@ -3,8 +3,8 @@ package iot import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/iot/v1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/iot/routes.go b/resources/services/iot/routes.go similarity index 90% rename from resources/iot/routes.go rename to resources/services/iot/routes.go index 997b4e4..a4bd526 100644 --- a/resources/iot/routes.go +++ b/resources/services/iot/routes.go @@ -3,8 +3,8 @@ package iot import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/iot/v1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/ipfs/volume_pins.go b/resources/services/ipfs/volume_pins.go similarity index 78% rename from resources/ipfs/volume_pins.go rename to resources/services/ipfs/volume_pins.go index 95ab5ea..f977e2e 100644 --- a/resources/ipfs/volume_pins.go +++ b/resources/services/ipfs/volume_pins.go @@ -3,8 +3,9 @@ package ipfs import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/apache/arrow/go/v14/arrow" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" ipfs "github.com/scaleway/scaleway-sdk-go/api/ipfs/v1alpha1" "github.com/scaleway/scaleway-sdk-go/scw" @@ -17,12 +18,10 @@ func volumePins() *schema.Table { Transform: transformers.TransformWithStruct(&ipfs.Pin{}, transformers.WithPrimaryKeys("PinID")), Columns: []schema.Column{ { - Name: "volume_id", - Type: schema.TypeString, - Resolver: schema.ParentColumnResolver("id"), - CreationOptions: schema.ColumnCreationOptions{ - PrimaryKey: true, - }, + Name: "volume_id", + Type: arrow.BinaryTypes.String, + Resolver: schema.ParentColumnResolver("id"), + PrimaryKey: true, }, }, } diff --git a/resources/ipfs/volumes.go b/resources/services/ipfs/volumes.go similarity index 91% rename from resources/ipfs/volumes.go rename to resources/services/ipfs/volumes.go index 766922f..a301159 100644 --- a/resources/ipfs/volumes.go +++ b/resources/services/ipfs/volumes.go @@ -3,8 +3,8 @@ package ipfs import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" ipfs "github.com/scaleway/scaleway-sdk-go/api/ipfs/v1alpha1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/ipfs/volumes_test.go b/resources/services/ipfs/volumes_test.go similarity index 97% rename from resources/ipfs/volumes_test.go rename to resources/services/ipfs/volumes_test.go index 0b36d31..2f31915 100644 --- a/resources/ipfs/volumes_test.go +++ b/resources/services/ipfs/volumes_test.go @@ -5,7 +5,7 @@ import ( "net/http" "testing" - "github.com/cloudquery/plugin-sdk/faker" + "github.com/cloudquery/plugin-sdk/v4/faker" "github.com/gorilla/mux" "github.com/scaleway/cq-source-scaleway/client" ipfs "github.com/scaleway/scaleway-sdk-go/api/ipfs/v1alpha1" diff --git a/resources/k8s/cluster_available_versions.go b/resources/services/k8s/cluster_available_versions.go similarity index 85% rename from resources/k8s/cluster_available_versions.go rename to resources/services/k8s/cluster_available_versions.go index 712d208..e3eeb2f 100644 --- a/resources/k8s/cluster_available_versions.go +++ b/resources/services/k8s/cluster_available_versions.go @@ -3,8 +3,9 @@ package k8s import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/apache/arrow/go/v14/arrow" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/k8s/v1" "github.com/scaleway/scaleway-sdk-go/scw" @@ -18,7 +19,7 @@ func clusterAvailableVersions() *schema.Table { Columns: schema.ColumnList{ { Name: "cluster_id", - Type: schema.TypeString, + Type: arrow.BinaryTypes.String, Resolver: schema.ParentColumnResolver("id"), }, }, diff --git a/resources/k8s/cluster_nodes.go b/resources/services/k8s/cluster_nodes.go similarity index 90% rename from resources/k8s/cluster_nodes.go rename to resources/services/k8s/cluster_nodes.go index 3341631..c7ccbdc 100644 --- a/resources/k8s/cluster_nodes.go +++ b/resources/services/k8s/cluster_nodes.go @@ -3,8 +3,8 @@ package k8s import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/k8s/v1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/k8s/cluster_pools.go b/resources/services/k8s/cluster_pools.go similarity index 90% rename from resources/k8s/cluster_pools.go rename to resources/services/k8s/cluster_pools.go index 3737106..a21c076 100644 --- a/resources/k8s/cluster_pools.go +++ b/resources/services/k8s/cluster_pools.go @@ -3,8 +3,8 @@ package k8s import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/k8s/v1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/k8s/clusters.go b/resources/services/k8s/clusters.go similarity index 91% rename from resources/k8s/clusters.go rename to resources/services/k8s/clusters.go index f5fcdcd..051b330 100644 --- a/resources/k8s/clusters.go +++ b/resources/services/k8s/clusters.go @@ -3,8 +3,8 @@ package k8s import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/k8s/v1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/k8s/versions.go b/resources/services/k8s/versions.go similarity index 89% rename from resources/k8s/versions.go rename to resources/services/k8s/versions.go index 555f97c..c92e130 100644 --- a/resources/k8s/versions.go +++ b/resources/services/k8s/versions.go @@ -3,8 +3,8 @@ package k8s import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/k8s/v1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/lb/ips.go b/resources/services/lb/ips.go similarity index 90% rename from resources/lb/ips.go rename to resources/services/lb/ips.go index 61fca72..2305b18 100644 --- a/resources/lb/ips.go +++ b/resources/services/lb/ips.go @@ -3,8 +3,8 @@ package lb import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/lb/v1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/lb/lb_backend_stats.go b/resources/services/lb/lb_backend_stats.go similarity index 79% rename from resources/lb/lb_backend_stats.go rename to resources/services/lb/lb_backend_stats.go index d5c35f1..b0159d1 100644 --- a/resources/lb/lb_backend_stats.go +++ b/resources/services/lb/lb_backend_stats.go @@ -3,8 +3,9 @@ package lb import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/apache/arrow/go/v14/arrow" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/lb/v1" "github.com/scaleway/scaleway-sdk-go/scw" @@ -17,12 +18,10 @@ func lbBackendStats() *schema.Table { Transform: transformers.TransformWithStruct(&lb.BackendServerStats{}, transformers.WithPrimaryKeys("InstanceID", "BackendID", "IP")), Columns: schema.ColumnList{ { - Name: "lb_id", - Type: schema.TypeString, - Resolver: schema.ParentColumnResolver("id"), - CreationOptions: schema.ColumnCreationOptions{ - PrimaryKey: true, - }, + Name: "lb_id", + Type: arrow.BinaryTypes.String, + Resolver: schema.ParentColumnResolver("id"), + PrimaryKey: true, }, }, } diff --git a/resources/lb/lb_backends.go b/resources/services/lb/lb_backends.go similarity index 80% rename from resources/lb/lb_backends.go rename to resources/services/lb/lb_backends.go index 09a281e..3a1328e 100644 --- a/resources/lb/lb_backends.go +++ b/resources/services/lb/lb_backends.go @@ -4,8 +4,9 @@ import ( "context" "fmt" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/apache/arrow/go/v14/arrow" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/lb/v1" "github.com/scaleway/scaleway-sdk-go/scw" @@ -18,12 +19,10 @@ func lbBackends() *schema.Table { Transform: transformers.TransformWithStruct(&lb.Backend{}, transformers.WithPrimaryKeys("ID")), Columns: schema.ColumnList{ { - Name: "lb_id", - Type: schema.TypeString, - Resolver: schema.ParentColumnResolver("id"), - CreationOptions: schema.ColumnCreationOptions{ - PrimaryKey: true, - }, + Name: "lb_id", + Type: arrow.BinaryTypes.String, + Resolver: schema.ParentColumnResolver("id"), + PrimaryKey: true, }, }, } diff --git a/resources/lb/lb_certificates.go b/resources/services/lb/lb_certificates.go similarity index 80% rename from resources/lb/lb_certificates.go rename to resources/services/lb/lb_certificates.go index 8d2c3d4..d22963c 100644 --- a/resources/lb/lb_certificates.go +++ b/resources/services/lb/lb_certificates.go @@ -4,8 +4,9 @@ import ( "context" "fmt" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/apache/arrow/go/v14/arrow" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/lb/v1" "github.com/scaleway/scaleway-sdk-go/scw" @@ -18,12 +19,10 @@ func lbCertificates() *schema.Table { Transform: transformers.TransformWithStruct(&lb.Certificate{}, transformers.WithPrimaryKeys("ID")), Columns: schema.ColumnList{ { - Name: "lb_id", - Type: schema.TypeString, - Resolver: schema.ParentColumnResolver("id"), - CreationOptions: schema.ColumnCreationOptions{ - PrimaryKey: true, - }, + Name: "lb_id", + Type: arrow.BinaryTypes.String, + Resolver: schema.ParentColumnResolver("id"), + PrimaryKey: true, }, }, } diff --git a/resources/lb/lb_frontend_acls.go b/resources/services/lb/lb_frontend_acls.go similarity index 80% rename from resources/lb/lb_frontend_acls.go rename to resources/services/lb/lb_frontend_acls.go index 33e224b..9670ef4 100644 --- a/resources/lb/lb_frontend_acls.go +++ b/resources/services/lb/lb_frontend_acls.go @@ -4,8 +4,9 @@ import ( "context" "fmt" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/apache/arrow/go/v14/arrow" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/lb/v1" "github.com/scaleway/scaleway-sdk-go/scw" @@ -18,12 +19,10 @@ func lbFrontendACLs() *schema.Table { Transform: transformers.TransformWithStruct(&lb.ACL{}, transformers.WithPrimaryKeys("ID")), Columns: schema.ColumnList{ { - Name: "frontend_id", - Type: schema.TypeString, - Resolver: schema.ParentColumnResolver("id"), - CreationOptions: schema.ColumnCreationOptions{ - PrimaryKey: true, - }, + Name: "frontend_id", + Type: arrow.BinaryTypes.String, + Resolver: schema.ParentColumnResolver("id"), + PrimaryKey: true, }, }, } diff --git a/resources/lb/lb_frontend_routes.go b/resources/services/lb/lb_frontend_routes.go similarity index 92% rename from resources/lb/lb_frontend_routes.go rename to resources/services/lb/lb_frontend_routes.go index 6b1ab84..f99cdde 100644 --- a/resources/lb/lb_frontend_routes.go +++ b/resources/services/lb/lb_frontend_routes.go @@ -4,8 +4,8 @@ import ( "context" "fmt" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/lb/v1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/lb/lb_frontends.go b/resources/services/lb/lb_frontends.go similarity index 81% rename from resources/lb/lb_frontends.go rename to resources/services/lb/lb_frontends.go index d18a792..24cd31d 100644 --- a/resources/lb/lb_frontends.go +++ b/resources/services/lb/lb_frontends.go @@ -4,8 +4,9 @@ import ( "context" "fmt" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/apache/arrow/go/v14/arrow" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/lb/v1" "github.com/scaleway/scaleway-sdk-go/scw" @@ -18,12 +19,10 @@ func lbFrontends() *schema.Table { Transform: transformers.TransformWithStruct(&lb.Frontend{}, transformers.WithPrimaryKeys("ID")), Columns: schema.ColumnList{ { - Name: "lb_id", - Type: schema.TypeString, - Resolver: schema.ParentColumnResolver("id"), - CreationOptions: schema.ColumnCreationOptions{ - PrimaryKey: true, - }, + Name: "lb_id", + Type: arrow.BinaryTypes.String, + Resolver: schema.ParentColumnResolver("id"), + PrimaryKey: true, }, }, Relations: []*schema.Table{ diff --git a/resources/lb/lb_private_networks.go b/resources/services/lb/lb_private_networks.go similarity index 81% rename from resources/lb/lb_private_networks.go rename to resources/services/lb/lb_private_networks.go index cb258d9..3590f05 100644 --- a/resources/lb/lb_private_networks.go +++ b/resources/services/lb/lb_private_networks.go @@ -4,8 +4,9 @@ import ( "context" "fmt" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/apache/arrow/go/v14/arrow" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/lb/v1" "github.com/scaleway/scaleway-sdk-go/scw" @@ -18,12 +19,10 @@ func lbPrivateNetworks() *schema.Table { Transform: transformers.TransformWithStruct(&lb.PrivateNetwork{}, transformers.WithPrimaryKeys("PrivateNetworkID")), Columns: schema.ColumnList{ { - Name: "lb_id", - Type: schema.TypeString, - Resolver: schema.ParentColumnResolver("id"), - CreationOptions: schema.ColumnCreationOptions{ - PrimaryKey: true, - }, + Name: "lb_id", + Type: arrow.BinaryTypes.String, + Resolver: schema.ParentColumnResolver("id"), + PrimaryKey: true, }, }, } diff --git a/resources/lb/lbs.go b/resources/services/lb/lbs.go similarity index 91% rename from resources/lb/lbs.go rename to resources/services/lb/lbs.go index 62e6f38..d57143b 100644 --- a/resources/lb/lbs.go +++ b/resources/services/lb/lbs.go @@ -3,8 +3,8 @@ package lb import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/lb/v1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/lb/lbtypes.go b/resources/services/lb/lbtypes.go similarity index 90% rename from resources/lb/lbtypes.go rename to resources/services/lb/lbtypes.go index 767829c..71223ac 100644 --- a/resources/lb/lbtypes.go +++ b/resources/services/lb/lbtypes.go @@ -3,8 +3,8 @@ package lb import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/lb/v1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/lb/subscribers.go b/resources/services/lb/subscribers.go similarity index 91% rename from resources/lb/subscribers.go rename to resources/services/lb/subscribers.go index 29723b7..ea3e9df 100644 --- a/resources/lb/subscribers.go +++ b/resources/services/lb/subscribers.go @@ -3,8 +3,8 @@ package lb import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/lb/v1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/marketplace/categories.go b/resources/services/marketplace/categories.go similarity index 90% rename from resources/marketplace/categories.go rename to resources/services/marketplace/categories.go index e02ba0f..fa5ff06 100644 --- a/resources/marketplace/categories.go +++ b/resources/services/marketplace/categories.go @@ -3,8 +3,8 @@ package marketplace import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/marketplace/v2" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/marketplace/image_versions.go b/resources/services/marketplace/image_versions.go similarity index 86% rename from resources/marketplace/image_versions.go rename to resources/services/marketplace/image_versions.go index 0e855ae..69d75a5 100644 --- a/resources/marketplace/image_versions.go +++ b/resources/services/marketplace/image_versions.go @@ -3,8 +3,9 @@ package marketplace import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/apache/arrow/go/v14/arrow" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/marketplace/v2" "github.com/scaleway/scaleway-sdk-go/scw" @@ -18,7 +19,7 @@ func imageVersions() *schema.Table { Columns: schema.ColumnList{ { Name: "image_id", - Type: schema.TypeString, + Type: arrow.BinaryTypes.String, Resolver: schema.ParentColumnResolver("id"), }, }, diff --git a/resources/marketplace/images.go b/resources/services/marketplace/images.go similarity index 91% rename from resources/marketplace/images.go rename to resources/services/marketplace/images.go index 34a93cc..f19a0ec 100644 --- a/resources/marketplace/images.go +++ b/resources/services/marketplace/images.go @@ -3,8 +3,8 @@ package marketplace import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/marketplace/v2" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/mnq/namespace_credentials.go b/resources/services/mnq/namespace_credentials.go similarity index 91% rename from resources/mnq/namespace_credentials.go rename to resources/services/mnq/namespace_credentials.go index 7d58102..2d037ae 100644 --- a/resources/mnq/namespace_credentials.go +++ b/resources/services/mnq/namespace_credentials.go @@ -3,8 +3,8 @@ package mnq import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" mnq "github.com/scaleway/scaleway-sdk-go/api/mnq/v1alpha1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/mnq/namespaces.go b/resources/services/mnq/namespaces.go similarity index 91% rename from resources/mnq/namespaces.go rename to resources/services/mnq/namespaces.go index 90f9252..67182b3 100644 --- a/resources/mnq/namespaces.go +++ b/resources/services/mnq/namespaces.go @@ -3,8 +3,8 @@ package mnq import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" mnq "github.com/scaleway/scaleway-sdk-go/api/mnq/v1alpha1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/rdb/database_backups.go b/resources/services/rdb/database_backups.go similarity index 91% rename from resources/rdb/database_backups.go rename to resources/services/rdb/database_backups.go index e79e2bd..145e4e8 100644 --- a/resources/rdb/database_backups.go +++ b/resources/services/rdb/database_backups.go @@ -3,8 +3,8 @@ package rdb import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/rdb/v1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/rdb/database_engines.go b/resources/services/rdb/database_engines.go similarity index 91% rename from resources/rdb/database_engines.go rename to resources/services/rdb/database_engines.go index 2d4182f..1b487ff 100644 --- a/resources/rdb/database_engines.go +++ b/resources/services/rdb/database_engines.go @@ -3,8 +3,8 @@ package rdb import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/rdb/v1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/rdb/instance_acl_rules.go b/resources/services/rdb/instance_acl_rules.go similarity index 87% rename from resources/rdb/instance_acl_rules.go rename to resources/services/rdb/instance_acl_rules.go index 965ccbf..bb507c3 100644 --- a/resources/rdb/instance_acl_rules.go +++ b/resources/services/rdb/instance_acl_rules.go @@ -3,8 +3,9 @@ package rdb import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/apache/arrow/go/v14/arrow" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/rdb/v1" "github.com/scaleway/scaleway-sdk-go/scw" @@ -18,7 +19,7 @@ func instanceACLRules() *schema.Table { Columns: schema.ColumnList{ { Name: "instance_id", - Type: schema.TypeString, + Type: arrow.BinaryTypes.String, Resolver: schema.ParentColumnResolver("id"), }, }, diff --git a/resources/rdb/instance_databases.go b/resources/services/rdb/instance_databases.go similarity index 86% rename from resources/rdb/instance_databases.go rename to resources/services/rdb/instance_databases.go index 47dd986..e0264aa 100644 --- a/resources/rdb/instance_databases.go +++ b/resources/services/rdb/instance_databases.go @@ -3,8 +3,9 @@ package rdb import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/apache/arrow/go/v14/arrow" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/rdb/v1" "github.com/scaleway/scaleway-sdk-go/scw" @@ -18,7 +19,7 @@ func instanceDatabases() *schema.Table { Columns: schema.ColumnList{ { Name: "instance_id", - Type: schema.TypeString, + Type: arrow.BinaryTypes.String, Resolver: schema.ParentColumnResolver("id"), }, }, diff --git a/resources/rdb/instance_privileges.go b/resources/services/rdb/instance_privileges.go similarity index 87% rename from resources/rdb/instance_privileges.go rename to resources/services/rdb/instance_privileges.go index c7c6847..e05e414 100644 --- a/resources/rdb/instance_privileges.go +++ b/resources/services/rdb/instance_privileges.go @@ -3,8 +3,9 @@ package rdb import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/apache/arrow/go/v14/arrow" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/rdb/v1" "github.com/scaleway/scaleway-sdk-go/scw" @@ -18,7 +19,7 @@ func instancePrivileges() *schema.Table { Columns: schema.ColumnList{ { Name: "instance_id", - Type: schema.TypeString, + Type: arrow.BinaryTypes.String, Resolver: schema.ParentColumnResolver("id"), }, }, diff --git a/resources/rdb/instance_users.go b/resources/services/rdb/instance_users.go similarity index 86% rename from resources/rdb/instance_users.go rename to resources/services/rdb/instance_users.go index e99b9ed..b5f55a4 100644 --- a/resources/rdb/instance_users.go +++ b/resources/services/rdb/instance_users.go @@ -3,8 +3,9 @@ package rdb import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/apache/arrow/go/v14/arrow" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/rdb/v1" "github.com/scaleway/scaleway-sdk-go/scw" @@ -18,7 +19,7 @@ func instanceUsers() *schema.Table { Columns: schema.ColumnList{ { Name: "instance_id", - Type: schema.TypeString, + Type: arrow.BinaryTypes.String, Resolver: schema.ParentColumnResolver("id"), }, }, diff --git a/resources/rdb/instances.go b/resources/services/rdb/instances.go similarity index 92% rename from resources/rdb/instances.go rename to resources/services/rdb/instances.go index eef7e52..f0be01f 100644 --- a/resources/rdb/instances.go +++ b/resources/services/rdb/instances.go @@ -3,8 +3,8 @@ package rdb import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/rdb/v1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/rdb/node_types.go b/resources/services/rdb/node_types.go similarity index 90% rename from resources/rdb/node_types.go rename to resources/services/rdb/node_types.go index 574dc88..e043a14 100644 --- a/resources/rdb/node_types.go +++ b/resources/services/rdb/node_types.go @@ -3,8 +3,8 @@ package rdb import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/rdb/v1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/rdb/snapshots.go b/resources/services/rdb/snapshots.go similarity index 91% rename from resources/rdb/snapshots.go rename to resources/services/rdb/snapshots.go index 7454464..db83e85 100644 --- a/resources/rdb/snapshots.go +++ b/resources/services/rdb/snapshots.go @@ -3,8 +3,8 @@ package rdb import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/rdb/v1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/redis/cluster_versions.go b/resources/services/redis/cluster_versions.go similarity index 91% rename from resources/redis/cluster_versions.go rename to resources/services/redis/cluster_versions.go index def8089..d4a55d1 100644 --- a/resources/redis/cluster_versions.go +++ b/resources/services/redis/cluster_versions.go @@ -3,8 +3,8 @@ package redis import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/redis/v1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/redis/clusters.go b/resources/services/redis/clusters.go similarity index 91% rename from resources/redis/clusters.go rename to resources/services/redis/clusters.go index cdb3180..90e93e4 100644 --- a/resources/redis/clusters.go +++ b/resources/services/redis/clusters.go @@ -3,8 +3,8 @@ package redis import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/redis/v1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/redis/node_types.go b/resources/services/redis/node_types.go similarity index 91% rename from resources/redis/node_types.go rename to resources/services/redis/node_types.go index e3e15ba..b7db99c 100644 --- a/resources/redis/node_types.go +++ b/resources/services/redis/node_types.go @@ -3,8 +3,8 @@ package redis import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/redis/v1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/registry/image_tags.go b/resources/services/registry/image_tags.go similarity index 92% rename from resources/registry/image_tags.go rename to resources/services/registry/image_tags.go index f664924..7120f22 100644 --- a/resources/registry/image_tags.go +++ b/resources/services/registry/image_tags.go @@ -3,8 +3,8 @@ package registry import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/registry/v1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/registry/images.go b/resources/services/registry/images.go similarity index 91% rename from resources/registry/images.go rename to resources/services/registry/images.go index 335976e..5c84410 100644 --- a/resources/registry/images.go +++ b/resources/services/registry/images.go @@ -3,8 +3,8 @@ package registry import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/registry/v1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/registry/namespaces.go b/resources/services/registry/namespaces.go similarity index 91% rename from resources/registry/namespaces.go rename to resources/services/registry/namespaces.go index aa8e6b5..69003c5 100644 --- a/resources/registry/namespaces.go +++ b/resources/services/registry/namespaces.go @@ -3,8 +3,8 @@ package registry import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/registry/v1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/secrets/secret_versions.go b/resources/services/secrets/secret_versions.go similarity index 91% rename from resources/secrets/secret_versions.go rename to resources/services/secrets/secret_versions.go index a065b28..15c8a0c 100644 --- a/resources/secrets/secret_versions.go +++ b/resources/services/secrets/secret_versions.go @@ -3,8 +3,8 @@ package secrets import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/secret/v1alpha1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/secrets/secrets.go b/resources/services/secrets/secrets.go similarity index 91% rename from resources/secrets/secrets.go rename to resources/services/secrets/secrets.go index 956ae5c..7f029db 100644 --- a/resources/secrets/secrets.go +++ b/resources/services/secrets/secrets.go @@ -3,8 +3,8 @@ package secrets import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/secret/v1alpha1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/tem/domain_emails.go b/resources/services/tem/domain_emails.go similarity index 85% rename from resources/tem/domain_emails.go rename to resources/services/tem/domain_emails.go index ee078d1..11d3af1 100644 --- a/resources/tem/domain_emails.go +++ b/resources/services/tem/domain_emails.go @@ -5,8 +5,8 @@ import ( "fmt" "time" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" tem "github.com/scaleway/scaleway-sdk-go/api/tem/v1alpha1" "github.com/scaleway/scaleway-sdk-go/scw" @@ -28,11 +28,10 @@ func fetchEmails(ctx context.Context, meta schema.ClientMeta, parent *schema.Res var startFrom *time.Time - const key = "tem_emails" - stateID := cl.ID() + "_" + p.ID + stateID := "tem_emails:" + cl.ID() + "_" + p.ID if cl.Backend != nil { - value, err := cl.Backend.Get(ctx, key, stateID) + value, err := cl.Backend.GetKey(ctx, stateID) if err != nil { return fmt.Errorf("failed to retrieve state from backend: %w", err) } @@ -75,7 +74,7 @@ func fetchEmails(ctx context.Context, meta schema.ClientMeta, parent *schema.Res } if cl.Backend != nil && startFrom != nil { - return cl.Backend.Set(ctx, key, stateID, startFrom.Format(time.RFC3339)) + return cl.Backend.SetKey(ctx, stateID, startFrom.Format(time.RFC3339)) } return nil } diff --git a/resources/tem/domains.go b/resources/services/tem/domains.go similarity index 91% rename from resources/tem/domains.go rename to resources/services/tem/domains.go index 51004e5..ea9e4da 100644 --- a/resources/tem/domains.go +++ b/resources/services/tem/domains.go @@ -3,8 +3,8 @@ package tem import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" tem "github.com/scaleway/scaleway-sdk-go/api/tem/v1alpha1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/test/humans.go b/resources/services/test/humans.go similarity index 90% rename from resources/test/humans.go rename to resources/services/test/humans.go index 0975e6f..def1d49 100644 --- a/resources/test/humans.go +++ b/resources/services/test/humans.go @@ -3,8 +3,8 @@ package test import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/test/v1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/vpc/vpcs.go b/resources/services/vpc/vpcs.go similarity index 91% rename from resources/vpc/vpcs.go rename to resources/services/vpc/vpcs.go index 148e6cd..ba791ec 100644 --- a/resources/vpc/vpcs.go +++ b/resources/services/vpc/vpcs.go @@ -3,8 +3,8 @@ package vpc import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/vpc/v1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/vpcgw/dhcp_entries.go b/resources/services/vpcgw/dhcp_entries.go similarity index 91% rename from resources/vpcgw/dhcp_entries.go rename to resources/services/vpcgw/dhcp_entries.go index 6c44d64..ea72e5b 100644 --- a/resources/vpcgw/dhcp_entries.go +++ b/resources/services/vpcgw/dhcp_entries.go @@ -3,8 +3,8 @@ package vpcgw import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/vpcgw/v1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/vpcgw/dhcps.go b/resources/services/vpcgw/dhcps.go similarity index 91% rename from resources/vpcgw/dhcps.go rename to resources/services/vpcgw/dhcps.go index ea1b78f..22747d0 100644 --- a/resources/vpcgw/dhcps.go +++ b/resources/services/vpcgw/dhcps.go @@ -3,8 +3,8 @@ package vpcgw import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/vpcgw/v1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/vpcgw/gateway_networks.go b/resources/services/vpcgw/gateway_networks.go similarity index 91% rename from resources/vpcgw/gateway_networks.go rename to resources/services/vpcgw/gateway_networks.go index 1be0e31..6608f8d 100644 --- a/resources/vpcgw/gateway_networks.go +++ b/resources/services/vpcgw/gateway_networks.go @@ -3,8 +3,8 @@ package vpcgw import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/vpcgw/v1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/vpcgw/gateways.go b/resources/services/vpcgw/gateways.go similarity index 91% rename from resources/vpcgw/gateways.go rename to resources/services/vpcgw/gateways.go index 08eb6a3..0c4503a 100644 --- a/resources/vpcgw/gateways.go +++ b/resources/services/vpcgw/gateways.go @@ -3,8 +3,8 @@ package vpcgw import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/vpcgw/v1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/resources/vpcgw/ips.go b/resources/services/vpcgw/ips.go similarity index 91% rename from resources/vpcgw/ips.go rename to resources/services/vpcgw/ips.go index c0d2b64..726568b 100644 --- a/resources/vpcgw/ips.go +++ b/resources/services/vpcgw/ips.go @@ -3,8 +3,8 @@ package vpcgw import ( "context" - "github.com/cloudquery/plugin-sdk/schema" - "github.com/cloudquery/plugin-sdk/transformers" + "github.com/cloudquery/plugin-sdk/v4/schema" + "github.com/cloudquery/plugin-sdk/v4/transformers" "github.com/scaleway/cq-source-scaleway/client" "github.com/scaleway/scaleway-sdk-go/api/vpcgw/v1" "github.com/scaleway/scaleway-sdk-go/scw" diff --git a/test/config.yml b/test/config.yml new file mode 100644 index 0000000..6b29a36 --- /dev/null +++ b/test/config.yml @@ -0,0 +1,15 @@ +kind: source +spec: + name: scaleway + version: v1.0.0 + destinations: [test] + path: ./cq-source-scaleway + registry: local + tables: ["*"] + spec: +--- +kind: destination +spec: + name: test + path: cloudquery/test + version: "v2.2.3" # latest version of test plugin