certs

package
v0.29.3 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(ctx context.Context, vClusterName string, globalFlags *flags.GlobalFlags, output string, log log.Logger) error

Check executes the check command in the backend by piping its output to stdout.

func Rotate

func Rotate(ctx context.Context, vClusterName string, rotationCmd RotationCmd, globalFlags *flags.GlobalFlags, log log.Logger) error

Rotate triggers the rotate commands in the backend. Depending on if the virtual cluster has persistence it either: - Pauses the current virtual cluster, spawns an extra pod, executes the rotation and resumes the virtual cluster. - Executes the rotation directly in the currently running syncer pod.

Types

type RotationCmd

type RotationCmd string
const (
	RotationCmdCerts   RotationCmd = "rotate"
	RotationCmdCACerts RotationCmd = "rotate-ca"
)

Jump to

Keyboard shortcuts

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