gcp

package
v0.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

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 New

New creates a GCP provider for RDS server, based on the provided config.

func (*Provider) ListResources

func (p *Provider) ListResources(req *pb.ListResourcesRequest) (*pb.ListResourcesResponse, error)

ListResources returns the list of resources from the cache.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL