istio

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2020 License: Apache-2.0 Imports: 25 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 added in v0.5.0

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

Controller - manager istioclientset and config

func NewController added in v0.5.0

func NewController(config *rest.Config) *Controller

NewController - creates new instance of istio controller

func (*Controller) ReconcileIstio added in v0.5.0

func (c *Controller) ReconcileIstio(oneagent *dynatracev1alpha1.OneAgent,
	dtc dtclient.Client) (updated bool, ok bool)

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