controllers

package
v0.0.0-...-90775a5 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEventDrivenIngestionResource

func GetEventDrivenIngestionResource(context context.Context, namespacedName types.NamespacedName, controllerClient client.Client) (*v1alpha1.DicomEventDrivenIngestion, error)

func GetEventProcessorServiceEndpoint

func GetEventProcessorServiceEndpoint(cr *v1alpha1.DicomEventDrivenIngestion) string

func GetWadoEndpoints

func GetWadoEndpoints(context context.Context, client client.Client, eventDrivenIngestionName, provider string) (string, string)

Types

type DicomEventBridgeReconciler

type DicomEventBridgeReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

DicomEventBridgeReconciler reconciles a DicomEventBridge object

func (*DicomEventBridgeReconciler) GetDesiredState

func (*DicomEventBridgeReconciler) GetEdgeLocationConfigDesiredState

func (i *DicomEventBridgeReconciler) GetEdgeLocationConfigDesiredState(state *DicomEventBridgeState, cr *v1alpha1.DicomEventBridge) common.ControllerAction

func (*DicomEventBridgeReconciler) GetEventBridgeDeploymentDesiredState

func (i *DicomEventBridgeReconciler) GetEventBridgeDeploymentDesiredState(state *DicomEventBridgeState, cr *v1alpha1.DicomEventBridge) common.ControllerAction

func (*DicomEventBridgeReconciler) GetEventBridgeServiceDesiredState

func (i *DicomEventBridgeReconciler) GetEventBridgeServiceDesiredState(state *DicomEventBridgeState, cr *v1alpha1.DicomEventBridge) common.ControllerAction

func (*DicomEventBridgeReconciler) GetEventDrivenIngestionDesiredState

func (i *DicomEventBridgeReconciler) GetEventDrivenIngestionDesiredState(state *DicomEventBridgeState, cr *v1alpha1.DicomEventBridge) common.ControllerAction

func (*DicomEventBridgeReconciler) GetNatsConfigDesiredState

func (*DicomEventBridgeReconciler) GetNatsTokenSecretDesiredState

func (*DicomEventBridgeReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the DicomEventBridge object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.10.0/pkg/reconcile

func (*DicomEventBridgeReconciler) SetupWithManager

func (r *DicomEventBridgeReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type DicomEventBridgeState

type DicomEventBridgeState struct {
	client.Client
	Scheme *runtime.Scheme

	EventDrivenIngestion  *v1alpha1.DicomEventDrivenIngestion
	NatsTokenSecret       *corev1.Secret
	NatsConfig            *corev1.ConfigMap
	EdgeLocationConfig    *corev1.ConfigMap
	EventBridgeDeployment *appsv1.Deployment
	EventBridgeService    *corev1.Service
}

func NewDicomEventBridgeState

func NewDicomEventBridgeState(client client.Client, scheme *runtime.Scheme) *DicomEventBridgeState

func (*DicomEventBridgeState) IsResourcesReady

func (i *DicomEventBridgeState) IsResourcesReady(resource client.Object) (bool, error)

func (*DicomEventBridgeState) Read

func (i *DicomEventBridgeState) Read(context context.Context, resource client.Object) error

type DicomEventDrivenIngestionReconciler

type DicomEventDrivenIngestionReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

DicomEventDrivenIngestionReconciler reconciles a DicomEventDrivenIngestion object

func (*DicomEventDrivenIngestionReconciler) GetDatabaseConfigDesiredState

func (*DicomEventDrivenIngestionReconciler) GetDatabaseSecretDesiredState

func (*DicomEventDrivenIngestionReconciler) GetDesiredState

func (*DicomEventDrivenIngestionReconciler) GetEventBrokerDesiredState

func (*DicomEventDrivenIngestionReconciler) GetEventProcessorServiceDesiredState

func (*DicomEventDrivenIngestionReconciler) GetImageStoredTriggerDesiredState

func (*DicomEventDrivenIngestionReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.7.2/pkg/reconcile

func (*DicomEventDrivenIngestionReconciler) SetupWithManager

func (r *DicomEventDrivenIngestionReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type DicomEventDrivenIngestionState

type DicomEventDrivenIngestionState struct {
	client.Client
	Scheme *runtime.Scheme

	DatabaseSecret        *corev1.Secret
	DatabaseConfig        *corev1.ConfigMap
	EventProcessorService *kservingv1.Service
	EventBroker           *keventingv1.Broker
	ImageStoredTrigger    *keventingv1.Trigger
}

func NewDicomEventDrivenIngestionState

func NewDicomEventDrivenIngestionState(client client.Client, scheme *runtime.Scheme) *DicomEventDrivenIngestionState

func (*DicomEventDrivenIngestionState) IsResourcesReady

func (i *DicomEventDrivenIngestionState) IsResourcesReady(resource client.Object) (bool, error)

func (*DicomEventDrivenIngestionState) Read

func (i *DicomEventDrivenIngestionState) Read(context context.Context, resource client.Object) error

type DicomInstanceBindingReconciler

type DicomInstanceBindingReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

DicomInstanceBindingReconciler reconciles a DicomInstanceBinding object

func (*DicomInstanceBindingReconciler) GetDesiredState

func (*DicomInstanceBindingReconciler) GetInstanceBindingConfigDesiredState

func (*DicomInstanceBindingReconciler) GetInstanceBindingSecretDesiredState

func (*DicomInstanceBindingReconciler) GetInstanceBindingServiceDesiredState

func (*DicomInstanceBindingReconciler) GetInstanceBindingTriggerDesiredState

func (*DicomInstanceBindingReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.7.2/pkg/reconcile

func (*DicomInstanceBindingReconciler) SetupWithManager

func (r *DicomInstanceBindingReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type DicomInstanceBindingState

type DicomInstanceBindingState struct {
	client.Client
	Scheme *runtime.Scheme

	InstanceBindingSecret  *corev1.Secret
	InstanceBindingConfig  *corev1.ConfigMap
	InstanceBindingService *kservingv1.Service
	InstanceBindingTrigger *keventingv1.Trigger
}

func NewDicomInstanceBindingState

func NewDicomInstanceBindingState(client client.Client, scheme *runtime.Scheme) *DicomInstanceBindingState

func (*DicomInstanceBindingState) IsResourcesReady

func (i *DicomInstanceBindingState) IsResourcesReady(resource client.Object) (bool, error)

func (*DicomInstanceBindingState) Read

func (i *DicomInstanceBindingState) Read(context context.Context, resource client.Object) error

type DicomStudyBindingReconciler

type DicomStudyBindingReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

DicomStudyBindingReconciler reconciles a DicomStudyBinding object

func (*DicomStudyBindingReconciler) GetDesiredState

func (*DicomStudyBindingReconciler) GetStudyBindingConfigDesiredState

func (i *DicomStudyBindingReconciler) GetStudyBindingConfigDesiredState(state *DicomStudyBindingState, cr *v1alpha1.DicomStudyBinding) common.ControllerAction

func (*DicomStudyBindingReconciler) GetStudyBindingSecretDesiredState

func (i *DicomStudyBindingReconciler) GetStudyBindingSecretDesiredState(state *DicomStudyBindingState, cr *v1alpha1.DicomStudyBinding) common.ControllerAction

func (*DicomStudyBindingReconciler) GetStudyBindingServiceDesiredState

func (i *DicomStudyBindingReconciler) GetStudyBindingServiceDesiredState(state *DicomStudyBindingState, cr *v1alpha1.DicomStudyBinding) common.ControllerAction

func (*DicomStudyBindingReconciler) GetStudyBindingSinkBindingDesiredState

func (i *DicomStudyBindingReconciler) GetStudyBindingSinkBindingDesiredState(state *DicomStudyBindingState, cr *v1alpha1.DicomStudyBinding) common.ControllerAction

func (*DicomStudyBindingReconciler) GetStudyBindingTriggerDesiredState

func (i *DicomStudyBindingReconciler) GetStudyBindingTriggerDesiredState(state *DicomStudyBindingState, cr *v1alpha1.DicomStudyBinding) common.ControllerAction

func (*DicomStudyBindingReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.7.2/pkg/reconcile

func (*DicomStudyBindingReconciler) SetupWithManager

func (r *DicomStudyBindingReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type DicomStudyBindingState

type DicomStudyBindingState struct {
	client.Client
	Scheme *runtime.Scheme

	StudyBindingSecret      *corev1.Secret
	StudyBindingConfig      *corev1.ConfigMap
	StudyBindingService     *kservingv1.Service
	StudyBindingSinkBinding *ksourcesv1.SinkBinding
	StudyBindingTrigger     *keventingv1.Trigger
}

func NewDicomStudyBindingState

func NewDicomStudyBindingState(client client.Client, scheme *runtime.Scheme) *DicomStudyBindingState

func (*DicomStudyBindingState) IsResourcesReady

func (i *DicomStudyBindingState) IsResourcesReady(resource client.Object) (bool, error)

func (*DicomStudyBindingState) Read

func (i *DicomStudyBindingState) Read(context context.Context, resource client.Object) error

type DicomwebIngestionServiceReconciler

type DicomwebIngestionServiceReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

DicomwebIngestionServiceReconciler reconciles a DicomwebIngestionService object

func (*DicomwebIngestionServiceReconciler) GetBucketConfigDesiredState

func (*DicomwebIngestionServiceReconciler) GetBucketSecretDesiredState

func (*DicomwebIngestionServiceReconciler) GetDesiredState

func (*DicomwebIngestionServiceReconciler) GetStowServiceDesiredState

func (*DicomwebIngestionServiceReconciler) GetStowSinkBindingDesiredState

func (*DicomwebIngestionServiceReconciler) GetWadoServiceDesiredState

func (*DicomwebIngestionServiceReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.7.2/pkg/reconcile

func (*DicomwebIngestionServiceReconciler) SetupWithManager

func (r *DicomwebIngestionServiceReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type DicomwebIngestionServiceState

type DicomwebIngestionServiceState struct {
	client.Client
	Scheme *runtime.Scheme

	BucketSecret    *corev1.Secret
	BucketConfig    *corev1.ConfigMap
	StowService     *kservingv1.Service
	WadoService     *kservingv1.Service
	StowSinkBinding *ksourcesv1.SinkBinding
}

func NewDicomwebIngestionServiceState

func NewDicomwebIngestionServiceState(client client.Client, scheme *runtime.Scheme) *DicomwebIngestionServiceState

func (*DicomwebIngestionServiceState) IsResourcesReady

func (i *DicomwebIngestionServiceState) IsResourcesReady(resource client.Object) (bool, error)

func (*DicomwebIngestionServiceState) Read

func (i *DicomwebIngestionServiceState) Read(context context.Context, resource client.Object) error

type DimseIngestionServiceReconciler

type DimseIngestionServiceReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

DimseIngestionServiceReconciler reconciles a DimseIngestionService object

func (*DimseIngestionServiceReconciler) GetBucketConfigDesiredState

func (*DimseIngestionServiceReconciler) GetBucketSecretDesiredState

func (*DimseIngestionServiceReconciler) GetDesiredState

func (*DimseIngestionServiceReconciler) GetDimseConfigDesiredState

func (*DimseIngestionServiceReconciler) GetDimseIngestionServiceDesiredState

func (*DimseIngestionServiceReconciler) GetNatsConfigDesiredState

func (*DimseIngestionServiceReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.7.2/pkg/reconcile

func (*DimseIngestionServiceReconciler) SetupWithManager

func (r *DimseIngestionServiceReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type DimseIngestionServiceState

type DimseIngestionServiceState struct {
	client.Client
	Scheme *runtime.Scheme

	BucketSecret             *corev1.Secret
	BucketConfig             *corev1.ConfigMap
	NatsConfig               *corev1.ConfigMap
	DimseConfig              *corev1.ConfigMap
	DimseIngestionDeployment *appsv1.Deployment
}

func NewDimseIngestionServiceState

func NewDimseIngestionServiceState(client client.Client, scheme *runtime.Scheme) *DimseIngestionServiceState

func (*DimseIngestionServiceState) IsResourcesReady

func (i *DimseIngestionServiceState) IsResourcesReady(resource client.Object) (bool, error)

func (*DimseIngestionServiceState) Read

func (i *DimseIngestionServiceState) Read(context context.Context, resource client.Object) error

type DimseProxyReconciler

type DimseProxyReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

DimseProxyReconciler reconciles a DimseProxy object

func (*DimseProxyReconciler) GetDesiredState

func (r *DimseProxyReconciler) GetDesiredState(currentState *DimseProxyState, cr *v1alpha1.DimseProxy) common.DesiredResourceState

func (*DimseProxyReconciler) GetDimseConfigDesiredState

func (i *DimseProxyReconciler) GetDimseConfigDesiredState(state *DimseProxyState, cr *v1alpha1.DimseProxy) common.ControllerAction

func (*DimseProxyReconciler) GetDimseProxyDeploymentDesiredState

func (i *DimseProxyReconciler) GetDimseProxyDeploymentDesiredState(state *DimseProxyState, cr *v1alpha1.DimseProxy) common.ControllerAction

func (*DimseProxyReconciler) GetDimseProxyServiceDesiredState

func (i *DimseProxyReconciler) GetDimseProxyServiceDesiredState(state *DimseProxyState, cr *v1alpha1.DimseProxy) common.ControllerAction

func (*DimseProxyReconciler) GetNatsConfigDesiredState

func (i *DimseProxyReconciler) GetNatsConfigDesiredState(state *DimseProxyState, cr *v1alpha1.DimseProxy) common.ControllerAction

func (*DimseProxyReconciler) GetNatsTokenSecretDesiredState

func (i *DimseProxyReconciler) GetNatsTokenSecretDesiredState(state *DimseProxyState, cr *v1alpha1.DimseProxy) common.ControllerAction

func (*DimseProxyReconciler) Reconcile

func (r *DimseProxyReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.7.2/pkg/reconcile

func (*DimseProxyReconciler) SetupWithManager

func (r *DimseProxyReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type DimseProxyState

type DimseProxyState struct {
	client.Client
	Scheme *runtime.Scheme

	NatsTokenSecret      *corev1.Secret
	NatsConfig           *corev1.ConfigMap
	DimseConfig          *corev1.ConfigMap
	DimseProxyDeployment *appsv1.Deployment
	DimseProxyService    *corev1.Service
}

func NewDimseProxyState

func NewDimseProxyState(client client.Client, scheme *runtime.Scheme) *DimseProxyState

func (*DimseProxyState) IsResourcesReady

func (i *DimseProxyState) IsResourcesReady(resource client.Object) (bool, error)

func (*DimseProxyState) Read

func (i *DimseProxyState) Read(context context.Context, resource client.Object) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL