Documentation ¶
Index ¶
- type Handler
- func (h *Handler) Apply(ctx context.Context, chaos *v1alpha1.PodNetworkChaos) error
- func (h *Handler) SetIPSets(ctx context.Context, pod *corev1.Pod, chaos *v1alpha1.PodNetworkChaos) error
- func (h *Handler) SetIptables(ctx context.Context, pod *corev1.Pod, chaos *v1alpha1.PodNetworkChaos) error
- func (h *Handler) SetTcs(ctx context.Context, pod *corev1.Pod, chaos *v1alpha1.PodNetworkChaos) error
- type NetemSpec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
Handler applys podnetworkchaos
func (*Handler) SetIPSets ¶
func (h *Handler) SetIPSets(ctx context.Context, pod *corev1.Pod, chaos *v1alpha1.PodNetworkChaos) error
SetIPSets sets ipset on pod
func (*Handler) SetIptables ¶
func (h *Handler) SetIptables(ctx context.Context, pod *corev1.Pod, chaos *v1alpha1.PodNetworkChaos) error
SetIptables sets iptables on pod
Click to show internal directories.
Click to hide internal directories.