Documentation
¶
Index ¶
- func DecodeColumn(raw *interface{}, target interface{}) error
- func FormatError(err error) string
- func GetColumnStatus(raw *interface{}) (string, error)
- func ImportColumnState(ctx context.Context, req resource.ImportStateRequest, ...)
- func IsColumnNotAvailableError(err error) bool
- func IsNotFoundError(err error) bool
- type AppwriteClients
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeColumn ¶
func DecodeColumn(raw *interface{}, target interface{}) error
DecodeColumn decodes the raw *interface{} response from GetColumn into a typed model.
func FormatError ¶
FormatError returns a detailed error string including status code and response body.
func GetColumnStatus ¶
GetColumnStatus extracts the status field from a raw GetColumn response.
func ImportColumnState ¶
func ImportColumnState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
ImportColumnState parses a "database_id/table_id/key" import ID into state.
func IsColumnNotAvailableError ¶
IsColumnNotAvailableError checks if the error is due to a column still being processed.
func IsNotFoundError ¶
IsNotFoundError checks if an Appwrite SDK error is a 404.
Types ¶
Click to show internal directories.
Click to hide internal directories.