Documentation
¶
Index ¶
- type EventReason
- type Interface
- func NewDBUpgradeJobSyncer(wp *wordpressv1alpha1.Wordpress, rt *wordpressv1alpha1.WordpressRuntime, ...) Interface
- func NewDeploymentSyncer(wp *wordpressv1alpha1.Wordpress, rt *wordpressv1alpha1.WordpressRuntime, ...) Interface
- func NewIngressSyncer(wp *wordpressv1alpha1.Wordpress, rt *wordpressv1alpha1.WordpressRuntime, ...) Interface
- func NewMediaPVCSyncer(wp *wordpressv1alpha1.Wordpress, rt *wordpressv1alpha1.WordpressRuntime, ...) Interface
- func NewServiceSyncer(wp *wordpressv1alpha1.Wordpress, rt *wordpressv1alpha1.WordpressRuntime, ...) Interface
- func NewWPCronSyncer(wp *wordpressv1alpha1.Wordpress, rt *wordpressv1alpha1.WordpressRuntime, ...) Interface
- func NewWebrootPVCSyncer(wp *wordpressv1alpha1.Wordpress, rt *wordpressv1alpha1.WordpressRuntime, ...) Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventReason ¶
type EventReason string
EventReason is a type for storing kubernetes event reasons
const ( // EventReasonWPCronFailed is the event reason for a failed wp-cron CronJob reconcile EventReasonWPCronFailed EventReason = "WPCronFailed" // EventReasonWPCronUpdated is the event reason for a successful wp-cron CronJob reconcile EventReasonWPCronUpdated EventReason = "WPCronUpdated" )
const ( // EventReasonDeploymentFailed is the event reason for a failed Deployment reconcile EventReasonDeploymentFailed EventReason = "DeploymentFailed" // EventReasonDeploymentUpdated is the event reason for a successful Deployment reconcile EventReasonDeploymentUpdated EventReason = "DeploymentUpdated" )
const ( // EventReasonIngressFailed is the event reason for a failed Ingress reconcile EventReasonIngressFailed EventReason = "IngressFailed" // EventReasonIngressUpdated is the event reason for a successful Ingress reconcile EventReasonIngressUpdated EventReason = "IngressUpdated" )
const ( // EventReasonMediaPVCFailed is the event reason for a failed media PVC reconcile EventReasonMediaPVCFailed EventReason = "MediaPVCFailed" // EventReasonMediaPVCUpdated is the event reason for a successful media PVC reconcile EventReasonMediaPVCUpdated EventReason = "MediaPVCUpdated" )
const ( // EventReasonServiceFailed is the event reason for a failed Service reconcile EventReasonServiceFailed EventReason = "ServiceFailed" // EventReasonServiceUpdated is the event reason for a successful Service reconcile EventReasonServiceUpdated EventReason = "ServiceUpdated" )
const ( // EventReasonDBUpgradeJobFailed is the event reason for a failed database upgrade Job reconcile EventReasonDBUpgradeJobFailed EventReason = "DBUpgradeJobFailed" // EventReasonDBUpgradeJobUpdated is the event reason for a successful database upgrade Job reconcile EventReasonDBUpgradeJobUpdated EventReason = "DBUpgradeJobUpdated" )
const ( // EventReasonWebrootPVCFailed is the event reason for a failed webroot PVC reconcile EventReasonWebrootPVCFailed EventReason = "WebrootPVCFailed" // EventReasonWebrootPVCUpdated is the event reason for a successful webroot PVC reconcile EventReasonWebrootPVCUpdated EventReason = "WebrootPVCUpdated" )
type Interface ¶
type Interface interface { // GetKey returns the client.ObjectKey for looking up the dependant object GetKey() types.NamespacedName // GetExistingObjectPlaceholder returns a placeholder for existing object GetExistingObjectPlaceholder() runtime.Object // T transforms an objects to it's desired state T(in runtime.Object) (runtime.Object, error) // ErrorToEventReason returns an event reason for a T error GetErrorEventReason(err error) EventReason }
Interface is the Wordpress syncer interface
func NewDBUpgradeJobSyncer ¶
func NewDBUpgradeJobSyncer(wp *wordpressv1alpha1.Wordpress, rt *wordpressv1alpha1.WordpressRuntime, r *runtime.Scheme) Interface
NewDBUpgradeJobSyncer returns a new sync.Interface for reconciling database upgrade Job
func NewDeploymentSyncer ¶
func NewDeploymentSyncer(wp *wordpressv1alpha1.Wordpress, rt *wordpressv1alpha1.WordpressRuntime, r *runtime.Scheme) Interface
NewDeploymentSyncer returns a new sync.Interface for reconciling web Deployment
func NewIngressSyncer ¶
func NewIngressSyncer(wp *wordpressv1alpha1.Wordpress, rt *wordpressv1alpha1.WordpressRuntime, r *runtime.Scheme) Interface
NewIngressSyncer returns a new sync.Interface for reconciling web Ingress
func NewMediaPVCSyncer ¶
func NewMediaPVCSyncer(wp *wordpressv1alpha1.Wordpress, rt *wordpressv1alpha1.WordpressRuntime, r *runtime.Scheme) Interface
NewMediaPVCSyncer returns a new sync.Interface for reconciling media PVC
func NewServiceSyncer ¶
func NewServiceSyncer(wp *wordpressv1alpha1.Wordpress, rt *wordpressv1alpha1.WordpressRuntime, r *runtime.Scheme) Interface
NewServiceSyncer returns a new sync.Interface for reconciling web Service
func NewWPCronSyncer ¶
func NewWPCronSyncer(wp *wordpressv1alpha1.Wordpress, rt *wordpressv1alpha1.WordpressRuntime, r *runtime.Scheme) Interface
NewWPCronSyncer returns a new sync.Interface for reconciling wp-cron CronJob
func NewWebrootPVCSyncer ¶
func NewWebrootPVCSyncer(wp *wordpressv1alpha1.Wordpress, rt *wordpressv1alpha1.WordpressRuntime, r *runtime.Scheme) Interface
NewWebrootPVCSyncer returns a new sync.Interface for reconciling webroot PVC