fake

package
v2.0.59+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2016 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 BackupRestorePlugin

type BackupRestorePlugin struct {
	Meta         cfopsplugin.Meta
	RunCallCount int
	SpyPivotalCF cfopsplugin.PivotalCF
}

BackupRestorePlugin --

func (*BackupRestorePlugin) GetMeta

func (s *BackupRestorePlugin) GetMeta() (meta cfopsplugin.Meta)

GetMeta --

func (*BackupRestorePlugin) Run

func (s *BackupRestorePlugin) Run(pcf cfopsplugin.PivotalCF, args *[]string) (err error)

Run --

type PivotalCF

type PivotalCF struct {
	FakeProducts    map[string]cfbackup.Products
	FakeCredentials map[string]map[string][]cfbackup.Properties
	FakeActivity    string
}

PivotalCF --

func (*PivotalCF) GetActivity

func (s *PivotalCF) GetActivity() string

GetActivity --

func (*PivotalCF) GetCredentials

func (s *PivotalCF) GetCredentials() (credentials map[string]map[string][]cfbackup.Properties)

GetCredentials --

func (*PivotalCF) GetProducts

func (s *PivotalCF) GetProducts() (products map[string]cfbackup.Products)

GetProducts --

func (*PivotalCF) SetActivity

func (s *PivotalCF) SetActivity(activity string)

SetActivity --

Jump to

Keyboard shortcuts

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