Fork of hashicorp/boundary-plugin-gcp (MPL-2.0). Module path and Boundary SDK imports now point at repo.anhonesthost.net/CyberCoveLLC. Adds NOTICE and an About this fork section to the README. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
30 lines
735 B
Go
30 lines
735 B
Go
// Copyright IBM Corp. 2024, 2026
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
package plugin
|
|
|
|
import (
|
|
"repo.anhonesthost.net/CyberCoveLLC/threshold-plugin-gcp/plugin/service/host"
|
|
pb "repo.anhonesthost.net/CyberCoveLLC/threshold/sdk/pbs/plugin"
|
|
)
|
|
|
|
// Ensure that HostPlugin implements the following services:
|
|
//
|
|
// HostPluginServiceServer
|
|
var (
|
|
_ pb.HostPluginServiceServer = (*host.HostPlugin)(nil)
|
|
)
|
|
|
|
// GCPPlugin contains a collection of all GCP plugin services.
|
|
type GCPPlugin struct {
|
|
// HostPlugin implements the HostPluginServiceServer interface for
|
|
// supporting dynamically sourcing hosts from GCP Compute Engine.
|
|
*host.HostPlugin
|
|
}
|
|
|
|
func NewGCPPlugin() *GCPPlugin {
|
|
return &GCPPlugin{
|
|
HostPlugin: &host.HostPlugin{},
|
|
}
|
|
}
|