Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Add ¶
Add creates a new WildFlyServer Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.
func GetPodsForWildFly ¶
func GetPodsForWildFly(r *ReconcileWildFlyServer, w *wildflyv1alpha1.WildFlyServer) (*corev1.PodList, error)
GetPodsForWildFly lists pods which belongs to the WildFly server
the pods are differentiated based on the selectors
func LabelsForWildFly ¶
func LabelsForWildFly(w *wildflyv1alpha1.WildFlyServer) map[string]string
LabelsForWildFly return a map of labels that are used for identification
of objects belonging to the particular WildflyServer instance
Types ¶
type ReconcileWildFlyServer ¶
type ReconcileWildFlyServer struct {
// contains filtered or unexported fields
}
ReconcileWildFlyServer reconciles a WildFlyServer object
func (*ReconcileWildFlyServer) Reconcile ¶
Reconcile reads that state of the cluster for a WildFlyServer object and makes changes based on the state read and what is in the WildFlyServer.Spec Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.