org

package
v0.0.0-...-d559fe2 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: MIT Imports: 41 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddColumnToProjectPost

func AddColumnToProjectPost(ctx *context.Context)

AddColumnToProjectPost allows a new column to be added to a project.

func Applications

func Applications(ctx *context.Context)

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

func BlockedUsers

func BlockedUsers(ctx *context.Context)

func BlockedUsersPost

func BlockedUsersPost(ctx *context.Context)

func ChangeProjectStatus

func ChangeProjectStatus(ctx *context.Context)

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

func CheckProjectColumnChangePermissions

func CheckProjectColumnChangePermissions(ctx *context.Context) (*project_model.Project, *project_model.Column)

CheckProjectColumnChangePermissions 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

func DeleteOAuth2Application(ctx *context.Context)

DeleteOAuth2Application deletes the given oauth2 application

func DeleteProject

func DeleteProject(ctx *context.Context)

DeleteProject delete a project

func DeleteProjectColumn

func DeleteProjectColumn(ctx *context.Context)

DeleteProjectColumn allows for the deletion of a project column

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 EditProjectColumn

func EditProjectColumn(ctx *context.Context)

EditProjectColumn allows a project column's to be updated

func EditProjectPost

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

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

func MoveIssues(ctx *context.Context)

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

func MustEnableProjects

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

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

func OAuth2ApplicationEdit(ctx *context.Context)

OAuth2ApplicationEdit response for editing oauth2 application

func OAuth2ApplicationShow

func OAuth2ApplicationShow(ctx *context.Context)

OAuth2ApplicationShow displays the given application

func OAuthApplicationsPost

func OAuthApplicationsPost(ctx *context.Context)

OAuthApplicationsPost response for adding an oauth2 application

func OAuthApplicationsRegenerateSecret

func OAuthApplicationsRegenerateSecret(ctx *context.Context)

OAuthApplicationsRegenerateSecret handles the post request for regenerating the secret

func Packages

func Packages(ctx *context.Context)

func PackagesRuleAdd

func PackagesRuleAdd(ctx *context.Context)

func PackagesRuleAddPost

func PackagesRuleAddPost(ctx *context.Context)

func PackagesRuleEdit

func PackagesRuleEdit(ctx *context.Context)

func PackagesRuleEditPost

func PackagesRuleEditPost(ctx *context.Context)

func PackagesRulePreview

func PackagesRulePreview(ctx *context.Context)

func Projects

func Projects(ctx *context.Context)

Projects renders the home page of projects

func RebuildCargoIndex

func RebuildCargoIndex(ctx *context.Context)

func RenderEditProject

func RenderEditProject(ctx *context.Context)

RenderEditProject allows a project to be edited

func RenderNewProject

func RenderNewProject(ctx *context.Context)

RenderNewProject render creating a project page

func Repositories

func Repositories(ctx *context.Context)

func RetrieveLabels

func RetrieveLabels(ctx *context.Context)

RetrieveLabels find all the labels of an organization

func SearchTeam

func SearchTeam(ctx *context.Context)

SearchTeam api for searching teams

func SetDefaultProjectColumn

func SetDefaultProjectColumn(ctx *context.Context)

SetDefaultProjectColumn set default column 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

func TeamInvite(ctx *context.Context)

TeamInvite renders the team invite page

func TeamInvitePost

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 UpdateLabel

func UpdateLabel(ctx *context.Context)

UpdateLabel update a label's name and color

func ViewProject

func ViewProject(ctx *context.Context)

ViewProject renders the project with board view 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