ownerctl

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 License: MIT Imports: 23 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 {
	Logging librepo.Logging
	Owners  service.Owners

	Now func() time.Time
	// contains filtered or unexported fields
}

func (*Impl) AcornName

func (c *Impl) AcornName() string

func (*Impl) AssembleAcorn

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

func (*Impl) CreateOwner

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

func (*Impl) DeleteOwner

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

func (*Impl) GetOwners

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

func (*Impl) GetSingleOwner

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

func (*Impl) IsOwnerController

func (a *Impl) IsOwnerController() bool

func (*Impl) PatchOwner

func (c *Impl) PatchOwner(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) UpdateOwner

func (c *Impl) UpdateOwner(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