license

package
v0.0.142 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2017 License: Apache-2.0 Imports: 4 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

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