version

package
v0.0.0-...-098adc7 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2015 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewVersionManager

func NewVersionManager(receptorClientCreator receptor_client.Creator, fileSwapper FileSwapper, latticeVersion string) *versionManager

Types

type AppFileSwapper

type AppFileSwapper struct{}

func (*AppFileSwapper) GetTempFile

func (*AppFileSwapper) GetTempFile() (*os.File, error)

func (*AppFileSwapper) SwapTempFile

func (*AppFileSwapper) SwapTempFile(destPath, srcPath string) error

type FileSwapper

type FileSwapper interface {
	GetTempFile() (*os.File, error)
	SwapTempFile(destPath, srcPath string) error
}

type ServerVersions

type ServerVersions struct {
	CFRelease           string
	CFRoutingRelease    string
	DiegoRelease        string
	GardenLinuxRelease  string
	LatticeRelease      string
	LatticeReleaseImage string
	LTC                 string
	Receptor            string
}

type VersionManager

type VersionManager interface {
	SyncLTC(ltcPath string, arch string, config *config_package.Config) error
	ServerVersions(receptorTarget string) (ServerVersions, error)
	LatticeVersion() string
	LtcMatchesServer(receptorTarget string) (bool, error)
}

Directories

Path Synopsis
mocks
This file was generated by counterfeiter
This file was generated by counterfeiter
This file was generated by counterfeiter
This file was generated by counterfeiter
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