collabs

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2020 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleDelete

func HandleDelete(
	users core.UserStore,
	repos core.RepositoryStore,
	members core.PermStore,
) http.HandlerFunc

HandleDelete returns an http.HandlerFunc that processes a request to delete account membership to a repository. This should only be used if the datastore is out-of-sync with github.

func HandleFind

func HandleFind(
	users core.UserStore,
	repos core.RepositoryStore,
	members core.PermStore,
) http.HandlerFunc

HandleFind returns an http.HandlerFunc that writes a json-encoded repository collaborator details to the response body.

func HandleList

func HandleList(
	repos core.RepositoryStore,
	members core.PermStore,
) http.HandlerFunc

HandleList returns an http.HandlerFunc that write a json-encoded list of repository collaborators to the response body.

Types

This section is empty.

Jump to

Keyboard shortcuts

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