resthandler

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogConfigurator

type LogConfigurator struct {
	// contains filtered or unexported fields
}

LogConfigurator updates VCT log URL in config store.

func New

func New(cfgStore storage.Store, lmStore logMonitorStore) *LogConfigurator

New returns a new LogConfigurator.

func (*LogConfigurator) Handler

Handler returns the HTTP REST handle for the VCT URL Configurator service.

func (*LogConfigurator) Method

func (c *LogConfigurator) Method() string

Method returns the HTTP REST method for the configure VCT URL service.

func (*LogConfigurator) Path

func (c *LogConfigurator) Path() string

Path returns the HTTP REST endpoint for the LogConfigurator service.

type LogRetriever

type LogRetriever struct {
	// contains filtered or unexported fields
}

LogRetriever retrieves the current log URL.

func NewRetriever

func NewRetriever(cfgStore storage.Store) *LogRetriever

NewRetriever returns a new LogRetriever.

func (*LogRetriever) Handler

func (lr *LogRetriever) Handler() common.HTTPRequestHandler

Handler returns the HTTP REST handle for the log retriever service.

func (*LogRetriever) Method

func (lr *LogRetriever) Method() string

Method returns the HTTP REST method for the log retriever.

func (*LogRetriever) Path

func (lr *LogRetriever) Path() string

Path returns the HTTP REST endpoint for the log retriever.

Jump to

Keyboard shortcuts

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