reference

package
v1.0.1-0...-b3ee44d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package reference returns reconciles for resources if they reference a resource

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL