gcp

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2026 License: MIT Imports: 38 Imported by: 1

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 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