servicectl

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2022 License: MIT Imports: 24 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
	Services service.Services

	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) CreateService

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

func (*Impl) DeleteService

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

func (*Impl) GetServicePromoters added in v0.3.0

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

func (*Impl) GetServices

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

func (*Impl) GetSingleService

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

func (*Impl) IsServiceController

func (a *Impl) IsServiceController() bool

func (*Impl) PatchService

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

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