Documentation ¶
Index ¶
- Variables
- type CreateUser
- type DeleteUser
- type OrgUsers
- type SetOrgRole
- type SetSpaceRole
- func (cmd *SetSpaceRole) GetRequirements(requirementsFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)
- func (cmd *SetSpaceRole) Metadata() command_metadata.CommandMetadata
- func (cmd *SetSpaceRole) Run(c *cli.Context)
- func (cmd *SetSpaceRole) SetSpaceRole(space models.Space, role, userGuid, userName string) (err error)
- type SpaceRoleSetter
- type SpaceUsers
- type UnsetOrgRole
- type UnsetSpaceRole
Constants ¶
This section is empty.
Variables ¶
View Source
var T goi18n.TranslateFunc
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 (cmd 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 (cmd 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 (cmd *OrgUsers) Metadata() command_metadata.CommandMetadata
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 (cmd *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 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 (cmd *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 SpaceUsers ¶
type SpaceUsers struct {
// contains filtered or unexported fields
}
func NewSpaceUsers ¶
func NewSpaceUsers(ui terminal.UI, config configuration.Reader, spaceRepo spaces.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 (cmd *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 (cmd *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 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 (cmd *UnsetSpaceRole) Metadata() command_metadata.CommandMetadata
func (*UnsetSpaceRole) Run ¶
func (cmd *UnsetSpaceRole) Run(c *cli.Context)
Click to show internal directories.
Click to hide internal directories.