Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Basic BasicInstance Sql SqlInstance )
Functions ¶
func New ¶
func New() (BasicInstance, SqlInstance)
Types ¶
type BasicInstance ¶
type BasicNameGenerator ¶
type BasicNameGenerator struct {
// contains filtered or unexported fields
}
func (*BasicNameGenerator) InstanceName ¶
func (bng *BasicNameGenerator) InstanceName() string
func (*BasicNameGenerator) InstanceNameWithSeparator ¶
func (bng *BasicNameGenerator) InstanceNameWithSeparator(sep string) string
type SqlInstance ¶
type SqlNameGenerator ¶
type SqlNameGenerator struct {
BasicNameGenerator
}
func (*SqlNameGenerator) DatabaseName ¶
func (sng *SqlNameGenerator) DatabaseName() string
func (*SqlNameGenerator) GeneratePassword ¶
func (*SqlNameGenerator) GeneratePassword() (string, error)
func (*SqlNameGenerator) GenerateUsername ¶
func (*SqlNameGenerator) GenerateUsername(instanceID, bindingID string) (string, error)
func (*SqlNameGenerator) InstanceName ¶
func (sng *SqlNameGenerator) InstanceName() string
Click to show internal directories.
Click to hide internal directories.