key

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2024 License: MIT-0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResource

func NewResource() *resource.Resource

Types

type Getter

type Getter struct {
	// contains filtered or unexported fields
}

func NewGetter

func NewGetter(kmsClient *aws.KMSClient) *Getter

func (*Getter) Get

func (g *Getter) Get(alias string, output printer.Output, options resource.Options) error

func (*Getter) GetAllKeys

func (g *Getter) GetAllKeys() ([]*KMSKey, error)

func (*Getter) GetByAlias

func (g *Getter) GetByAlias(aliasName string) (*KMSKey, error)

func (*Getter) Init

func (g *Getter) Init()

type KMSKey

type KMSKey struct {
	Aliases []types.AliasListEntry
	Key     *types.KeyMetadata
}

type KmsKeyPrinter

type KmsKeyPrinter struct {
	// contains filtered or unexported fields
}

func NewPrinter

func NewPrinter(keys []*KMSKey) *KmsKeyPrinter

func (*KmsKeyPrinter) PrintJSON

func (p *KmsKeyPrinter) PrintJSON(writer io.Writer) error

func (*KmsKeyPrinter) PrintTable

func (p *KmsKeyPrinter) PrintTable(writer io.Writer) error

func (*KmsKeyPrinter) PrintYAML

func (p *KmsKeyPrinter) PrintYAML(writer io.Writer) error

type Manager

type Manager struct {
	DryRun bool
	// contains filtered or unexported fields
}

func (*Manager) Create

func (m *Manager) Create(options resource.Options) error

func (*Manager) Delete

func (m *Manager) Delete(_ resource.Options) error

func (*Manager) Init

func (m *Manager) Init()

func (*Manager) SetDryRun

func (m *Manager) SetDryRun()

func (*Manager) Update

func (m *Manager) Update(_ resource.Options, _ *cobra.Command) error

type Options

type Options struct {
	resource.CommonOptions
}

Jump to

Keyboard shortcuts

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