user

package
v1.30.20 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2024 License: Apache-2.0 Imports: 12 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"`
	ProjectID   types.String `tfsdk:"project_id"`
	InstanceID  types.String `tfsdk:"instance_id"`
	Description types.String `tfsdk:"description"`
	Write       types.Bool   `tfsdk:"write_enabled"`
	Username    types.String `tfsdk:"username"`
}

User is the schema model

Jump to

Keyboard shortcuts

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