Skip to content

Commit 279b79b

Browse files
committed
Bump turbot/steampipe-plugin-sdk from v5 to v6
1 parent da92c3e commit 279b79b

91 files changed

Lines changed: 224 additions & 224 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

github/branch_utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77

88
"github.com/shurcooL/githubv4"
99
"github.com/turbot/steampipe-plugin-github/github/models"
10-
"github.com/turbot/steampipe-plugin-sdk/v5/plugin"
10+
"github.com/turbot/steampipe-plugin-sdk/v6/plugin"
1111
)
1212

1313
func extractBranchFromHydrateItem(h *plugin.HydrateData) (models.Branch, error) {

github/commit_utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77

88
"github.com/shurcooL/githubv4"
99
"github.com/turbot/steampipe-plugin-github/github/models"
10-
"github.com/turbot/steampipe-plugin-sdk/v5/plugin"
10+
"github.com/turbot/steampipe-plugin-sdk/v6/plugin"
1111
)
1212

1313
func extractCommitFromHydrateItem(h *plugin.HydrateData) (models.Commit, error) {

github/common_column.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import (
44
"context"
55

66
"github.com/shurcooL/githubv4"
7-
"github.com/turbot/steampipe-plugin-sdk/v5/grpc/proto"
8-
"github.com/turbot/steampipe-plugin-sdk/v5/memoize"
9-
"github.com/turbot/steampipe-plugin-sdk/v5/plugin"
10-
"github.com/turbot/steampipe-plugin-sdk/v5/plugin/transform"
7+
"github.com/turbot/steampipe-plugin-sdk/v6/grpc/proto"
8+
"github.com/turbot/steampipe-plugin-sdk/v6/memoize"
9+
"github.com/turbot/steampipe-plugin-sdk/v6/plugin"
10+
"github.com/turbot/steampipe-plugin-sdk/v6/plugin/transform"
1111
)
1212

1313
func commonColumns(c []*plugin.Column) []*plugin.Column {

github/community_profile_utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77

88
"github.com/shurcooL/githubv4"
99
"github.com/turbot/steampipe-plugin-github/github/models"
10-
"github.com/turbot/steampipe-plugin-sdk/v5/plugin"
10+
"github.com/turbot/steampipe-plugin-sdk/v6/plugin"
1111
)
1212

1313
func extractCommunityProfileFromHydrateItem(h *plugin.HydrateData) (models.CommunityProfile, error) {

github/connection_config.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package github
22

33
import (
4-
"github.com/turbot/steampipe-plugin-sdk/v5/plugin"
4+
"github.com/turbot/steampipe-plugin-sdk/v6/plugin"
55
)
66

77
type githubConfig struct {
@@ -18,9 +18,9 @@ func ConfigInstance() interface{} {
1818

1919
// GetConfig :: retrieve and cast connection config from query data
2020
func GetConfig(connection *plugin.Connection) githubConfig {
21-
if connection == nil || connection.Config == nil {
21+
if connection == nil || connection.GetConfig() == nil {
2222
return githubConfig{}
2323
}
24-
config, _ := connection.Config.(githubConfig)
24+
config, _ := connection.GetConfig().(githubConfig)
2525
return config
2626
}

github/errors.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"time"
77

88
"github.com/google/go-github/v55/github"
9-
"github.com/turbot/steampipe-plugin-sdk/v5/plugin"
9+
"github.com/turbot/steampipe-plugin-sdk/v6/plugin"
1010
)
1111

1212
func shouldRetryError(ctx context.Context, d *plugin.QueryData, h *plugin.HydrateData, err error) bool {

github/issue_pr_utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77

88
"github.com/shurcooL/githubv4"
99
"github.com/turbot/steampipe-plugin-github/github/models"
10-
"github.com/turbot/steampipe-plugin-sdk/v5/plugin"
10+
"github.com/turbot/steampipe-plugin-sdk/v6/plugin"
1111
)
1212

1313
func extractPRReviewFromHydrateItem(h *plugin.HydrateData) (models.PullRequestReview, error) {

github/license_utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77

88
"github.com/shurcooL/githubv4"
99
"github.com/turbot/steampipe-plugin-github/github/models"
10-
"github.com/turbot/steampipe-plugin-sdk/v5/plugin"
10+
"github.com/turbot/steampipe-plugin-sdk/v6/plugin"
1111
)
1212

1313
func extractLicenseFromHydrateItem(h *plugin.HydrateData) (models.License, error) {

github/organization_utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77

88
"github.com/shurcooL/githubv4"
99
"github.com/turbot/steampipe-plugin-github/github/models"
10-
"github.com/turbot/steampipe-plugin-sdk/v5/plugin"
10+
"github.com/turbot/steampipe-plugin-sdk/v6/plugin"
1111
)
1212

1313
func extractOrganizationExternalIdentityFromHydrateItem(h *plugin.HydrateData) (models.OrganizationExternalIdentity, error) {

github/plugin.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package github
33
import (
44
"context"
55

6-
"github.com/turbot/steampipe-plugin-sdk/v5/plugin"
7-
"github.com/turbot/steampipe-plugin-sdk/v5/plugin/transform"
6+
"github.com/turbot/steampipe-plugin-sdk/v6/plugin"
7+
"github.com/turbot/steampipe-plugin-sdk/v6/plugin/transform"
88
)
99

1010
// Plugin returns this plugin

0 commit comments

Comments
 (0)