supabase

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client represents a Supabase client for the StackMatch CLI

func NewClient

func NewClient(url, apiKey string) (*Client, error)

NewClient creates a new Supabase client

func (*Client) GetEnvironment

func (c *Client) GetEnvironment(ctx context.Context, id string) (*types.EnvironmentData, error)

GetEnvironment retrieves an environment from Supabase by ID

func (*Client) ListEnvironments

func (c *Client) ListEnvironments(ctx context.Context) ([]types.EnvironmentData, error)

ListEnvironments retrieves a list of all environments

func (*Client) SaveEnvironment

func (c *Client) SaveEnvironment(ctx context.Context, env *types.EnvironmentData) (string, error)

SaveEnvironment saves an environment to Supabase

Jump to

Keyboard shortcuts

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