baremetal

package
v1.0.0-beta.33 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Overview

Package baremetal implements functions to manage the lifecycle of baremetal machines as inventory.

Index

Constants

View Source
const (

	// FailureMessageMaintenanceMode indicates that host is in maintenance mode.
	FailureMessageMaintenanceMode = "host machine in maintenance mode"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

Service defines struct with machine scope to reconcile HetznerBareMetalMachines.

func NewService

func NewService(scope *scope.BareMetalMachineScope) *Service

NewService outs a new service with machine scope.

func (*Service) Delete

func (s *Service) Delete(ctx context.Context) (res reconcile.Result, err error)

Delete implements delete method of bare metal machine.

func (*Service) Reconcile

func (s *Service) Reconcile(ctx context.Context) (res reconcile.Result, err error)

Reconcile implements reconcilement of HetznerBareMetalMachines.

Jump to

Keyboard shortcuts

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