Documentation
¶
Index ¶
- func GetConfigMapsReferencedBy(object interface{}) (map[string]bool, error)
- func GetReconciles(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)
- func SkipReconciles(ctx context.Context, client crc.Client, object apis.Object) bool
- type ReconcileType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfigMapsReferencedBy ¶
GetConfigMapsReferencedBy returns a list of all names for ConfigMaps referenced by the object The object can be an QuarksStatefulSet or a BOSHDeployment
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 BOSHDeployments or QuarksStatefulSets that reference an object. The object can be a ConfigMap or a Secret
Types ¶
type ReconcileType ¶
type ReconcileType int
ReconcileType lists all the types of reconciliations we can return, for controllers that have types that can reference ConfigMaps or Secrets
const ( // ReconcileForBOSHDeployment represents the BOSHDeployment CRD ReconcileForBOSHDeployment ReconcileType = iota // ReconcileForQuarksStatefulSet represents the QuarksStatefulSet CRD ReconcileForQuarksStatefulSet )
func (ReconcileType) String ¶
func (r ReconcileType) String() string
Click to show internal directories.
Click to hide internal directories.