Documentation ¶
Index ¶
- Variables
- func AdminUpdateUserData(cfg *raiden.Config, userId string, data objects.User) (objects.User, error)
- func CreateBucket(cfg *raiden.Config, param objects.Bucket) (bucket objects.Bucket, err error)
- func CreateFunction(cfg *raiden.Config, fn objects.Function) (objects.Function, error)
- func CreatePolicy(cfg *raiden.Config, policy objects.Policy) (objects.Policy, error)
- func CreateRole(cfg *raiden.Config, role objects.Role) (objects.Role, error)
- func CreateTable(cfg *raiden.Config, table objects.Table) (rs objects.Table, err error)
- func DefaultAuthInterceptor(apiKey string, accessToken string) func(req *http.Request) error
- func DeleteBucket(cfg *raiden.Config, param objects.Bucket) (err error)
- func DeleteFunction(cfg *raiden.Config, fn objects.Function) (err error)
- func DeletePolicy(cfg *raiden.Config, old objects.Policy) (err error)
- func DeleteRole(cfg *raiden.Config, old objects.Role) (err error)
- func DeleteTable(cfg *raiden.Config, table objects.Table, cascade bool) (err error)
- func FindProject(cfg *raiden.Config) (objects.Project, error)
- func GetBucket(cfg *raiden.Config, name string) (buckets objects.Bucket, err error)
- func GetBuckets(cfg *raiden.Config) (buckets []objects.Bucket, err error)
- func GetFunctions(cfg *raiden.Config) ([]objects.Function, error)
- func GetPolicies(cfg *raiden.Config) (objects.Policies, error)
- func GetRoles(cfg *raiden.Config) ([]objects.Role, error)
- func GetTables(cfg *raiden.Config, includedSchemas []string) (tables []objects.Table, err error)
- func UpdateBucket(cfg *raiden.Config, param objects.Bucket, updateItem objects.UpdateBucketParam) error
- func UpdateFunction(cfg *raiden.Config, fn objects.Function) (err error)
- func UpdatePolicy(cfg *raiden.Config, new objects.Policy, updateItems objects.UpdatePolicyParam) (err error)
- func UpdateRole(cfg *raiden.Config, new objects.Role, updateItems objects.UpdateRoleParam) (err error)
- func UpdateTable(cfg *raiden.Config, newTable objects.Table, ...) (err error)
- type CreateBucketSuccessResponse
- type DefaultBucketSuccessResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultApiUrl = "https://api.supabase.com" DefaultIncludedSchema = []string{"public", "auth"} )
View Source
var StorageLogger = logger.HcLog().Named("supabase.storage")
View Source
var SupabaseLogger = logger.HcLog().Named("supabase")
Functions ¶
func AdminUpdateUserData ¶
func CreateBucket ¶
func CreateFunction ¶
func CreatePolicy ¶
func CreateTable ¶
func DefaultAuthInterceptor ¶
func DeleteTable ¶
func UpdateBucket ¶
func UpdatePolicy ¶
func UpdateRole ¶
func UpdateTable ¶
Types ¶
type CreateBucketSuccessResponse ¶
type CreateBucketSuccessResponse struct {
Name string `json:"name"`
}
type DefaultBucketSuccessResponse ¶
type DefaultBucketSuccessResponse struct {
Message string `json:"message"`
}
Click to show internal directories.
Click to hide internal directories.