Documentation ¶
Index ¶
- Variables
- func HandleTrafficFilterChange(ctx context.Context, client *api.API, plan v2.DeploymentTF, stateRules ruleSet) ([]string, diag.Diagnostics)
- func HasRunningResources(res *models.DeploymentGetResponse) bool
- func ReadPrivateStateInstanceConfigurations(ctx context.Context, state PrivateState) ([]models.InstanceConfigurationInfo, diag.Diagnostics)
- func ReadPrivateStateMigrateTemplateRequest(ctx context.Context, state PrivateState) (*deployments.MigrateDeploymentTemplateOK, diag.Diagnostics)
- func UpdateDedicatedMasterTier(ctx context.Context, config tfsdk.Config, plan tfsdk.Plan, ...)
- func UpdatePrivateStateInstanceConfigurations(ctx context.Context, state PrivateState, ...) diag.Diagnostics
- func UpdatePrivateStateMigrateTemplateRequest(ctx context.Context, state PrivateState, ...) diag.Diagnostics
- func WaitForPlanCompletion(client *api.API, id string) error
- type PrivateState
- type Resource
- func (r *Resource) Configure(ctx context.Context, request resource.ConfigureRequest, ...)
- func (r *Resource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *Resource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *Resource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *Resource) Metadata(ctx context.Context, request resource.MetadataRequest, ...)
- func (r Resource) ModifyPlan(ctx context.Context, req resource.ModifyPlanRequest, ...)
- func (r *Resource) Read(ctx context.Context, request resource.ReadRequest, ...)
- func (r *Resource) ResetElasticsearchPassword(deploymentID string, refID string) (string, string, diag.Diagnostics)
- func (r *Resource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *Resource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GetAssociation = trafficfilterapi.Get CreateAssociation = trafficfilterapi.CreateAssociation DeleteAssociation = trafficfilterapi.DeleteAssociation )
Functions ¶
func HandleTrafficFilterChange ¶ added in v0.6.0
func HandleTrafficFilterChange(ctx context.Context, client *api.API, plan v2.DeploymentTF, stateRules ruleSet) ([]string, diag.Diagnostics)
func HasRunningResources ¶ added in v0.6.0
func HasRunningResources(res *models.DeploymentGetResponse) bool
func ReadPrivateStateInstanceConfigurations ¶ added in v0.11.0
func ReadPrivateStateInstanceConfigurations( ctx context.Context, state PrivateState, ) ([]models.InstanceConfigurationInfo, diag.Diagnostics)
func ReadPrivateStateMigrateTemplateRequest ¶ added in v0.10.0
func ReadPrivateStateMigrateTemplateRequest(ctx context.Context, state PrivateState) (*deployments.MigrateDeploymentTemplateOK, diag.Diagnostics)
func UpdateDedicatedMasterTier ¶ added in v0.11.0
func UpdateDedicatedMasterTier( ctx context.Context, config tfsdk.Config, plan tfsdk.Plan, privateState PrivateState, resp *resource.ModifyPlanResponse, loadTemplate func() (*models.DeploymentTemplateInfoV2, error), )
func UpdatePrivateStateInstanceConfigurations ¶ added in v0.11.0
func UpdatePrivateStateInstanceConfigurations( ctx context.Context, state PrivateState, instanceConfigurations []*models.InstanceConfigurationInfo, ) diag.Diagnostics
func UpdatePrivateStateMigrateTemplateRequest ¶ added in v0.10.0
func UpdatePrivateStateMigrateTemplateRequest(ctx context.Context, state PrivateState, migrateTemplateRequest *deployments.MigrateDeploymentTemplateOK) diag.Diagnostics
Types ¶
type PrivateState ¶ added in v0.8.0
type Resource ¶
type Resource struct {
// contains filtered or unexported fields
}
func (*Resource) Configure ¶ added in v0.6.0
func (r *Resource) Configure(ctx context.Context, request resource.ConfigureRequest, response *resource.ConfigureResponse)
func (*Resource) Create ¶ added in v0.6.0
func (r *Resource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*Resource) Delete ¶ added in v0.6.0
func (r *Resource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*Resource) ImportState ¶ added in v0.6.0
func (r *Resource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*Resource) Metadata ¶ added in v0.6.0
func (r *Resource) Metadata(ctx context.Context, request resource.MetadataRequest, response *resource.MetadataResponse)
func (Resource) ModifyPlan ¶ added in v0.11.0
func (r Resource) ModifyPlan(ctx context.Context, req resource.ModifyPlanRequest, resp *resource.ModifyPlanResponse)
func (*Resource) Read ¶ added in v0.6.0
func (r *Resource) Read(ctx context.Context, request resource.ReadRequest, response *resource.ReadResponse)
func (*Resource) ResetElasticsearchPassword ¶ added in v0.8.0
func (*Resource) Schema ¶ added in v0.8.0
func (r *Resource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse)
func (*Resource) Update ¶ added in v0.6.0
func (r *Resource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.