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)
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.