Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DaprHandler ¶
type DaprHandler struct { client.Client Scheme *runtime.Scheme // contains filtered or unexported fields }
DaprHandler handles the lifetime for Dapr CRDs.
func NewDaprHandler ¶
func NewDaprHandler(mgr ctrl.Manager) *DaprHandler
NewDaprHandler returns a new Dapr handler. This is a reconciler that watches all Deployment and StatefulSet resources and ensures that a matching Service resource is deployed to allow Dapr sidecar-to-sidecar communication and access to other ports.
func NewDaprHandlerWithOptions ¶
func NewDaprHandlerWithOptions(mgr ctrl.Manager, opts *Options) *DaprHandler
NewDaprHandlerWithOptions returns a new Dapr handler with options.
type DeploymentWrapper ¶
type DeploymentWrapper struct {
appsv1.Deployment
}
func (*DeploymentWrapper) GetMatchLabels ¶
func (d *DeploymentWrapper) GetMatchLabels() map[string]string
func (*DeploymentWrapper) GetObject ¶
func (d *DeploymentWrapper) GetObject() client.Object
func (*DeploymentWrapper) GetTemplateAnnotations ¶
func (d *DeploymentWrapper) GetTemplateAnnotations() map[string]string
type ObjectWrapper ¶
type Reconciler ¶
type Reconciler struct { *DaprHandler // contains filtered or unexported fields }
type RolloutWrapper ¶
type RolloutWrapper struct {
argov1alpha1.Rollout
}
func (*RolloutWrapper) GetMatchLabels ¶
func (r *RolloutWrapper) GetMatchLabels() map[string]string
func (*RolloutWrapper) GetObject ¶
func (r *RolloutWrapper) GetObject() client.Object
func (*RolloutWrapper) GetTemplateAnnotations ¶
func (r *RolloutWrapper) GetTemplateAnnotations() map[string]string
type StatefulSetWrapper ¶
type StatefulSetWrapper struct {
appsv1.StatefulSet
}
func (*StatefulSetWrapper) GetMatchLabels ¶
func (s *StatefulSetWrapper) GetMatchLabels() map[string]string
func (*StatefulSetWrapper) GetObject ¶
func (s *StatefulSetWrapper) GetObject() client.Object
func (*StatefulSetWrapper) GetTemplateAnnotations ¶
func (s *StatefulSetWrapper) GetTemplateAnnotations() map[string]string
Click to show internal directories.
Click to hide internal directories.