group

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: 0

Documentation

Overview

Package group provides actions for interacting with Bitbucket groups.

Package group provides actions for interacting with Bitbucket groups.

Package repository hold actions on the Bitbucket repositories

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 the base struct for providing group 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 provide base struct for holding group actions

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 define the command logic allowing to set permissions for groups on given repository

type GrantCommandFlags

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

GrantCommandFlags hold the flag values of the command

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