Documentation
¶
Index ¶
- func New(repo provisioning.ClusterRepo, localartifact provisioning.ClusterArtifactRepo, ...) *clusterService
- type Option
- func WithCreateClusterCertificateNotBeforeDelay(delay time.Duration) Option
- func WithCreateRetryTimeout(timeout time.Duration) Option
- func WithNow(nowFunc func() time.Time) Option
- func WithPendingUpdateRecheckInterval(d time.Duration) Option
- func WithRemoveServerDeleteClusterMemberRetryDelay(delay time.Duration) Option
- func WithRemoveServerFactoryResetWaitDelay(delay time.Duration) Option
- func WithWarningEmitter(warn provisioning.WarningServicePort) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New( repo provisioning.ClusterRepo, localartifact provisioning.ClusterArtifactRepo, client provisioning.ClusterClientPort, serverSvc provisioning.ServerService, tokenSvc provisioning.TokenService, inventorySyncers map[domain.ResourceType]provisioning.InventorySyncer, provisioner provisioning.ClusterProvisioningPort, inventorySvc interface { GetAllWithFilter(ctx context.Context, filter inventory.InventoryAggregateFilter) (inventory.InventoryAggregates, error) }, opts ...Option, ) *clusterService
Types ¶
type Option ¶
type Option func(s *clusterService)
func WithCreateRetryTimeout ¶
func WithWarningEmitter ¶
func WithWarningEmitter(warn provisioning.WarningServicePort) Option
Click to show internal directories.
Click to hide internal directories.