user

package
v6.1.2+incompatible Latest Latest
Warning

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

Go to latest
Published: May 7, 2014 License: Apache-2.0 Imports: 10 Imported by: 140

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateUser

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

func NewCreateUser

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

func (CreateUser) GetRequirements

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

func (CreateUser) Metadata

func (command CreateUser) Metadata() command_metadata.CommandMetadata

func (CreateUser) Run

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

type DeleteUser

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

func NewDeleteUser

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

func (DeleteUser) GetRequirements

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

func (DeleteUser) Metadata

func (command DeleteUser) Metadata() command_metadata.CommandMetadata

func (DeleteUser) Run

func (cmd DeleteUser) 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(requirementsFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)

func (*OrgUsers) Metadata

func (command *OrgUsers) Metadata() command_metadata.CommandMetadata

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(requirementsFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)

func (*SetOrgRole) Metadata

func (command *SetOrgRole) Metadata() command_metadata.CommandMetadata

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(requirementsFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)

func (*SetSpaceRole) Metadata

func (command *SetSpaceRole) Metadata() command_metadata.CommandMetadata

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(requirementsFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)

func (*SpaceUsers) Metadata

func (command *SpaceUsers) Metadata() command_metadata.CommandMetadata

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(requirementsFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)

func (*UnsetOrgRole) Metadata

func (command *UnsetOrgRole) Metadata() command_metadata.CommandMetadata

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(requirementsFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)

func (*UnsetSpaceRole) Metadata

func (command *UnsetSpaceRole) Metadata() command_metadata.CommandMetadata

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