gcp

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

This section is empty.

Types

type Provider

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

Provider is a data provider for gcp API

func New

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

New creates a new provider client 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.

func (*Provider) Services added in v1.0.9

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

Services returns the provider services

Jump to

Keyboard shortcuts

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