custom

package
v0.0.0-...-2db42ee Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IstioClient

type IstioClient struct {
	istioclient.Interface
}

func NewVersionedIstioClient

func NewVersionedIstioClient(cfg *rest.Config) (*IstioClient, error)

func (*IstioClient) IsListenerHTTPRouteConfigured

func (c *IstioClient) IsListenerHTTPRouteConfigured(ctx context.Context, vsObjectKey client.ObjectKey,
	obj *watcherv1alpha1.Watcher,
) bool

func (*IstioClient) IsListenerHTTPRoutesEmpty

func (c *IstioClient) IsListenerHTTPRoutesEmpty(ctx context.Context, vsObjectKey client.ObjectKey) bool

func (*IstioClient) RemoveVirtualServiceConfigForCR

func (c *IstioClient) RemoveVirtualServiceConfigForCR(ctx context.Context, vsObjectKey client.ObjectKey,
	obj *watcherv1alpha1.Watcher,
) error

func (*IstioClient) UpdateVirtualServiceConfig

func (c *IstioClient) UpdateVirtualServiceConfig(ctx context.Context, vsObjectKey client.ObjectKey,
	obj *watcherv1alpha1.Watcher,
) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL