server

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: 17 Imported by: 0

Documentation

Overview

Package server implements functions to manage the lifecycle of HCloud servers.

Index

Constants

This section is empty.

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 HCloudMachines.

func NewService

func NewService(scope *scope.MachineScope) *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 server.

func (*Service) Reconcile

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

Reconcile implements reconcilement of HCloudMachines.

Jump to

Keyboard shortcuts

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