Documentation
¶
Index ¶
- func PrepareClient(stopCh <-chan struct{})
- type IstioClient
- func (c *IstioClient) AddHTTPFault(ctx context.Context, namespace string, name string, ...) error
- func (c *IstioClient) GetGateways() []*networkingv1.Gateway
- func (c *IstioClient) GetVirtualServices() []*networkingv1.VirtualService
- func (c *IstioClient) RemoveAllFaults(ctx context.Context, namespace string, name string, ...) error
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 *apinetv1.HTTPFaultInjection, sourceLabels map[string]string, headers map[string]*apinetv1.StringMatch) error
func (*IstioClient) GetGateways ¶ added in v1.0.15
func (c *IstioClient) GetGateways() []*networkingv1.Gateway
func (*IstioClient) GetVirtualServices ¶
func (c *IstioClient) GetVirtualServices() []*networkingv1.VirtualService
func (*IstioClient) RemoveAllFaults ¶
Click to show internal directories.
Click to hide internal directories.