v1_11

package
v1.20.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: MIT Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddBranchProtectionCanPushAndEnableWhitelist

func AddBranchProtectionCanPushAndEnableWhitelist(x *xorm.Engine) error

func AddCanCreateOrgRepoColumnForTeam

func AddCanCreateOrgRepoColumnForTeam(x *xorm.Engine) error

func AddCommentIDOnNotification

func AddCommentIDOnNotification(x *xorm.Engine) error

func AddModeColumnToWatch

func AddModeColumnToWatch(x *xorm.Engine) (err error)

func AddTeamIncludesAllRepositories

func AddTeamIncludesAllRepositories(x *xorm.Engine) error

func AddTemplateToRepo

func AddTemplateToRepo(x *xorm.Engine) error

func AddWhitelistDeployKeysToBranches

func AddWhitelistDeployKeysToBranches(x *xorm.Engine) error

func ChangeReviewContentToText

func ChangeReviewContentToText(x *xorm.Engine) error

func DropColumnHeadUserNameOnPullRequest

func DropColumnHeadUserNameOnPullRequest(x *xorm.Engine) error

func ExtendTrackedTimes

func ExtendTrackedTimes(x *xorm.Engine) error

func FeatureChangeTargetBranch

func FeatureChangeTargetBranch(x *xorm.Engine) error

func RemoveAttachmentMissedRepo

func RemoveAttachmentMissedRepo(x *xorm.Engine) error

func RemoveLabelUneededCols

func RemoveLabelUneededCols(x *xorm.Engine) error

func RenameExistingUserAvatarName

func RenameExistingUserAvatarName(x *xorm.Engine) error

func SanitizeOriginalURL

func SanitizeOriginalURL(x *xorm.Engine) error

Types

type RepoWatchMode

type RepoWatchMode int8

RepoWatchMode specifies what kind of watch the user has on a repository

type Watch

type Watch struct {
	ID   int64         `xorm:"pk autoincr"`
	Mode RepoWatchMode `xorm:"SMALLINT NOT NULL DEFAULT 1"`
}

Watch is connection request for receiving repository notification.

Jump to

Keyboard shortcuts

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