config

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const PluginName = "gcp"

Variables

This section is empty.

Functions

This section is empty.

Types

type GcpConnection

type GcpConnection struct {
	Project                   *string `json:"project" hcl:"project"`
	Credentials               *string `json:"credentials" hcl:"credentials"`
	QuotaProject              *string `json:"quota_project" hcl:"quota_project"`
	ImpersonateAccessToken    *string `json:"impersonate_access_token" hcl:"impersonate_access_token"`
	ImpersonateServiceAccount *string `json:"impersonate_service_account" hcl:"impersonate_service_account"`
}

func (*GcpConnection) GetClientOptions

func (c *GcpConnection) GetClientOptions(ctx context.Context) ([]option.ClientOption, error)

func (*GcpConnection) GetProject

func (c *GcpConnection) GetProject() string

func (*GcpConnection) Identifier

func (c *GcpConnection) Identifier() string

func (*GcpConnection) Validate

func (c *GcpConnection) Validate() error

Jump to

Keyboard shortcuts

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