test

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: BSD-2-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Key

type Key struct {
	Public  ed25519.PublicKey
	Private ed25519.PrivateKey
	Cert    *x509.Certificate
	Certpem *pem.Block
	Keypem  *pem.Block
}

func MkKey

func MkKey(t *testing.T, name string, cakey *Key) Key

type MockFS added in v0.3.1

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

func NewMockFS added in v0.3.1

func NewMockFS() *MockFS

func (*MockFS) Add added in v0.3.1

func (fs *MockFS) Add(name string, file *fstest.MapFile) error

func (*MockFS) Copy added in v0.3.1

func (fs *MockFS) Copy() (*MockFS, error)

func (*MockFS) Open added in v0.3.1

func (fs *MockFS) Open(name string) (fs.File, error)

func (*MockFS) Remove added in v0.3.1

func (fs *MockFS) Remove(name string) error

Jump to

Keyboard shortcuts

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