Skip to content

Commit

Permalink
feat: added hydrate functions
Browse files Browse the repository at this point in the history
  • Loading branch information
ArshiaBP committed Dec 6, 2024
1 parent d1ad4c2 commit 415c8fa
Show file tree
Hide file tree
Showing 7 changed files with 3,181 additions and 12 deletions.
3,163 changes: 3,163 additions & 0 deletions output.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package github

import (
opengovernance "github.com/opengovern/og-describer-github/pkg/sdk/es"
"github.com/turbot/steampipe-plugin-sdk/v5/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v5/plugin"
)
Expand All @@ -9,10 +10,10 @@ func tableGitHubContainerPackage() *plugin.Table {
return &plugin.Table{
Name: "github_container_package",
List: &plugin.ListConfig{
Hydrate: nil,
Hydrate: opengovernance.ListPackage,
},
Get: &plugin.GetConfig{
Hydrate: nil,
Hydrate: opengovernance.GetPackage,
},
Columns: []*plugin.Column{
// Basic details columns
Expand Down
5 changes: 3 additions & 2 deletions steampipe-plugin-github/github/table_github_maven_package.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package github

import (
opengovernance "github.com/opengovern/og-describer-github/pkg/sdk/es"
"github.com/turbot/steampipe-plugin-sdk/v5/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v5/plugin"
)
Expand All @@ -9,10 +10,10 @@ func tableGitHubMavenPackage() *plugin.Table {
return &plugin.Table{
Name: "github_maven_package",
List: &plugin.ListConfig{
Hydrate: nil,
Hydrate: opengovernance.ListPackage,
},
Get: &plugin.GetConfig{
Hydrate: nil,
Hydrate: opengovernance.GetPackage,
},
Columns: []*plugin.Column{
// Basic details columns
Expand Down
5 changes: 3 additions & 2 deletions steampipe-plugin-github/github/table_github_npm_package.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package github

import (
opengovernance "github.com/opengovern/og-describer-github/pkg/sdk/es"
"github.com/turbot/steampipe-plugin-sdk/v5/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v5/plugin"
)
Expand All @@ -9,10 +10,10 @@ func tableGitHubNPMPackage() *plugin.Table {
return &plugin.Table{
Name: "github_npm_package",
List: &plugin.ListConfig{
Hydrate: nil,
Hydrate: opengovernance.ListPackage,
},
Get: &plugin.GetConfig{
Hydrate: nil,
Hydrate: opengovernance.GetPackage,
},
Columns: []*plugin.Column{
// Basic details columns
Expand Down
5 changes: 3 additions & 2 deletions steampipe-plugin-github/github/table_github_nuget_package.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package github

import (
opengovernance "github.com/opengovern/og-describer-github/pkg/sdk/es"
"github.com/turbot/steampipe-plugin-sdk/v5/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v5/plugin"
)
Expand All @@ -9,10 +10,10 @@ func tableGitHubNugetPackage() *plugin.Table {
return &plugin.Table{
Name: "github_nuget_package",
List: &plugin.ListConfig{
Hydrate: nil,
Hydrate: opengovernance.ListPackage,
},
Get: &plugin.GetConfig{
Hydrate: nil,
Hydrate: opengovernance.GetPackage,
},
Columns: []*plugin.Column{
// Basic details columns
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package github

import (
opengovernance "github.com/opengovern/og-describer-github/pkg/sdk/es"
"github.com/turbot/steampipe-plugin-sdk/v5/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v5/plugin"
)
Expand All @@ -10,10 +11,10 @@ func tableGitHubPackageVersion() *plugin.Table {
Name: "github_package_version",
Description: "Details of package versions, including version, size, digest, and download count.",
List: &plugin.ListConfig{
Hydrate: nil,
Hydrate: opengovernance.ListPackageVersion,
},
Get: &plugin.GetConfig{
Hydrate: nil,
Hydrate: opengovernance.GetPackageVersion,
},
Columns: []*plugin.Column{
// Basic details columns
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package github

import (
opengovernance "github.com/opengovern/og-describer-github/pkg/sdk/es"
"github.com/turbot/steampipe-plugin-sdk/v5/grpc/proto"
"github.com/turbot/steampipe-plugin-sdk/v5/plugin"
)
Expand All @@ -9,10 +10,10 @@ func tableGitHubRubyGemsPackage() *plugin.Table {
return &plugin.Table{
Name: "github_ruby_gems_package",
List: &plugin.ListConfig{
Hydrate: nil,
Hydrate: opengovernance.ListPackage,
},
Get: &plugin.GetConfig{
Hydrate: nil,
Hydrate: opengovernance.GetPackage,
},
Columns: []*plugin.Column{
// Basic details columns
Expand Down

0 comments on commit 415c8fa

Please sign in to comment.