rotate

package
v1.118.4 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// AdminsFlag to be rotated.
	AdminsFlag = flags.Bool()

	// ServicesFlag to be rotated.
	ServicesFlag = flags.Bool()
)
View Source
var CommandModule = fx.Options(
	fx.Invoke(RunCommand),
)

CommandModule for fx.

Functions

func RunCommand

func RunCommand(params RunCommandParams)

RunCommand for client.

Types

type RunCommandParams

type RunCommandParams struct {
	fx.In

	Lifecycle    fx.Lifecycle
	OutputConfig *cmd.OutputConfig
	Key          *key.Generator
	Secure       *password.Secure
	Map          *marshaller.Map
	Config       *config.Config
	RSA          rsa.Algo
	Logger       *zap.Logger
}

RunCommandParams for client.

Jump to

Keyboard shortcuts

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