lifecycle

package
v1.13.3 Latest Latest
Warning

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

Go to latest
Published: May 25, 2026 License: MPL-2.0 Imports: 35 Imported by: 0

Documentation

Overview

Package lifecycle implements machine.LifecycleService.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	machine.UnimplementedLifecycleServiceServer
	// contains filtered or unexported fields
}

Service implements machine.LifecycleService.

func NewService

func NewService(runtime runtime.Runtime, logger *zap.Logger) *Service

NewService creates a new instance of the lifecycle service.

func (*Service) Install

Install handles the installation of the machine. It ensures that only one installation or upgrade can occur at a time by using a mutex lock.

func (*Service) Upgrade

Upgrade handles the upgrade of the machine. It ensures that only one installation or upgrade can occur at a time by using a mutex lock.

Jump to

Keyboard shortcuts

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