v1

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetClient

func SetClient(factory StoreFactory)

Types

type StoreFactory

type StoreFactory interface {
	WebServerConfig() WebServerConfigStore
	WebServerStatistics() WebServerStatisticsStore
	WebServerStatus() WebServerStatusStore
	WebServerLogWatcher() WebServerLogWatcher
	Close() error
}

func Client

func Client() StoreFactory

type WebServerConfigStore

type WebServerConfigStore 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 WebServerLogWatcher

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

type WebServerStatisticsStore

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

type WebServerStatusStore

type WebServerStatusStore 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