Skip to content

Commit

Permalink
fix: fix es client file
Browse files Browse the repository at this point in the history
  • Loading branch information
artaasadi committed Nov 20, 2024
1 parent 026ec5d commit f38074f
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 17 deletions.
10 changes: 5 additions & 5 deletions command/cmd/describer.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import (
"encoding/json"
"fmt"
"github.com/google/uuid"
"github.com/opengovern/og-describer-template/pkg/describer"
model "github.com/opengovern/og-describer-template/pkg/sdk/models"
"github.com/opengovern/og-describer-template/provider"
"github.com/opengovern/og-describer-template/provider/configs"
"github.com/opengovern/og-describer-template/steampipe"
"github.com/opengovern/og-describer-github/pkg/describer"
model "github.com/opengovern/og-describer-github/pkg/sdk/models"
"github.com/opengovern/og-describer-github/provider"
"github.com/opengovern/og-describer-github/provider/configs"
"github.com/opengovern/og-describer-github/steampipe"
"github.com/opengovern/og-util/pkg/describe"
"github.com/opengovern/og-util/pkg/es"
"github.com/spf13/cobra"
Expand Down
10 changes: 5 additions & 5 deletions command/cmd/getDescriber.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import (
"encoding/json"
"fmt"
"github.com/google/uuid"
"github.com/opengovern/og-describer-template/pkg/describer"
model "github.com/opengovern/og-describer-template/pkg/sdk/models"
"github.com/opengovern/og-describer-template/provider"
"github.com/opengovern/og-describer-template/provider/configs"
"github.com/opengovern/og-describer-template/steampipe"
"github.com/opengovern/og-describer-github/pkg/describer"
model "github.com/opengovern/og-describer-github/pkg/sdk/models"
"github.com/opengovern/og-describer-github/provider"
"github.com/opengovern/og-describer-github/provider/configs"
"github.com/opengovern/og-describer-github/steampipe"
"github.com/opengovern/og-util/pkg/describe"
"github.com/opengovern/og-util/pkg/es"
"github.com/spf13/cobra"
Expand Down
2 changes: 1 addition & 1 deletion command/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Copyright © 2023 NAME HERE <EMAIL ADDRESS>
*/
package main

import "github.com/opengovern/og-describer-template/command/cmd"
import "github.com/opengovern/og-describer-github/command/cmd"

func main() {
cmd.Execute()
Expand Down
3 changes: 0 additions & 3 deletions pkg/sdk/es/resources_clients.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ package opengovernance

import (
"context"
"encoding/json"
"fmt"
githubDescriber "github.com/opengovern/og-describer-github/provider/describer"
github "github.com/opengovern/og-describer-github/provider/model"
essdk "github.com/opengovern/og-util/pkg/opengovernance-es-sdk"
steampipesdk "github.com/opengovern/og-util/pkg/steampipe"
Expand Down
3 changes: 0 additions & 3 deletions pkg/sdk/runable/steampipe_es_client_generator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -399,12 +399,9 @@ func Get{{ .Name }}(ctx context.Context, d *plugin.QueryData, _ *plugin.HydrateD
fmt.Fprintln(&buf, `
import (
"context"
"encoding/json"
"fmt"
essdk "github.com/opengovern/og-util/pkg/opengovernance-es-sdk"
steampipesdk "github.com/opengovern/og-util/pkg/steampipe"
"github.com/turbot/steampipe-plugin-sdk/v5/plugin"
`+configs.IntegrationTypeLower+`Describer "`+configs.OGPluginRepoURL+`/provider/describer"
`+configs.IntegrationTypeLower+` "`+configs.OGPluginRepoURL+`/provider/model"
"runtime"
)
Expand Down

0 comments on commit f38074f

Please sign in to comment.