rotate

package
v1.96.3 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// OutputFlag for rotate.
	OutputFlag string

	// Admins to be rotated.
	Admins bool

	// Services to be rotated.
	Services bool
)

CommandModule for fx.

Functions

func RunCommand

func RunCommand(params RunCommandParams)

RunCommand for client.

Types

type OutputConfig

type OutputConfig struct {
	*cmd.Config
}

OutputConfig for rotate.

func NewOutputConfig

func NewOutputConfig(factory *marshaller.Factory) (*OutputConfig, error)

NewOutputConfig for rotate.

type RunCommandParams

type RunCommandParams struct {
	fx.In

	Lifecycle    fx.Lifecycle
	OutputConfig *OutputConfig
	Key          *key.Generator
	Secure       *password.Secure
	Factory      *marshaller.Factory
	Config       *config.Config
	Logger       *zap.Logger
}

RunCommandParams for client.

Jump to

Keyboard shortcuts

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