Documentation ¶
Index ¶
- func HandleActive(repos core.RepositoryStore) http.HandlerFunc
- func HandleConfig(repos core.RepositoryStore) http.HandlerFunc
- func HandleCreateEnv(envVariables core.EnvVariableStore, repos core.RepositoryStore) http.HandlerFunc
- func HandleCreateHooks(repos core.RepositoryStore) http.HandlerFunc
- func HandleDeleteEnv(envVariables core.EnvVariableStore, repos core.RepositoryStore) http.HandlerFunc
- func HandleFind(repos core.RepositoryStore) http.HandlerFunc
- func HandleList(repos core.RepositoryStore) http.HandlerFunc
- func HandleListEnv(envVariables core.EnvVariableStore, repos core.RepositoryStore) http.HandlerFunc
- func HandleListHooks(repos core.RepositoryStore) http.HandlerFunc
- func HandleUpdateEnv(envVariables core.EnvVariableStore, repos core.RepositoryStore) http.HandlerFunc
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.