v1

package
v1.0.12 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceFactory

type ServiceFactory interface {
	WebServerConfig() WebServerConfigService
	WebServerStatistics() WebServerStatisticsService
	WebServerStatus() WebServerStatusService
	WebServerLogWatcher() WebServerLogWatcherService
}

func NewServiceFactory

func NewServiceFactory(store storev1.StoreFactory) ServiceFactory

type WebServerConfigService

type WebServerConfigService interface {
	GetServerNames(ctx context.Context) (*v1.ServerNames, error)
	Get(ctx context.Context, servername *v1.ServerName) (*v1.WebServerConfig, error)
	Update(ctx context.Context, config *v1.WebServerConfig) error
}

type WebServerLogWatcherService

type WebServerLogWatcherService interface {
	Watch(ctx context.Context, request *v1.WebServerLogWatchRequest) (*v1.WebServerLog, error)
}

type WebServerStatisticsService

type WebServerStatisticsService interface {
	Get(ctx context.Context, servername *v1.ServerName) (*v1.Statistics, error)
}

type WebServerStatusService

type WebServerStatusService interface {
	Get(ctx context.Context) (*v1.Metrics, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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