2023-11-10 19:22:06 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
|
|
|
// SPDX-License-Identifier: BUSL-1.1
|
|
|
|
|
|
|
|
package topoutil
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/hashicorp/consul/testing/deployer/topology"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Deprecated: NewFortioWorkloadWithDefaults
|
|
|
|
func NewFortioServiceWithDefaults(
|
|
|
|
cluster string,
|
|
|
|
sid topology.ID,
|
|
|
|
mut func(*topology.Workload),
|
|
|
|
) *topology.Workload {
|
2024-05-21 19:52:19 +00:00
|
|
|
return NewFortioWorkloadWithDefaults(cluster, sid, mut)
|
2023-11-10 19:22:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: NewBlankspaceWorkloadWithDefaults
|
|
|
|
func NewBlankspaceServiceWithDefaults(
|
|
|
|
cluster string,
|
|
|
|
sid topology.ID,
|
|
|
|
mut func(*topology.Workload),
|
|
|
|
) *topology.Workload {
|
2024-05-21 19:52:19 +00:00
|
|
|
return NewBlankspaceWorkloadWithDefaults(cluster, sid, mut)
|
2023-11-10 19:22:06 +00:00
|
|
|
}
|