gcp

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: MIT Imports: 41 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Services = []string{
	"dns",
	"compute",
	"gke",
	"cloud-function",
	"cloud-run",
	"s3",
}

Services that provide IP addresses or DNS names only

Functions

func New

func New(options schema.OptionBlock) (schema.Provider, error)

Types

type OrganizationProvider added in v1.3.0

type OrganizationProvider struct {
	// contains filtered or unexported fields
}

OrganizationProvider is a provider for organization-level GCP Asset API

func (*OrganizationProvider) ID added in v1.3.0

func (p *OrganizationProvider) ID() string

ID returns the name of the provider id

func (*OrganizationProvider) Name added in v1.3.0

func (p *OrganizationProvider) Name() string

Name returns the name of the provider

func (*OrganizationProvider) Resources added in v1.3.0

func (p *OrganizationProvider) Resources(ctx context.Context) (*schema.Resources, error)

Resources returns the provider resources using project-scoped / organization-level Cloud Asset Inventory API

func (*OrganizationProvider) Services added in v1.3.0

func (p *OrganizationProvider) Services() []string

Services returns the provider services

func (*OrganizationProvider) Verify added in v1.3.0

func (p *OrganizationProvider) Verify(ctx context.Context) error

type Provider

type Provider struct {
	// contains filtered or unexported fields
}

Provider is a data provider for gcp API

func (*Provider) ID added in v1.0.0

func (p *Provider) ID() string

ID returns the name of the provider id

func (*Provider) Name

func (p *Provider) Name() string

Name returns the name of the provider

func (*Provider) Resources

func (p *Provider) Resources(ctx context.Context) (*schema.Resources, error)

Resources returns the provider for an resource deployment source using individual services

func (*Provider) Services added in v1.0.9

func (p *Provider) Services() []string

Services returns the provider services

func (*Provider) Verify added in v1.2.2

func (p *Provider) Verify(ctx context.Context) error

Verify checks if the GCP provider credentials are valid

Jump to

Keyboard shortcuts

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