Versions in this module Expand all Collapse all v1 v1.0.0 Mar 24, 2020 Changes in this version + const ExpectationsTimeout + const ServiceAccountName + var ExpKeyFunc = func(obj interface{}) (string, error) + func AddAdditionalKubeconfigCAs(data []byte) ([]byte, error) + func AddControllerMetricsTransportWrapper(cfg *rest.Config, controllerName string, remote bool) + func AddFinalizer(object metav1.Object, finalizer string) + func AddTypeMeta(objects []runtime.RawExtension, scheme *runtime.Scheme) ([]runtime.RawExtension, error) + func CalculateJobSpecHash(job *batchv1.Job) (string, error) + func DNSZoneName(cdName string) string + func DeleteFinalizer(object metav1.Object, finalizer string) + func Dotted(domain string) string + func FindClusterDeploymentCondition(conditions []hivev1.ClusterDeploymentCondition, ...) *hivev1.ClusterDeploymentCondition + func FindClusterProvisionCondition(conditions []hivev1.ClusterProvisionCondition, ...) *hivev1.ClusterProvisionCondition + func FindDNSZoneCondition(conditions []hivev1.DNSZoneCondition, ...) *hivev1.DNSZoneCondition + func FindMachinePoolCondition(conditions []hivev1.MachinePoolCondition, ...) *hivev1.MachinePoolCondition + func FindSyncCondition(conditions []hivev1.SyncCondition, conditionType hivev1.SyncConditionType) *hivev1.SyncCondition + func GetChecksumOfObject(object interface{}) (string, error) + func GetChecksumOfObjects(objects ...interface{}) (string, error) + func GetConcurrentReconciles() int + func GetRuntimeObjects(c client.Client, typesToList []runtime.Object, namespace string) ([]runtime.Object, error) + func HasFinalizer(object metav1.Object, finalizer string) bool + func IsFailed(job *batchv1.Job) bool + func IsFinished(job *batchv1.Job) bool + func IsSuccessful(job *batchv1.Job) bool + func LoadSecretData(c client.Client, secretName, namespace, dataKey string) (string, error) + func LogLevel(err error) log.Level + func MergeJsons(globalPullSecret string, localPullSecret string, cdLog log.FieldLogger) (string, error) + func NewClientWithMetricsOrDie(mgr manager.Manager, ctrlrName string) client.Client + func SetClusterDeploymentCondition(conditions []hivev1.ClusterDeploymentCondition, ...) []hivev1.ClusterDeploymentCondition + func SetClusterDeploymentConditionWithChangeCheck(conditions []hivev1.ClusterDeploymentCondition, ...) ([]hivev1.ClusterDeploymentCondition, bool) + func SetClusterProvisionCondition(conditions []hivev1.ClusterProvisionCondition, ...) []hivev1.ClusterProvisionCondition + func SetDNSZoneCondition(conditions []hivev1.DNSZoneCondition, ...) []hivev1.DNSZoneCondition + func SetDNSZoneConditionWithChangeCheck(conditions []hivev1.DNSZoneCondition, ...) ([]hivev1.DNSZoneCondition, bool) + func SetMachinePoolCondition(conditions []hivev1.MachinePoolCondition, ...) []hivev1.MachinePoolCondition + func SetMachinePoolConditionWithChangeCheck(conditions []hivev1.MachinePoolCondition, ...) ([]hivev1.MachinePoolCondition, bool) + func SetSyncCondition(conditions []hivev1.SyncCondition, conditionType hivev1.SyncConditionType, ...) []hivev1.SyncCondition + func SetupAdditionalCA() error + func SetupClusterInstallServiceAccount(c client.Client, namespace string, logger log.FieldLogger) error + func Undotted(domain string) string + func UpdateConditionAlways(_, _, _, _ string) bool + func UpdateConditionIfReasonOrMessageChange(oldReason, oldMessage, newReason, newMessage string) bool + func UpdateConditionNever(_, _, _, _ string) bool + func WrapEventHandlerWithLogging(eventHandler handler.EventHandler, logger log.FieldLogger) handler.EventHandler + type ControlleeExpectations struct + func (e *ControlleeExpectations) Add(add, del int64) + func (e *ControlleeExpectations) Fulfilled() bool + func (e *ControlleeExpectations) GetExpectations() (int64, int64) + type ControllerMetricsTripper struct + Controller string + Remote bool + func (cmt *ControllerMetricsTripper) RoundTrip(req *http.Request) (*http.Response, error) + type Expectations struct + func NewExpectations(logger log.FieldLogger) *Expectations + func (r *Expectations) CreationObserved(controllerKey string) + func (r *Expectations) DeleteExpectations(controllerKey string) + func (r *Expectations) DeletionObserved(controllerKey string) + func (r *Expectations) ExpectCreations(controllerKey string, adds int) error + func (r *Expectations) ExpectDeletions(controllerKey string, dels int) error + func (r *Expectations) GetExpectations(controllerKey string) (*ControlleeExpectations, bool, error) + func (r *Expectations) LowerExpectations(controllerKey string, add, del int) + func (r *Expectations) RaiseExpectations(controllerKey string, add, del int) + func (r *Expectations) SatisfiedExpectations(controllerKey string) bool + func (r *Expectations) SetExpectations(controllerKey string, add, del int) error + type ExpectationsInterface interface + CreationObserved func(controllerKey string) + DeleteExpectations func(controllerKey string) + DeletionObserved func(controllerKey string) + ExpectCreations func(controllerKey string, adds int) error + ExpectDeletions func(controllerKey string, dels int) error + GetExpectations func(controllerKey string) (*ControlleeExpectations, bool, error) + LowerExpectations func(controllerKey string, add, del int) + RaiseExpectations func(controllerKey string, add, del int) + SatisfiedExpectations func(controllerKey string) bool + SetExpectations func(controllerKey string, add, del int) error + type UpdateConditionCheck func(oldReason, oldMessage, newReason, newMessage string) bool