server

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2026 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeploymentStateDiagram added in v0.10.0

func DeploymentStateDiagram() (string, error)

DeploymentStateDiagram renders the deployment state machine as a mermaid state diagram. It is the source of the diagram in the documentation and is exported for the generator, which can not read the table itself.

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 WithBIOSProfilePort added in v0.9.0

func WithBIOSProfilePort(biosProfile provisioning.BIOSProfilePort) 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 WithRollingUpdateStepRetryBackoff added in v0.10.0

func WithRollingUpdateStepRetryBackoff(rollingUpdateStepRetryBackoff time.Duration) Option

func WithSecureBootMediaPort added in v0.10.0

WithSecureBootMediaPort enables the enrollment of the secure boot certificates from a generated enrollment media.

func WithSeedImageProgressPort added in v0.9.0

func WithSeedImageProgressPort(seedImageProgress provisioning.SeedImageProgressPort) 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