nightwatch

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompletedConfig

type CompletedConfig struct {
	*Config
}

CompletedConfig same as Config, just to swap private object.

type Config

type Config struct {
	MySQLOptions *genericoptions.MySQLOptions
	RedisOptions *genericoptions.RedisOptions
	Client       clientset.Interface
}

Config is the configuration for the nightwatch server.

func (*Config) Complete

func (c *Config) Complete() *CompletedConfig

Complete fills in any fields not set that are required to have valid data. It's mutating the receiver.

func (*Config) CreateWatcherConfig

func (c *Config) CreateWatcherConfig() (*watcher.Config, error)

CreateWatcherConfig used to create configuration used by all watcher.

func (*Config) New

func (c *Config) New() (*nightWatch, error)

New creates an asynchronous task instance.

Directories

Path Synopsis
Package watcher provides functions used by all watchers.
Package watcher provides functions used by all watchers.
all
clean
Package clean is a watcher implement.
Package clean is a watcher implement.
secretsclean
Package secretsclean is a watcher implement used to delete expired keys from the database.
Package secretsclean is a watcher implement used to delete expired keys from the database.

Jump to

Keyboard shortcuts

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