Documentation ¶
Index ¶
- type PivotalCF
- func (s *PivotalCF) GetActivity() string
- func (s *PivotalCF) GetCredentials() (credentials map[string]map[string][]cfbackup.Properties)
- func (s *PivotalCF) GetHostDetails() tileregistry.TileSpec
- func (s *PivotalCF) GetJobIP(productName, jobName string) (ip string, err error)
- func (s *PivotalCF) GetJobProperties(productName, jobName string) (properties []cfbackup.Properties, err error)
- func (s *PivotalCF) GetProducts() (products map[string]cfbackup.Products)
- func (s *PivotalCF) GetPropertyValues(productName, jobName, identifier string) (propertyMap map[string]string, err error)
- func (s *PivotalCF) GetSSHConfig(productName, jobName string) (sshConfig command.SshConfig, err error)
- func (s *PivotalCF) NewArchiveReader(name string) (reader io.ReadCloser, err error)
- func (s *PivotalCF) NewArchiveWriter(name string) (writer io.WriteCloser, err error)
- func (s *PivotalCF) SetActivity(activity string)
- type Plugin
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 FakeReader io.ReadCloser FakeWriter io.WriteCloser FakeHostDetails tileregistry.TileSpec FakeJobProperties []cfbackup.Properties FakePropertyMap map[string]string FakeSSHConfig command.SshConfig FakeIP string }
PivotalCF --
func (*PivotalCF) GetCredentials ¶
func (s *PivotalCF) GetCredentials() (credentials map[string]map[string][]cfbackup.Properties)
GetCredentials --
func (*PivotalCF) GetHostDetails ¶
func (s *PivotalCF) GetHostDetails() tileregistry.TileSpec
GetHostDetails --
func (*PivotalCF) GetJobProperties ¶
func (s *PivotalCF) GetJobProperties(productName, jobName string) (properties []cfbackup.Properties, err error)
GetJobProperties - returns fake []cfbackup.Properties
func (*PivotalCF) GetProducts ¶
GetProducts --
func (*PivotalCF) GetPropertyValues ¶
func (s *PivotalCF) GetPropertyValues(productName, jobName, identifier string) (propertyMap map[string]string, err error)
GetPropertyValues - returns fake map[string]string
func (*PivotalCF) GetSSHConfig ¶
func (s *PivotalCF) GetSSHConfig(productName, jobName string) (sshConfig command.SshConfig, err error)
GetSSHConfig - returns command.SshConfig for a given product, job vm
func (*PivotalCF) NewArchiveReader ¶
func (s *PivotalCF) NewArchiveReader(name string) (reader io.ReadCloser, err error)
NewArchiveReader -- fake archive reader
func (*PivotalCF) NewArchiveWriter ¶
func (s *PivotalCF) NewArchiveWriter(name string) (writer io.WriteCloser, err error)
NewArchiveWriter -- fake archive writer
type Plugin ¶
type Plugin struct {
Meta cfopsplugin.Meta
}
Plugin -- Here is a real implementation of a plugin
Click to show internal directories.
Click to hide internal directories.