user

package
v0.0.0-...-d2f2feb Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2019 License: MIT Imports: 5 Imported by: 1

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

func (rc *Command) GetCommand() cli.Command

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

Jump to

Keyboard shortcuts

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