Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DeploymentCreated means deployment has been created DeploymentCreated = "DeploymentCreated" // DeploymentDeleted means deployment has been deleted DeploymentDeleted = "DeploymentDeleted" )
View Source
const DeploymentKind = "deployment"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeploymentReconciler ¶
type DeploymentReconciler struct { client.Client Scheme *runtime.Scheme // contains filtered or unexported fields }
DeploymentReconciler reconciles a Deployment object
func NewDeploymentReconciler ¶
func NewDeploymentReconciler(mgr manager.Manager) *DeploymentReconciler
func (*DeploymentReconciler) Reconcile ¶
func (r *DeploymentReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.8.3/pkg/reconcile
func (*DeploymentReconciler) SetupWithManager ¶
func (r *DeploymentReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.