supabase

package
v0.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Package supabase provides a Supabase Management API grant with optional import of a host Supabase CLI login.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct{ *configprovider.ConfigProvider }

Provider reuses the config provider's proxy and container behavior while adding an explicit host-login import choice to Grant.

func New

func New() *Provider

func (*Provider) ContainerEnv

func (p *Provider) ContainerEnv(cred *provider.Credential) []string

ContainerEnv supplies the Supabase CLI with a fresh token-shaped placeholder. Header injection does not need this value again, so it can be random per run.

func (*Provider) Grant

func (p *Provider) Grant(ctx context.Context) (*provider.Credential, error)

func (*Provider) ImpliedDependencies

func (p *Provider) ImpliedDependencies() []string

ImpliedDependencies installs the Supabase CLI for runs using this grant.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL