fakes

package
v0.0.55 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2017 License: Apache-2.0 Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeApplySpec

type FakeApplySpec struct {
	JobResults           []models.Job
	PackageResults       []models.Package
	MaxLogFileSizeResult string
}

func (FakeApplySpec) Jobs

func (s FakeApplySpec) Jobs() []models.Job

func (FakeApplySpec) MaxLogFileSize

func (s FakeApplySpec) MaxLogFileSize() string

func (FakeApplySpec) Packages

func (s FakeApplySpec) Packages() []models.Package

type FakeV1Service

type FakeV1Service struct {
	ActionsCalled []string

	Spec   boshas.V1ApplySpec
	GetErr error
	SetErr error

	PopulateDHCPNetworksSpec       boshas.V1ApplySpec
	PopulateDHCPNetworksSettings   boshsettings.Settings
	PopulateDHCPNetworksResultSpec boshas.V1ApplySpec
	PopulateDHCPNetworksErr        error
}

func NewFakeV1Service

func NewFakeV1Service() *FakeV1Service

func (*FakeV1Service) Get

func (s *FakeV1Service) Get() (boshas.V1ApplySpec, error)

func (*FakeV1Service) PopulateDHCPNetworks

func (s *FakeV1Service) PopulateDHCPNetworks(spec boshas.V1ApplySpec, settings boshsettings.Settings) (boshas.V1ApplySpec, error)

func (*FakeV1Service) Set

func (s *FakeV1Service) Set(spec boshas.V1ApplySpec) error

Jump to

Keyboard shortcuts

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