rollover

package
v1.46.0-tgt.2 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 License: Apache-2.0 Imports: 6 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 rollover action

func (*Action) Do

func (a *Action) Do() error

Do the rollover action

type Config

type Config struct {
	app.Config
	Conditions string
}

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