fakes

package
v24.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2016 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeSnapshotService

type FakeSnapshotService struct {
	CreateCalled      bool
	CreateErr         error
	CreateID          string
	CreateDiskID      string
	CreateDescription string
	CreateZone        string

	DeleteCalled bool
	DeleteErr    error

	FindCalled   bool
	FindFound    bool
	FindSnapshot snapshot.Snapshot
	FindErr      error
}

func (*FakeSnapshotService) Create

func (s *FakeSnapshotService) Create(diskID string, description string, zone string) (string, error)

func (*FakeSnapshotService) Delete

func (s *FakeSnapshotService) Delete(id string) error

func (*FakeSnapshotService) Find

func (s *FakeSnapshotService) Find(id string) (snapshot.Snapshot, bool, error)

Jump to

Keyboard shortcuts

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