Documentation ¶
Index ¶
- type MySQLAADUserManager
- func (m *MySQLAADUserManager) CreateUser(ctx context.Context, db *sql.DB, username string, aadID string) error
- func (m *MySQLAADUserManager) Delete(ctx context.Context, obj runtime.Object, opts ...resourcemanager.ConfigOption) (bool, error)
- func (m *MySQLAADUserManager) Ensure(ctx context.Context, obj runtime.Object, opts ...resourcemanager.ConfigOption) (bool, error)
- func (m *MySQLAADUserManager) GetParents(obj runtime.Object) ([]resourcemanager.KubeParent, error)
- func (m *MySQLAADUserManager) GetServer(ctx context.Context, resourceGroupName, serverName string) (mysqlmgmt.Server, error)
- func (m *MySQLAADUserManager) GetStatus(obj runtime.Object) (*v1alpha1.ASOStatus, error)
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 ¶
func (m *MySQLAADUserManager) Delete(ctx context.Context, obj runtime.Object, opts ...resourcemanager.ConfigOption) (bool, error)
Delete deletes a user
func (*MySQLAADUserManager) Ensure ¶
func (m *MySQLAADUserManager) Ensure(ctx context.Context, obj runtime.Object, opts ...resourcemanager.ConfigOption) (bool, error)
Ensure that user exists
func (*MySQLAADUserManager) GetParents ¶
func (m *MySQLAADUserManager) GetParents(obj runtime.Object) ([]resourcemanager.KubeParent, error)
GetParents gets the parents of the user
Click to show internal directories.
Click to hide internal directories.