postgresql

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCredentialDataSource

func NewCredentialDataSource() datasource.DataSource

NewCredentialDataSource is a helper function to simplify the provider implementation.

func NewCredentialResource

func NewCredentialResource() resource.Resource

NewCredentialResource is a helper function to simplify the provider implementation.

Types

type Model

type Model struct {
	Id           types.String `tfsdk:"id"` // needed by TF
	CredentialId types.String `tfsdk:"credential_id"`
	InstanceId   types.String `tfsdk:"instance_id"`
	ProjectId    types.String `tfsdk:"project_id"`
	Host         types.String `tfsdk:"host"`
	Hosts        types.List   `tfsdk:"hosts"`
	HttpAPIURI   types.String `tfsdk:"http_api_uri"`
	Name         types.String `tfsdk:"name"`
	Password     types.String `tfsdk:"password"`
	Port         types.Int64  `tfsdk:"port"`
	Uri          types.String `tfsdk:"uri"`
	Username     types.String `tfsdk:"username"`
}

Jump to

Keyboard shortcuts

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