Versions in this module Expand all Collapse all v0 v0.17.0 Mar 23, 2026 Changes in this version + type PATInfo struct + Comment string + ExpiresAt time.Time + RoleRestriction string + TokenName string v0.16.0 Mar 11, 2026 Changes in this version + var ErrInvalidPrivateKey = fmt.Errorf("failed to read provided private_key") + var ErrInvalidSnowflakeURL = fmt.Errorf(...) + var ErrOAuthMissingFields = fmt.Errorf(...) + var ErrOAuthMutuallyExclusive = fmt.Errorf(...) + var ErrOAuthUsernameRequired = fmt.Errorf("username is required for OAuth client credentials authentication") + var ErrWIFInvalidProvider = fmt.Errorf("workload_identity_provider must be one of: AWS, GCP, AZURE, OIDC") + var ErrWIFMutuallyExclusive = fmt.Errorf(...) + var ErrWIFTokenRequired = fmt.Errorf(...) + var ErrWIFUsernameRequired = fmt.Errorf("username is required for workload identity federation") + func New() (interface{}, error) + type SnowflakeSQL struct + func (c SnowflakeSQL) Close() error + func (c SnowflakeSQL) Connection(ctx context.Context) (interface{}, error) + func (c SnowflakeSQL) Init(ctx context.Context, initConfig map[string]interface{}, verifyConnection bool) (saveConfig map[string]interface{}, err error) + func (s *SnowflakeSQL) DeleteUser(ctx context.Context, req dbplugin.DeleteUserRequest) (dbplugin.DeleteUserResponse, error) + func (s *SnowflakeSQL) Initialize(ctx context.Context, req dbplugin.InitializeRequest) (dbplugin.InitializeResponse, error) + func (s *SnowflakeSQL) NewUser(ctx context.Context, req dbplugin.NewUserRequest) (dbplugin.NewUserResponse, error) + func (s *SnowflakeSQL) Type() (string, error) + func (s *SnowflakeSQL) UpdateUser(ctx context.Context, req dbplugin.UpdateUserRequest) (dbplugin.UpdateUserResponse, error)