Help us shape the future of Go! Take the 2026 Go Developer Survey

license

package
v7.11.2 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 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 DirReader

type DirReader interface {
	Read(string) (*License, error)
}

type DirReaderImpl

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

func NewDirReaderImpl

func NewDirReaderImpl(archiveFactory resource.ArchiveFunc, fs boshsys.FileSystem) DirReaderImpl

func (DirReaderImpl) Read

func (r DirReaderImpl) Read(path string) (*License, error)

type License

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

func NewLicense

func NewLicense(resource resource.Resource) *License

func (*License) ArchiveDigest

func (l *License) ArchiveDigest() string

func (*License) ArchivePath

func (l *License) ArchivePath() string

func (*License) Build

func (l *License) Build(dev, final resource.ArchiveIndex) error

func (*License) Finalize

func (l *License) Finalize(final resource.ArchiveIndex) error

func (License) Fingerprint

func (l License) Fingerprint() string

func (License) Name

func (l License) Name() string

func (*License) RehashWithCalculator

func (l *License) RehashWithCalculator(calculator crypto.DigestCalculator, archiveFileReader crypto2.ArchiveDigestFilePathReader) (*License, error)

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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