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, owner metav1.Object, ...) error
- func (cl *Client) CreateOrUpdateVirtualService(ctx context.Context, owner metav1.Object, ...) 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) (*istiov1alpha3.ServiceEntry, error)
- func (cl *Client) GetVirtualService(ctx context.Context, name string) (*istiov1alpha3.VirtualService, error)
- type ClientBuilder
- type Reconciler
Constants ¶
View Source
const ( OperatorComponent = "operator" OneAgentComponent = "oneagent" IstioGVRName = "networking.istio.io" IstioGVRVersion = "v1alpha3" )
Variables ¶
View Source
var (
IstioGVR = fmt.Sprintf("%s/%s", IstioGVRName, IstioGVRVersion)
)
Functions ¶
func BuildNameForFQDNServiceEntry ¶ added in v0.14.0
func BuildNameForIPServiceEntry ¶ added in v0.14.0
Types ¶
type Client ¶ added in v0.14.0
type Client struct { IstioClientset istioclientset.Interface Scheme *runtime.Scheme Namespace string }
Client - an adapter for the external istioclientset library
func (*Client) CheckIstioInstalled ¶ added in v0.14.0
func (*Client) CreateOrUpdateServiceEntry ¶ added in v0.14.0
func (cl *Client) CreateOrUpdateServiceEntry(ctx context.Context, owner metav1.Object, newServiceEntry *istiov1alpha3.ServiceEntry) error
func (*Client) CreateOrUpdateVirtualService ¶ added in v0.14.0
func (cl *Client) CreateOrUpdateVirtualService(ctx context.Context, owner metav1.Object, newVirtualService *istiov1alpha3.VirtualService) error
func (*Client) DeleteServiceEntry ¶ added in v0.14.0
func (*Client) DeleteVirtualService ¶ added in v0.14.0
func (*Client) GetServiceEntry ¶ added in v0.14.0
func (cl *Client) GetServiceEntry(ctx context.Context, name string) (*istiov1alpha3.ServiceEntry, error)
func (*Client) GetVirtualService ¶ added in v0.14.0
func (cl *Client) GetVirtualService(ctx context.Context, name string) (*istiov1alpha3.VirtualService, error)
type ClientBuilder ¶ added in v0.14.0
type Reconciler ¶ added in v0.11.0
type Reconciler struct {
// contains filtered or unexported fields
}
func NewReconciler ¶ added in v0.11.0
func NewReconciler(istio *Client) *Reconciler
func (*Reconciler) ReconcileAPIUrl ¶ added in v0.14.0
func (r *Reconciler) ReconcileAPIUrl(ctx context.Context, dynakube *dynatracev1beta1.DynaKube) error
func (*Reconciler) ReconcileOneAgentCommunicationHosts ¶ added in v0.14.0
func (r *Reconciler) ReconcileOneAgentCommunicationHosts(ctx context.Context, dynakube *dynatracev1beta1.DynaKube) error
Click to show internal directories.
Click to hide internal directories.