Documentation ¶
Index ¶
- func LocalTrafficShiftPolicy(name, namespace string, destinationService *v1.ClusterObjectRef, ...) *v1alpha2.TrafficPolicy
- func RemoteTrafficShiftPolicy(name, namespace string, destinationService *v1.ClusterObjectRef, ...) *v1alpha2.TrafficPolicy
- func SelfSignedVirtualMesh(dynamicClient client.Client, name, namespace string, ...) (*v1alpha2.VirtualMesh, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LocalTrafficShiftPolicy ¶
func LocalTrafficShiftPolicy( name, namespace string, destinationService *v1.ClusterObjectRef, subset map[string]string, port uint32) *v1alpha2.TrafficPolicy
shifts traffic to a subset in the local cluster
func RemoteTrafficShiftPolicy ¶
func RemoteTrafficShiftPolicy( name, namespace string, destinationService *v1.ClusterObjectRef, subsetCluster string, subset map[string]string, port uint32) *v1alpha2.TrafficPolicy
shifts traffic to a subset in the remote cluster
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.