user

package
v6.12.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2015 License: Apache-2.0 Imports: 16 Imported by: 0

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 core_config.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 (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 core_config.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 (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 core_config.Reader, userRepo api.UserRepository) (cmd *OrgUsers)

func (*OrgUsers) Execute

func (cmd *OrgUsers) Execute(c flags.FlagContext)

func (*OrgUsers) MetaData

func (cmd *OrgUsers) MetaData() command_registry.CommandMetadata

func (*OrgUsers) Requirements

func (cmd *OrgUsers) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) (reqs []requirements.Requirement, err error)

func (*OrgUsers) SetDependency

func (cmd *OrgUsers) SetDependency(deps command_registry.Dependency, pluginCall bool) command_registry.Command

type SetOrgRole

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

func NewSetOrgRole

func NewSetOrgRole(ui terminal.UI, config core_config.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 (*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 core_config.Reader, spaceRepo spaces.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 (*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 core_config.Reader, spaceRepo spaces.SpaceRepository, userRepo api.UserRepository) (cmd *SpaceUsers)

func (*SpaceUsers) Execute

func (cmd *SpaceUsers) Execute(c flags.FlagContext)

func (*SpaceUsers) MetaData

func (*SpaceUsers) Requirements

func (cmd *SpaceUsers) Requirements(requirementsFactory requirements.Factory, fc flags.FlagContext) (reqs []requirements.Requirement, err error)

func (*SpaceUsers) SetDependency

func (cmd *SpaceUsers) SetDependency(deps command_registry.Dependency, pluginCall bool) command_registry.Command

type UnsetOrgRole

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

func NewUnsetOrgRole

func NewUnsetOrgRole(ui terminal.UI, config core_config.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 (*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 core_config.Reader, spaceRepo spaces.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 (*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