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
5 changes: 5 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,11 @@ linters:
- third_party$
- builtin$
- examples$
rules:
- path: managedplugin/plugin\.go
linters:
- staticcheck
text: "SA1019: github.com/cloudquery/plugin-pb-go/pb/(base|discovery|source)/v0 is deprecated"
issues:
max-issues-per-linter: 0
max-same-issues: 0
Expand Down
5 changes: 0 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,5 @@ clone:

.PHONY: gen-proto
gen-proto:
protoc --proto_path=. --go_out . --go_opt=module="github.com/cloudquery/plugin-pb-go" --go-grpc_out=. --go-grpc_opt=module="github.com/cloudquery/plugin-pb-go" plugin-pb/discovery/v0/discovery.proto
protoc --proto_path=. --go_out . --go_opt=module="github.com/cloudquery/plugin-pb-go" --go-grpc_out=. --go-grpc_opt=module="github.com/cloudquery/plugin-pb-go" plugin-pb/base/v0/base.proto plugin-pb/destination/v0/destination.proto plugin-pb/source/v0/source.proto
protoc --proto_path=. --go_out . --go_opt=module="github.com/cloudquery/plugin-pb-go" --go-grpc_out=. --go-grpc_opt=module="github.com/cloudquery/plugin-pb-go" plugin-pb/source/v1/source.proto
protoc --proto_path=. --go_out . --go_opt=module="github.com/cloudquery/plugin-pb-go" --go-grpc_out=. --go-grpc_opt=module="github.com/cloudquery/plugin-pb-go" plugin-pb/source/v2/source.proto
protoc --proto_path=. --go_out . --go_opt=module="github.com/cloudquery/plugin-pb-go" --go-grpc_out=. --go-grpc_opt=module="github.com/cloudquery/plugin-pb-go" plugin-pb/destination/v1/destination.proto
protoc --proto_path=. --go_out . --go_opt=module="github.com/cloudquery/plugin-pb-go" --go-grpc_out=. --go-grpc_opt=module="github.com/cloudquery/plugin-pb-go" plugin-pb/discovery/v1/discovery.proto
protoc --proto_path=. --go_out . --go_opt=module="github.com/cloudquery/plugin-pb-go" --go-grpc_out=. --go-grpc_opt=module="github.com/cloudquery/plugin-pb-go" plugin-pb/plugin/v3/plugin.proto
3 changes: 3 additions & 0 deletions metrics/metrics.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Package metrics contains the sync metrics reported by the legacy source and destination protocols.
//
// Deprecated: This package is only used by the legacy protocols and by the sync summary sent to the analytics v0 service. There is no replacement.
package metrics //nolint:revive // var-naming: package name conflicts with standard library but is appropriate for this context

import (
Expand Down
4 changes: 4 additions & 0 deletions pb/analytics/v0/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// Package analytics contains the generated code for the analytics protocol v0.
//
// Deprecated: This package is frozen and no longer regenerated. There is no replacement.
package analytics
4 changes: 4 additions & 0 deletions pb/base/v0/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// Package base contains the generated code for the messages shared by the source and destination plugin protocol v0.
//
// Deprecated: This package is frozen and no longer regenerated. Use github.com/cloudquery/plugin-pb-go/pb/plugin/v3 instead.
package base
4 changes: 4 additions & 0 deletions pb/destination/v0/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// Package destination contains the generated code for the destination plugin protocol v0.
//
// Deprecated: This package is frozen and no longer regenerated. Use github.com/cloudquery/plugin-pb-go/pb/plugin/v3 instead.
package destination
4 changes: 4 additions & 0 deletions pb/destination/v1/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// Package destination contains the generated code for the destination plugin protocol v1.
//
// Deprecated: This package is frozen and no longer regenerated. Use github.com/cloudquery/plugin-pb-go/pb/plugin/v3 instead.
package destination
4 changes: 4 additions & 0 deletions pb/discovery/v0/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// Package discovery contains the generated code for the discovery protocol v0.
//
// Deprecated: This package is frozen and no longer regenerated. Use github.com/cloudquery/plugin-pb-go/pb/discovery/v1 instead.
package discovery
4 changes: 4 additions & 0 deletions pb/source/v0/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// Package source contains the generated code for the source plugin protocol v0.
//
// Deprecated: This package is frozen and no longer regenerated. Use github.com/cloudquery/plugin-pb-go/pb/plugin/v3 instead.
package source
4 changes: 4 additions & 0 deletions pb/source/v1/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// Package source contains the generated code for the source plugin protocol v1.
//
// Deprecated: This package is frozen and no longer regenerated. Use github.com/cloudquery/plugin-pb-go/pb/plugin/v3 instead.
package source
4 changes: 4 additions & 0 deletions pb/source/v2/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// Package source contains the generated code for the source plugin protocol v2.
//
// Deprecated: This package is frozen and no longer regenerated. Use github.com/cloudquery/plugin-pb-go/pb/plugin/v3 instead.
package source
2 changes: 2 additions & 0 deletions specs/doc.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Package specs specs for source and destination plugins including
// parsers and readers.
//
// Deprecated: These specs are only used by the legacy source and destination protocols. There is no replacement.
package specs
Loading