org

package
v1.20.1 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2023 License: MIT Imports: 38 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddBoardToProjectPost added in v1.19.0

func AddBoardToProjectPost(ctx *context.Context)

AddBoardToProjectPost allows a new board to be added to a project.

func Applications added in v1.17.4

func Applications(ctx *context.Context)

Applications render org applications page (for org, at the moment, there are only OAuth2 applications)

func ChangeProjectStatus added in v1.19.0

func ChangeProjectStatus(ctx *context.Context)

ChangeProjectStatus updates the status of a project between "open" and "close"

func CheckProjectBoardChangePermissions added in v1.19.0

func CheckProjectBoardChangePermissions(ctx *context.Context) (*project_model.Project, *project_model.Board)

CheckProjectBoardChangePermissions check permission

func Create

func Create(ctx *context.Context)

Create render the page for create organization

func CreatePost

func CreatePost(ctx *context.Context)

CreatePost response for create organization

func DeleteLabel

func DeleteLabel(ctx *context.Context)

DeleteLabel delete a label

func DeleteOAuth2Application added in v1.17.4

func DeleteOAuth2Application(ctx *context.Context)

DeleteOAuth2Application deletes the given oauth2 application

func DeleteProject added in v1.19.0

func DeleteProject(ctx *context.Context)

DeleteProject delete a project

func DeleteProjectBoard added in v1.19.0

func DeleteProjectBoard(ctx *context.Context)

DeleteProjectBoard allows for the deletion of a project board

func DeleteTeam

func DeleteTeam(ctx *context.Context)

DeleteTeam response for the delete team request

func DeleteWebhook

func DeleteWebhook(ctx *context.Context)

DeleteWebhook response for delete webhook

func EditProjectBoard added in v1.19.0

func EditProjectBoard(ctx *context.Context)

EditProjectBoard allows a project board's to be updated

func EditProjectPost added in v1.19.0

func EditProjectPost(ctx *context.Context)

EditProjectPost response for editing a project

func EditTeam

func EditTeam(ctx *context.Context)

EditTeam render team edit page

func EditTeamPost

func EditTeamPost(ctx *context.Context)

EditTeamPost response for modify team information

func Home

func Home(ctx *context.Context)

Home show organization home page

func InitializeCargoIndex added in v1.19.0

func InitializeCargoIndex(ctx *context.Context)

func InitializeLabels

func InitializeLabels(ctx *context.Context)

InitializeLabels init labels for an organization

func Labels

func Labels(ctx *context.Context)

Labels render organization labels page

func Members

func Members(ctx *context.Context)

Members render organization users page

func MembersAction

func MembersAction(ctx *context.Context)

MembersAction response for operation to a member of organization

func MoveIssues added in v1.19.0

func MoveIssues(ctx *context.Context)

MoveIssues moves or keeps issues in a column and sorts them inside that column

func MustEnableProjects added in v1.19.0

func MustEnableProjects(ctx *context.Context)

MustEnableProjects check if projects are enabled in settings

func NewLabel

func NewLabel(ctx *context.Context)

NewLabel create new label for organization

func NewProjectPost added in v1.19.0

func NewProjectPost(ctx *context.Context)

NewProjectPost creates a new project

func NewTeam

func NewTeam(ctx *context.Context)

NewTeam render create new team page

func NewTeamPost

func NewTeamPost(ctx *context.Context)

NewTeamPost response for create new team

func OAuth2ApplicationEdit added in v1.17.4

func OAuth2ApplicationEdit(ctx *context.Context)

OAuth2ApplicationEdit response for editing oauth2 application

func OAuth2ApplicationShow added in v1.17.4

func OAuth2ApplicationShow(ctx *context.Context)

OAuth2ApplicationShow displays the given application

func OAuthApplicationsPost added in v1.17.4

func OAuthApplicationsPost(ctx *context.Context)

OAuthApplicationsPost response for adding an oauth2 application

func OAuthApplicationsRegenerateSecret added in v1.17.4

func OAuthApplicationsRegenerateSecret(ctx *context.Context)

OAuthApplicationsRegenerateSecret handles the post request for regenerating the secret

func Packages added in v1.17.4

func Packages(ctx *context.Context)

func PackagesRuleAdd added in v1.17.4

func PackagesRuleAdd(ctx *context.Context)

func PackagesRuleAddPost added in v1.17.4

func PackagesRuleAddPost(ctx *context.Context)

func PackagesRuleEdit added in v1.17.4

func PackagesRuleEdit(ctx *context.Context)

func PackagesRuleEditPost added in v1.17.4

func PackagesRuleEditPost(ctx *context.Context)

func PackagesRulePreview added in v1.17.4

func PackagesRulePreview(ctx *context.Context)

func Projects added in v1.19.0

func Projects(ctx *context.Context)

Projects renders the home page of projects

func RebuildCargoIndex added in v1.19.0

func RebuildCargoIndex(ctx *context.Context)

func RenderEditProject added in v1.20.0

func RenderEditProject(ctx *context.Context)

RenderEditProject allows a project to be edited

func RenderNewProject added in v1.20.0

func RenderNewProject(ctx *context.Context)

RenderNewProject render creating a project page

func RetrieveLabels

func RetrieveLabels(ctx *context.Context)

RetrieveLabels find all the labels of an organization

func SearchTeam added in v1.17.0

func SearchTeam(ctx *context.Context)

SearchTeam api for searching teams

func SetDefaultProjectBoard added in v1.19.0

func SetDefaultProjectBoard(ctx *context.Context)

SetDefaultProjectBoard set default board for uncategorized issues/pulls

func Settings

func Settings(ctx *context.Context)

Settings render the main settings page

func SettingsAvatar

func SettingsAvatar(ctx *context.Context)

SettingsAvatar response for change avatar on settings page

func SettingsDelete

func SettingsDelete(ctx *context.Context)

SettingsDelete response for deleting an organization

func SettingsDeleteAvatar

func SettingsDeleteAvatar(ctx *context.Context)

SettingsDeleteAvatar response for delete avatar on settings page

func SettingsPost

func SettingsPost(ctx *context.Context)

SettingsPost response for settings change submitted

func TeamInvite added in v1.17.4

func TeamInvite(ctx *context.Context)

TeamInvite renders the team invite page

func TeamInvitePost added in v1.17.4

func TeamInvitePost(ctx *context.Context)

TeamInvitePost handles the team invitation

func TeamMembers

func TeamMembers(ctx *context.Context)

TeamMembers render team members page

func TeamRepositories

func TeamRepositories(ctx *context.Context)

TeamRepositories show the repositories of team

func Teams

func Teams(ctx *context.Context)

Teams render teams list page

func TeamsAction

func TeamsAction(ctx *context.Context)

TeamsAction response for join, leave, remove, add operations to team

func TeamsRepoAction

func TeamsRepoAction(ctx *context.Context)

TeamsRepoAction operate team's repository

func UnsetDefaultProjectBoard added in v1.20.0

func UnsetDefaultProjectBoard(ctx *context.Context)

UnsetDefaultProjectBoard unset default board for uncategorized issues/pulls

func UpdateIssueProject added in v1.19.0

func UpdateIssueProject(ctx *context.Context)

UpdateIssueProject change an issue's project

func UpdateLabel

func UpdateLabel(ctx *context.Context)

UpdateLabel update a label's name and color

func ViewProject added in v1.19.0

func ViewProject(ctx *context.Context)

ViewProject renders the project board for a project

func Webhooks

func Webhooks(ctx *context.Context)

Webhooks render webhook list page

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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