gcp

package
v0.0.0-...-343363f Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Discover

func Discover(serviceAccount string, emitFn func(result shared.CloudDiscoveryResult))

Discover discovers all GCR assets

func DiscoverGKE

func DiscoverGKE(opt Options, emitFn func(result shared.CloudDiscoveryResult)) error

DiscoverGKE retrieves a list of all GKE data

func NewFunctionsClient

func NewFunctionsClient(opt Options) *functionsClient

NewFunctionsClient creates a new google functions client

func NewGCRClient

func NewGCRClient(opt Options) *gcrClient

NewGCRClient creates a new google container registry client

Types

type Options

type Options struct {
	ServiceAccount string // ServiceAccount is the secret key used for authentication (in JSON format)
	Region         string // Region is the region to query
}

Options are options for getting cloud data for GCP services

Jump to

Keyboard shortcuts

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