Documentation ¶
Index ¶
- func New() auacornapi.Acorn
- type Impl
- func (c *Impl) AcornName() string
- func (c *Impl) AssembleAcorn(registry auacornapi.AcornRegistry) error
- func (c *Impl) CreateRepository(w http.ResponseWriter, r *http.Request)
- func (c *Impl) DeleteRepository(w http.ResponseWriter, r *http.Request)
- func (c *Impl) GetRepositories(w http.ResponseWriter, r *http.Request)
- func (c *Impl) GetSingleRepository(w http.ResponseWriter, r *http.Request)
- func (a *Impl) IsRepositoryController() bool
- func (c *Impl) PatchRepository(w http.ResponseWriter, r *http.Request)
- func (c *Impl) SetupAcorn(registry auacornapi.AcornRegistry) error
- func (c *Impl) TeardownAcorn(_ auacornapi.AcornRegistry) error
- func (c *Impl) UpdateRepository(w http.ResponseWriter, r *http.Request)
- func (c *Impl) WireUp(_ context.Context, router chi.Router)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Impl ¶
type Impl struct { Logging librepo.Logging Repositories service.Repositories Now func() time.Time // contains filtered or unexported fields }
func (*Impl) AssembleAcorn ¶
func (*Impl) CreateRepository ¶
func (c *Impl) CreateRepository(w http.ResponseWriter, r *http.Request)
func (*Impl) DeleteRepository ¶
func (c *Impl) DeleteRepository(w http.ResponseWriter, r *http.Request)
func (*Impl) GetRepositories ¶
func (c *Impl) GetRepositories(w http.ResponseWriter, r *http.Request)
func (*Impl) GetSingleRepository ¶
func (c *Impl) GetSingleRepository(w http.ResponseWriter, r *http.Request)
func (*Impl) IsRepositoryController ¶
func (*Impl) PatchRepository ¶
func (c *Impl) PatchRepository(w http.ResponseWriter, r *http.Request)
func (*Impl) SetupAcorn ¶
func (*Impl) TeardownAcorn ¶
func (*Impl) UpdateRepository ¶
func (c *Impl) UpdateRepository(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.