plans

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: MPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MicroVMDeletePlanName         = "microvm_delete"
	MicroVMCreateOrUpdatePlanName = "microvm_create_update"
)

Variables

This section is empty.

Functions

func MicroVMCreateOrUpdatePlan

func MicroVMCreateOrUpdatePlan(input *CreateOrUpdatePlanInput) planner.Plan

func MicroVMDeletePlan

func MicroVMDeletePlan(input *DeletePlanInput) planner.Plan

Types

type CreateOrUpdatePlanInput

type CreateOrUpdatePlanInput struct {
	StateDirectory string
	VM             *models.MicroVM
}

type DeletePlanInput

type DeletePlanInput struct {
	StateDirectory string
	VM             *models.MicroVM
}

type ProvidersInput

type ProvidersInput struct {
	MicroVMService ports.MicroVMService
	MicroVMRepo    ports.MicroVMRepository
	EventService   ports.EventService
	ImageService   ports.ImageService
	NetworkService ports.NetworkService

	FS afero.Fs
}

Providers input is a type to be used as input to plans.

Jump to

Keyboard shortcuts

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