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 ExtendedStatefulSet, an ExtendedeJob or a BOSHDeployment
func GetReconciles ¶
func GetReconciles(ctx context.Context, client crc.Client, reconcileType ReconcileType, object apis.Object) ([]reconcile.Request, error)
GetReconciles returns reconciliation requests for the BOSHDeployments, ExtendedJobs or ExtendedStatefulSets that reference an object. The object can be a ConfigMap or a Secret
func GetSecretsReferencedBy ¶
func GetSecretsReferencedBy(ctx context.Context, client crc.Client, object interface{}) (map[string]bool, error)
GetSecretsReferencedBy returns a list of all names for Secrets referenced by the object The object can be an ExtendedStatefulSet, an ExtendedJob or a BOSHDeployment
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 // ReconcileForExtendedJob represents the ExtendedJob CRD ReconcileForExtendedJob // ReconcileForExtendedStatefulSet represents the ExtendedStatefulSet CRD ReconcileForExtendedStatefulSet )
func (ReconcileType) String ¶
func (r ReconcileType) String() string