lifecycle

package
v1.14.2 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2026 License: MPL-2.0 Imports: 40 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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.

Directories

Path Synopsis
internal
containerpid
Package containerpid translates container PIDs reported by containerd into the PID namespace of the calling process.
Package containerpid translates container PIDs reported by containerd into the PID namespace of the calling process.
output
Package output streams lifecycle container output.
Package output streams lifecycle container output.

Jump to

Keyboard shortcuts

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