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 ¶
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
Click to show internal directories.
Click to hide internal directories.