Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrepareClient ¶
func PrepareClient(stopCh <-chan struct{})
Types ¶
type IstioClient ¶
type IstioClient struct {
// contains filtered or unexported fields
}
var Istio *IstioClient
func NewIstioClient ¶
func NewIstioClient(clientset versionedClient.Interface, stopCh <-chan struct{}) *IstioClient
func (*IstioClient) AddHTTPFault ¶
func (c *IstioClient) AddHTTPFault(ctx context.Context, namespace string, name string, faultyRouteNamePrefix string, fault *networkingv1beta1.HTTPFaultInjection, sourceLabels map[string]string, headers map[string]*networkingv1beta1.StringMatch) error
func (*IstioClient) GetVirtualServices ¶
func (c *IstioClient) GetVirtualServices() []*beta1.VirtualService
func (*IstioClient) RemoveAllFaults ¶
Click to show internal directories.
Click to hide internal directories.