istio

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

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

	// ServiceEntryGVK => definition of virtual service GVK for oneagent
	ServiceEntryGVK = schema.GroupVersionKind{
		Group:   IstioGVRName,
		Version: IstioGVRVersion,
		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 CheckIstioInstalled added in v0.12.0

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

Types

type Reconciler added in v0.11.0

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

Reconciler - manager istioclientset and config

func NewReconciler added in v0.11.0

func NewReconciler(config *rest.Config, scheme *runtime.Scheme) *Reconciler

NewReconciler - creates new instance of istio controller

func (*Reconciler) Reconcile added in v0.11.0

func (reconciler *Reconciler) Reconcile(instance *dynatracev1beta1.DynaKube, communicationHosts []dtclient.CommunicationHost) (bool, error)

Reconcile - 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