repository

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: 8 Imported by: 1

Documentation

Overview

Package repository hold actions on the Bitbucket repositories

Package repository hold actions on the Bitbucket repositories

Package repository hold actions on the Bitbucket repositories

Package repository hold actions on the Bitbucket repositories

Package repository hold actions on the Bitbucket repositories

Package repository hold actions on the Bitbucket repositories

Package repository hold actions on the Bitbucket repositories

Package repository hold actions on the Bitbucket repositories

Package repository hold actions on the Bitbucket repositories

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 BranchingModelCommand

type BranchingModelCommand struct {
	Settings *settings.BitAdminSettings
	// contains filtered or unexported fields
}

BranchingModelCommand define base struct for BranchingModel actions

func (*BranchingModelCommand) GetCommand

func (command *BranchingModelCommand) GetCommand() cli.Command

GetCommand provide a ready to use cli.Command

func (*BranchingModelCommand) SetBranchingModelAction

func (command *BranchingModelCommand) SetBranchingModelAction(context *cli.Context) error

SetBranchingModelAction use flag values to set the branching model options on given repository

type BranchingModelCommandFlags

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

BranchingModelCommandFlags define flags required by the ShowPermissionsAction

type CloneSettingsCommand

type CloneSettingsCommand struct {
	Settings *settings.BitAdminSettings
	// contains filtered or unexported fields
}

CloneSettingsCommand define base struct for the clone settings actions

func (*CloneSettingsCommand) CloneSettingsAction

func (command *CloneSettingsCommand) CloneSettingsAction(context *cli.Context) error

CloneSettingsAction provide logic allowing to copy repository settings from one to another. Thoses settings include user / group permissions, and branch restrictions.

func (*CloneSettingsCommand) GetCommand

func (command *CloneSettingsCommand) GetCommand() cli.Command

GetCommand provide a ready to use cli.Command

type CloneSettingsCommandFlags

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

CloneSettingsCommandFlags hold flag values for the CloneSettingsCommand

type Command

type Command struct {
	Settings *settings.BitAdminSettings
}

Command define base struct for repository subcommands and actions

func (*Command) GetCommand

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

GetCommand provide a ready to use cli.Command

type CreateCommand

type CreateCommand struct {
	Settings *settings.BitAdminSettings
	// contains filtered or unexported fields
}

CreateCommand define base struct for Create actions

func (*CreateCommand) CreateRepositoryAction

func (command *CreateCommand) CreateRepositoryAction(context *cli.Context) error

CreateRepositoryAction use flag values to create a new repository

func (*CreateCommand) GetCommand

func (command *CreateCommand) GetCommand() cli.Command

GetCommand provide a ready to use cli.Command

type CreateCommandFlags

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

CreateCommandFlags hold flag values for the CreateCommand

type MoveCommand

type MoveCommand struct {
	Settings *settings.BitAdminSettings
	// contains filtered or unexported fields
}

MoveCommand define base struct for Move actions

func (*MoveCommand) GetCommand

func (command *MoveCommand) GetCommand() cli.Command

GetCommand provide a ready to use cli.Command

func (*MoveCommand) MoveRepositoryAction

func (command *MoveCommand) MoveRepositoryAction(context *cli.Context) error

MoveRepositoryAction move or rename a repository

type MoveCommandFlags

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

MoveCommandFlags hold flag values for the MoveCommand

type OutputRow

type OutputRow struct {
	Name       string
	Type       string
	Project    string
	Repository string
	Read       bool
	Write      bool
	Merge      bool
}

func (OutputRow) String

func (row OutputRow) String() string

type OutputRows

type OutputRows []OutputRow

func (OutputRows) String

func (rows OutputRows) String() string

type PullRequestSettingsCommand

type PullRequestSettingsCommand struct {
	Settings *settings.BitAdminSettings
	// contains filtered or unexported fields
}

PullRequestSettingsCommand define base struct for PullRequestSettings actions

func (*PullRequestSettingsCommand) GetCommand

func (command *PullRequestSettingsCommand) GetCommand() cli.Command

GetCommand provide a ready to use cli.Command

func (*PullRequestSettingsCommand) SetPullRequestSettingsAction

func (command *PullRequestSettingsCommand) SetPullRequestSettingsAction(context *cli.Context) error

SetPullRequestSettingsAction allow to set the pull request settings on given repository. This will keep the existing MergeConfig and doesn't allow to update this for now.

type PullRequestSettingsCommandFlags

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

PullRequestSettingsCommandFlags hold flag values for the PullRequestSettingsCommand

type SetBranchRestrictionCommand

type SetBranchRestrictionCommand struct {
	Settings *settings.BitAdminSettings
	// contains filtered or unexported fields
}

SetBranchRestrictionCommand define base struct for SetBranchRestriction actions

func (*SetBranchRestrictionCommand) GetCommand

func (command *SetBranchRestrictionCommand) GetCommand() cli.Command

GetCommand provide a ready to use cli.Command

func (*SetBranchRestrictionCommand) SetBranchRestrictionAction

func (command *SetBranchRestrictionCommand) SetBranchRestrictionAction(context *cli.Context) error

SetBranchRestrictionAction use flag values tp set the branch restrictions on given repository

type SetBranchRestrictionCommandFlags

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

SetBranchRestrictionCommandFlags hold flag values for the SetBranchRestrictionCommand

type SetDefaultReviewersCommand

type SetDefaultReviewersCommand struct {
	Settings *settings.BitAdminSettings
	// contains filtered or unexported fields
}

SetDefaultReviewersCommand define base struct for SetDefaultReviewer actions

func (*SetDefaultReviewersCommand) GetCommand

func (command *SetDefaultReviewersCommand) GetCommand() cli.Command

GetCommand provide a ready to use cli.Command

func (*SetDefaultReviewersCommand) SetDefaultReviewersAction

func (command *SetDefaultReviewersCommand) SetDefaultReviewersAction(context *cli.Context) error

SetDefaultReviewersAction allow to set the default reviewers on given repository.

type SetDefaultReviewersCommandFlags

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

SetDefaultReviewersCommandFlags hold flag values for the SetDefaultReviewerCommand

type ShowPermissionsCommand

type ShowPermissionsCommand struct {
	Settings *settings.BitAdminSettings
	// contains filtered or unexported fields
}

ShowPermissionsCommand define base struct for ShowPermissions actions

func (*ShowPermissionsCommand) GetCommand

func (command *ShowPermissionsCommand) GetCommand() cli.Command

GetCommand provide a ready to use cli.Command

func (*ShowPermissionsCommand) ShowPermissionsAction

func (command *ShowPermissionsCommand) ShowPermissionsAction(context *cli.Context) error

ShowPermissionsAction display the current user / group permissions on given repository

type ShowPermissionsFlags

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

ShowPermissionsFlags define flags required by the ShowPermissionsAction

type SonarCommand

type SonarCommand struct {
	Settings *settings.BitAdminSettings
	// contains filtered or unexported fields
}

SonarCommand define base struct for SonarCommand actions

func (*SonarCommand) GetCommand

func (command *SonarCommand) GetCommand() cli.Command

GetCommand provide a ready to use cli.Command

func (*SonarCommand) SonarAction

func (command *SonarCommand) SonarAction(context *cli.Context) error

SonarAction allow to turn on the sonar cleanup setting on all available repositories

type SonarCommandFlags

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

SonarCommandFlags define flags required by the SonarAction

Jump to

Keyboard shortcuts

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