snowflake

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hostname

func Hostname(resolvedHost string) string

func S3Endpoint added in v0.14.0

func S3Endpoint(port string) string

S3Endpoint returns the value for the Snowflake emulator's SF_S3_ENDPOINT variable for the given host port. The Python Snowflake emulator funnels all S3 access (including internal stages, e.g. COPY INTO) through this single endpoint, so it must match the port the emulator is exposed on; otherwise it defaults to 4566 and S3 access fails when the emulator runs on a custom port.

Types

type Client

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

func NewClient

func NewClient() *Client

func (*Client) FetchResources

func (c *Client) FetchResources(_ context.Context, _ string) ([]emulator.Resource, error)

FetchResources is a no-op for Snowflake — the emulator does not expose AWS-style resources.

func (*Client) FetchVersion

func (c *Client) FetchVersion(ctx context.Context, host string) (string, error)

Jump to

Keyboard shortcuts

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