diff options
Diffstat (limited to 'pkg/bindings/pods')
-rw-r--r-- | pkg/bindings/pods/types_create_options.go | 3 | ||||
-rw-r--r-- | pkg/bindings/pods/types_exists_options.go | 3 | ||||
-rw-r--r-- | pkg/bindings/pods/types_inspect_options.go | 3 | ||||
-rw-r--r-- | pkg/bindings/pods/types_kill_options.go | 3 | ||||
-rw-r--r-- | pkg/bindings/pods/types_list_options.go | 3 | ||||
-rw-r--r-- | pkg/bindings/pods/types_pause_options.go | 3 | ||||
-rw-r--r-- | pkg/bindings/pods/types_prune_options.go | 3 | ||||
-rw-r--r-- | pkg/bindings/pods/types_remove_options.go | 3 | ||||
-rw-r--r-- | pkg/bindings/pods/types_restart_options.go | 3 | ||||
-rw-r--r-- | pkg/bindings/pods/types_start_options.go | 3 | ||||
-rw-r--r-- | pkg/bindings/pods/types_stats_options.go | 3 | ||||
-rw-r--r-- | pkg/bindings/pods/types_stop_options.go | 3 | ||||
-rw-r--r-- | pkg/bindings/pods/types_top_options.go | 3 | ||||
-rw-r--r-- | pkg/bindings/pods/types_unpause_options.go | 3 |
14 files changed, 0 insertions, 42 deletions
diff --git a/pkg/bindings/pods/types_create_options.go b/pkg/bindings/pods/types_create_options.go index 337d924e2..cfa29c6be 100644 --- a/pkg/bindings/pods/types_create_options.go +++ b/pkg/bindings/pods/types_create_options.go @@ -1,7 +1,6 @@ package pods import ( - "fmt" "net/url" "reflect" "strings" @@ -69,8 +68,6 @@ func (o *CreateOptions) ToParams() (url.Values, error) { } params.Set(fieldName, s) - default: - panic(fmt.Sprintf("don't known how to handle %s", f.Type().String())) } } diff --git a/pkg/bindings/pods/types_exists_options.go b/pkg/bindings/pods/types_exists_options.go index 28e90e398..6149ab1cc 100644 --- a/pkg/bindings/pods/types_exists_options.go +++ b/pkg/bindings/pods/types_exists_options.go @@ -1,7 +1,6 @@ package pods import ( - "fmt" "net/url" "reflect" "strings" @@ -69,8 +68,6 @@ func (o *ExistsOptions) ToParams() (url.Values, error) { } params.Set(fieldName, s) - default: - panic(fmt.Sprintf("don't known how to handle %s", f.Type().String())) } } diff --git a/pkg/bindings/pods/types_inspect_options.go b/pkg/bindings/pods/types_inspect_options.go index 4c19f5664..281717ff1 100644 --- a/pkg/bindings/pods/types_inspect_options.go +++ b/pkg/bindings/pods/types_inspect_options.go @@ -1,7 +1,6 @@ package pods import ( - "fmt" "net/url" "reflect" "strings" @@ -69,8 +68,6 @@ func (o *InspectOptions) ToParams() (url.Values, error) { } params.Set(fieldName, s) - default: - panic(fmt.Sprintf("don't known how to handle %s", f.Type().String())) } } diff --git a/pkg/bindings/pods/types_kill_options.go b/pkg/bindings/pods/types_kill_options.go index 4d0806b8a..4c310d50c 100644 --- a/pkg/bindings/pods/types_kill_options.go +++ b/pkg/bindings/pods/types_kill_options.go @@ -1,7 +1,6 @@ package pods import ( - "fmt" "net/url" "reflect" "strings" @@ -69,8 +68,6 @@ func (o *KillOptions) ToParams() (url.Values, error) { } params.Set(fieldName, s) - default: - panic(fmt.Sprintf("don't known how to handle %s", f.Type().String())) } } diff --git a/pkg/bindings/pods/types_list_options.go b/pkg/bindings/pods/types_list_options.go index 36179ad5d..20f3229e5 100644 --- a/pkg/bindings/pods/types_list_options.go +++ b/pkg/bindings/pods/types_list_options.go @@ -1,7 +1,6 @@ package pods import ( - "fmt" "net/url" "reflect" "strings" @@ -69,8 +68,6 @@ func (o *ListOptions) ToParams() (url.Values, error) { } params.Set(fieldName, s) - default: - panic(fmt.Sprintf("don't known how to handle %s", f.Type().String())) } } diff --git a/pkg/bindings/pods/types_pause_options.go b/pkg/bindings/pods/types_pause_options.go index 2980f738b..0f0f5bd97 100644 --- a/pkg/bindings/pods/types_pause_options.go +++ b/pkg/bindings/pods/types_pause_options.go @@ -1,7 +1,6 @@ package pods import ( - "fmt" "net/url" "reflect" "strings" @@ -69,8 +68,6 @@ func (o *PauseOptions) ToParams() (url.Values, error) { } params.Set(fieldName, s) - default: - panic(fmt.Sprintf("don't known how to handle %s", f.Type().String())) } } diff --git a/pkg/bindings/pods/types_prune_options.go b/pkg/bindings/pods/types_prune_options.go index d24636c0e..ef8aae17f 100644 --- a/pkg/bindings/pods/types_prune_options.go +++ b/pkg/bindings/pods/types_prune_options.go @@ -1,7 +1,6 @@ package pods import ( - "fmt" "net/url" "reflect" "strings" @@ -69,8 +68,6 @@ func (o *PruneOptions) ToParams() (url.Values, error) { } params.Set(fieldName, s) - default: - panic(fmt.Sprintf("don't known how to handle %s", f.Type().String())) } } diff --git a/pkg/bindings/pods/types_remove_options.go b/pkg/bindings/pods/types_remove_options.go index 93c5e72f6..f51f67129 100644 --- a/pkg/bindings/pods/types_remove_options.go +++ b/pkg/bindings/pods/types_remove_options.go @@ -1,7 +1,6 @@ package pods import ( - "fmt" "net/url" "reflect" "strings" @@ -69,8 +68,6 @@ func (o *RemoveOptions) ToParams() (url.Values, error) { } params.Set(fieldName, s) - default: - panic(fmt.Sprintf("don't known how to handle %s", f.Type().String())) } } diff --git a/pkg/bindings/pods/types_restart_options.go b/pkg/bindings/pods/types_restart_options.go index add272bbd..ec05e9fc9 100644 --- a/pkg/bindings/pods/types_restart_options.go +++ b/pkg/bindings/pods/types_restart_options.go @@ -1,7 +1,6 @@ package pods import ( - "fmt" "net/url" "reflect" "strings" @@ -69,8 +68,6 @@ func (o *RestartOptions) ToParams() (url.Values, error) { } params.Set(fieldName, s) - default: - panic(fmt.Sprintf("don't known how to handle %s", f.Type().String())) } } diff --git a/pkg/bindings/pods/types_start_options.go b/pkg/bindings/pods/types_start_options.go index 1adffc6a5..ec9f5b1de 100644 --- a/pkg/bindings/pods/types_start_options.go +++ b/pkg/bindings/pods/types_start_options.go @@ -1,7 +1,6 @@ package pods import ( - "fmt" "net/url" "reflect" "strings" @@ -69,8 +68,6 @@ func (o *StartOptions) ToParams() (url.Values, error) { } params.Set(fieldName, s) - default: - panic(fmt.Sprintf("don't known how to handle %s", f.Type().String())) } } diff --git a/pkg/bindings/pods/types_stats_options.go b/pkg/bindings/pods/types_stats_options.go index 06416f1a2..8be7d175d 100644 --- a/pkg/bindings/pods/types_stats_options.go +++ b/pkg/bindings/pods/types_stats_options.go @@ -1,7 +1,6 @@ package pods import ( - "fmt" "net/url" "reflect" "strings" @@ -69,8 +68,6 @@ func (o *StatsOptions) ToParams() (url.Values, error) { } params.Set(fieldName, s) - default: - panic(fmt.Sprintf("don't known how to handle %s", f.Type().String())) } } diff --git a/pkg/bindings/pods/types_stop_options.go b/pkg/bindings/pods/types_stop_options.go index f3e345d48..fa3577e72 100644 --- a/pkg/bindings/pods/types_stop_options.go +++ b/pkg/bindings/pods/types_stop_options.go @@ -1,7 +1,6 @@ package pods import ( - "fmt" "net/url" "reflect" "strings" @@ -69,8 +68,6 @@ func (o *StopOptions) ToParams() (url.Values, error) { } params.Set(fieldName, s) - default: - panic(fmt.Sprintf("don't known how to handle %s", f.Type().String())) } } diff --git a/pkg/bindings/pods/types_top_options.go b/pkg/bindings/pods/types_top_options.go index 353520ffd..c3c701dad 100644 --- a/pkg/bindings/pods/types_top_options.go +++ b/pkg/bindings/pods/types_top_options.go @@ -1,7 +1,6 @@ package pods import ( - "fmt" "net/url" "reflect" "strings" @@ -69,8 +68,6 @@ func (o *TopOptions) ToParams() (url.Values, error) { } params.Set(fieldName, s) - default: - panic(fmt.Sprintf("don't known how to handle %s", f.Type().String())) } } diff --git a/pkg/bindings/pods/types_unpause_options.go b/pkg/bindings/pods/types_unpause_options.go index 640ce4066..281f0ea8d 100644 --- a/pkg/bindings/pods/types_unpause_options.go +++ b/pkg/bindings/pods/types_unpause_options.go @@ -1,7 +1,6 @@ package pods import ( - "fmt" "net/url" "reflect" "strings" @@ -69,8 +68,6 @@ func (o *UnpauseOptions) ToParams() (url.Values, error) { } params.Set(fieldName, s) - default: - panic(fmt.Sprintf("don't known how to handle %s", f.Type().String())) } } |