Documentation
¶
Index ¶
- func BuildRootCa(ctx context.Context, secretMeta ezkube.ResourceId) (*corev1.Secret, error)
- 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, ...) (*networkingv1.VirtualMesh, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildRootCa ¶ added in v1.1.0
func BuildRootCa(ctx context.Context, secretMeta ezkube.ResourceId) (*corev1.Secret, error)
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,
) (*networkingv1.VirtualMesh, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.