rotate

package
v1.103.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: MIT Imports: 12 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