istio

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OperatorComponent = "operator"
	OneAgentComponent = "oneagent"

	IstioGVRName    = "networking.istio.io"
	IstioGVRVersion = "v1alpha3"
)

Variables

View Source
var (
	IstioGVR = fmt.Sprintf("%s/%s", IstioGVRName, IstioGVRVersion)
)

Functions

func BuildNameForFQDNServiceEntry added in v0.14.0

func BuildNameForFQDNServiceEntry(ownerName, component string) string

func BuildNameForIPServiceEntry added in v0.14.0

func BuildNameForIPServiceEntry(ownerName, component string) string

Types

type Client added in v0.14.0

type Client struct {
	IstioClientset istioclientset.Interface
	Scheme         *runtime.Scheme
	Namespace      string
}

Client - an adapter for the external istioclientset library

func NewClient added in v0.14.0

func NewClient(config *rest.Config, scheme *runtime.Scheme, namespace string) (*Client, error)

func (*Client) CheckIstioInstalled added in v0.14.0

func (cl *Client) CheckIstioInstalled() (bool, error)

func (*Client) CreateOrUpdateServiceEntry added in v0.14.0

func (cl *Client) CreateOrUpdateServiceEntry(ctx context.Context, owner metav1.Object, newServiceEntry *istiov1alpha3.ServiceEntry) error

func (*Client) CreateOrUpdateVirtualService added in v0.14.0

func (cl *Client) CreateOrUpdateVirtualService(ctx context.Context, owner metav1.Object, newVirtualService *istiov1alpha3.VirtualService) error

func (*Client) DeleteServiceEntry added in v0.14.0

func (cl *Client) DeleteServiceEntry(ctx context.Context, name string) error

func (*Client) DeleteVirtualService added in v0.14.0

func (cl *Client) DeleteVirtualService(ctx context.Context, name string) error

func (*Client) GetServiceEntry added in v0.14.0

func (cl *Client) GetServiceEntry(ctx context.Context, name string) (*istiov1alpha3.ServiceEntry, error)

func (*Client) GetVirtualService added in v0.14.0

func (cl *Client) GetVirtualService(ctx context.Context, name string) (*istiov1alpha3.VirtualService, error)

type ClientBuilder added in v0.14.0

type ClientBuilder func(config *rest.Config, scheme *runtime.Scheme, namespace string) (*Client, error)

type Reconciler added in v0.11.0

type Reconciler struct {
	// contains filtered or unexported fields
}

func NewReconciler added in v0.11.0

func NewReconciler(istio *Client) *Reconciler

func (*Reconciler) ReconcileAPIUrl added in v0.14.0

func (r *Reconciler) ReconcileAPIUrl(ctx context.Context, dynakube *dynatracev1beta1.DynaKube) error

func (*Reconciler) ReconcileOneAgentCommunicationHosts added in v0.14.0

func (r *Reconciler) ReconcileOneAgentCommunicationHosts(ctx context.Context, dynakube *dynatracev1beta1.DynaKube) error

Jump to

Keyboard shortcuts

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