Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HarborProject ¶
type HarborProject struct { ID int Name string Public bool Members []*ProjectMember Repositories []*ProjectRepository }
type HarborServer ¶
type HarborServer struct { R *mux.Router Projects map[string]*HarborProject // contains filtered or unexported fields }
func NewHarborServer ¶
func NewHarborServer() *HarborServer
func (*HarborServer) CreateProject ¶
func (s *HarborServer) CreateProject(projectName string, metadata map[string]string)
func (*HarborServer) DeleteRepository ¶
func (s *HarborServer) DeleteRepository(w http.ResponseWriter, r *http.Request)
type ProjectMember ¶
type ProjectRepository ¶
Click to show internal directories.
Click to hide internal directories.