userprint

package
v6.35.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2018 License: Apache-2.0 Imports: 4 Imported by: 9 modules, 12 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

Jump to

Keyboard shortcuts

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