dbuser

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SuffixA = "_a"
	SuffixB = "_b"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DBUser

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

func NewDBUser

func NewDBUser(baseName string) DBUser

func (DBUser) GetUserA

func (dbu DBUser) GetUserA() string

func (DBUser) GetUserB

func (dbu DBUser) GetUserB() string

func (DBUser) IsUserChanged

func (dbu DBUser) IsUserChanged(status persistancev1.Status) bool

func (DBUser) NextUser

func (dbu DBUser) NextUser(curUser string) string

func (DBUser) TrimUserSuffix

func (dbu DBUser) TrimUserSuffix(in string) string

Jump to

Keyboard shortcuts

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