Skip to content

Commit

Permalink
another fix
Browse files Browse the repository at this point in the history
Signed-off-by: Matej Vasek <[email protected]>
  • Loading branch information
matejvasek committed Feb 13, 2021
1 parent 2591917 commit 0411943
Show file tree
Hide file tree
Showing 97 changed files with 1 addition and 289 deletions.
3 changes: 0 additions & 3 deletions pkg/bindings/containers/types_attach_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ func (o *AttachOptions) Changed(fieldName string) bool {

// ToParams
func (o *AttachOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}

Expand Down
3 changes: 0 additions & 3 deletions pkg/bindings/containers/types_checkpoint_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ func (o *CheckpointOptions) Changed(fieldName string) bool {

// ToParams
func (o *CheckpointOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}

Expand Down
3 changes: 0 additions & 3 deletions pkg/bindings/containers/types_commit_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ func (o *CommitOptions) Changed(fieldName string) bool {

// ToParams
func (o *CommitOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}

Expand Down
3 changes: 0 additions & 3 deletions pkg/bindings/containers/types_create_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,5 @@ func (o *CreateOptions) Changed(fieldName string) bool {

// ToParams
func (o *CreateOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}
3 changes: 0 additions & 3 deletions pkg/bindings/containers/types_diff_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,5 @@ func (o *DiffOptions) Changed(fieldName string) bool {

// ToParams
func (o *DiffOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}
3 changes: 0 additions & 3 deletions pkg/bindings/containers/types_execinspect_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,5 @@ func (o *ExecInspectOptions) Changed(fieldName string) bool {

// ToParams
func (o *ExecInspectOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}
3 changes: 0 additions & 3 deletions pkg/bindings/containers/types_execstart_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,5 @@ func (o *ExecStartOptions) Changed(fieldName string) bool {

// ToParams
func (o *ExecStartOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}
3 changes: 0 additions & 3 deletions pkg/bindings/containers/types_execstartandattach_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ func (o *ExecStartAndAttachOptions) Changed(fieldName string) bool {

// ToParams
func (o *ExecStartAndAttachOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}

Expand Down
3 changes: 0 additions & 3 deletions pkg/bindings/containers/types_exists_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ func (o *ExistsOptions) Changed(fieldName string) bool {

// ToParams
func (o *ExistsOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}

Expand Down
3 changes: 0 additions & 3 deletions pkg/bindings/containers/types_export_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,5 @@ func (o *ExportOptions) Changed(fieldName string) bool {

// ToParams
func (o *ExportOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}
3 changes: 0 additions & 3 deletions pkg/bindings/containers/types_healthcheck_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,5 @@ func (o *HealthCheckOptions) Changed(fieldName string) bool {

// ToParams
func (o *HealthCheckOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}
3 changes: 0 additions & 3 deletions pkg/bindings/containers/types_init_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,5 @@ func (o *InitOptions) Changed(fieldName string) bool {

// ToParams
func (o *InitOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}
3 changes: 0 additions & 3 deletions pkg/bindings/containers/types_inspect_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ func (o *InspectOptions) Changed(fieldName string) bool {

// ToParams
func (o *InspectOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}

Expand Down
3 changes: 0 additions & 3 deletions pkg/bindings/containers/types_kill_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ func (o *KillOptions) Changed(fieldName string) bool {

// ToParams
func (o *KillOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}

Expand Down
3 changes: 0 additions & 3 deletions pkg/bindings/containers/types_list_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ func (o *ListOptions) Changed(fieldName string) bool {

// ToParams
func (o *ListOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}

Expand Down
3 changes: 0 additions & 3 deletions pkg/bindings/containers/types_log_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ func (o *LogOptions) Changed(fieldName string) bool {

// ToParams
func (o *LogOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}

Expand Down
3 changes: 0 additions & 3 deletions pkg/bindings/containers/types_mount_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,5 @@ func (o *MountOptions) Changed(fieldName string) bool {

// ToParams
func (o *MountOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,5 @@ func (o *MountedContainerPathsOptions) Changed(fieldName string) bool {

// ToParams
func (o *MountedContainerPathsOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}
3 changes: 0 additions & 3 deletions pkg/bindings/containers/types_pause_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,5 @@ func (o *PauseOptions) Changed(fieldName string) bool {

// ToParams
func (o *PauseOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}
3 changes: 0 additions & 3 deletions pkg/bindings/containers/types_prune_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ func (o *PruneOptions) Changed(fieldName string) bool {

// ToParams
func (o *PruneOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}

Expand Down
3 changes: 0 additions & 3 deletions pkg/bindings/containers/types_remove_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ func (o *RemoveOptions) Changed(fieldName string) bool {

// ToParams
func (o *RemoveOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}

Expand Down
3 changes: 0 additions & 3 deletions pkg/bindings/containers/types_rename_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ func (o *RenameOptions) Changed(fieldName string) bool {

// ToParams
func (o *RenameOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}

Expand Down
3 changes: 0 additions & 3 deletions pkg/bindings/containers/types_resizeexectty_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ func (o *ResizeExecTTYOptions) Changed(fieldName string) bool {

// ToParams
func (o *ResizeExecTTYOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}

Expand Down
3 changes: 0 additions & 3 deletions pkg/bindings/containers/types_resizetty_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ func (o *ResizeTTYOptions) Changed(fieldName string) bool {

// ToParams
func (o *ResizeTTYOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}

Expand Down
3 changes: 0 additions & 3 deletions pkg/bindings/containers/types_restart_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ func (o *RestartOptions) Changed(fieldName string) bool {

// ToParams
func (o *RestartOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}

Expand Down
3 changes: 0 additions & 3 deletions pkg/bindings/containers/types_restore_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ func (o *RestoreOptions) Changed(fieldName string) bool {

// ToParams
func (o *RestoreOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}

Expand Down
3 changes: 0 additions & 3 deletions pkg/bindings/containers/types_shouldrestart_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,5 @@ func (o *ShouldRestartOptions) Changed(fieldName string) bool {

// ToParams
func (o *ShouldRestartOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}
3 changes: 0 additions & 3 deletions pkg/bindings/containers/types_start_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ func (o *StartOptions) Changed(fieldName string) bool {

// ToParams
func (o *StartOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}

Expand Down
3 changes: 0 additions & 3 deletions pkg/bindings/containers/types_stats_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ func (o *StatsOptions) Changed(fieldName string) bool {

// ToParams
func (o *StatsOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}

Expand Down
3 changes: 0 additions & 3 deletions pkg/bindings/containers/types_stop_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ func (o *StopOptions) Changed(fieldName string) bool {

// ToParams
func (o *StopOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}

Expand Down
3 changes: 0 additions & 3 deletions pkg/bindings/containers/types_top_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ func (o *TopOptions) Changed(fieldName string) bool {

// ToParams
func (o *TopOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}

Expand Down
3 changes: 0 additions & 3 deletions pkg/bindings/containers/types_unmount_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,5 @@ func (o *UnmountOptions) Changed(fieldName string) bool {

// ToParams
func (o *UnmountOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}
3 changes: 0 additions & 3 deletions pkg/bindings/containers/types_unpause_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,5 @@ func (o *UnpauseOptions) Changed(fieldName string) bool {

// ToParams
func (o *UnpauseOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}
3 changes: 0 additions & 3 deletions pkg/bindings/containers/types_wait_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ func (o *WaitOptions) Changed(fieldName string) bool {

// ToParams
func (o *WaitOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}

Expand Down
3 changes: 0 additions & 3 deletions pkg/bindings/generate/types_kube_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ func (o *KubeOptions) Changed(fieldName string) bool {

// ToParams
func (o *KubeOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}

Expand Down
3 changes: 0 additions & 3 deletions pkg/bindings/generate/types_systemd_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ func (o *SystemdOptions) Changed(fieldName string) bool {

// ToParams
func (o *SystemdOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}

Expand Down
3 changes: 0 additions & 3 deletions pkg/bindings/generator/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ func (o *{{.StructName}}) Changed(fieldName string) bool {
// ToParams
func (o *{{.StructName}}) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}
Expand Down
3 changes: 0 additions & 3 deletions pkg/bindings/images/types_diff_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,5 @@ func (o *DiffOptions) Changed(fieldName string) bool {

// ToParams
func (o *DiffOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}
3 changes: 0 additions & 3 deletions pkg/bindings/images/types_exists_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,5 @@ func (o *ExistsOptions) Changed(fieldName string) bool {

// ToParams
func (o *ExistsOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}
3 changes: 0 additions & 3 deletions pkg/bindings/images/types_export_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ func (o *ExportOptions) Changed(fieldName string) bool {

// ToParams
func (o *ExportOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}

Expand Down
3 changes: 0 additions & 3 deletions pkg/bindings/images/types_get_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ func (o *GetOptions) Changed(fieldName string) bool {

// ToParams
func (o *GetOptions) ToParams() (url.Values, error) {
if o == nil {
return url.Values{}, nil
}
return util.ToParams(o)
}

Expand Down
Loading

0 comments on commit 0411943

Please sign in to comment.