service

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErroNoPublicNetwork = errors.New("no public network available to use for vm creation")
)

Functions

This section is empty.

Types

type Interface

type Interface interface {
	// Create creates a service
	Reconcile(ctx context.Context) error
	// Delete deletes a service
	Delete(ctx context.Context) (bool, error)
}

func NewVM

func NewVM(scope *scope.ServiceScope) Interface

type VM

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

func (*VM) Delete

func (s *VM) Delete(ctx context.Context) (bool, error)

func (*VM) Reconcile

func (s *VM) Reconcile(ctx context.Context) error

Jump to

Keyboard shortcuts

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