summaryrefslogtreecommitdiff
path: root/pkg/bindings/pods/types_remove_options.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/bindings/pods/types_remove_options.go')
-rw-r--r--pkg/bindings/pods/types_remove_options.go20
1 files changed, 8 insertions, 12 deletions
diff --git a/pkg/bindings/pods/types_remove_options.go b/pkg/bindings/pods/types_remove_options.go
index 3d3c7ad2a..ce142ee74 100644
--- a/pkg/bindings/pods/types_remove_options.go
+++ b/pkg/bindings/pods/types_remove_options.go
@@ -1,3 +1,4 @@
+// Code generated by go generate; DO NOT EDIT.
package pods
import (
@@ -6,32 +7,27 @@ import (
"github.com/containers/podman/v3/pkg/bindings/internal/util"
)
-/*
-This file is generated automatically by go generate. Do not edit.
-*/
-
-// Changed
+// Changed returns true if named field has been set
func (o *RemoveOptions) Changed(fieldName string) bool {
return util.Changed(o, fieldName)
}
-// ToParams
+// ToParams formats struct fields to be passed to API service
func (o *RemoveOptions) ToParams() (url.Values, error) {
return util.ToParams(o)
}
-// WithForce
+// WithForce set field Force to given value
func (o *RemoveOptions) WithForce(value bool) *RemoveOptions {
- v := &value
- o.Force = v
+ o.Force = &value
return o
}
-// GetForce
+// GetForce returns value of field Force
func (o *RemoveOptions) GetForce() bool {
- var force bool
if o.Force == nil {
- return force
+ var z bool
+ return z
}
return *o.Force
}