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
Click to show internal directories.
Click to hide internal directories.