external

package
v0.0.0-...-b97b37b Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GoInceptionErrorLevelSuccess = iota
	GoInceptionErrorLevelWarn
	GoInceptionErrorLevelError
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GoInceptionResult

type GoInceptionResult struct {
	OrderId      int64   `json:"order_id"`
	Stage        string  `json:"stage"`
	ErrorLevel   int64   `json:"error_level"`
	StageStatus  string  `json:"stage_status"`
	ErrorMessage string  `json:"error_message"`
	ExecSql      string  `json:"exec_sql"`
	LogicSql     string  `json:"logic_sql"`
	AffectedRows int64   `json:"affected_rows"`
	Sequence     string  `json:"sequence"`
	BackupDbname string  `json:"backup_dbname"`
	ExecuteTime  float64 `json:"execute_time"`
	Sqlsha1      string  `json:"sqlsha1"`
	BackupTime   float64 `json:"backup_time"`
}

func NewGoInceptionResult

func NewGoInceptionResult(orderId, stage, errorLevel, stageStatus, errorMessage, execSql, affectedRows, sequence, backupDbname, executeTime, sqlsha1, backupTime string) (*GoInceptionResult, error)

type LdapUser

type LdapUser struct {
	DN            string `json:"dn"`
	UserPassword  string `json:"userPassword"`
	GivenName     string `json:"givenName"`
	HomeDirectory string `json:"homeDirectory"`
	UidNumber     string `json:"uidNumber"`
	GidNumber     string `json:"gidNumber"`
	SN            string `json:"sn"`
	Mail          string `json:"mail"`
	Uid           string `json:"uid"`
	CN            string `json:"cn"`
}

func NewLdapUser

func NewLdapUser(fieldValueMap map[string]string) (*LdapUser, error)

type LdapUserV2

type LdapUserV2 struct {
	DN              string `json:"dn"`
	Uid             string `json:"uid"`
	Mail            string `json:"mail"`
	TelephoneNumber string `json:"telephoneNumber"`
	EmployeeNumber  string `json:"employeeNumber"`
	DisplayName     string `json:"displayName"`
	Mobile          string `json:"mobile"`
	SN              string `json:"sn"`
	CN              string `json:"cn"`
	ObjectClass     string `json:"objectClass"`
	UserPassword    string `json:"userPassword"`
}

func NewLdapUserV2

func NewLdapUserV2(fieldValueMap map[string]string) (*LdapUserV2, error)

func (*LdapUserV2) GetNameEn

func (this *LdapUserV2) GetNameEn() string

func (*LdapUserV2) GetNameZh

func (this *LdapUserV2) GetNameZh() string

type SqlFingerprint

type SqlFingerprint struct {
	GroupId             int    `json:"group_id"`
	OriStatment         string `json:"ori_statment"`
	PlaseholderStatment string `json:"plaseholder_statment"`
	Fingerprint         string `json:"fingerprint"`
}

Jump to

Keyboard shortcuts

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