license

package
v2.0.10+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2017 License: Apache-2.0 Imports: 6 Imported by: 151

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) ArchivePath

func (l *License) ArchivePath() string

func (*License) ArchiveSHA1

func (l *License) ArchiveSHA1() 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
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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