Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions plugins/source/digitalocean/docs/tables/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@
- [digitalocean_database_backups](digitalocean_database_backups.md)
- [digitalocean_database_firewall_rules](digitalocean_database_firewall_rules.md)
- [digitalocean_database_replicas](digitalocean_database_replicas.md)
- [digitalocean_domain_records](digitalocean_domain_records.md)
- [digitalocean_domains](digitalocean_domains.md)
- [digitalocean_domain_records](digitalocean_domain_records.md)
- [digitalocean_droplet_neighbors](digitalocean_droplet_neighbors.md)
- [digitalocean_droplets](digitalocean_droplets.md)
- [digitalocean_droplet_neighbors](digitalocean_droplet_neighbors.md)
- [digitalocean_firewalls](digitalocean_firewalls.md)
Expand Down
2 changes: 0 additions & 2 deletions plugins/source/digitalocean/resources/plugin/tables.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ func Tables() []*schema.Table {
certificates.Certificates(),
databases.Databases(),
domains.Domains(),
domains.Records(),
droplets.Droplets(),
droplets.Neighbors(),
firewalls.Firewalls(),
floating_ips.FloatingIps(),
images.Images(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/digitalocean/godo"
)

func Backups() *schema.Table {
func backups() *schema.Table {
return &schema.Table{
Name: "digitalocean_database_backups",
Resolver: fetchDatabasesBackups,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ func Databases() *schema.Table {
},

Relations: []*schema.Table{
FirewallRules(),
Replicas(),
Backups(),
firewallRules(),
replicas(),
backups(),
},
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/digitalocean/godo"
)

func FirewallRules() *schema.Table {
func firewallRules() *schema.Table {
return &schema.Table{
Name: "digitalocean_database_firewall_rules",
Resolver: fetchDatabasesFirewallRules,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/digitalocean/godo"
)

func Replicas() *schema.Table {
func replicas() *schema.Table {
return &schema.Table{
Name: "digitalocean_database_replicas",
Resolver: fetchDatabasesReplicas,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func Domains() *schema.Table {
},

Relations: []*schema.Table{
Records(),
records(),
},
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/digitalocean/godo"
)

func Records() *schema.Table {
func records() *schema.Table {
return &schema.Table{
Name: "digitalocean_domain_records",
Resolver: fetchDomainsRecords,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func Droplets() *schema.Table {
},

Relations: []*schema.Table{
Neighbors(),
neighbors(),
},
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"github.com/cloudquery/plugin-sdk/transformers"
)

func Neighbors() *schema.Table {
func neighbors() *schema.Table {
return &schema.Table{
Name: "digitalocean_droplet_neighbors",
Resolver: fetchDropletsNeighbors,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func Projects() *schema.Table {
},

Relations: []*schema.Table{
Resources(),
resources(),
},
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/digitalocean/godo"
)

func Resources() *schema.Table {
func resources() *schema.Table {
return &schema.Table{
Name: "digitalocean_project_resources",
Resolver: fetchProjectsResources,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func Registries() *schema.Table {
},

Relations: []*schema.Table{
Repositories(),
repositories(),
},
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/digitalocean/godo"
)

func Repositories() *schema.Table {
func repositories() *schema.Table {
return &schema.Table{
Name: "digitalocean_registry_repositories",
Resolver: fetchRegistriesRepositories,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/cloudquery/plugin-sdk/transformers"
)

func Cors() *schema.Table {
func cors() *schema.Table {
return &schema.Table{
Name: "digitalocean_space_cors",
Resolver: fetchSpacesCors,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func Spaces() *schema.Table {
},

Relations: []*schema.Table{
Cors(),
cors(),
},
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/digitalocean/godo"
)

func Members() *schema.Table {
func members() *schema.Table {
return &schema.Table{
Name: "digitalocean_vpc_members",
Resolver: fetchVpcsMembers,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func Vpcs() *schema.Table {
},

Relations: []*schema.Table{
Members(),
members(),
},
}
}
2 changes: 0 additions & 2 deletions website/pages/docs/plugins/sources/digitalocean/tables.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@
- [digitalocean_database_backups](https://github.com/cloudquery/cloudquery/blob/main/plugins/source/digitalocean/docs/tables/digitalocean_database_backups.md)
- [digitalocean_database_firewall_rules](https://github.com/cloudquery/cloudquery/blob/main/plugins/source/digitalocean/docs/tables/digitalocean_database_firewall_rules.md)
- [digitalocean_database_replicas](https://github.com/cloudquery/cloudquery/blob/main/plugins/source/digitalocean/docs/tables/digitalocean_database_replicas.md)
- [digitalocean_domain_records](https://github.com/cloudquery/cloudquery/blob/main/plugins/source/digitalocean/docs/tables/digitalocean_domain_records.md)
- [digitalocean_domains](https://github.com/cloudquery/cloudquery/blob/main/plugins/source/digitalocean/docs/tables/digitalocean_domains.md)
- [digitalocean_domain_records](https://github.com/cloudquery/cloudquery/blob/main/plugins/source/digitalocean/docs/tables/digitalocean_domain_records.md)
- [digitalocean_droplet_neighbors](https://github.com/cloudquery/cloudquery/blob/main/plugins/source/digitalocean/docs/tables/digitalocean_droplet_neighbors.md)
- [digitalocean_droplets](https://github.com/cloudquery/cloudquery/blob/main/plugins/source/digitalocean/docs/tables/digitalocean_droplets.md)
- [digitalocean_droplet_neighbors](https://github.com/cloudquery/cloudquery/blob/main/plugins/source/digitalocean/docs/tables/digitalocean_droplet_neighbors.md)
- [digitalocean_firewalls](https://github.com/cloudquery/cloudquery/blob/main/plugins/source/digitalocean/docs/tables/digitalocean_firewalls.md)
Expand Down