repo

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleActive

func HandleActive(repos core.RepositoryStore) http.HandlerFunc

HandleActive returns an http.HandlerFunc that writes JSON encoded result about saving active status to the http response body.

func HandleConfig

func HandleConfig(repos core.RepositoryStore) http.HandlerFunc

HandleConfig returns an http.HandlerFunc that writes JSON encoded result about repository config to the http response body.

func HandleCreateEnv

func HandleCreateEnv(envVariables core.EnvVariableStore, repos core.RepositoryStore) http.HandlerFunc

HandleCreateEnv returns an http.HandlerFunc that writes json encoded result about creating env variable to the http response body.

func HandleCreateHooks

func HandleCreateHooks(repos core.RepositoryStore) http.HandlerFunc

HandleCreateHooks returns an http.HandlerFunc that writes JSON encoded result about creating webhooks on repository to the http response body.

func HandleDeleteEnv

func HandleDeleteEnv(envVariables core.EnvVariableStore, repos core.RepositoryStore) http.HandlerFunc

HandleDeleteEnv returns http.HandlerFunc that writes JSON encoded result about deleting env variable to the http response body.

func HandleFind

func HandleFind(repos core.RepositoryStore) http.HandlerFunc

HandleFind returns an http.HandlerFunc that writes JSON encoded repository result to the http response body.

func HandleList

func HandleList(repos core.RepositoryStore) http.HandlerFunc

HandleList returns an http.HandlerFunc that writes JSON encoded list of repositories based on user id to the http response body.

func HandleListEnv

func HandleListEnv(envVariables core.EnvVariableStore, repos core.RepositoryStore) http.HandlerFunc

HandleListEnv returns http.HandlerFunc that writes JSON encoded list of env variables for repository to the http response body.

func HandleListHooks

func HandleListHooks(repos core.RepositoryStore) http.HandlerFunc

HandleListHooks returns an http.HandlerFunc that writes JSON encoded list of hooks to the http response body.

func HandleUpdateEnv

func HandleUpdateEnv(envVariables core.EnvVariableStore, repos core.RepositoryStore) http.HandlerFunc

HandleUpdateEnv returns an http.HandlerFunc that writes json encoded result about updating env variable to the http 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