reference

package
v0.0.716-gdfac3a2 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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

func GetSecretsReferencedBy

func GetSecretsReferencedBy(object interface{}) (map[string]bool, error)

GetSecretsReferencedBy returns a list of all names for Secrets referenced by the object The object can be an QuarksStatefulSet 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 Secrets

const (
	// ReconcileForQuarksSecret represents the QuarksSecret CRD
	ReconcileForQuarksSecret ReconcileType = iota
)

func (ReconcileType) String

func (r ReconcileType) String() string

Jump to

Keyboard shortcuts

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