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

opensearch

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 21 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"`
	Password     types.String `tfsdk:"password"`
	Port         types.Int64  `tfsdk:"port"`
	Scheme       types.String `tfsdk:"scheme"`
	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