// WriteBinding prints a single bindings in the specified output format.
WriteBinding prints a single bindings in the specified output format.
// WriteBinding prints a single bindings in the specified output format .
func WriteBinding(w io.Writer, outputFormat string, binding v1beta1.ServiceBinding) {
	switch outputFormat {
	case FormatJSON:
		writeJSON(w, binding)
	case FormatYAML:
		writeYAML(w, binding, 0)
	case FormatTable:
		l := v1beta1.ServiceBindingList{
			Items: []v1beta1.ServiceBinding{binding},
		}
		writeBindingListTable(w, &l)
	}
}
func WriteBinding ( w io . Writer , outputFormat string , binding v1beta1 . ServiceBinding ) { switch outputFormat { case FormatJSON : writeJSON ( w , binding ) case FormatYAML : writeYAML ( w , binding , 0 ) case FormatTable : l := v1beta1 . ServiceBindingList { Items : [ ] v1beta1 . ServiceBinding { binding } , } writeBindingListTable ( w , & l ) } }
WriteBinding prints a single bindings in the specified output format.
WriteBinding prints a single bindings in the specified output format .