Documentation ¶
Index ¶
- Constants
- func AddAdminUser(ctx context.Context, authService auth.Service, ...) (*model.Credential, error)
- func CreateACLBaseGroups(ctx context.Context, authService auth.Service, ts time.Time) error
- func CreateAdminUser(ctx context.Context, authService auth.Service, cfg *config.Config, ...) (*model.Credential, error)
- func CreateBaseGroups(ctx context.Context, authService auth.Service, cfg *config.Config, ...) error
- func CreateInitialAdminUser(ctx context.Context, authService auth.Service, cfg *config.Config, ...) (*model.Credential, error)
- func CreateInitialAdminUserWithKeys(ctx context.Context, authService auth.Service, cfg *config.Config, ...) (*model.Credential, error)
- func CreateRBACBaseGroups(ctx context.Context, authService auth.Service, ts time.Time) error
- func CreateRBACBasePolicies(ctx context.Context, authService auth.Service, ts time.Time) error
Constants ¶
View Source
const ( AdminsGroup = "Admins" SuperUsersGroup = "SuperUsers" DevelopersGroup = "Developers" ViewersGroup = "Viewers" )
Variables ¶
This section is empty.
Functions ¶
func AddAdminUser ¶
func AddAdminUser(ctx context.Context, authService auth.Service, user *model.SuperuserConfiguration) (*model.Credential, error)
func CreateACLBaseGroups ¶ added in v0.111.0
func CreateAdminUser ¶ added in v0.111.0
func CreateAdminUser(ctx context.Context, authService auth.Service, cfg *config.Config, superuser *model.SuperuserConfiguration) (*model.Credential, error)
CreateAdminUser setup base groups, policies and create admin user
func CreateBaseGroups ¶ added in v0.111.0
func CreateInitialAdminUser ¶
func CreateRBACBaseGroups ¶ added in v0.111.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.