user

package
v6.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2014 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateUserFields

type CreateUserFields struct {
	// contains filtered or unexported fields
}

func NewCreateUser

func NewCreateUser(ui terminal.UI, config configuration.Reader, userRepo api.UserRepository) (cmd CreateUserFields)

func (CreateUserFields) GetRequirements

func (cmd CreateUserFields) GetRequirements(reqFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)

func (CreateUserFields) Run

func (cmd CreateUserFields) Run(c *cli.Context)

type DeleteUserFields

type DeleteUserFields struct {
	// contains filtered or unexported fields
}

func NewDeleteUser

func NewDeleteUser(ui terminal.UI, config configuration.Reader, userRepo api.UserRepository) (cmd DeleteUserFields)

func (DeleteUserFields) GetRequirements

func (cmd DeleteUserFields) GetRequirements(reqFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)

func (DeleteUserFields) Run

func (cmd DeleteUserFields) Run(c *cli.Context)

type OrgUsers

type OrgUsers struct {
	// contains filtered or unexported fields
}

func NewOrgUsers

func NewOrgUsers(ui terminal.UI, config configuration.Reader, userRepo api.UserRepository) (cmd *OrgUsers)

func (*OrgUsers) GetRequirements

func (cmd *OrgUsers) GetRequirements(reqFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)

func (*OrgUsers) Run

func (cmd *OrgUsers) Run(c *cli.Context)

type SetOrgRole

type SetOrgRole struct {
	// contains filtered or unexported fields
}

func NewSetOrgRole

func NewSetOrgRole(ui terminal.UI, config configuration.Reader, userRepo api.UserRepository) (cmd *SetOrgRole)

func (*SetOrgRole) GetRequirements

func (cmd *SetOrgRole) GetRequirements(reqFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)

func (*SetOrgRole) Run

func (cmd *SetOrgRole) Run(c *cli.Context)

type SetSpaceRole

type SetSpaceRole struct {
	// contains filtered or unexported fields
}

func NewSetSpaceRole

func NewSetSpaceRole(ui terminal.UI, config configuration.Reader, spaceRepo api.SpaceRepository, userRepo api.UserRepository) (cmd *SetSpaceRole)

func (*SetSpaceRole) GetRequirements

func (cmd *SetSpaceRole) GetRequirements(reqFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)

func (*SetSpaceRole) Run

func (cmd *SetSpaceRole) Run(c *cli.Context)

func (*SetSpaceRole) SetSpaceRole

func (cmd *SetSpaceRole) SetSpaceRole(space models.Space, role, userGuid, userName string) (err error)

type SpaceRoleSetter

type SpaceRoleSetter interface {
	SetSpaceRole(space models.Space, role, userGuid, userName string) (err error)
}

type SpaceUsers

type SpaceUsers struct {
	// contains filtered or unexported fields
}

func NewSpaceUsers

func NewSpaceUsers(ui terminal.UI, config configuration.Reader, spaceRepo api.SpaceRepository, userRepo api.UserRepository) (cmd *SpaceUsers)

func (*SpaceUsers) GetRequirements

func (cmd *SpaceUsers) GetRequirements(reqFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)

func (*SpaceUsers) Run

func (cmd *SpaceUsers) Run(c *cli.Context)

type UnsetOrgRole

type UnsetOrgRole struct {
	// contains filtered or unexported fields
}

func NewUnsetOrgRole

func NewUnsetOrgRole(ui terminal.UI, config configuration.Reader, userRepo api.UserRepository) (cmd *UnsetOrgRole)

func (*UnsetOrgRole) GetRequirements

func (cmd *UnsetOrgRole) GetRequirements(reqFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)

func (*UnsetOrgRole) Run

func (cmd *UnsetOrgRole) Run(c *cli.Context)

type UnsetSpaceRole

type UnsetSpaceRole struct {
	// contains filtered or unexported fields
}

func NewUnsetSpaceRole

func NewUnsetSpaceRole(ui terminal.UI, config configuration.Reader, spaceRepo api.SpaceRepository, userRepo api.UserRepository) (cmd *UnsetSpaceRole)

func (*UnsetSpaceRole) GetRequirements

func (cmd *UnsetSpaceRole) GetRequirements(reqFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)

func (*UnsetSpaceRole) Run

func (cmd *UnsetSpaceRole) Run(c *cli.Context)

Jump to

Keyboard shortcuts

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