Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster string
Cluster is an HCP cluster identifier shared by HCP commands.
func (*Cluster) AddRequired ¶
AddRequired binds the required cluster identifier flag.
func (*Cluster) MarkRequired ¶
MarkRequired marks the cluster identifier flag as required.
type Destination ¶
type Destination string
Destination is the target management cluster for recovery operations.
func (*Destination) Add ¶
func (f *Destination) Add(cmd *cobra.Command, description string)
Add binds the target management-cluster flag and its deprecated alias.
func (Destination) Validate ¶
func (f Destination) Validate() error
Validate reports a missing target management cluster.
type Reason ¶
type Reason string
Reason is the justification for elevated access.
func (*Reason) AddRequired ¶
AddRequired binds the required elevated-access reason flag.
func (*Reason) MarkRequired ¶
MarkRequired marks the elevated-access reason flag as required.
Click to show internal directories.
Click to hide internal directories.