Documentation
¶
Index ¶
- func BuildFourPartId(a, b, c, d string) string
- func BuildThreePartId(a, b, c string) string
- func BuildTwoPartId(a, b string) string
- func ImportStateFourPartId(ctx context.Context, part1 string, part2 string, part3 string, ...)
- func ImportStateThreePartId(ctx context.Context, part1 string, part2 string, ...)
- func ImportStateTwoPartId(ctx context.Context, part1 string, req resource.ImportStateRequest, ...)
- func MergeDiagnostics[T any](v T, diagsOut diag.Diagnostics) func(diags *diag.Diagnostics) T
- func SplitFourPartId(id, a, b, c, d string) (string, string, string, string, error)
- func SplitThreePartId(id, a, b, c string) (string, string, string, error)
- func SplitTwoPartId(id, a, b string) (string, string, error)
- func WithEnumStringAttribute(base schema.StringAttribute, choices []string) schema.StringAttribute
- func WithMutuallyExclusiveValidator(attributes map[string]schema.SingleNestedAttribute) map[string]schema.Attribute
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildFourPartId ¶
func BuildThreePartId ¶
func BuildTwoPartId ¶
func ImportStateFourPartId ¶
func ImportStateFourPartId(ctx context.Context, part1 string, part2 string, part3 string, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func ImportStateThreePartId ¶
func ImportStateThreePartId(ctx context.Context, part1 string, part2 string, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func ImportStateTwoPartId ¶
func ImportStateTwoPartId(ctx context.Context, part1 string, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func MergeDiagnostics ¶
func MergeDiagnostics[T any](v T, diagsOut diag.Diagnostics) func(diags *diag.Diagnostics) T
MergeDiagnostics is a utility function that merges the given diagnostics into the provided diagnostics and returns the original value.
func SplitFourPartId ¶
func WithEnumStringAttribute ¶
func WithEnumStringAttribute(base schema.StringAttribute, choices []string) schema.StringAttribute
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.