fake

package
v2.0.63+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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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 --

type Plugin

type Plugin struct {
	Meta cfopsplugin.Meta
}

Plugin -- Here is a real implementation of a plugin

func (Plugin) Backup

func (Plugin) Backup() error

Backup --

func (Plugin) GetMeta

func (b Plugin) GetMeta() cfopsplugin.Meta

GetMeta ---

func (Plugin) Restore

func (Plugin) Restore() error

Restore --

func (Plugin) Setup

func (Plugin) Setup(pcf cfopsplugin.PivotalCF) error

Setup --

Jump to

Keyboard shortcuts

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