summaryrefslogtreecommitdiff
path: root/pkg/bindings/images
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/bindings/images')
-rw-r--r--pkg/bindings/images/types.go2
-rw-r--r--pkg/bindings/images/types_diff_options.go7
-rw-r--r--pkg/bindings/images/types_export_options.go7
-rw-r--r--pkg/bindings/images/types_get_options.go7
-rw-r--r--pkg/bindings/images/types_history_options.go7
-rw-r--r--pkg/bindings/images/types_import_options.go7
-rw-r--r--pkg/bindings/images/types_list_options.go7
-rw-r--r--pkg/bindings/images/types_load_options.go7
-rw-r--r--pkg/bindings/images/types_prune_options.go7
-rw-r--r--pkg/bindings/images/types_pull_options.go7
-rw-r--r--pkg/bindings/images/types_push_options.go7
-rw-r--r--pkg/bindings/images/types_remove_options.go7
-rw-r--r--pkg/bindings/images/types_search_options.go7
-rw-r--r--pkg/bindings/images/types_tag_options.go7
-rw-r--r--pkg/bindings/images/types_tree_options.go7
-rw-r--r--pkg/bindings/images/types_untag_options.go7
16 files changed, 61 insertions, 46 deletions
diff --git a/pkg/bindings/images/types.go b/pkg/bindings/images/types.go
index c436413c3..e389ac9d6 100644
--- a/pkg/bindings/images/types.go
+++ b/pkg/bindings/images/types.go
@@ -79,7 +79,7 @@ type TagOptions struct {
}
//go:generate go run ../generator/generator.go UntagOptions
-// UntagOptions are optional options for tagging images
+// UntagOptions are optional options for untagging images
type UntagOptions struct {
}
diff --git a/pkg/bindings/images/types_diff_options.go b/pkg/bindings/images/types_diff_options.go
index 45e548056..e3ec8ea3d 100644
--- a/pkg/bindings/images/types_diff_options.go
+++ b/pkg/bindings/images/types_diff_options.go
@@ -12,7 +12,7 @@ import (
/*
This file is generated automatically by go generate. Do not edit.
-Created 2020-12-15 15:22:46.528172042 -0600 CST m=+0.000279712
+Created 2020-12-16 11:47:07.253097326 -0600 CST m=+0.000283385
*/
// Changed
@@ -51,6 +51,9 @@ func (o *DiffOptions) ToParams() (url.Values, error) {
case reflect.Int, reflect.Int64:
// f.Int() is always an int64
params.Set(fieldName, strconv.FormatInt(f.Int(), 10))
+ case reflect.Uint, reflect.Uint64:
+ // f.Uint() is always an uint64
+ params.Set(fieldName, strconv.FormatUint(f.Uint(), 10))
case reflect.Slice:
typ := reflect.TypeOf(f.Interface()).Elem()
slice := reflect.MakeSlice(reflect.SliceOf(typ), f.Len(), f.Cap())
@@ -79,8 +82,6 @@ func (o *DiffOptions) ToParams() (url.Values, error) {
}
params.Set(fieldName, s)
- default:
- return nil, errors.Errorf("unknown type %s", f.Kind().String())
}
}
return params, nil
diff --git a/pkg/bindings/images/types_export_options.go b/pkg/bindings/images/types_export_options.go
index ae585ae3e..a14f9d267 100644
--- a/pkg/bindings/images/types_export_options.go
+++ b/pkg/bindings/images/types_export_options.go
@@ -12,7 +12,7 @@ import (
/*
This file is generated automatically by go generate. Do not edit.
-Created 2020-12-15 15:22:47.379804635 -0600 CST m=+0.000257609
+Created 2020-12-16 11:47:08.103165436 -0600 CST m=+0.000245546
*/
// Changed
@@ -51,6 +51,9 @@ func (o *ExportOptions) ToParams() (url.Values, error) {
case reflect.Int, reflect.Int64:
// f.Int() is always an int64
params.Set(fieldName, strconv.FormatInt(f.Int(), 10))
+ case reflect.Uint, reflect.Uint64:
+ // f.Uint() is always an uint64
+ params.Set(fieldName, strconv.FormatUint(f.Uint(), 10))
case reflect.Slice:
typ := reflect.TypeOf(f.Interface()).Elem()
slice := reflect.MakeSlice(reflect.SliceOf(typ), f.Len(), f.Cap())
@@ -79,8 +82,6 @@ func (o *ExportOptions) ToParams() (url.Values, error) {
}
params.Set(fieldName, s)
- default:
- return nil, errors.Errorf("unknown type %s", f.Kind().String())
}
}
return params, nil
diff --git a/pkg/bindings/images/types_get_options.go b/pkg/bindings/images/types_get_options.go
index b7b45259d..a1c0f9b09 100644
--- a/pkg/bindings/images/types_get_options.go
+++ b/pkg/bindings/images/types_get_options.go
@@ -12,7 +12,7 @@ import (
/*
This file is generated automatically by go generate. Do not edit.
-Created 2020-12-15 15:22:46.81312808 -0600 CST m=+0.000257734
+Created 2020-12-16 11:47:07.536472335 -0600 CST m=+0.000251379
*/
// Changed
@@ -51,6 +51,9 @@ func (o *GetOptions) ToParams() (url.Values, error) {
case reflect.Int, reflect.Int64:
// f.Int() is always an int64
params.Set(fieldName, strconv.FormatInt(f.Int(), 10))
+ case reflect.Uint, reflect.Uint64:
+ // f.Uint() is always an uint64
+ params.Set(fieldName, strconv.FormatUint(f.Uint(), 10))
case reflect.Slice:
typ := reflect.TypeOf(f.Interface()).Elem()
slice := reflect.MakeSlice(reflect.SliceOf(typ), f.Len(), f.Cap())
@@ -79,8 +82,6 @@ func (o *GetOptions) ToParams() (url.Values, error) {
}
params.Set(fieldName, s)
- default:
- return nil, errors.Errorf("unknown type %s", f.Kind().String())
}
}
return params, nil
diff --git a/pkg/bindings/images/types_history_options.go b/pkg/bindings/images/types_history_options.go
index 0fe73a990..7b3d82097 100644
--- a/pkg/bindings/images/types_history_options.go
+++ b/pkg/bindings/images/types_history_options.go
@@ -12,7 +12,7 @@ import (
/*
This file is generated automatically by go generate. Do not edit.
-Created 2020-12-15 15:22:47.095693605 -0600 CST m=+0.000243849
+Created 2020-12-16 11:47:07.818738329 -0600 CST m=+0.000253937
*/
// Changed
@@ -51,6 +51,9 @@ func (o *HistoryOptions) ToParams() (url.Values, error) {
case reflect.Int, reflect.Int64:
// f.Int() is always an int64
params.Set(fieldName, strconv.FormatInt(f.Int(), 10))
+ case reflect.Uint, reflect.Uint64:
+ // f.Uint() is always an uint64
+ params.Set(fieldName, strconv.FormatUint(f.Uint(), 10))
case reflect.Slice:
typ := reflect.TypeOf(f.Interface()).Elem()
slice := reflect.MakeSlice(reflect.SliceOf(typ), f.Len(), f.Cap())
@@ -79,8 +82,6 @@ func (o *HistoryOptions) ToParams() (url.Values, error) {
}
params.Set(fieldName, s)
- default:
- return nil, errors.Errorf("unknown type %s", f.Kind().String())
}
}
return params, nil
diff --git a/pkg/bindings/images/types_import_options.go b/pkg/bindings/images/types_import_options.go
index 002f1cfa5..6552d63bd 100644
--- a/pkg/bindings/images/types_import_options.go
+++ b/pkg/bindings/images/types_import_options.go
@@ -12,7 +12,7 @@ import (
/*
This file is generated automatically by go generate. Do not edit.
-Created 2020-12-15 15:22:47.943587389 -0600 CST m=+0.000238222
+Created 2020-12-16 11:47:08.67072755 -0600 CST m=+0.000238081
*/
// Changed
@@ -51,6 +51,9 @@ func (o *ImportOptions) ToParams() (url.Values, error) {
case reflect.Int, reflect.Int64:
// f.Int() is always an int64
params.Set(fieldName, strconv.FormatInt(f.Int(), 10))
+ case reflect.Uint, reflect.Uint64:
+ // f.Uint() is always an uint64
+ params.Set(fieldName, strconv.FormatUint(f.Uint(), 10))
case reflect.Slice:
typ := reflect.TypeOf(f.Interface()).Elem()
slice := reflect.MakeSlice(reflect.SliceOf(typ), f.Len(), f.Cap())
@@ -79,8 +82,6 @@ func (o *ImportOptions) ToParams() (url.Values, error) {
}
params.Set(fieldName, s)
- default:
- return nil, errors.Errorf("unknown type %s", f.Kind().String())
}
}
return params, nil
diff --git a/pkg/bindings/images/types_list_options.go b/pkg/bindings/images/types_list_options.go
index 0cdb243fa..0365d0e71 100644
--- a/pkg/bindings/images/types_list_options.go
+++ b/pkg/bindings/images/types_list_options.go
@@ -12,7 +12,7 @@ import (
/*
This file is generated automatically by go generate. Do not edit.
-Created 2020-12-15 15:22:46.671238196 -0600 CST m=+0.000266757
+Created 2020-12-16 11:47:07.39332655 -0600 CST m=+0.000275349
*/
// Changed
@@ -51,6 +51,9 @@ func (o *ListOptions) ToParams() (url.Values, error) {
case reflect.Int, reflect.Int64:
// f.Int() is always an int64
params.Set(fieldName, strconv.FormatInt(f.Int(), 10))
+ case reflect.Uint, reflect.Uint64:
+ // f.Uint() is always an uint64
+ params.Set(fieldName, strconv.FormatUint(f.Uint(), 10))
case reflect.Slice:
typ := reflect.TypeOf(f.Interface()).Elem()
slice := reflect.MakeSlice(reflect.SliceOf(typ), f.Len(), f.Cap())
@@ -79,8 +82,6 @@ func (o *ListOptions) ToParams() (url.Values, error) {
}
params.Set(fieldName, s)
- default:
- return nil, errors.Errorf("unknown type %s", f.Kind().String())
}
}
return params, nil
diff --git a/pkg/bindings/images/types_load_options.go b/pkg/bindings/images/types_load_options.go
index a82521749..ffba08fcc 100644
--- a/pkg/bindings/images/types_load_options.go
+++ b/pkg/bindings/images/types_load_options.go
@@ -12,7 +12,7 @@ import (
/*
This file is generated automatically by go generate. Do not edit.
-Created 2020-12-15 15:22:47.237599061 -0600 CST m=+0.000247138
+Created 2020-12-16 11:47:07.961817946 -0600 CST m=+0.000243444
*/
// Changed
@@ -51,6 +51,9 @@ func (o *LoadOptions) ToParams() (url.Values, error) {
case reflect.Int, reflect.Int64:
// f.Int() is always an int64
params.Set(fieldName, strconv.FormatInt(f.Int(), 10))
+ case reflect.Uint, reflect.Uint64:
+ // f.Uint() is always an uint64
+ params.Set(fieldName, strconv.FormatUint(f.Uint(), 10))
case reflect.Slice:
typ := reflect.TypeOf(f.Interface()).Elem()
slice := reflect.MakeSlice(reflect.SliceOf(typ), f.Len(), f.Cap())
@@ -79,8 +82,6 @@ func (o *LoadOptions) ToParams() (url.Values, error) {
}
params.Set(fieldName, s)
- default:
- return nil, errors.Errorf("unknown type %s", f.Kind().String())
}
}
return params, nil
diff --git a/pkg/bindings/images/types_prune_options.go b/pkg/bindings/images/types_prune_options.go
index 25da5e815..1f7f2cd8b 100644
--- a/pkg/bindings/images/types_prune_options.go
+++ b/pkg/bindings/images/types_prune_options.go
@@ -12,7 +12,7 @@ import (
/*
This file is generated automatically by go generate. Do not edit.
-Created 2020-12-15 15:22:47.521471344 -0600 CST m=+0.000250491
+Created 2020-12-16 11:47:08.24781882 -0600 CST m=+0.000244039
*/
// Changed
@@ -51,6 +51,9 @@ func (o *PruneOptions) ToParams() (url.Values, error) {
case reflect.Int, reflect.Int64:
// f.Int() is always an int64
params.Set(fieldName, strconv.FormatInt(f.Int(), 10))
+ case reflect.Uint, reflect.Uint64:
+ // f.Uint() is always an uint64
+ params.Set(fieldName, strconv.FormatUint(f.Uint(), 10))
case reflect.Slice:
typ := reflect.TypeOf(f.Interface()).Elem()
slice := reflect.MakeSlice(reflect.SliceOf(typ), f.Len(), f.Cap())
@@ -79,8 +82,6 @@ func (o *PruneOptions) ToParams() (url.Values, error) {
}
params.Set(fieldName, s)
- default:
- return nil, errors.Errorf("unknown type %s", f.Kind().String())
}
}
return params, nil
diff --git a/pkg/bindings/images/types_pull_options.go b/pkg/bindings/images/types_pull_options.go
index 10d0c53e8..f22517d9e 100644
--- a/pkg/bindings/images/types_pull_options.go
+++ b/pkg/bindings/images/types_pull_options.go
@@ -13,7 +13,7 @@ import (
/*
This file is generated automatically by go generate. Do not edit.
-Created 2020-12-15 15:22:48.373345229 -0600 CST m=+0.000247562
+Created 2020-12-16 11:47:09.104988433 -0600 CST m=+0.000274515
*/
// Changed
@@ -52,6 +52,9 @@ func (o *PullOptions) ToParams() (url.Values, error) {
case reflect.Int, reflect.Int64:
// f.Int() is always an int64
params.Set(fieldName, strconv.FormatInt(f.Int(), 10))
+ case reflect.Uint, reflect.Uint64:
+ // f.Uint() is always an uint64
+ params.Set(fieldName, strconv.FormatUint(f.Uint(), 10))
case reflect.Slice:
typ := reflect.TypeOf(f.Interface()).Elem()
slice := reflect.MakeSlice(reflect.SliceOf(typ), f.Len(), f.Cap())
@@ -80,8 +83,6 @@ func (o *PullOptions) ToParams() (url.Values, error) {
}
params.Set(fieldName, s)
- default:
- return nil, errors.Errorf("unknown type %s", f.Kind().String())
}
}
return params, nil
diff --git a/pkg/bindings/images/types_push_options.go b/pkg/bindings/images/types_push_options.go
index 2440d4c0f..b1d6b78fe 100644
--- a/pkg/bindings/images/types_push_options.go
+++ b/pkg/bindings/images/types_push_options.go
@@ -12,7 +12,7 @@ import (
/*
This file is generated automatically by go generate. Do not edit.
-Created 2020-12-15 15:22:48.08540302 -0600 CST m=+0.000302026
+Created 2020-12-16 11:47:08.817442617 -0600 CST m=+0.000259111
*/
// Changed
@@ -51,6 +51,9 @@ func (o *PushOptions) ToParams() (url.Values, error) {
case reflect.Int, reflect.Int64:
// f.Int() is always an int64
params.Set(fieldName, strconv.FormatInt(f.Int(), 10))
+ case reflect.Uint, reflect.Uint64:
+ // f.Uint() is always an uint64
+ params.Set(fieldName, strconv.FormatUint(f.Uint(), 10))
case reflect.Slice:
typ := reflect.TypeOf(f.Interface()).Elem()
slice := reflect.MakeSlice(reflect.SliceOf(typ), f.Len(), f.Cap())
@@ -79,8 +82,6 @@ func (o *PushOptions) ToParams() (url.Values, error) {
}
params.Set(fieldName, s)
- default:
- return nil, errors.Errorf("unknown type %s", f.Kind().String())
}
}
return params, nil
diff --git a/pkg/bindings/images/types_remove_options.go b/pkg/bindings/images/types_remove_options.go
index 164ea1b3e..1245aec64 100644
--- a/pkg/bindings/images/types_remove_options.go
+++ b/pkg/bindings/images/types_remove_options.go
@@ -12,7 +12,7 @@ import (
/*
This file is generated automatically by go generate. Do not edit.
-Created 2020-12-15 15:22:46.378166859 -0600 CST m=+0.000249384
+Created 2020-12-16 11:47:07.115421951 -0600 CST m=+0.000310512
*/
// Changed
@@ -51,6 +51,9 @@ func (o *RemoveOptions) ToParams() (url.Values, error) {
case reflect.Int, reflect.Int64:
// f.Int() is always an int64
params.Set(fieldName, strconv.FormatInt(f.Int(), 10))
+ case reflect.Uint, reflect.Uint64:
+ // f.Uint() is always an uint64
+ params.Set(fieldName, strconv.FormatUint(f.Uint(), 10))
case reflect.Slice:
typ := reflect.TypeOf(f.Interface()).Elem()
slice := reflect.MakeSlice(reflect.SliceOf(typ), f.Len(), f.Cap())
@@ -79,8 +82,6 @@ func (o *RemoveOptions) ToParams() (url.Values, error) {
}
params.Set(fieldName, s)
- default:
- return nil, errors.Errorf("unknown type %s", f.Kind().String())
}
}
return params, nil
diff --git a/pkg/bindings/images/types_search_options.go b/pkg/bindings/images/types_search_options.go
index b0b413a6c..3b89f7acc 100644
--- a/pkg/bindings/images/types_search_options.go
+++ b/pkg/bindings/images/types_search_options.go
@@ -12,7 +12,7 @@ import (
/*
This file is generated automatically by go generate. Do not edit.
-Created 2020-12-15 15:22:48.229349981 -0600 CST m=+0.000244343
+Created 2020-12-16 11:47:08.958897824 -0600 CST m=+0.000238136
*/
// Changed
@@ -51,6 +51,9 @@ func (o *SearchOptions) ToParams() (url.Values, error) {
case reflect.Int, reflect.Int64:
// f.Int() is always an int64
params.Set(fieldName, strconv.FormatInt(f.Int(), 10))
+ case reflect.Uint, reflect.Uint64:
+ // f.Uint() is always an uint64
+ params.Set(fieldName, strconv.FormatUint(f.Uint(), 10))
case reflect.Slice:
typ := reflect.TypeOf(f.Interface()).Elem()
slice := reflect.MakeSlice(reflect.SliceOf(typ), f.Len(), f.Cap())
@@ -79,8 +82,6 @@ func (o *SearchOptions) ToParams() (url.Values, error) {
}
params.Set(fieldName, s)
- default:
- return nil, errors.Errorf("unknown type %s", f.Kind().String())
}
}
return params, nil
diff --git a/pkg/bindings/images/types_tag_options.go b/pkg/bindings/images/types_tag_options.go
index 5efc6462e..8d1070750 100644
--- a/pkg/bindings/images/types_tag_options.go
+++ b/pkg/bindings/images/types_tag_options.go
@@ -12,7 +12,7 @@ import (
/*
This file is generated automatically by go generate. Do not edit.
-Created 2020-12-15 15:22:47.66229668 -0600 CST m=+0.000246630
+Created 2020-12-16 11:47:08.388404224 -0600 CST m=+0.000253809
*/
// Changed
@@ -51,6 +51,9 @@ func (o *TagOptions) ToParams() (url.Values, error) {
case reflect.Int, reflect.Int64:
// f.Int() is always an int64
params.Set(fieldName, strconv.FormatInt(f.Int(), 10))
+ case reflect.Uint, reflect.Uint64:
+ // f.Uint() is always an uint64
+ params.Set(fieldName, strconv.FormatUint(f.Uint(), 10))
case reflect.Slice:
typ := reflect.TypeOf(f.Interface()).Elem()
slice := reflect.MakeSlice(reflect.SliceOf(typ), f.Len(), f.Cap())
@@ -79,8 +82,6 @@ func (o *TagOptions) ToParams() (url.Values, error) {
}
params.Set(fieldName, s)
- default:
- return nil, errors.Errorf("unknown type %s", f.Kind().String())
}
}
return params, nil
diff --git a/pkg/bindings/images/types_tree_options.go b/pkg/bindings/images/types_tree_options.go
index cca663c67..765f99e83 100644
--- a/pkg/bindings/images/types_tree_options.go
+++ b/pkg/bindings/images/types_tree_options.go
@@ -12,7 +12,7 @@ import (
/*
This file is generated automatically by go generate. Do not edit.
-Created 2020-12-15 15:22:46.954579136 -0600 CST m=+0.000248704
+Created 2020-12-16 11:47:07.676177228 -0600 CST m=+0.000254279
*/
// Changed
@@ -51,6 +51,9 @@ func (o *TreeOptions) ToParams() (url.Values, error) {
case reflect.Int, reflect.Int64:
// f.Int() is always an int64
params.Set(fieldName, strconv.FormatInt(f.Int(), 10))
+ case reflect.Uint, reflect.Uint64:
+ // f.Uint() is always an uint64
+ params.Set(fieldName, strconv.FormatUint(f.Uint(), 10))
case reflect.Slice:
typ := reflect.TypeOf(f.Interface()).Elem()
slice := reflect.MakeSlice(reflect.SliceOf(typ), f.Len(), f.Cap())
@@ -79,8 +82,6 @@ func (o *TreeOptions) ToParams() (url.Values, error) {
}
params.Set(fieldName, s)
- default:
- return nil, errors.Errorf("unknown type %s", f.Kind().String())
}
}
return params, nil
diff --git a/pkg/bindings/images/types_untag_options.go b/pkg/bindings/images/types_untag_options.go
index d960f6b40..d6ce1f1c7 100644
--- a/pkg/bindings/images/types_untag_options.go
+++ b/pkg/bindings/images/types_untag_options.go
@@ -12,7 +12,7 @@ import (
/*
This file is generated automatically by go generate. Do not edit.
-Created 2020-12-15 15:22:47.802372989 -0600 CST m=+0.000239766
+Created 2020-12-16 11:47:08.530676487 -0600 CST m=+0.000238259
*/
// Changed
@@ -51,6 +51,9 @@ func (o *UntagOptions) ToParams() (url.Values, error) {
case reflect.Int, reflect.Int64:
// f.Int() is always an int64
params.Set(fieldName, strconv.FormatInt(f.Int(), 10))
+ case reflect.Uint, reflect.Uint64:
+ // f.Uint() is always an uint64
+ params.Set(fieldName, strconv.FormatUint(f.Uint(), 10))
case reflect.Slice:
typ := reflect.TypeOf(f.Interface()).Elem()
slice := reflect.MakeSlice(reflect.SliceOf(typ), f.Len(), f.Cap())
@@ -79,8 +82,6 @@ func (o *UntagOptions) ToParams() (url.Values, error) {
}
params.Set(fieldName, s)
- default:
- return nil, errors.Errorf("unknown type %s", f.Kind().String())
}
}
return params, nil