Documentation ¶
Index ¶
- func CreateMigratedOverview(reportSet *ReportSet) *tview.TreeView
- func ProcessOperatorOutput(migratedResources *Resources, operatorOutput []*pipeline.ObjectChange, ...) error
- func ProcessYAMLFiles(yamlFiles map[string]string, scheme *runtime.Scheme) ([]client.Object, error)
- func PromptDiffingChanges(reports *ReportSet, warnings map[string][]*Warning, ...) error
- func Setup(parent *cobra.Command, s *cli.SetupContext)
- func ShowDiffReport(r *dyff.Report, kind, name string, warnings []*Warning) error
- type CapsuleName
- type Cmd
- type Migration
- type ReportSet
- type Resources
- func (r *Resources) AddObject(kind, name string, object client.Object) error
- func (r *Resources) All() []client.Object
- func (r *Resources) Compare(other *Resources, scheme *runtime.Scheme) (*ReportSet, error)
- func (r *Resources) CreateOverview(title string) *tview.TreeView
- func (r *Resources) ToYAML(scheme *runtime.Scheme) (map[string]map[string]string, error)
- type Warning
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMigratedOverview ¶ added in v1.7.1
func ProcessOperatorOutput ¶ added in v1.7.1
func ProcessYAMLFiles ¶ added in v1.11.6
func PromptDiffingChanges ¶ added in v1.7.1
Types ¶
type CapsuleName ¶ added in v1.7.2
type CapsuleName string
const ( CapsuleNameService CapsuleName = "service" CapsuleNameDeployment CapsuleName = "deployment" CapsuleNameInput CapsuleName = "input" )
func (*CapsuleName) Set ¶ added in v1.7.2
func (c *CapsuleName) Set(v string) error
Set must have pointer receiver so it doesn't change the value of a copy
func (*CapsuleName) String ¶ added in v1.7.2
func (c *CapsuleName) String() string
String is used both by fmt.Print and by Cobra in help text
func (*CapsuleName) Type ¶ added in v1.7.2
func (c *CapsuleName) Type() string
Type is only used in help text
type Migration ¶ added in v1.8.0
type Migration struct {
// contains filtered or unexported fields
}
type ReportSet ¶ added in v1.7.1
type ReportSet struct {
// contains filtered or unexported fields
}
func NewReportSet ¶ added in v1.7.1
type Resources ¶ added in v1.7.3
type Resources struct { Deployment *appsv1.Deployment ServiceAccount *corev1.ServiceAccount PlatformCapsule *platformv1.Capsule K8sCapsule *v1alpha2.Capsule HPA *autoscalingv2.HorizontalPodAutoscaler Services map[string]*corev1.Service ConfigMaps map[string]*corev1.ConfigMap Secrets map[string]*corev1.Secret Ingresses map[string]*netv1.Ingress CronJobs map[string]*batchv1.CronJob }
func NewResources ¶ added in v1.7.3
func NewResources() *Resources
func (*Resources) CreateOverview ¶ added in v1.7.3
Click to show internal directories.
Click to hide internal directories.