pods

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateSlot added in v1.5.0

func ValidateSlot(slot uint32) error

Types

type BufferPod

type BufferPod struct {
	Data []byte
}

func (*BufferPod) CanRead

func (b *BufferPod) CanRead() error

func (*BufferPod) CanWrite

func (b *BufferPod) CanWrite() error

func (*BufferPod) Read

func (b *BufferPod) Read() ([]byte, error)

func (*BufferPod) Write

func (b *BufferPod) Write(data []byte) error

type FsPod

type FsPod struct {
	FilePath  string
	FileOwner *int
	FileGroup *int
}

func NewFsPod added in v1.3.0

func NewFsPod(path, owner, group string) (*FsPod, error)

func (*FsPod) CanRead

func (fs *FsPod) CanRead() error

func (*FsPod) CanWrite

func (fs *FsPod) CanWrite() error

func (*FsPod) Read

func (fs *FsPod) Read() ([]byte, error)

func (*FsPod) Write

func (fs *FsPod) Write(signedData []byte) error

type YubikeyPod added in v1.5.0

type YubikeyPod struct {
}

func NewYubikeyPod added in v1.5.0

func NewYubikeyPod(slot uint32, pin string) (*YubikeyPod, error)

func (*YubikeyPod) CanRead added in v1.5.0

func (pod *YubikeyPod) CanRead() error

func (*YubikeyPod) CanWrite added in v1.5.0

func (pod *YubikeyPod) CanWrite() error

func (*YubikeyPod) Read added in v1.5.0

func (pod *YubikeyPod) Read() ([]byte, error)

func (*YubikeyPod) Write added in v1.5.0

func (pod *YubikeyPod) Write(data []byte) error

Jump to

Keyboard shortcuts

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