Documentation ¶
Overview ¶
Package gcp implements a GCP (Google Compute Platform) resources provider for ResourceDiscovery server.
It currently supports following GCP resources:
GCE Instances (gce_instance)
GCP provider is configured through a protobuf based config file (proto/config.proto). Example config:
{ project_id: 'test-project-1' project_id: 'test-project-2' gce_instances {} }
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider implements a GCP provider for a ResourceDiscovery server.
func (*Provider) ListResources ¶
func (p *Provider) ListResources(req *pb.ListResourcesRequest) (*pb.ListResourcesResponse, error)
ListResources returns the list of resources from the cache.
Click to show internal directories.
Click to hide internal directories.