istio

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// VirtualServiceGVK => definition of virtual service GVK for oneagent
	VirtualServiceGVK = schema.GroupVersionKind{
		Group:   istioGVRName,
		Version: "v1alpha3",
		Kind:    "VirtualService",
	}

	// ServiceEntryGVK => definition of virtual service GVK for oneagent
	ServiceEntryGVK = schema.GroupVersionKind{
		Group:   istioGVRName,
		Version: "v1alpha3",
		Kind:    "ServiceEntry",
	}
)

Functions

func BuildNameForEndpoint added in v0.10.0

func BuildNameForEndpoint(name string, protocol string, host string, port uint32) string

BuildNameForEndpoint returns a name to be used as a base to identify Istio objects.

func CheckIstioEnabled

func CheckIstioEnabled(cfg *rest.Config) (bool, error)

CheckIstioEnabled checks if Istio is installed

Types

type IstioReconciler added in v0.5.0

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

IstioReconciler - manager istioclientset and config

func NewIstioReconciler added in v0.5.0

func NewIstioReconciler(config *rest.Config, scheme *runtime.Scheme) *IstioReconciler

NewIstioReconciler - creates new instance of istio controller

func (*IstioReconciler) ReconcileIstio added in v0.5.0

func (reconciler *IstioReconciler) ReconcileIstio(instance *dynatracev1beta1.DynaKube) (bool, error)

ReconcileIstio - runs the istio's reconcile workflow, creating/deleting VS & SE for external communications

Jump to

Keyboard shortcuts

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