Documentation ¶
Index ¶
- Constants
- Variables
- func Add(mgr manager.Manager, c utils.Config) error
- type NoopPromAPI
- type PromAPI
- type ReconcileRevision
- func (r *ReconcileRevision) LabelWithAppAndFleets(log logr.Logger, revision *picchuv1alpha1.Revision) error
- func (r *ReconcileRevision) NoRequeue(log logr.Logger, err error) (reconcile.Result, error)
- func (r *ReconcileRevision) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
- func (r *ReconcileRevision) Requeue(log logr.Logger, err error) (reconcile.Result, error)
Constants ¶
View Source
const ( // TODO(bob): Add these to Revision type AcceptancePercentage uint32 = 50 )
Variables ¶
View Source
var (
AcceptanceTargets = map[string]bool{"production": true}
)
Functions ¶
Types ¶
type ReconcileRevision ¶
type ReconcileRevision struct {
// contains filtered or unexported fields
}
ReconcileRevision reconciles a Revision object
func (*ReconcileRevision) LabelWithAppAndFleets ¶
func (r *ReconcileRevision) LabelWithAppAndFleets(log logr.Logger, revision *picchuv1alpha1.Revision) error
func (*ReconcileRevision) Reconcile ¶
func (r *ReconcileRevision) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
Reconcile reads that state of the cluster for a Revision object and makes changes based on the state read and what is in the Revision.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.
Click to show internal directories.
Click to hide internal directories.