Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyShowCmd ¶
type KeyShowCmd struct {
exocmd.CliCommandSettings `cli-cmd:"-"`
Key string `cli-arg:"#" cli-usage:"ID"`
Zone v3.ZoneName `cli-short:"z" cli-flag:"zone" cli-usage:"key zone"`
// contains filtered or unexported fields
}
func (*KeyShowCmd) CmdAliases ¶
func (c *KeyShowCmd) CmdAliases() []string
func (*KeyShowCmd) CmdLong ¶
func (c *KeyShowCmd) CmdLong() string
func (*KeyShowCmd) CmdPreRun ¶
func (c *KeyShowCmd) CmdPreRun(cmd *cobra.Command, args []string) error
func (*KeyShowCmd) CmdShort ¶
func (c *KeyShowCmd) CmdShort() string
type KeyShowOutput ¶
type KeyShowOutput struct {
ID v3.UUID `json:"id" validate:"required"`
Name string `json:"name" validate:"required"`
CreatedAt time.Time `json:"created-at" validate:"required"`
Multizone bool `json:"multi-zone" validate:"required"`
OriginZone string `json:"origin-zone" validate:"required"`
Status v3.GetKmsKeyResponseStatus `json:"status" validate:"required"`
ReplicasStatus string `json:"replicas-status,omitempty"`
Material string `json:"material" validate:"required"`
Rotation string `json:"rotation" validate:"required"`
Usage string `json:"usage" validate:"required"`
Source v3.GetKmsKeyResponseSource `json:"source" validate:"required"`
Description string `json:"description" validate:"required"`
}
func (*KeyShowOutput) ToJSON ¶
func (o *KeyShowOutput) ToJSON()
func (*KeyShowOutput) ToTable ¶
func (o *KeyShowOutput) ToTable()
func (*KeyShowOutput) ToText ¶
func (o *KeyShowOutput) ToText()
func (*KeyShowOutput) Type ¶
func (o *KeyShowOutput) Type() string
Click to show internal directories.
Click to hide internal directories.