init

package
v1.64.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: Apache-2.0 Imports: 13 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        Config
	ClusterClient client.ClusterAPI
	IndicesClient client.IndexAPI
	ILMClient     client.IndexManagementLifecycleAPI
}

Action holds the configuration and clients for init action

func (Action) Do

func (c Action) Do() error

Do the init action

type Config

type Config struct {
	app.Config
	cfg.Indices
}

Config holds configuration for index cleaner binary. Config.IndexPrefix supersedes Indices.IndexPrefix

func (*Config) AddFlags

func (*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