server

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2026 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(
	repo provisioning.ServerRepo,
	client provisioning.ServerClientPort,
	scriptlet provisioning.ServerScriptletPort,
	tokenSvc provisioning.TokenService,
	clusterSvc provisioning.ClusterService,
	channelSvc provisioning.ChannelService,
	updateSvc provisioning.UpdateService,
	serverCertificate tls.Certificate,
	opts ...Option,
) *serverService

Types

type Option

type Option func(s *serverService)

func AddBMCServerClient added in v0.8.0

func AddBMCServerClient(bmcAPIType api.BMCAPIType, client provisioning.BMCServerClientPort) Option

func WithInitialConnectionDelay

func WithInitialConnectionDelay(delay time.Duration) Option

func WithNow

func WithNow(nowFunc func() time.Time) Option

func WithRebootStatusUpdateGracePeriod added in v0.6.3

func WithRebootStatusUpdateGracePeriod(rebootStatusUpdateGracePeriod time.Duration) Option

func WithWarningEmitter

func WithWarningEmitter(warn provisioning.WarningServicePort) Option

Jump to

Keyboard shortcuts

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