Documentation ¶
Index ¶
- func ChangeUserPassword(ctx context.Context, apiClient *clients.ApiClient, username string, ...) diag.Diagnostics
- func DeleteApiKey(apiClient *clients.ApiClient, id string) diag.Diagnostics
- func DeleteComponentTemplate(ctx context.Context, apiClient *clients.ApiClient, templateName string) diag.Diagnostics
- func DeleteDataStream(ctx context.Context, apiClient *clients.ApiClient, dataStreamName string) diag.Diagnostics
- func DeleteEnrichPolicy(ctx context.Context, apiClient *clients.ApiClient, policyName string) diag.Diagnostics
- func DeleteIlm(ctx context.Context, apiClient *clients.ApiClient, policyName string) diag.Diagnostics
- func DeleteIndex(ctx context.Context, apiClient *clients.ApiClient, name string) fwdiags.Diagnostics
- func DeleteIndexAlias(ctx context.Context, apiClient *clients.ApiClient, index string, ...) fwdiags.Diagnostics
- func DeleteIndexTemplate(ctx context.Context, apiClient *clients.ApiClient, templateName string) diag.Diagnostics
- func DeleteIngestPipeline(ctx context.Context, apiClient *clients.ApiClient, name *string) diag.Diagnostics
- func DeleteLogstashPipeline(ctx context.Context, apiClient *clients.ApiClient, pipeline_id string) diag.Diagnostics
- func DeleteRole(ctx context.Context, apiClient *clients.ApiClient, rolename string) diag.Diagnostics
- func DeleteRoleMapping(ctx context.Context, apiClient *clients.ApiClient, roleMappingName string) diag.Diagnostics
- func DeleteScript(ctx context.Context, apiClient *clients.ApiClient, id string) diag.Diagnostics
- func DeleteSlm(ctx context.Context, apiClient *clients.ApiClient, slmName string) diag.Diagnostics
- func DeleteSnapshotRepository(ctx context.Context, apiClient *clients.ApiClient, name string) diag.Diagnostics
- func DeleteTransform(ctx context.Context, apiClient *clients.ApiClient, name *string) diag.Diagnostics
- func DeleteUser(ctx context.Context, apiClient *clients.ApiClient, username string) diag.Diagnostics
- func DeleteWatch(ctx context.Context, apiClient *clients.ApiClient, watchID string) diag.Diagnostics
- func DisableUser(ctx context.Context, apiClient *clients.ApiClient, username string) diag.Diagnostics
- func EnableUser(ctx context.Context, apiClient *clients.ApiClient, username string) diag.Diagnostics
- func ExecuteEnrichPolicy(ctx context.Context, apiClient *clients.ApiClient, policyName string) diag.Diagnostics
- func GetApiKey(apiClient *clients.ApiClient, id string) (*models.ApiKeyResponse, diag.Diagnostics)
- func GetClusterInfo(ctx context.Context, apiClient *clients.ApiClient) (*models.ClusterInfo, diag.Diagnostics)
- func GetComponentTemplate(ctx context.Context, apiClient *clients.ApiClient, templateName string) (*models.ComponentTemplateResponse, diag.Diagnostics)
- func GetDataStream(ctx context.Context, apiClient *clients.ApiClient, dataStreamName string) (*models.DataStream, diag.Diagnostics)
- func GetEnrichPolicy(ctx context.Context, apiClient *clients.ApiClient, policyName string) (*models.EnrichPolicy, diag.Diagnostics)
- func GetIlm(ctx context.Context, apiClient *clients.ApiClient, policyName string) (*models.PolicyDefinition, diag.Diagnostics)
- func GetIndex(ctx context.Context, apiClient *clients.ApiClient, name string) (*models.Index, fwdiags.Diagnostics)
- func GetIndexTemplate(ctx context.Context, apiClient *clients.ApiClient, templateName string) (*models.IndexTemplateResponse, diag.Diagnostics)
- func GetIndices(ctx context.Context, apiClient *clients.ApiClient, name string) (map[string]models.Index, fwdiags.Diagnostics)
- func GetIngestPipeline(ctx context.Context, apiClient *clients.ApiClient, name *string) (*models.IngestPipeline, diag.Diagnostics)
- func GetLogstashPipeline(ctx context.Context, apiClient *clients.ApiClient, pipelineID string) (*models.LogstashPipeline, diag.Diagnostics)
- func GetRole(ctx context.Context, apiClient *clients.ApiClient, rolename string) (*models.Role, diag.Diagnostics)
- func GetRoleMapping(ctx context.Context, apiClient *clients.ApiClient, roleMappingName string) (*models.RoleMapping, diag.Diagnostics)
- func GetScript(ctx context.Context, apiClient *clients.ApiClient, id string) (*models.Script, diag.Diagnostics)
- func GetSettings(ctx context.Context, apiClient *clients.ApiClient) (map[string]interface{}, diag.Diagnostics)
- func GetSlm(ctx context.Context, apiClient *clients.ApiClient, slmName string) (*models.SnapshotPolicy, diag.Diagnostics)
- func GetSnapshotRepository(ctx context.Context, apiClient *clients.ApiClient, name string) (*models.SnapshotRepository, diag.Diagnostics)
- func GetTransform(ctx context.Context, apiClient *clients.ApiClient, name *string) (*models.Transform, diag.Diagnostics)
- func GetTransformStats(ctx context.Context, apiClient *clients.ApiClient, name *string) (*models.TransformStats, diag.Diagnostics)
- func GetUser(ctx context.Context, apiClient *clients.ApiClient, username string) (*models.User, diag.Diagnostics)
- func GetWatch(ctx context.Context, apiClient *clients.ApiClient, watchID string) (*models.Watch, diag.Diagnostics)
- func PutApiKey(apiClient *clients.ApiClient, apikey *models.ApiKey) (*models.ApiKeyResponse, diag.Diagnostics)
- func PutComponentTemplate(ctx context.Context, apiClient *clients.ApiClient, ...) diag.Diagnostics
- func PutDataStream(ctx context.Context, apiClient *clients.ApiClient, dataStreamName string) diag.Diagnostics
- func PutEnrichPolicy(ctx context.Context, apiClient *clients.ApiClient, policy *models.EnrichPolicy) diag.Diagnostics
- func PutIlm(ctx context.Context, apiClient *clients.ApiClient, policy *models.Policy) diag.Diagnostics
- func PutIndex(ctx context.Context, apiClient *clients.ApiClient, index *models.Index, ...) fwdiags.Diagnostics
- func PutIndexTemplate(ctx context.Context, apiClient *clients.ApiClient, ...) diag.Diagnostics
- func PutIngestPipeline(ctx context.Context, apiClient *clients.ApiClient, ...) diag.Diagnostics
- func PutLogstashPipeline(ctx context.Context, apiClient *clients.ApiClient, ...) diag.Diagnostics
- func PutRole(ctx context.Context, apiClient *clients.ApiClient, role *models.Role) diag.Diagnostics
- func PutRoleMapping(ctx context.Context, apiClient *clients.ApiClient, ...) diag.Diagnostics
- func PutScript(ctx context.Context, apiClient *clients.ApiClient, script *models.Script) diag.Diagnostics
- func PutSettings(ctx context.Context, apiClient *clients.ApiClient, ...) diag.Diagnostics
- func PutSlm(ctx context.Context, apiClient *clients.ApiClient, slm *models.SnapshotPolicy) diag.Diagnostics
- func PutSnapshotRepository(ctx context.Context, apiClient *clients.ApiClient, ...) diag.Diagnostics
- func PutTransform(ctx context.Context, apiClient *clients.ApiClient, transform *models.Transform, ...) diag.Diagnostics
- func PutUser(ctx context.Context, apiClient *clients.ApiClient, user *models.User) diag.Diagnostics
- func PutWatch(ctx context.Context, apiClient *clients.ApiClient, watch *models.PutWatch) diag.Diagnostics
- func UpdateIndexAlias(ctx context.Context, apiClient *clients.ApiClient, index string, ...) fwdiags.Diagnostics
- func UpdateIndexMappings(ctx context.Context, apiClient *clients.ApiClient, index, mappings string) fwdiags.Diagnostics
- func UpdateIndexSettings(ctx context.Context, apiClient *clients.ApiClient, index string, ...) fwdiags.Diagnostics
- func UpdateTransform(ctx context.Context, apiClient *clients.ApiClient, transform *models.Transform, ...) diag.Diagnostics
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangeUserPassword ¶
func ChangeUserPassword(ctx context.Context, apiClient *clients.ApiClient, username string, userPassword *models.UserPassword) diag.Diagnostics
func DeleteApiKey ¶
func DeleteApiKey(apiClient *clients.ApiClient, id string) diag.Diagnostics
func DeleteComponentTemplate ¶
func DeleteDataStream ¶
func DeleteEnrichPolicy ¶ added in v0.6.0
func DeleteIndex ¶
func DeleteIndexAlias ¶
func DeleteIndexTemplate ¶
func DeleteIngestPipeline ¶
func DeleteLogstashPipeline ¶
func DeleteRole ¶
func DeleteRoleMapping ¶
func DeleteScript ¶
func DeleteTransform ¶ added in v0.6.0
func DeleteUser ¶
func DeleteWatch ¶ added in v0.6.0
func DisableUser ¶
func EnableUser ¶
func ExecuteEnrichPolicy ¶ added in v0.6.0
func GetApiKey ¶
func GetApiKey(apiClient *clients.ApiClient, id string) (*models.ApiKeyResponse, diag.Diagnostics)
func GetClusterInfo ¶ added in v0.10.0
func GetClusterInfo(ctx context.Context, apiClient *clients.ApiClient) (*models.ClusterInfo, diag.Diagnostics)
func GetComponentTemplate ¶
func GetComponentTemplate(ctx context.Context, apiClient *clients.ApiClient, templateName string) (*models.ComponentTemplateResponse, diag.Diagnostics)
func GetDataStream ¶
func GetDataStream(ctx context.Context, apiClient *clients.ApiClient, dataStreamName string) (*models.DataStream, diag.Diagnostics)
func GetEnrichPolicy ¶ added in v0.6.0
func GetEnrichPolicy(ctx context.Context, apiClient *clients.ApiClient, policyName string) (*models.EnrichPolicy, diag.Diagnostics)
func GetIlm ¶
func GetIlm(ctx context.Context, apiClient *clients.ApiClient, policyName string) (*models.PolicyDefinition, diag.Diagnostics)
func GetIndexTemplate ¶
func GetIndexTemplate(ctx context.Context, apiClient *clients.ApiClient, templateName string) (*models.IndexTemplateResponse, diag.Diagnostics)
func GetIndices ¶ added in v0.11.7
func GetIngestPipeline ¶
func GetIngestPipeline(ctx context.Context, apiClient *clients.ApiClient, name *string) (*models.IngestPipeline, diag.Diagnostics)
func GetLogstashPipeline ¶
func GetLogstashPipeline(ctx context.Context, apiClient *clients.ApiClient, pipelineID string) (*models.LogstashPipeline, diag.Diagnostics)
func GetRoleMapping ¶
func GetRoleMapping(ctx context.Context, apiClient *clients.ApiClient, roleMappingName string) (*models.RoleMapping, diag.Diagnostics)
func GetSettings ¶
func GetSlm ¶
func GetSlm(ctx context.Context, apiClient *clients.ApiClient, slmName string) (*models.SnapshotPolicy, diag.Diagnostics)
func GetSnapshotRepository ¶
func GetSnapshotRepository(ctx context.Context, apiClient *clients.ApiClient, name string) (*models.SnapshotRepository, diag.Diagnostics)
func GetTransform ¶ added in v0.6.0
func GetTransformStats ¶ added in v0.6.0
func GetTransformStats(ctx context.Context, apiClient *clients.ApiClient, name *string) (*models.TransformStats, diag.Diagnostics)
func PutApiKey ¶
func PutApiKey(apiClient *clients.ApiClient, apikey *models.ApiKey) (*models.ApiKeyResponse, diag.Diagnostics)
func PutComponentTemplate ¶
func PutComponentTemplate(ctx context.Context, apiClient *clients.ApiClient, template *models.ComponentTemplate) diag.Diagnostics
func PutDataStream ¶
func PutEnrichPolicy ¶ added in v0.6.0
func PutEnrichPolicy(ctx context.Context, apiClient *clients.ApiClient, policy *models.EnrichPolicy) diag.Diagnostics
func PutIndex ¶
func PutIndex(ctx context.Context, apiClient *clients.ApiClient, index *models.Index, params *models.PutIndexParams) fwdiags.Diagnostics
func PutIndexTemplate ¶
func PutIndexTemplate(ctx context.Context, apiClient *clients.ApiClient, template *models.IndexTemplate) diag.Diagnostics
func PutIngestPipeline ¶
func PutIngestPipeline(ctx context.Context, apiClient *clients.ApiClient, pipeline *models.IngestPipeline) diag.Diagnostics
func PutLogstashPipeline ¶
func PutLogstashPipeline(ctx context.Context, apiClient *clients.ApiClient, logstashPipeline *models.LogstashPipeline) diag.Diagnostics
func PutRoleMapping ¶
func PutRoleMapping(ctx context.Context, apiClient *clients.ApiClient, roleMapping *models.RoleMapping) diag.Diagnostics
func PutSettings ¶
func PutSlm ¶
func PutSlm(ctx context.Context, apiClient *clients.ApiClient, slm *models.SnapshotPolicy) diag.Diagnostics
func PutSnapshotRepository ¶
func PutSnapshotRepository(ctx context.Context, apiClient *clients.ApiClient, repository *models.SnapshotRepository) diag.Diagnostics
func PutTransform ¶ added in v0.6.0
func PutTransform(ctx context.Context, apiClient *clients.ApiClient, transform *models.Transform, params *models.PutTransformParams) diag.Diagnostics
func UpdateIndexAlias ¶
func UpdateIndexAlias(ctx context.Context, apiClient *clients.ApiClient, index string, alias *models.IndexAlias) fwdiags.Diagnostics
func UpdateIndexMappings ¶
func UpdateIndexSettings ¶
func UpdateTransform ¶ added in v0.6.0
func UpdateTransform(ctx context.Context, apiClient *clients.ApiClient, transform *models.Transform, params *models.UpdateTransformParams) diag.Diagnostics
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.