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 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 (r Resource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*Resource) UpgradeState ¶ added in v0.11.11
Click to show internal directories.
Click to hide internal directories.