server

package
v1.0.0-alpha.10 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2022 License: Apache-2.0 Imports: 16 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 HCloud machines.

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) (_ *ctrl.Result, err error)

Delete implements delete method of server.

func (*Service) Reconcile

func (s *Service) Reconcile(ctx context.Context) (_ *ctrl.Result, err error)

Reconcile implements reconcilement of HCloud machines.

Jump to

Keyboard shortcuts

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