Documentation ¶
Index ¶
- Variables
- func CreateColumn(cfg *raiden.Config, column objects.Column, isPrimary bool) 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, newTable objects.Table) (result objects.Table, err error)
- func DefaultAuthInterceptor(accessToken string) func(req *http.Request) error
- func DeleteColumn(cfg *raiden.Config, column objects.Column) error
- func DeleteFunction(cfg *raiden.Config, fn objects.Function) error
- func DeletePolicy(cfg *raiden.Config, policy objects.Policy) error
- func DeleteRole(cfg *raiden.Config, role objects.Role) error
- func DeleteTable(cfg *raiden.Config, table objects.Table, cascade bool) error
- func ExecuteQuery[T any](baseUrl, projectId, query string, reqInterceptor net.RequestInterceptor, ...) (result T, err error)
- func FindProject(cfg *raiden.Config) (objects.Project, error)
- func GetFunctionByName(cfg *raiden.Config, schema, name string) (result objects.Function, err error)
- func GetFunctions(cfg *raiden.Config) ([]objects.Function, error)
- func GetPolicies(cfg *raiden.Config) ([]objects.Policy, error)
- func GetPolicyByName(cfg *raiden.Config, name string) (result objects.Policy, err error)
- func GetRoleByName(cfg *raiden.Config, name string) (result objects.Role, err error)
- func GetRoles(cfg *raiden.Config) ([]objects.Role, error)
- func GetTableByName(cfg *raiden.Config, name, schema string, includeColumn bool) (result objects.Table, err error)
- func GetTables(cfg *raiden.Config, includedSchemas []string, includeColumn bool) ([]objects.Table, error)
- func UpdateColumn(cfg *raiden.Config, oldColumn, newColumn objects.Column, ...) error
- func UpdateFunction(cfg *raiden.Config, fn objects.Function) error
- func UpdatePolicy(cfg *raiden.Config, policy objects.Policy, ...) error
- func UpdateRole(cfg *raiden.Config, newRole objects.Role, ...) error
- func UpdateTable(cfg *raiden.Config, newTable objects.Table, ...) error
- type ExecuteQueryParam
Constants ¶
This section is empty.
Variables ¶
View Source
var CloudLogger = logger.HcLog().Named("supabase.cloud")
Functions ¶
func CreateColumn ¶
func CreateFunction ¶
func CreatePolicy ¶
func CreateTable ¶
func DefaultAuthInterceptor ¶
func ExecuteQuery ¶
func ExecuteQuery[T any](baseUrl, projectId, query string, reqInterceptor net.RequestInterceptor, resInterceptor net.ResponseInterceptor) (result T, err error)
func GetFunctionByName ¶
func GetPolicyByName ¶
func GetRoleByName ¶
func GetTableByName ¶
func UpdateColumn ¶
func UpdatePolicy ¶
func UpdateRole ¶
func UpdateTable ¶
Types ¶
type ExecuteQueryParam ¶
type ExecuteQueryParam struct {
Query string `json:"query"`
}
----- Execute Query -----
Click to show internal directories.
Click to hide internal directories.