apikey

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: May 18, 2026 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MinVersion                         = version.Must(version.NewVersion("8.0.0")) // Enabled in 8.0
	MinVersionWithUpdate               = version.Must(version.NewVersion("8.4.0"))
	MinVersionReturningRoleDescriptors = version.Must(version.NewVersion("8.5.0"))
	MinVersionWithRestriction          = version.Must(version.NewVersion("8.9.0"))  // Enabled in 8.0
	MinVersionWithCrossCluster         = version.Must(version.NewVersion("8.10.0")) // Cross-cluster API keys enabled in 8.10
)

Functions

func NewResource added in v0.15.0

func NewResource() resource.Resource

func SetUnknownIfAccessHasChanges added in v0.11.18

func SetUnknownIfAccessHasChanges() planmodifier.String

SetUnknownIfAccessHasChanges returns a plan modifier that sets the current attribute to unknown if the access attribute has changed between state and config for cross-cluster API keys.

Types

type Resource

type Resource struct {
	*entitycore.ElasticsearchResource[tfModel]
}

Resource embeds ElasticsearchResource[tfModel] to inherit Configure, Metadata, Schema, Read, Update (via writeAPIKey), Delete, and PostRead cluster-version caching. Create is defined on the concrete type to bypass the envelope write path.

func (Resource) Create

func (*Resource) UpgradeState added in v0.11.11

func (r *Resource) UpgradeState(context.Context) map[int64]resource.StateUpgrader

Jump to

Keyboard shortcuts

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