Documentation ¶
Index ¶
- func AddDashboardsNodeGroup(ctx context.Context, sdk *ycsdk.SDK, diags *diag.Diagnostics, ...)
- func AddOpenSearchNodeGroup(ctx context.Context, sdk *ycsdk.SDK, diags *diag.Diagnostics, ...)
- func CreateCluster(ctx context.Context, sdk *ycsdk.SDK, diag *diag.Diagnostics, ...) string
- func DeleteCluster(ctx context.Context, sdk *ycsdk.SDK, diags *diag.Diagnostics, cid string)
- func DeleteDashboardsNodeGroup(ctx context.Context, sdk *ycsdk.SDK, diags *diag.Diagnostics, ...)
- func DeleteOpenSearchNodeGroup(ctx context.Context, sdk *ycsdk.SDK, diags *diag.Diagnostics, ...)
- func GetCusterByID(ctx context.Context, sdk *ycsdk.SDK, diag *diag.Diagnostics, cid string) *opensearch.Cluster
- func GetHostsList(ctx context.Context, sdk *ycsdk.SDK, diag *diag.Diagnostics, cid string) []*opensearch.Host
- func ParseDashboardsCreateSpecNodeGroups(ctx context.Context, cfg *model.DashboardsSubConfig) ([]*opensearch.DashboardsCreateSpec_NodeGroup, diag.Diagnostics)
- func ParseOpenSearchCreateSpecNodeGroups(ctx context.Context, cfg *model.OpenSearchSubConfig) ([]*opensearch.OpenSearchCreateSpec_NodeGroup, diag.Diagnostics)
- func PrepareAddDashboardsNodeGroupRequests(clusterID string, ...) ([]*opensearch.AddDashboardsNodeGroupRequest, diag.Diagnostics)
- func PrepareAddOpenSearchNodeGroupRequests(clusterID string, ...) ([]*opensearch.AddOpenSearchNodeGroupRequest, diag.Diagnostics)
- func PrepareAndExecute[T any, V any](ctx context.Context, sdk *ycsdk.SDK, clusterID string, plan, state []T, ...) diag.Diagnostics
- func PrepareCreateOpenSearchRequest(ctx context.Context, plan *model.OpenSearch, providerConfig *config.State) (*opensearch.CreateClusterRequest, diag.Diagnostics)
- func PrepareDataManagersToDecreaseRequests(clusterID string, ...) ([]*opensearch.UpdateOpenSearchNodeGroupRequest, diag.Diagnostics)
- func PrepareDeleteDashboardsNodeGroupRequests(clusterID string, ...) ([]*opensearch.DeleteDashboardsNodeGroupRequest, diag.Diagnostics)
- func PrepareDeleteOpenSearchNodeGroupRequests(clusterID string, ...) ([]*opensearch.DeleteOpenSearchNodeGroupRequest, diag.Diagnostics)
- func PrepareManagersToDecreaseRequests(clusterID string, ...) ([]*opensearch.UpdateOpenSearchNodeGroupRequest, diag.Diagnostics)
- func PrepareManagersToIncreaseRequests(clusterID string, ...) ([]*opensearch.UpdateOpenSearchNodeGroupRequest, diag.Diagnostics)
- func PrepareOtherGroupsToUpdateRequests(clusterID string, ...) ([]*opensearch.UpdateOpenSearchNodeGroupRequest, diag.Diagnostics)
- func PrepareUpdateClusterParamsRequest(ctx context.Context, state, plan *model.OpenSearch) (*opensearch.UpdateClusterRequest, diag.Diagnostics)
- func PrepareUpdateDashboardsNodeGroupRequest(clusterID string, ...) *opensearch.UpdateDashboardsNodeGroupRequest
- func PrepareUpdateDashboardsNodeGroupRequests(clusterID string, ...) ([]*opensearch.UpdateDashboardsNodeGroupRequest, diag.Diagnostics)
- func UpdateClusterSpec(ctx context.Context, sdk *ycsdk.SDK, diags *diag.Diagnostics, ...)
- func UpdateDashboardsNodeGroup(ctx context.Context, sdk *ycsdk.SDK, diags *diag.Diagnostics, ...)
- func UpdateOpenSearchNodeGroup(ctx context.Context, sdk *ycsdk.SDK, diags *diag.Diagnostics, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddDashboardsNodeGroup ¶
func AddOpenSearchNodeGroup ¶
func CreateCluster ¶
func DeleteCluster ¶
func GetCusterByID ¶
func GetHostsList ¶
func ParseDashboardsCreateSpecNodeGroups ¶
func ParseDashboardsCreateSpecNodeGroups(ctx context.Context, cfg *model.DashboardsSubConfig) ([]*opensearch.DashboardsCreateSpec_NodeGroup, diag.Diagnostics)
func ParseOpenSearchCreateSpecNodeGroups ¶
func ParseOpenSearchCreateSpecNodeGroups(ctx context.Context, cfg *model.OpenSearchSubConfig) ([]*opensearch.OpenSearchCreateSpec_NodeGroup, diag.Diagnostics)
func PrepareAddDashboardsNodeGroupRequests ¶
func PrepareAddDashboardsNodeGroupRequests(clusterID string, planNodeGroups, stateNodeGroups []*opensearch.DashboardsCreateSpec_NodeGroup) ([]*opensearch.AddDashboardsNodeGroupRequest, diag.Diagnostics)
func PrepareAddOpenSearchNodeGroupRequests ¶
func PrepareAddOpenSearchNodeGroupRequests(clusterID string, planNodeGroups, stateNodeGroups []*opensearch.OpenSearchCreateSpec_NodeGroup) ([]*opensearch.AddOpenSearchNodeGroupRequest, diag.Diagnostics)
func PrepareAndExecute ¶
func PrepareCreateOpenSearchRequest ¶
func PrepareCreateOpenSearchRequest(ctx context.Context, plan *model.OpenSearch, providerConfig *config.State) (*opensearch.CreateClusterRequest, diag.Diagnostics)
func PrepareDataManagersToDecreaseRequests ¶
func PrepareDataManagersToDecreaseRequests(clusterID string, planNodeGroups, stateNodeGroups []*opensearch.OpenSearchCreateSpec_NodeGroup) ([]*opensearch.UpdateOpenSearchNodeGroupRequest, diag.Diagnostics)
func PrepareDeleteDashboardsNodeGroupRequests ¶
func PrepareDeleteDashboardsNodeGroupRequests(clusterID string, planNodeGroups, stateNodeGroups []*opensearch.DashboardsCreateSpec_NodeGroup) ([]*opensearch.DeleteDashboardsNodeGroupRequest, diag.Diagnostics)
func PrepareDeleteOpenSearchNodeGroupRequests ¶
func PrepareDeleteOpenSearchNodeGroupRequests(clusterID string, planNodeGroups, stateNodeGroups []*opensearch.OpenSearchCreateSpec_NodeGroup) ([]*opensearch.DeleteOpenSearchNodeGroupRequest, diag.Diagnostics)
func PrepareManagersToDecreaseRequests ¶
func PrepareManagersToDecreaseRequests(clusterID string, planNodeGroups, stateNodeGroups []*opensearch.OpenSearchCreateSpec_NodeGroup) ([]*opensearch.UpdateOpenSearchNodeGroupRequest, diag.Diagnostics)
func PrepareManagersToIncreaseRequests ¶
func PrepareManagersToIncreaseRequests(clusterID string, planNodeGroups, stateNodeGroups []*opensearch.OpenSearchCreateSpec_NodeGroup) ([]*opensearch.UpdateOpenSearchNodeGroupRequest, diag.Diagnostics)
func PrepareOtherGroupsToUpdateRequests ¶
func PrepareOtherGroupsToUpdateRequests(clusterID string, planNodeGroups, stateNodeGroups []*opensearch.OpenSearchCreateSpec_NodeGroup) ([]*opensearch.UpdateOpenSearchNodeGroupRequest, diag.Diagnostics)
func PrepareUpdateClusterParamsRequest ¶
func PrepareUpdateClusterParamsRequest(ctx context.Context, state, plan *model.OpenSearch) (*opensearch.UpdateClusterRequest, diag.Diagnostics)
TODO: refactor this func
func PrepareUpdateDashboardsNodeGroupRequest ¶
func PrepareUpdateDashboardsNodeGroupRequest(clusterID string, planNodeGroup, stateNodeGroup *opensearch.DashboardsCreateSpec_NodeGroup) *opensearch.UpdateDashboardsNodeGroupRequest
func PrepareUpdateDashboardsNodeGroupRequests ¶
func PrepareUpdateDashboardsNodeGroupRequests(clusterID string, planNodeGroups, stateNodeGroups []*opensearch.DashboardsCreateSpec_NodeGroup) ([]*opensearch.UpdateDashboardsNodeGroupRequest, diag.Diagnostics)
func UpdateClusterSpec ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.