Documentation ¶
Overview ¶
Package reference returns reconciles for resources if they reference a resource
Index ¶
- func GetQJobsReferencedBy(ctx context.Context, client crc.Client, bdpl bdv1.BOSHDeployment) (map[string]bool, error)
- func GetQSTSReferencedBy(ctx context.Context, client crc.Client, bdpl bdv1.BOSHDeployment) (map[string]bool, error)
- func GetReconcilesForBDPL(ctx context.Context, client crc.Client, object apis.Object) ([]reconcile.Request, error)
- func GetReconcilesForPod(ctx context.Context, client crc.Client, object apis.Object, ...) ([]reconcile.Request, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetQJobsReferencedBy ¶
func GetQJobsReferencedBy(ctx context.Context, client crc.Client, bdpl bdv1.BOSHDeployment) (map[string]bool, error)
GetQJobsReferencedBy returns a list of all QJob referenced by a BOSHDeployment The object can be an QuarksStatefulSet or a BOSHDeployment
func GetQSTSReferencedBy ¶
func GetQSTSReferencedBy(ctx context.Context, client crc.Client, bdpl bdv1.BOSHDeployment) (map[string]bool, error)
GetQSTSReferencedBy returns a list of all QSTS referenced by a BOSHDeployment The object can be an QuarksStatefulSet or a BOSHDeployment
func GetReconcilesForBDPL ¶
func GetReconcilesForBDPL(ctx context.Context, client crc.Client, object apis.Object) ([]reconcile.Request, error)
GetReconcilesForBDPL returns reconciliation requests for the BOSHDeployments or QuarksStatefulSets that reference an object. The object can be a ConfigMap or a Secret
func GetReconcilesForPod ¶
func GetReconcilesForPod(ctx context.Context, client crc.Client, object apis.Object, admitFn func(v corev1.Pod) bool) ([]reconcile.Request, error)
GetReconcilesForPod returns reconciliation requests for the BOSHDeployments or QuarksStatefulSets that reference an object. The object can be a ConfigMap or a Secret, it accepts an admit function which is used for filtering the object
Types ¶
This section is empty.