Documentation ¶
Overview ¶
Package user hold the actions on the Bitbucket users
Package repository hold actions on the Bitbucket repositories ¶
Package user hold the actions on the Bitbucket users
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct {
Settings *settings.BitAdminSettings
}
Command define base command for user actions
func (*Command) GetCommand ¶
GetCommand provide a ready to use cli.Command
type GrantCommand ¶
type GrantCommand struct { Settings *settings.BitAdminSettings // contains filtered or unexported fields }
GrantCommand define base struct for user grant action
func (*GrantCommand) GetCommand ¶
func (command *GrantCommand) GetCommand() cli.Command
GetCommand provide a ready to use cli.Command
func (*GrantCommand) GrantAction ¶
func (command *GrantCommand) GrantAction(context *cli.Context) error
GrantAction permit to grant permission on repository to given users
type GrantCommandFlags ¶
type GrantCommandFlags struct {
// contains filtered or unexported fields
}
GrantCommandFlags hold the flag values of the use grant action
type UnsetPermissionsCommand ¶
type UnsetPermissionsCommand struct { Settings *settings.BitAdminSettings // contains filtered or unexported fields }
UnsetPermissionsCommand define base struct for Unset permissions actions
func (*UnsetPermissionsCommand) GetCommand ¶
func (command *UnsetPermissionsCommand) GetCommand() cli.Command
GetCommand provide a ready to use cli.Command
func (*UnsetPermissionsCommand) UnsetPermissionsAction ¶
func (command *UnsetPermissionsCommand) UnsetPermissionsAction(context *cli.Context) error
UnsetPermissionsAction unset permissions of given user(s) on given repository
type UnsetPermissionsCommandFlags ¶
type UnsetPermissionsCommandFlags struct {
// contains filtered or unexported fields
}
UnsetPermissionsCommandFlags hold flag values for the UnsetPermissionsCommand