Documentation ¶
Index ¶
- func ConfirmYesOrNo(s string, r io.Reader) (bool, error)
- func CreateExportCommand(ctx context.Context, config *config.Config, f ExporterFactory, ...) *cobra.Command
- func CreateExportOrgCommand(ctx context.Context, config *Config, f ExporterFactory, ...) *cobra.Command
- func CreateExportSpaceCommand(ctx context.Context, config *Config, f ExporterFactory, ...) *cobra.Command
- func CreateImportCommand(ctx context.Context, config *Config, f ImporterFactory, ...) *cobra.Command
- func CreateImportOrgCommand(ctx context.Context, config *Config, f ImporterFactory, ...) *cobra.Command
- func CreateImportSpaceCommand(ctx context.Context, config *Config, f ImporterFactory, ...) *cobra.Command
- func CreateRootCommand(cfg *config.Config, sourceConfigLoader config.Loader, ...) *cobra.Command
- type ExportMigratorFactory
- type ExporterFactory
- type ImportMigratorFactory
- type ImporterFactory
- type NoopBoshPropertiesBuilder
- type NoopCCDBPropertiesBuilder
- type NoopCFPropertiesBuilder
- type NoopClientFactory
- func (f NoopClientFactory) CFClient(bool) cf.Client
- func (f NoopClientFactory) SourceBoshClient() bosh.Client
- func (f NoopClientFactory) SourceCFClient() cf.Client
- func (f NoopClientFactory) SourceOpsManClient() om.Client
- func (f NoopClientFactory) TargetBoshClient() bosh.Client
- func (f NoopClientFactory) TargetCFClient() cf.Client
- func (f NoopClientFactory) TargetOpsManClient() om.Client
- type NoopPropertiesProvider
- func (s NoopPropertiesProvider) Environment(config.BoshPropertiesBuilder, config.CFPropertiesBuilder, ...) config.EnvProperties
- func (s NoopPropertiesProvider) SourceBoshPropertiesBuilder() config.BoshPropertiesBuilder
- func (s NoopPropertiesProvider) SourceCCDBPropertiesBuilder(b config.BoshPropertiesBuilder) config.CCDBPropertiesBuilder
- func (s NoopPropertiesProvider) SourceCFPropertiesBuilder() config.CFPropertiesBuilder
- func (s NoopPropertiesProvider) TargetBoshPropertiesBuilder() config.BoshPropertiesBuilder
- func (s NoopPropertiesProvider) TargetCCDBPropertiesBuilder(b config.BoshPropertiesBuilder) config.CCDBPropertiesBuilder
- func (s NoopPropertiesProvider) TargetCFPropertiesBuilder() config.CFPropertiesBuilder
- type OrgExporter
- type OrgImporter
- type SpaceExporter
- type SpaceImporter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateExportCommand ¶
func CreateExportCommand(ctx context.Context, config *config.Config, f ExporterFactory, e migrate.ServiceInstanceExporter, fso io.FileSystemOperations, s *report.Summary) *cobra.Command
func CreateExportOrgCommand ¶
func CreateExportOrgCommand(ctx context.Context, config *Config, f ExporterFactory, e migrate.ServiceInstanceExporter, d io.FileSystemOperations, s *report.Summary) *cobra.Command
func CreateExportSpaceCommand ¶
func CreateExportSpaceCommand(ctx context.Context, config *Config, f ExporterFactory, e migrate.ServiceInstanceExporter, d io.FileSystemOperations, s *report.Summary) *cobra.Command
func CreateImportCommand ¶
func CreateImportCommand(ctx context.Context, config *Config, f ImporterFactory, i migrate.ServiceInstanceImporter, fso io.FileSystemOperations, s *report.Summary) *cobra.Command
func CreateImportOrgCommand ¶
func CreateImportOrgCommand(ctx context.Context, config *Config, f ImporterFactory, i migrate.ServiceInstanceImporter, fso io.FileSystemOperations, s *report.Summary) *cobra.Command
func CreateImportSpaceCommand ¶
func CreateImportSpaceCommand(ctx context.Context, config *Config, f ImporterFactory, i migrate.ServiceInstanceImporter, fso io.FileSystemOperations, summary *report.Summary) *cobra.Command
Types ¶
type ExportMigratorFactory ¶
type ExportMigratorFactory struct { Config *config.Config ClientHolder migrate.ClientHolder }
func NewExportMigratorFactory ¶
func NewExportMigratorFactory(cfg *config.Config, h migrate.ClientHolder) ExportMigratorFactory
func (ExportMigratorFactory) NewOrgExporter ¶
func (f ExportMigratorFactory) NewOrgExporter(exporter migrate.ServiceInstanceExporter) OrgExporter
func (ExportMigratorFactory) NewSpaceExporter ¶
func (f ExportMigratorFactory) NewSpaceExporter(exporter migrate.ServiceInstanceExporter) SpaceExporter
type ExporterFactory ¶
type ExporterFactory interface { NewOrgExporter(exporter migrate.ServiceInstanceExporter) OrgExporter NewSpaceExporter(exporter migrate.ServiceInstanceExporter) SpaceExporter }
type ImportMigratorFactory ¶
type ImportMigratorFactory struct { Config *config.Config ClientHolder migrate.ClientHolder }
func NewImportMigratorFactory ¶
func NewImportMigratorFactory(cfg *config.Config, l migrate.ClientHolder) ImportMigratorFactory
func (ImportMigratorFactory) NewOrgImporter ¶
func (f ImportMigratorFactory) NewOrgImporter(importer migrate.ServiceInstanceImporter) OrgImporter
func (ImportMigratorFactory) NewSpaceImporter ¶
func (f ImportMigratorFactory) NewSpaceImporter(importer migrate.ServiceInstanceImporter) SpaceImporter
type ImporterFactory ¶
type ImporterFactory interface { NewOrgImporter(importer migrate.ServiceInstanceImporter) OrgImporter NewSpaceImporter(importer migrate.ServiceInstanceImporter) SpaceImporter }
type NoopBoshPropertiesBuilder ¶
type NoopBoshPropertiesBuilder struct{}
func (NoopBoshPropertiesBuilder) Build ¶
func (b NoopBoshPropertiesBuilder) Build() *config.BoshProperties
type NoopCCDBPropertiesBuilder ¶
type NoopCCDBPropertiesBuilder struct{}
func (NoopCCDBPropertiesBuilder) Build ¶
func (b NoopCCDBPropertiesBuilder) Build() *config.CCDBProperties
type NoopCFPropertiesBuilder ¶
type NoopCFPropertiesBuilder struct{}
func (NoopCFPropertiesBuilder) Build ¶
func (b NoopCFPropertiesBuilder) Build() *config.CFProperties
type NoopClientFactory ¶
type NoopClientFactory struct{}
func (NoopClientFactory) SourceBoshClient ¶
func (f NoopClientFactory) SourceBoshClient() bosh.Client
func (NoopClientFactory) SourceCFClient ¶
func (f NoopClientFactory) SourceCFClient() cf.Client
func (NoopClientFactory) SourceOpsManClient ¶
func (f NoopClientFactory) SourceOpsManClient() om.Client
func (NoopClientFactory) TargetBoshClient ¶
func (f NoopClientFactory) TargetBoshClient() bosh.Client
func (NoopClientFactory) TargetCFClient ¶
func (f NoopClientFactory) TargetCFClient() cf.Client
func (NoopClientFactory) TargetOpsManClient ¶
func (f NoopClientFactory) TargetOpsManClient() om.Client
type NoopPropertiesProvider ¶
type NoopPropertiesProvider struct{}
func (NoopPropertiesProvider) Environment ¶
func (s NoopPropertiesProvider) Environment(config.BoshPropertiesBuilder, config.CFPropertiesBuilder, config.CCDBPropertiesBuilder) config.EnvProperties
func (NoopPropertiesProvider) SourceBoshPropertiesBuilder ¶
func (s NoopPropertiesProvider) SourceBoshPropertiesBuilder() config.BoshPropertiesBuilder
func (NoopPropertiesProvider) SourceCCDBPropertiesBuilder ¶
func (s NoopPropertiesProvider) SourceCCDBPropertiesBuilder(b config.BoshPropertiesBuilder) config.CCDBPropertiesBuilder
func (NoopPropertiesProvider) SourceCFPropertiesBuilder ¶
func (s NoopPropertiesProvider) SourceCFPropertiesBuilder() config.CFPropertiesBuilder
func (NoopPropertiesProvider) TargetBoshPropertiesBuilder ¶
func (s NoopPropertiesProvider) TargetBoshPropertiesBuilder() config.BoshPropertiesBuilder
func (NoopPropertiesProvider) TargetCCDBPropertiesBuilder ¶
func (s NoopPropertiesProvider) TargetCCDBPropertiesBuilder(b config.BoshPropertiesBuilder) config.CCDBPropertiesBuilder
func (NoopPropertiesProvider) TargetCFPropertiesBuilder ¶
func (s NoopPropertiesProvider) TargetCFPropertiesBuilder() config.CFPropertiesBuilder
type OrgExporter ¶
type OrgImporter ¶
type SpaceExporter ¶
type SpaceImporter ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.