repo_blobs

package
v0.0.0-...-791c77c Latest Latest
Warning

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

Go to latest
Published: May 11, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Blob

type Blob interface {
	GetRepoBlob() Blob
	GetPublicKey() repo_signing.PublicKey
}

type BlobMutable

type BlobMutable interface {
	Blob
	SetPublicKey(crypto.PublicKey)
}

type TomlLocalPathV0

type TomlLocalPathV0 struct {
	repo_signing.TomlPublicKeyV0
	Path string `toml:"path"`
}

func (TomlLocalPathV0) Equals

func (a TomlLocalPathV0) Equals(b TomlLocalPathV0) bool

func (TomlLocalPathV0) GetRepoBlob

func (b TomlLocalPathV0) GetRepoBlob() Blob

func (*TomlLocalPathV0) Reset

func (a *TomlLocalPathV0) Reset()

func (*TomlLocalPathV0) ResetWith

func (a *TomlLocalPathV0) ResetWith(b TomlLocalPathV0)

type TomlUriV0

type TomlUriV0 struct {
	repo_signing.TomlPublicKeyV0
	Uri values.Uri `toml:"uri"`
}

func (TomlUriV0) Equals

func (a TomlUriV0) Equals(b TomlUriV0) bool

func (TomlUriV0) GetRepoBlob

func (b TomlUriV0) GetRepoBlob() Blob

func (TomlUriV0) GetRepoType

func (b TomlUriV0) GetRepoType()

func (*TomlUriV0) Reset

func (a *TomlUriV0) Reset()

func (*TomlUriV0) ResetWith

func (a *TomlUriV0) ResetWith(b TomlUriV0)

type TomlXDGV0

type TomlXDGV0 struct {
	repo_signing.TomlPublicKeyV0
	Data    string `toml:"data"`
	Config  string `toml:"config"`
	State   string `toml:"state"`
	Cache   string `toml:"cache"`
	Runtime string `toml:"runtime"`
}

func TomlXDGV0FromXDG

func TomlXDGV0FromXDG(xdg xdg.XDG) *TomlXDGV0

func (TomlXDGV0) GetRepoBlob

func (b TomlXDGV0) GetRepoBlob() Blob

type TypeWithBlob

type TypeWithBlob = triple_hyphen_io.TypedStruct[*Blob]

Jump to

Keyboard shortcuts

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