systeminfo

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2025 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DoguVolumeResizer added in v0.0.2

type DoguVolumeResizer struct {
	// contains filtered or unexported fields
}

func NewDoguVolumeResizer added in v0.0.2

func NewDoguVolumeResizer(doguClient doguClient, pvcCLient pvcClient, excludedDogus []string) *DoguVolumeResizer

func (*DoguVolumeResizer) ResizeDogusIfNeeded added in v0.0.2

func (d *DoguVolumeResizer) ResizeDogusIfNeeded(ctx context.Context, exporterDogus []migration.Dogu, importerDogus []migration.Dogu) error

type Provider

type Provider struct {
	// contains filtered or unexported fields
}

func NewSystemInfoProvider

func NewSystemInfoProvider(componentLister componentLister, doguLister doguLister, systemInfoApiClient systemInfoApiClient) (*Provider, error)

func (*Provider) GetExporterSystemInfo added in v0.0.2

func (s *Provider) GetExporterSystemInfo(ctx context.Context) (*migration.SystemInfo, error)

GetExporterSystemInfo gets the exporters system info via get request

func (*Provider) GetImporterSystemInfo added in v0.0.2

func (s *Provider) GetImporterSystemInfo(ctx context.Context) (*migration.SystemInfo, error)

GetImporterSystemInfo gets the current systems system info about dogus and components

type Validator

type Validator struct {
	// contains filtered or unexported fields
}

func NewValidator

func NewValidator(excludedDogus []string) *Validator

func (*Validator) Validate

func (v *Validator) Validate(_ context.Context, exporterInfo *migration.SystemInfo, importerInfo *migration.SystemInfo) error

Validate validates that the importing system has the same configuration as the exporting system - dogus exist in correct version - components exist in correct version - pvcs are large enough (a resize is attempted)

Jump to

Keyboard shortcuts

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