repos

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2017 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RepoHandlers added in v0.5.0

type RepoHandlers struct {
	// contains filtered or unexported fields
}

RepoHandlers defines handlers that serve chart data

func NewRepoHandlers added in v0.5.0

func NewRepoHandlers(db datastore.Session) *RepoHandlers

NewRepoHandlers takes a datastore.Session implementation and returns a RepoHandlers struct

func (*RepoHandlers) CreateRepo added in v0.5.0

func (r *RepoHandlers) CreateRepo(w http.ResponseWriter, req *http.Request)

CreateRepo adds a repo to the list of enabled repositories to index

func (*RepoHandlers) DeleteRepo added in v0.5.0

func (r *RepoHandlers) DeleteRepo(w http.ResponseWriter, req *http.Request, params handlers.Params)

DeleteRepo deletes a repo from the list of enabled repositories to index

func (*RepoHandlers) GetRepo added in v0.5.0

func (r *RepoHandlers) GetRepo(w http.ResponseWriter, req *http.Request, params handlers.Params)

GetRepo returns a repo

func (*RepoHandlers) ListRepos added in v0.5.0

func (r *RepoHandlers) ListRepos(w http.ResponseWriter, req *http.Request)

ListRepos returns all repositories

Jump to

Keyboard shortcuts

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