repositoryctl

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() auacornapi.Acorn

Types

type Impl

type Impl struct {
	Configuration       librepo.Configuration
	CustomConfiguration config.CustomConfiguration
	Logging             librepo.Logging
	Repositories        service.Repositories

	Timestamp librepo.Timestamp
}

func (*Impl) AcornName

func (c *Impl) AcornName() string

func (*Impl) AssembleAcorn

func (c *Impl) AssembleAcorn(registry auacornapi.AcornRegistry) error

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 (c *Impl) IsRepositoryController() bool

func (*Impl) PatchRepository

func (c *Impl) PatchRepository(w http.ResponseWriter, r *http.Request)

func (*Impl) SetupAcorn

func (c *Impl) SetupAcorn(registry auacornapi.AcornRegistry) error

func (*Impl) TeardownAcorn

func (c *Impl) TeardownAcorn(_ auacornapi.AcornRegistry) error

func (*Impl) UpdateRepository

func (c *Impl) UpdateRepository(w http.ResponseWriter, r *http.Request)

func (*Impl) WireUp

func (c *Impl) WireUp(_ context.Context, router chi.Router)

Jump to

Keyboard shortcuts

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