keys

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	PublicKeyPaths []string
	// contains filtered or unexported fields
}

Options provides key file configuration for Carabiner applications.

func (*Options) AddFlags

func (ko *Options) AddFlags(cmd *cobra.Command)

AddFlags adds the key flags to a command.

func (*Options) Config

func (ko *Options) Config() *command.OptionsSetConfig

Config returns the flag configuration for key options.

func (*Options) ParseKeys

func (ko *Options) ParseKeys() ([]key.PublicKeyProvider, error)

ParseKeys parses the key files and returns a slice of public key providers.

func (*Options) Validate

func (ko *Options) Validate() error

Validate checks that the key files exist.

Jump to

Keyboard shortcuts

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