func printBinding(binding *v1alpha1.VSphereBinding, printOptions hprinters.PrintOptions) ([]metav1beta1.TableRow, error) {
	name := binding.Name
	url := binding.Spec.VAuthSpec.Address.URL()
	secret := binding.Spec.VAuthSpec.SecretRef.Name
	insecure := binding.Spec.VAuthSpec.SkipTLSVerify
	age := commands.TranslateTimestampSince(binding.CreationTimestamp)
	conditions := commands.ConditionsValue(binding.Status.Conditions)
	ready := commands.ReadyCondition(binding.Status.Conditions)
	reason := commands.NonReadyConditionReason(binding.Status.Conditions)

	row := metav1beta1.TableRow{
		Object: runtime.RawExtension{Object: binding},
	}

	if printOptions.AllNamespaces {
		row.Cells = append(row.Cells, binding.Namespace)
	}

	row.Cells = append(row.Cells,
		name,
		url,
		insecure,
		secret,
		age,
		conditions,
		ready,
		reason)
	return []metav1beta1.TableRow{row}, nil
}
// printBinding populates the binding table rows
printBinding populates the binding table rows
// printBinding populates the binding table rows
func printBinding(binding *v1alpha1.VSphereBinding, printOptions hprinters.PrintOptions) ([]metav1beta1.TableRow, error) {
	name := binding.Name
	url := binding.Spec.VAuthSpec.Address.URL()
	secret := binding.Spec.VAuthSpec.SecretRef.Name
	insecure := binding.Spec.VAuthSpec.SkipTLSVerify
	age := commands.TranslateTimestampSince(binding.CreationTimestamp)
	conditions := commands.ConditionsValue(binding.Status.Conditions)
	ready := commands.ReadyCondition(binding.Status.Conditions)
	reason := commands.NonReadyConditionReason(binding.Status.Conditions)
	row := metav1beta1.TableRow{
		Object: runtime.RawExtension{Object: binding},
	}
	if printOptions.AllNamespaces {
		row.Cells = append(row.Cells, binding.Namespace)
	}
	row.Cells = append(row.Cells,
		name,
		url,
		insecure,
		secret,
		age,
		conditions,
		ready,
		reason)
	return []metav1beta1.TableRow{row}, nil
}
func printBinding ( binding * v1alpha1 . VSphereBinding , printOptions hprinters . PrintOptions ) ( [ ] metav1beta1 . TableRow , error ) { name := binding . Name url := binding . Spec . VAuthSpec . Address . URL ( ) secret := binding . Spec . VAuthSpec . SecretRef . Name insecure := binding . Spec . VAuthSpec . SkipTLSVerify age := commands . TranslateTimestampSince ( binding . CreationTimestamp ) conditions := commands . ConditionsValue ( binding . Status . Conditions ) ready := commands . ReadyCondition ( binding . Status . Conditions ) reason := commands . NonReadyConditionReason ( binding . Status . Conditions ) row := metav1beta1 . TableRow { Object : runtime . RawExtension { Object : binding } , } if printOptions . AllNamespaces { row . Cells = append ( row . Cells , binding . Namespace ) } row . Cells = append ( row . Cells , name , url , insecure , secret , age , conditions , ready , reason ) return [ ] metav1beta1 . TableRow { row } , nil }
printBinding populates the binding table rows
printBinding populates the binding table rows