operator

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2025 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOperatorCommand

func NewOperatorCommand(
	source *workloadapi.X509Source, spiffeId string,
) *cobra.Command

NewOperatorCommand creates a new cobra.Command for managing SPIKE admin operations. It initializes an "operator" command with subcommands for recovery and restore operations.

Parameters:

  • source: An X509Source used for SPIFFE authentication
  • spiffeId: The SPIFFE ID associated with the operator

Returns:

  • *cobra.Command: A configured cobra command for operator management

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳