Documentation
¶
Index ¶
- func DeploymentStateDiagram() (string, error)
- func New(repo provisioning.ServerRepo, client provisioning.ServerClientPort, ...) *serverService
- type Option
- func AddBMCServerClient(bmcAPIType api.BMCAPIType, client provisioning.BMCServerClientPort) Option
- func WithBIOSProfilePort(biosProfile provisioning.BIOSProfilePort) Option
- func WithInitialConnectionDelay(delay time.Duration) Option
- func WithNow(nowFunc func() time.Time) Option
- func WithRebootStatusUpdateGracePeriod(rebootStatusUpdateGracePeriod time.Duration) Option
- func WithRollingUpdateStepRetryBackoff(rollingUpdateStepRetryBackoff time.Duration) Option
- func WithSecureBootMediaPort(media provisioning.SecureBootMediaPort, ...) Option
- func WithSeedImageProgressPort(seedImageProgress provisioning.SeedImageProgressPort) Option
- func WithWarningEmitter(warn provisioning.WarningServicePort) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeploymentStateDiagram ¶ added in v0.10.0
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 WithRebootStatusUpdateGracePeriod ¶ added in v0.6.3
func WithRollingUpdateStepRetryBackoff ¶ added in v0.10.0
func WithSecureBootMediaPort ¶ added in v0.10.0
func WithSecureBootMediaPort(media provisioning.SecureBootMediaPort, source provisioning.SecureBootCertificateSourcePort, catalog provisioning.SecureBootCertificateCatalogPort) Option
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
Click to show internal directories.
Click to hide internal directories.