Skip to content

Commit

Permalink
feat: changed module name
Browse files Browse the repository at this point in the history
  • Loading branch information
ArshiaBP committed Nov 30, 2024
1 parent 1df67da commit 9d047cc
Show file tree
Hide file tree
Showing 73 changed files with 8,040 additions and 34 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-googleworkspace/pkg/describer"
model "github.com/opengovern/og-describer-googleworkspace/pkg/sdk/models"
"github.com/opengovern/og-describer-googleworkspace/provider"
"github.com/opengovern/og-describer-googleworkspace/provider/configs"
"github.com/opengovern/og-describer-googleworkspace/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-googleworkspace/pkg/describer"
model "github.com/opengovern/og-describer-googleworkspace/pkg/sdk/models"
"github.com/opengovern/og-describer-googleworkspace/provider"
"github.com/opengovern/og-describer-googleworkspace/provider/configs"
"github.com/opengovern/og-describer-googleworkspace/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-googleworkspace/command/cmd"

func main() {
cmd.Execute()
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/opengovern/og-describer-template
module github.com/opengovern/og-describer-googleworkspace

go 1.22.0

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"context"
"fmt"
"github.com/opengovern/og-describer-template/service"
"github.com/opengovern/og-describer-googleworkspace/service"
"os"
"os/signal"
"syscall"
Expand Down
2 changes: 1 addition & 1 deletion pkg/describer/resource_sender.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"encoding/json"
"errors"
"fmt"
"github.com/opengovern/og-describer-template/provider/configs"
"github.com/opengovern/og-describer-googleworkspace/provider/configs"
"github.com/opengovern/og-util/pkg/es"
"github.com/opengovern/og-util/proto/src/golang"
"go.uber.org/zap"
Expand Down
8 changes: 4 additions & 4 deletions pkg/describer/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ package describer
import (
"context"
"fmt"
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/provider/describer"
model "github.com/opengovern/og-describer-googleworkspace/pkg/sdk/models"
"github.com/opengovern/og-describer-googleworkspace/provider"
"github.com/opengovern/og-describer-googleworkspace/provider/configs"
"github.com/opengovern/og-describer-googleworkspace/provider/describer"
"github.com/opengovern/og-util/pkg/describe/enums"
"go.uber.org/zap"
"sort"
Expand Down
8 changes: 4 additions & 4 deletions pkg/describer/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (
"encoding/json"
"fmt"
"github.com/go-errors/errors"
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"
model "github.com/opengovern/og-describer-googleworkspace/pkg/sdk/models"
"github.com/opengovern/og-describer-googleworkspace/provider"
"github.com/opengovern/og-describer-googleworkspace/provider/configs"
"github.com/opengovern/og-describer-googleworkspace/steampipe"
describe2 "github.com/opengovern/og-util/pkg/describe"
"github.com/opengovern/og-util/pkg/es"
"github.com/opengovern/og-util/pkg/vault"
Expand Down
2 changes: 1 addition & 1 deletion pkg/sdk/models/resource_type.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package models

import (
"github.com/opengovern/og-describer-template/provider/configs"
"github.com/opengovern/og-describer-googleworkspace/provider/configs"
"github.com/opengovern/og-util/pkg/describe/enums"
"github.com/opengovern/og-util/pkg/integration"
"golang.org/x/net/context"
Expand Down
4 changes: 2 additions & 2 deletions pkg/sdk/nats.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"encoding/json"
"errors"
"github.com/opengovern/og-describer-template/pkg/describer"
"github.com/opengovern/og-describer-template/provider/configs"
"github.com/opengovern/og-describer-googleworkspace/pkg/describer"
"github.com/opengovern/og-describer-googleworkspace/provider/configs"
"os"
"runtime"
"time"
Expand Down
2 changes: 1 addition & 1 deletion pkg/sdk/runable/resource_type/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"encoding/json"
"flag"
"fmt"
"github.com/opengovern/og-describer-template/provider/configs"
"github.com/opengovern/og-describer-googleworkspace/provider/configs"
"os"
"sort"
"strings"
Expand Down
2 changes: 1 addition & 1 deletion pkg/sdk/runable/steampipe_es_client_generator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"encoding/json"
"flag"
"fmt"
"github.com/opengovern/og-describer-template/provider/configs"
"github.com/opengovern/og-describer-googleworkspace/provider/configs"
"go/ast"
"go/format"
"go/parser"
Expand Down
2 changes: 1 addition & 1 deletion pkg/sdk/runable/steampipe_index_map/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"encoding/json"
"flag"
"fmt"
"github.com/opengovern/og-describer-template/provider/configs"
"github.com/opengovern/og-describer-googleworkspace/provider/configs"
"os"
"strings"
)
Expand Down
4 changes: 2 additions & 2 deletions provider/credentials.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package provider

import (
"encoding/json"
model "github.com/opengovern/og-describer-template/pkg/sdk/models"
"github.com/opengovern/og-describer-template/provider/configs"
model "github.com/opengovern/og-describer-googleworkspace/pkg/sdk/models"
"github.com/opengovern/og-describer-googleworkspace/provider/configs"
"github.com/opengovern/og-util/pkg/describe"
)

Expand Down
4 changes: 2 additions & 2 deletions provider/describer_wrapper.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package provider

import (
model "github.com/opengovern/og-describer-template/pkg/sdk/models"
"github.com/opengovern/og-describer-template/provider/configs"
model "github.com/opengovern/og-describer-googleworkspace/pkg/sdk/models"
"github.com/opengovern/og-describer-googleworkspace/provider/configs"
"github.com/opengovern/og-util/pkg/describe/enums"
"golang.org/x/net/context"
)
Expand Down
2 changes: 1 addition & 1 deletion provider/resource_types.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package provider

import model "github.com/opengovern/og-describer-template/pkg/sdk/models"
import model "github.com/opengovern/og-describer-googleworkspace/pkg/sdk/models"

var ResourceTypes = map[string]model.ResourceType{}
2 changes: 1 addition & 1 deletion service/service.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package service

import (
"github.com/opengovern/og-describer-template/pkg/sdk"
"github.com/opengovern/og-describer-googleworkspace/pkg/sdk"
"github.com/spf13/cobra"
"go.uber.org/zap"
)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**Steampipe version (`steampipe -v`)**
Example: v0.3.0

**Plugin version (`steampipe plugin list`)**
Example: v0.5.0

**To reproduce**
Steps to reproduce the behavior (please include relevant code and/or commands).

**Expected behavior**
A clear and concise description of what you expected to happen.

**Additional context**
Add any other context about the problem here.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Questions
url: https://turbot.com/community/join
about: GitHub issues in this repository are only intended for bug reports and feature requests. Other issues will be closed. Please ask and answer questions through the Steampipe Slack community.
- name: Steampipe CLI Bug Reports and Feature Requests
url: https://github.com/turbot/steampipe/issues/new/choose
about: Steampipe CLI has its own codebase. Bug reports and feature requests for those pieces of functionality should be directed to that repository.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: Feature request - New table
about: Suggest a new table for this project
title: Add table googleworkspace_<service>_<resource>
labels: enhancement, new table
assignees: ''

---

**References**
Add any related links that will help us understand the resource, including vendor documentation, related GitHub issues, and Go SDK documentation.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Example query results
<details>
<summary>Results</summary>

```
Add example SQL query results here (please include the input queries as well)
```
</details>
18 changes: 18 additions & 0 deletions steampipe-plugin-googleworkspace/.github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "gomod" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
pull-request-branch-name:
separator: "-"
assignees:
- "misraved"
- "madhushreeray30"
labels:
- "dependencies"
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: golangci-lint
on:
push:
tags:
- v*
branches:
- main
pull_request:

jobs:
golangci_lint_workflow:
uses: turbot/steampipe-workflows/.github/workflows/golangci-lint.yml@main
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Build and Deploy OCI Image

on:
push:
tags:
- 'v*'

jobs:
registry_publish_workflow_ghcr:
uses: turbot/steampipe-workflows/.github/workflows/registry-publish-ghcr.yml@main
secrets: inherit
with:
releaseTimeout: 60m
17 changes: 17 additions & 0 deletions steampipe-plugin-googleworkspace/.github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Stale Issues and PRs
on:
schedule:
- cron: "30 23 * * *"
workflow_dispatch:
inputs:
dryRun:
description: Set to true for a dry run
required: false
default: "false"
type: string

jobs:
stale_workflow:
uses: turbot/steampipe-workflows/.github/workflows/stale.yml@main
with:
dryRun: ${{ github.event.inputs.dryRun }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Release Steampipe Anywhere Components

on:
push:
tags:
- 'v*'


jobs:
anywhere_publish_workflow:
uses: turbot/steampipe-workflows/.github/workflows/steampipe-anywhere.yml@main
secrets: inherit
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Sync Labels
on:
schedule:
- cron: "30 22 * * 1"
workflow_dispatch:

jobs:
sync_labels_workflow:
uses: turbot/steampipe-workflows/.github/workflows/sync-labels.yml@main
15 changes: 15 additions & 0 deletions steampipe-plugin-googleworkspace/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib

# Test binary, built with `go test -c`
*.test

# Output of the go coverage tool, specifically when used with LiteIDE
*.out

# Dependency directories (remove the comment below to include it)
# vendor/
Loading

0 comments on commit 9d047cc

Please sign in to comment.