admin

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddTeamMember

func AddTeamMember(ctx *context.APIContext)

AddTeamMember api for add a member to a team

func AddTeamRepository

func AddTeamRepository(ctx *context.APIContext)

AddTeamRepository api for adding a repository to a team

func CreatePublicKey

func CreatePublicKey(ctx *context.APIContext, form api.CreateKeyOption)

CreatePublicKey api for creating a public key to a user see https://github.com/gogits/go-gogs-client/wiki/Administration-Users#create-a-public-key-for-user

func CreateTeam

func CreateTeam(ctx *context.APIContext, form api.CreateTeamOption)

CreateTeam api for create a team

func EditUser

func EditUser(ctx *context.APIContext, form api.EditUserOption)

EditUser api for modifying a user's information see https://github.com/gogits/go-gogs-client/wiki/Administration-Users#edit-an-existing-user

func GetRepositoryByParams

func GetRepositoryByParams(ctx *context.APIContext) *models.Repository

GetRepositoryByParams api for getting repository by orgnizition ID and repo name

func RemoveTeamMember

func RemoveTeamMember(ctx *context.APIContext)

RemoveTeamMember api for remove one member from a team

func RemoveTeamRepository

func RemoveTeamRepository(ctx *context.APIContext)

RemoveTeamRepository api for removing a repository from a team

Types

This section is empty.

Jump to

Keyboard shortcuts

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