Help us shape the future of Go! Take the 2026 Go Developer Survey

user

package
v1.34.15 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() datasource.DataSource

New returns a new configured data source

Types

type DataSource

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

DataSource is the exported data source

func (*DataSource) Configure

Configure configures the data source client

func (*DataSource) Metadata

Metadata returns data resource metadata

func (DataSource) Read

Read - lifecycle function

func (*DataSource) Schema

Schema returns the terraform schema structure

type User

type User struct {
	ID         types.String `tfsdk:"id"`
	InstanceID types.String `tfsdk:"instance_id"`
	ProjectID  types.String `tfsdk:"project_id"`
	Username   types.String `tfsdk:"username"`
	Database   types.String `tfsdk:"database"`
	Host       types.String `tfsdk:"host"`
	Port       types.Int64  `tfsdk:"port"`
	Roles      types.List   `tfsdk:"roles"`
}

User is the schema model

Jump to

Keyboard shortcuts

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