...

Package tc

import "github.com/chaos-mesh/chaos-mesh/controllers/podnetworkchaos/tc"
Overview
Index

Overview ▾

func SetTcs

func SetTcs(ctx context.Context, pbClient chaosdaemonclient.ChaosDaemonClientInterface, pod *v1.Pod, tcs []*pb.Tc) error

SetTcs makes grpc call to chaosdaemon to flush traffic control rules