model

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: May 19, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectorFactory

type ConnectorFactory interface {
	GetConnector(prefix string, data *schema.ResourceData) (interface{}, error)
}

type Login

type Login struct {
	PrincipalID     int64
	LoginName       string
	DefaultDatabase string
	DefaultLanguage string
}

type Provider

type Provider interface {
	GetConnector(prefix string, data *schema.ResourceData) (interface{}, error)
	ResourceLogger(resource, function string) zerolog.Logger
	DataSourceLogger(datasource, function string) zerolog.Logger
}

type User

type User struct {
	PrincipalID     int64
	Username        string
	ObjectId        string
	LoginName       string
	Password        string
	AuthType        string
	DefaultSchema   string
	DefaultLanguage string
	Roles           []string
}

Jump to

Keyboard shortcuts

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