istio

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2021 License: Apache-2.0 Imports: 26 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 CheckIstioEnabled

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

CheckIstioEnabled checks if Istio is installed

Types

type Controller

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

Controller - manager istioclientset and config

func NewController

func NewController(config *rest.Config, scheme *runtime.Scheme) *Controller

NewController - creates new instance of istio controller

func (*Controller) ReconcileIstio

func (c *Controller) ReconcileIstio(instance dynatracev1alpha1.BaseOneAgent,
	dtc dtclient.Client) (updated bool, err 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