systeminfo

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 28, 2025 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

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

func NewSystemInfoProvider

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

type Validator

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

func NewValidator

func NewValidator(p systemInfoProvider, doguClient doguClient, pvcClient pvcClient) (*Validator, error)

func (*Validator) Validate

func (v *Validator) Validate(ctx context.Context) error

Validate validates that the importing system has the same configuration as the exporting system

validates:

- 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