Documentation ¶
Index ¶
- Constants
- Variables
- func BuildNameForFQDNServiceEntry(ownerName, component string) string
- func BuildNameForIPServiceEntry(ownerName, component string) string
- type Client
- func (cl *Client) CheckIstioInstalled() (bool, error)
- func (cl *Client) CreateOrUpdateServiceEntry(ctx context.Context, newServiceEntry *istiov1beta1.ServiceEntry) error
- func (cl *Client) CreateOrUpdateVirtualService(ctx context.Context, newVirtualService *istiov1beta1.VirtualService) error
- func (cl *Client) DeleteServiceEntry(ctx context.Context, name string) error
- func (cl *Client) DeleteVirtualService(ctx context.Context, name string) error
- func (cl *Client) GetServiceEntry(ctx context.Context, name string) (*istiov1beta1.ServiceEntry, error)
- func (cl *Client) GetVirtualService(ctx context.Context, name string) (*istiov1beta1.VirtualService, error)
- type ClientBuilder
- type Reconciler
Constants ¶
View Source
const ( OperatorComponent = "operator" OneAgentComponent = "oneagent" ActiveGateComponent = "activegate" IstioGVRName = "networking.istio.io" IstioGVRVersion = "v1beta1" )
Variables ¶
View Source
var (
IstioGVR = fmt.Sprintf("%s/%s", IstioGVRName, IstioGVRVersion)
)
Functions ¶
Types ¶
type Client ¶
type Client struct { IstioClientset istioclientset.Interface Scheme *runtime.Scheme Owner metav1.Object }
Client - an adapter for the external istioclientset library
func (*Client) CheckIstioInstalled ¶
func (*Client) CreateOrUpdateServiceEntry ¶
func (cl *Client) CreateOrUpdateServiceEntry(ctx context.Context, newServiceEntry *istiov1beta1.ServiceEntry) error
func (*Client) CreateOrUpdateVirtualService ¶
func (cl *Client) CreateOrUpdateVirtualService(ctx context.Context, newVirtualService *istiov1beta1.VirtualService) error
func (*Client) DeleteServiceEntry ¶
func (*Client) DeleteVirtualService ¶
func (*Client) GetServiceEntry ¶
func (cl *Client) GetServiceEntry(ctx context.Context, name string) (*istiov1beta1.ServiceEntry, error)
func (*Client) GetVirtualService ¶
func (cl *Client) GetVirtualService(ctx context.Context, name string) (*istiov1beta1.VirtualService, error)
type ClientBuilder ¶
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
func NewReconciler ¶
func NewReconciler(istio *Client) *Reconciler
func (*Reconciler) ReconcileAPIUrl ¶
func (r *Reconciler) ReconcileAPIUrl(ctx context.Context, dynakube *dynatracev1beta1.DynaKube) error
func (*Reconciler) ReconcileCommunicationHosts ¶
func (r *Reconciler) ReconcileCommunicationHosts(ctx context.Context, dynakube *dynatracev1beta1.DynaKube) error
Click to show internal directories.
Click to hide internal directories.