Documentation ¶
Index ¶
- func GetReconciles(ctx context.Context, client crc.Client, reconcileType ReconcileType, ...) ([]reconcile.Request, error)
- func GetReconcilesWithFilter(ctx context.Context, client crc.Client, reconcileType ReconcileType, ...) ([]reconcile.Request, error)
- func GetSecretsReferencedBy(ctx context.Context, client crc.Client, object interface{}) (map[string]bool, error)
- type ReconcileType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetReconciles ¶
func GetReconciles(ctx context.Context, client crc.Client, reconcileType ReconcileType, object apis.Object, versionCheck bool) ([]reconcile.Request, error)
GetReconciles returns reconciliation requests for the QuarksSecret that reference an object. The object can be a Secret
func GetReconcilesWithFilter ¶
func GetReconcilesWithFilter(ctx context.Context, client crc.Client, reconcileType ReconcileType, object apis.Object, versionCheck bool, admitFn func(v interface{}) bool) ([]reconcile.Request, error)
GetReconcilesWithFilter returns reconciliation requests for the QuarksSecret that reference an object. The object can be a Secret, it accepts an admit function which is used for filtering the object
Types ¶
type ReconcileType ¶
type ReconcileType int
ReconcileType lists all the types of reconciliations we can return, for controllers that have types that can reference Secrets
const ( // ReconcileForQuarksSecret represents the QuarksSecret CRD ReconcileForQuarksSecret ReconcileType = iota )
func (ReconcileType) String ¶
func (r ReconcileType) String() string
Click to show internal directories.
Click to hide internal directories.