istio

package
v0.0.0-...-571d2a1 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 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 ClientInterface

type ClientInterface interface {
	// GetEnvoyFilter returns the envoy filter for the given name and namespace
	GetEnvoyFilter(ctx context.Context, name string, namespace string, options metav1.GetOptions) (*v1alpha3.EnvoyFilter, error)
	// CreateEnvoyFilter creates the envoy filter
	CreateEnvoyFilter(ctx context.Context, envoyfilter *v1alpha3.EnvoyFilter, options metav1.CreateOptions) (*v1alpha3.EnvoyFilter, error)
	// UpdateEnvoyFilter updates the envoy filter
	UpdateEnvoyFilter(ctx context.Context, envoyfilter *v1alpha3.EnvoyFilter, options metav1.UpdateOptions) (*v1alpha3.EnvoyFilter, error)
	// DeleteEnvoyFilter deletes the envoy filter
	DeleteEnvoyFilter(ctx context.Context, name string, namespace string, option metav1.DeleteOptions) error
	// ListEnvoyFilters lists the envoy filters
	ListEnvoyFilters(ctx context.Context, namespace string, options metav1.ListOptions) (*v1alpha3.EnvoyFilterList, error)
	// CreateEnvoyFilters creates the envoy filters
	CreateEnvoyFilters(ctx context.Context, envoyfilterList []*v1alpha3.EnvoyFilter) error
	// DeleteEnvoyFilters deletes the envoy filters
	DeleteEnvoyFilters(ctx context.Context, envoyfilterList []*v1alpha3.EnvoyFilter) error
	// UpdateEnvoyFilters updates the envoy filters
	UpdateEnvoyFilters(ctx context.Context, envoyfilterList []*v1alpha3.EnvoyFilter) error
	// ApplyEnvoyFilters adds, updates and deletes the envoy filters based on the requested and existing envoy filters
	ApplyEnvoyFilters(ctx context.Context, requestedEnvoyFilterList []*v1alpha3.EnvoyFilter, existingEnvoyFilterList *v1alpha3.EnvoyFilterList) error

	// GetVirtualService returns the virtual service for the given name and namespace
	GetVirtualService(ctx context.Context, name string, namespace string, options metav1.GetOptions) (*v1alpha3.VirtualService, error)
	// CreateVirtualService creates the virtual service
	CreateVirtualService(ctx context.Context, virtualService *v1alpha3.VirtualService, options metav1.CreateOptions) (*v1alpha3.VirtualService, error)
	// UpdateVirtualService updates the virtual service
	UpdateVirtualService(ctx context.Context, virtualService *v1alpha3.VirtualService, options metav1.UpdateOptions) (*v1alpha3.VirtualService, error)
	// DeleteVirtualService deletes the virtual service
	DeleteVirtualService(ctx context.Context, name string, namespace string, options metav1.DeleteOptions) error
	// ListVirtualServices lists the virtual services
	ListVirtualServices(ctx context.Context, namespace string, options metav1.ListOptions) (*v1alpha3.VirtualServiceList, error)
}

func NewIstioClient

func NewIstioClient(clusterID string, istioClient istioclientset.Interface) ClientInterface

Jump to

Keyboard shortcuts

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