Documentation
¶
Index ¶
- Variables
- func Add(mgr manager.Manager, hubconfig *rest.Config, syncid *types.NamespacedName, ...) error
- type ReconcileSubscription
- func (r *ReconcileSubscription) DeleteReferredObjects(rq types.NamespacedName, gvk schema.GroupVersionKind) error
- func (r *ReconcileSubscription) ListAndDeployReferredObject(instance *appv1alpha1.Subscription, gvk schema.GroupVersionKind, ...) error
- func (r *ReconcileSubscription) Reconcile(request reconcile.Request) (reconcile.Result, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigMapKindStr = "ConfigMap"
View Source
var SecretKindStr = "Secret"
View Source
var SercertReferredMarker = "IsReferredBySub-"
SercertReferredMarker is used as a label key to filter out the secert coming from reference
View Source
var SubscriptionGVK = schema.GroupVersionKind{ Group: appv1alpha1.SchemeGroupVersion.Group, Kind: "Subscription", Version: appv1alpha1.SchemeGroupVersion.Version}
Functions ¶
func Add ¶
func Add(mgr manager.Manager, hubconfig *rest.Config, syncid *types.NamespacedName, standalone bool) error
Add creates a new Subscription Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started. If standalone = true, it will only reconcile standalone subscriptions without hosting subscription from ACM hub. If standalone = false, it will only reconcile subscriptions that are propagated from ACM hub.
Types ¶
type ReconcileSubscription ¶
type ReconcileSubscription struct {
// This client, initialized using mgr.Client() above, is a split client
// that reads objects from the cache and writes to the apiserver
client.Client
// contains filtered or unexported fields
}
ReconcileSubscription reconciles a Subscription object
func (*ReconcileSubscription) DeleteReferredObjects ¶
func (r *ReconcileSubscription) DeleteReferredObjects(rq types.NamespacedName, gvk schema.GroupVersionKind) error
func (*ReconcileSubscription) ListAndDeployReferredObject ¶
func (r *ReconcileSubscription) ListAndDeployReferredObject(instance *appv1alpha1.Subscription, gvk schema.GroupVersionKind, refObj referredObject) error
Click to show internal directories.
Click to hide internal directories.