opensearch

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCredentialsDataSource

func NewCredentialsDataSource() datasource.DataSource

NewCredentialsDataSource is a helper function to simplify the provider implementation.

func NewCredentialsResource

func NewCredentialsResource() resource.Resource

NewCredentialsResource is a helper function to simplify the provider implementation.

Types

type Model

type Model struct {
	Id            types.String `tfsdk:"id"` // needed by TF
	CredentialsId types.String `tfsdk:"credentials_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