mysqlaaduser

package
v0.0.0-...-6806e21 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MySQLAADUserManager

type MySQLAADUserManager struct {
	Creds config.Credentials
	// contains filtered or unexported fields
}

func NewMySQLAADUserManager

func NewMySQLAADUserManager(creds config.Credentials, identityFinder *helpers.AADIdentityFinder) *MySQLAADUserManager

NewMySQLAADUserManager creates a new MySQLAADUserManager

func (*MySQLAADUserManager) CreateUser

func (m *MySQLAADUserManager) CreateUser(ctx context.Context, db *sql.DB, username string, aadID string) error

CreateUser creates an aad user

func (*MySQLAADUserManager) Delete

Delete deletes a user

func (*MySQLAADUserManager) Ensure

Ensure that user exists

func (*MySQLAADUserManager) GetParents

GetParents gets the parents of the user

func (*MySQLAADUserManager) GetServer

func (m *MySQLAADUserManager) GetServer(ctx context.Context, resourceGroupName, serverName string) (mysqlmgmt.Server, error)

GetServer retrieves a server

func (*MySQLAADUserManager) GetStatus

func (m *MySQLAADUserManager) GetStatus(obj runtime.Object) (*v1alpha1.ASOStatus, error)

GetStatus gets the status

Jump to

Keyboard shortcuts

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