mysqldatabaseresource

package
v1.0.0-alpha7 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() resource.Resource

Types

type MySQLDatabaseCharsetModel

type MySQLDatabaseCharsetModel struct {
	Charset   types.String `tfsdk:"character_set"`
	Collation types.String `tfsdk:"collation"`
}

func (*MySQLDatabaseCharsetModel) AsObject

func (*MySQLDatabaseCharsetModel) FromAPIModel

type MySQLDatabaseUserModel

type MySQLDatabaseUserModel struct {
	ID             types.String `tfsdk:"id"`
	Name           types.String `tfsdk:"name"`
	Password       types.String `tfsdk:"password"`
	AccessLevel    types.String `tfsdk:"access_level"`
	ExternalAccess types.Bool   `tfsdk:"external_access"`
}

func (*MySQLDatabaseUserModel) AsObject

func (*MySQLDatabaseUserModel) FromAPIModel

type Resource

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

func (*Resource) Configure

func (*Resource) Create

func (*Resource) Delete

func (*Resource) ImportState

func (*Resource) Metadata

func (d *Resource) Metadata(_ context.Context, request resource.MetadataRequest, response *resource.MetadataResponse)

func (*Resource) Read

func (*Resource) Schema

func (*Resource) Update

type ResourceModel

type ResourceModel struct {
	ID          types.String `tfsdk:"id"`
	ProjectID   types.String `tfsdk:"project_id"`
	Version     types.String `tfsdk:"version"`
	Name        types.String `tfsdk:"name"`
	Description types.String `tfsdk:"description"`
	Hostname    types.String `tfsdk:"hostname"`

	CharacterSettings types.Object `tfsdk:"character_settings"`
	User              types.Object `tfsdk:"user"`
}

ResourceModel describes the resource data model.

func (*ResourceModel) FromAPIModel

func (*ResourceModel) Reset

func (m *ResourceModel) Reset()

Jump to

Keyboard shortcuts

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