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