servicectl

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(
	configuration librepo.Configuration,
	customConfig config.CustomConfiguration,
	logging librepo.Logging,
	timestamp librepo.Timestamp,
	services service.Services,
) controller.ServiceController

Types

type Impl

type Impl struct {
	Configuration       librepo.Configuration
	CustomConfiguration config.CustomConfiguration
	Logging             librepo.Logging
	Timestamp           librepo.Timestamp
	Services            service.Services
}

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

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

func (*Impl) PatchService

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

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