Documentation
¶
Index ¶
Constants ¶
const CONDITION_MESSAGE_DATABASE_EXISTS = "The database exists"
const CONDITION_MESSAGE_DELETION_REQUEST_RECEIVED = "Application is supposed to be deleted"
const CONDITION_MESSAGE_FAILED_INSTALL_READY = "Not all requirements met"
const CONDITION_MESSAGE_INSTALL_READY = "All requirements met, attempting install"
const CONDITION_MESSAGE_RESOURCE_FOUND = "Resource found in k18n"
const CONDITION_MESSAGE_SUCCEEDED = "Application has been installed"
const CONDITION_REASON_DATABASE_EXISTS = "DatabaseExists"
const CONDITION_REASON_DELETION_REQUEST_RECEIVED = "DeletionRequestReceived"
const CONDITION_REASON_FAILED_INSTALL_READY = "RequirementsNotMet"
const CONDITION_REASON_INSTALL_READY = "AllRequirementsMet"
const CONDITION_REASON_RESOURCE_FOUND = "ResourceFound"
const CONDITION_REASON_SUCCEEDED = "InstallSucceeded"
const CONDITION_STATUS_FALSE = "False"
const CONDITION_STATUS_TRUE = "True"
const CONDITION_STATUS_UNKNOWN = "Unknown"
const CONDITION_TYPE_DATABASE_EXISTS = "DatabaseExists"
Note: Status of DATABASE_EXISTS can be True or False
const CONDITION_TYPE_DELETION_REQUEST_RECEIVED = "DeletionRequestReceived"
Note: Status of DELETION_REQUEST_RECEIVED can only be True
const CONDITION_TYPE_FAILED = "Failed"
Note: Status of FAILED can only be True
const CONDITION_TYPE_INSTALL_READY = "InstallReady"
Note: Status of INSTALL_READY can only be True, otherwise there is a failure condition
const CONDITION_TYPE_RESOURCE_FOUND = "ResourceFound"
Note: Status of RESOURCE_FOUND can only be True; otherwise there is no condition
const CONDITION_TYPE_SUCCEEDED = "Succeeded"
Note: Status of SUCCEEDED can only be True
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationReconciler ¶
func (*ApplicationReconciler) Reconcile ¶
func (reconciler *ApplicationReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
+kubebuilder:rbac:groups=database.sample.third.party,resources=databases,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=application.sample.ibm.com,resources=applications,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=application.sample.ibm.com,resources=applications/status,verbs=get;update;patch +kubebuilder:rbac:groups=application.sample.ibm.com,resources=applications/finalizers,verbs=update +kubebuilder:rbac:groups=apps,resources=deployments,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=core,resources=pods,verbs=get;list;watch +kubebuilder:rbac:groups="",resources=secrets,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups="",resources=services,verbs=get;list;watch;create;update;patch;delete
func (*ApplicationReconciler) SetupWithManager ¶
func (reconciler *ApplicationReconciler) SetupWithManager(mgr ctrl.Manager) error