Documentation ¶
Index ¶
- type AuthMethod
- type CreateUserStmtBuilder
- func (b *CreateUserStmtBuilder) AuthByPubkeyWithPemFile(pemPath string) *CreateUserStmtBuilder
- func (b *CreateUserStmtBuilder) AuthByPubkeyWithPrivateKey(key any) *CreateUserStmtBuilder
- func (b *CreateUserStmtBuilder) AuthByToken(token string) *CreateUserStmtBuilder
- func (b *CreateUserStmtBuilder) IfNotExists() *CreateUserStmtBuilder
- func (b *CreateUserStmtBuilder) MockTime(t time.Time) *CreateUserStmtBuilder
- func (b *CreateUserStmtBuilder) SetParty(partyCode string) *CreateUserStmtBuilder
- func (b *CreateUserStmtBuilder) SetPassword(passwd string) *CreateUserStmtBuilder
- func (b *CreateUserStmtBuilder) SetUser(user string) *CreateUserStmtBuilder
- func (b *CreateUserStmtBuilder) ToSQL() (string, error)
- func (b *CreateUserStmtBuilder) WithEndpoinits(endpoints []string) *CreateUserStmtBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthMethod ¶
type AuthMethod int
type CreateUserStmtBuilder ¶
type CreateUserStmtBuilder struct {
// contains filtered or unexported fields
}
func NewCreateUserStmtBuilder ¶
func NewCreateUserStmtBuilder() *CreateUserStmtBuilder
func (*CreateUserStmtBuilder) AuthByPubkeyWithPemFile ¶
func (b *CreateUserStmtBuilder) AuthByPubkeyWithPemFile(pemPath string) *CreateUserStmtBuilder
func (*CreateUserStmtBuilder) AuthByPubkeyWithPrivateKey ¶
func (b *CreateUserStmtBuilder) AuthByPubkeyWithPrivateKey(key any) *CreateUserStmtBuilder
func (*CreateUserStmtBuilder) AuthByToken ¶
func (b *CreateUserStmtBuilder) AuthByToken(token string) *CreateUserStmtBuilder
func (*CreateUserStmtBuilder) IfNotExists ¶
func (b *CreateUserStmtBuilder) IfNotExists() *CreateUserStmtBuilder
func (*CreateUserStmtBuilder) MockTime ¶
func (b *CreateUserStmtBuilder) MockTime(t time.Time) *CreateUserStmtBuilder
only for test purpose
func (*CreateUserStmtBuilder) SetParty ¶
func (b *CreateUserStmtBuilder) SetParty(partyCode string) *CreateUserStmtBuilder
func (*CreateUserStmtBuilder) SetPassword ¶
func (b *CreateUserStmtBuilder) SetPassword(passwd string) *CreateUserStmtBuilder
func (*CreateUserStmtBuilder) SetUser ¶
func (b *CreateUserStmtBuilder) SetUser(user string) *CreateUserStmtBuilder
func (*CreateUserStmtBuilder) ToSQL ¶
func (b *CreateUserStmtBuilder) ToSQL() (string, error)
func (*CreateUserStmtBuilder) WithEndpoinits ¶
func (b *CreateUserStmtBuilder) WithEndpoinits(endpoints []string) *CreateUserStmtBuilder
Click to show internal directories.
Click to hide internal directories.