provider

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 6, 2023 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(version string) func() provider.Provider

func NewApikeyResource

func NewApikeyResource() resource.Resource

Types

type ApiKeyResource

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

func (*ApiKeyResource) Configure

func (*ApiKeyResource) Create

func (*ApiKeyResource) Delete

func (*ApiKeyResource) Metadata

func (*ApiKeyResource) Read

func (*ApiKeyResource) Schema

func (*ApiKeyResource) Update

type ApiKeyResourceModel

type ApiKeyResourceModel struct {
	Id              types.String `tfsdk:"id"`
	ApiKey          types.String `tfsdk:"api_key"`
	Encoded         types.String `tfsdk:"encoded"`
	Name            types.String `tfsdk:"name"`
	RoleDescriptors types.Set    `tfsdk:"role_descriptors"`
}

type ElasticsearchSecurityProvider

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

ElasticsearchSecurityProvider defines the provider implementation.

func (*ElasticsearchSecurityProvider) Configure

func (*ElasticsearchSecurityProvider) DataSources

func (p *ElasticsearchSecurityProvider) DataSources(ctx context.Context) []func() datasource.DataSource

func (*ElasticsearchSecurityProvider) Metadata

func (*ElasticsearchSecurityProvider) Resources

func (p *ElasticsearchSecurityProvider) Resources(ctx context.Context) []func() resource.Resource

func (*ElasticsearchSecurityProvider) Schema

type ElasticsearchSecurityProviderModel

type ElasticsearchSecurityProviderModel struct {
	Url      types.String `tfsdk:"url"`
	Username types.String `tfsdk:"username"`
	Password types.String `tfsdk:"password"`
}

ElasticsearchSecurityProviderModel describes the provider data model.

type Index

type Index struct {
	Names      types.List `tfsdk:"names"`
	Privileges types.List `tfsdk:"privileges"`
}

type RoleDescriptor

type RoleDescriptor struct {
	Name     types.String `tfsdk:"name"`
	Cluster  types.List   `tfsdk:"cluster"`
	Indicies types.Set    `tfsdk:"indices"`
}

Jump to

Keyboard shortcuts

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