Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewOrgUsersPluginPrinter ¶
func NewOrgUsersPluginPrinter(
pluginModel *[]plugin_models.GetOrgUsers_Model,
userLister func(guid string, role models.Role) ([]models.UserFields, error),
roles []models.Role,
) *pluginPrinter
func NewSpaceUsersPluginPrinter ¶
func NewSpaceUsersPluginPrinter(
pluginModel *[]plugin_models.GetSpaceUsers_Model,
userLister func(guid string, role models.Role) ([]models.UserFields, error),
roles []models.Role,
) *pluginPrinter
Types ¶
type OrgUsersUIPrinter ¶
type OrgUsersUIPrinter struct {
Roles []models.Role
RoleDisplayNames map[models.Role]string
UserLister func(orgGUID string, role models.Role) ([]models.UserFields, error)
UI terminal.UI
}
func (*OrgUsersUIPrinter) PrintUsers ¶
func (p *OrgUsersUIPrinter) PrintUsers(guid string, username string)
type SpaceUsersUIPrinter ¶
type SpaceUsersUIPrinter struct {
UI terminal.UI
UserLister func(spaceGUID string, role models.Role) ([]models.UserFields, error)
Roles []models.Role
RoleDisplayNames map[models.Role]string
}
func (*SpaceUsersUIPrinter) PrintUsers ¶
func (p *SpaceUsersUIPrinter) PrintUsers(guid string, username string)
type UserPrinter ¶
type UserPrinter interface {
PrintUsers(guid string, username string)
}
Directories
¶
Path | Synopsis |
---|---|
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.