adapter

package
v0.0.0-...-dbbfab9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2026 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter = base.Adapter

func New

func New(provider *api.Provider) (adapter Adapter, err error)

Adapter factory.

type Builder

type Builder = base.Builder

type Client

type Client = base.Client

type Converter

type Converter struct {
	Destination        *plancontext.Destination
	Log                logging.LevelLogger
	Labels             map[string]string
	FilterFn           filterFn
	VirtV2vImage       string
	ServiceAccountName string
}

func NewConverter

func NewConverter(destination *plancontext.Destination, logger logging.LevelLogger, labels map[string]string, virtV2vImage, serviceAccountName string) *Converter

func (*Converter) ConvertPVCs

func (c *Converter) ConvertPVCs(pvcs []*v1.PersistentVolumeClaim, srcFormat srcFormatFn, dstFormat string) (ready bool, err error)

type DestinationClient

type DestinationClient = base.DestinationClient

type Ensurer

type Ensurer = base.Ensurer

type PVCConverter

type PVCConverter interface {
	ConvertPVCs(pvcs []*v1.PersistentVolumeClaim, srcFormat srcFormatFn, dstFormat string) (ready bool, err error)
}

type Validator

type Validator = base.Validator

Directories

Path Synopsis
Package hyperv provides the HyperV plan adapter.
Package hyperv provides the HyperV plan adapter.
Package ova provides the OVA plan adapter.
Package ova provides the OVA plan adapter.

Jump to

Keyboard shortcuts

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