Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateFakeService ¶
func CreateFakeService(name, ip, waypoint string, lbPolicy *workloadapi.LoadBalancing) *workloadapi.Service
func CreateFakeWorkload ¶
func CreateFakeWorkload(ip, waypoint string, opts ...WorkloadOption) *workloadapi.Workload
func ResolveWaypoint ¶
func ResolveWaypoint(waypoint string) *workloadapi.GatewayAddress
Types ¶
type WorkloadOption ¶
type WorkloadOption func(*workloadapi.Workload) error
func WithAddresses ¶
func WithAddresses(addresses ...interface{}) WorkloadOption
func WithNetworkMode ¶
func WithNetworkMode(networkMode workloadapi.NetworkMode) WorkloadOption
func WithServices ¶
func WithServices(services map[string]*workloadapi.PortList) WorkloadOption
func WithWorkloadBasicInfo ¶
func WithWorkloadBasicInfo(name, uid, network string) WorkloadOption
Click to show internal directories.
Click to hide internal directories.