fakes

package
v2.41.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

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