Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
// Host client.
k8sclient.Client
// Plan.
Plan *api.Plan
// Map.
Map struct {
// Network
Network *api.NetworkMap
// Storage
Storage *api.StorageMap
}
// Migration
Migration *api.Migration
// Source.
Source Source
// Destination.
Destination Destination
// Hooks.
Hooks []*api.Hook
// Logger.
Log logr.Logger
}
Plan execution context.
func (*Context) SetMigration ¶
Set the migration. This will update the logger context.
type Destination ¶
type Destination struct {
// Remote client.
k8sclient.Client
// Provider.
Provider *api.Provider
// Provider API client.
Inventory web.Client
}
Destination.
type NotEnoughDataError ¶
type NotEnoughDataError struct {
}
Not enough data to build the context.
func (NotEnoughDataError) Error ¶
func (e NotEnoughDataError) Error() string
Click to show internal directories.
Click to hide internal directories.