license

package
Version: v6.4.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2020 License: Apache-2.0 Imports: 6 Imported by: 138

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 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) *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 ArchiveIndex) error

func (*License) Finalize

func (l *License) Finalize(final 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