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
- type ReconcilerBuilder
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 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 interface { ReconcileAPIUrl(ctx context.Context, dynakube *dynatracev1beta2.DynaKube) error ReconcileCodeModuleCommunicationHosts(ctx context.Context, dynakube *dynatracev1beta2.DynaKube) error ReconcileActiveGateCommunicationHosts(ctx context.Context, dynakube *dynatracev1beta2.DynaKube) error }
func NewReconciler ¶
func NewReconciler(istio *Client) Reconciler
type ReconcilerBuilder ¶ added in v1.0.0
type ReconcilerBuilder func(istio *Client) Reconciler
Click to show internal directories.
Click to hide internal directories.