request

package
v0.133.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddDashboardsNodeGroup

func AddDashboardsNodeGroup(ctx context.Context, sdk *ycsdk.SDK, diags *diag.Diagnostics, req *opensearch.AddDashboardsNodeGroupRequest)

func AddOpenSearchNodeGroup

func AddOpenSearchNodeGroup(ctx context.Context, sdk *ycsdk.SDK, diags *diag.Diagnostics, req *opensearch.AddOpenSearchNodeGroupRequest)

func CreateCluster

func CreateCluster(ctx context.Context, sdk *ycsdk.SDK, diag *diag.Diagnostics, req *opensearch.CreateClusterRequest) string

func DeleteCluster

func DeleteCluster(ctx context.Context, sdk *ycsdk.SDK, diags *diag.Diagnostics, cid string)

func DeleteDashboardsNodeGroup

func DeleteDashboardsNodeGroup(ctx context.Context, sdk *ycsdk.SDK, diags *diag.Diagnostics, req *opensearch.DeleteDashboardsNodeGroupRequest)

func DeleteOpenSearchNodeGroup

func DeleteOpenSearchNodeGroup(ctx context.Context, sdk *ycsdk.SDK, diags *diag.Diagnostics, req *opensearch.DeleteOpenSearchNodeGroupRequest)

func GetAuthSettings added in v0.127.0

func GetAuthSettings(ctx context.Context, sdk *ycsdk.SDK, diags *diag.Diagnostics, cid string) *opensearch.AuthSettings

func GetCusterByID

func GetCusterByID(ctx context.Context, sdk *ycsdk.SDK, diag *diag.Diagnostics, cid string) *opensearch.Cluster

func GetHostsList

func GetHostsList(ctx context.Context, sdk *ycsdk.SDK, diag *diag.Diagnostics, cid string) []*opensearch.Host

func PrepareAndExecute

func PrepareAndExecute[T any, V any](
	ctx context.Context,
	sdk *ycsdk.SDK,
	clusterID string,
	plan, state []T,
	generator func(string, []T, []T) ([]V, diag.Diagnostics),
	executor func(context.Context, *ycsdk.SDK, *diag.Diagnostics, V)) diag.Diagnostics

func UpdateAuthSettings added in v0.127.0

func UpdateAuthSettings(ctx context.Context, sdk *ycsdk.SDK, diags *diag.Diagnostics, req *opensearch.UpdateAuthSettingsRequest)

func UpdateClusterSpec

func UpdateClusterSpec(ctx context.Context, sdk *ycsdk.SDK, diags *diag.Diagnostics, req *opensearch.UpdateClusterRequest)

func UpdateDashboardsNodeGroup

func UpdateDashboardsNodeGroup(ctx context.Context, sdk *ycsdk.SDK, diags *diag.Diagnostics, req *opensearch.UpdateDashboardsNodeGroupRequest)

func UpdateOpenSearchNodeGroup

func UpdateOpenSearchNodeGroup(ctx context.Context, sdk *ycsdk.SDK, diags *diag.Diagnostics, req *opensearch.UpdateOpenSearchNodeGroupRequest)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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