org

package
v1.19.3 Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 License: MIT Imports: 42 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 EditProject added in v1.19.0

func EditProject(ctx *context.Context)

EditProject allows a project to be edited

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 NewProject added in v1.19.0

func NewProject(ctx *context.Context)

NewProject render creating a project page

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 ResetRunnerRegistrationToken added in v1.19.0

func ResetRunnerRegistrationToken(ctx *context.Context)

ResetRunnerRegistrationToken reset runner registration token

func RetrieveLabels

func RetrieveLabels(ctx *context.Context)

RetrieveLabels find all the labels of an organization

func RunnerDeletePost added in v1.19.0

func RunnerDeletePost(ctx *context.Context)

RunnerDeletePost response for deleting runner

func Runners added in v1.19.0

func Runners(ctx *context.Context)

Runners render runners page

func RunnersEdit added in v1.19.0

func RunnersEdit(ctx *context.Context)

RunnersEdit render runner edit page

func RunnersEditPost added in v1.19.0

func RunnersEditPost(ctx *context.Context)

RunnersEditPost response for editing runner

func SearchTeam added in v1.17.0

func SearchTeam(ctx *context.Context)

SearchTeam api for searching teams

func Secrets added in v1.17.4

func Secrets(ctx *context.Context)

Secrets render organization secrets page

func SecretsDelete added in v1.17.4

func SecretsDelete(ctx *context.Context)

SecretsDelete delete secrets

func SecretsPost added in v1.17.4

func SecretsPost(ctx *context.Context)

SecretsPost add secrets

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 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.

Jump to

Keyboard shortcuts

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