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.
Click to show internal directories.
Click to hide internal directories.