Documentation
¶
Index ¶
Constants ¶
View Source
const Domain = "auth"
Domain defines the domain for the auth package.
Variables ¶
This section is empty.
Functions ¶
func TestSortManagedGroupMemberAccounts ¶ added in v0.13.0
func TestSortManagedGroupMemberAccounts(t testing.TB, m []*ManagedGroupMemberAccount)
TestSortManagedGroupMemberAccounts simply sorts them by public id to make comparisons a bit easier.
Types ¶
type AuthMethod ¶ added in v0.2.0
AuthMethod contains the common methods across all the different types of auth methods.
type ManagedGroup ¶ added in v0.3.0
type ManagedGroupMemberAccount ¶ added in v0.13.0
type ManagedGroupMemberAccount struct { CreateTime *timestamp.Timestamp MemberId string ManagedGroupId string // contains filtered or unexported fields }
ManagedGroupMemberAccount represents an entry from auth_managed_group_member_account. These are used to determine the account ids where are a member of managed groups. See: oidc and ldap managed groups as well as iam role grants.
func TestManagedGroupMemberAccounts ¶ added in v0.13.0
func TestManagedGroupMemberAccounts(t *testing.T, conn *db.DB, managedGroupId string) []*ManagedGroupMemberAccount
TestManagedGroupMemberAccounts retrieves the accounts with membership in the specified managed group.
func (*ManagedGroupMemberAccount) SetTableName ¶ added in v0.13.0
func (a *ManagedGroupMemberAccount) SetTableName(n string)
SetTableName sets the table name.
func (*ManagedGroupMemberAccount) TableName ¶ added in v0.13.0
func (a *ManagedGroupMemberAccount) TableName() string
TableName returns the table name.
Click to show internal directories.
Click to hide internal directories.