key

package
v1.95.3 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

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) CmdRun

func (c *KeyShowCmd) CmdRun(_ *cobra.Command, _ []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

Jump to

Keyboard shortcuts

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