lookback

package
v1.27.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action struct {
	Config
	IndicesClient client.IndexAPI
}

Action holds the configuration and clients for lookback action

func (*Action) Do

func (a *Action) Do() error

Do the lookback action

type Config

type Config struct {
	app.Config
	Unit      string
	UnitCount int
}

Config holds configuration for index cleaner binary.

func (*Config) AddFlags

func (c *Config) AddFlags(flags *flag.FlagSet)

AddFlags adds flags for TLS to the FlagSet.

func (*Config) InitFromViper

func (c *Config) InitFromViper(v *viper.Viper)

InitFromViper initializes config from viper.Viper.

Jump to

Keyboard shortcuts

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