github.com/containers/podman/v4@v4.9.4/pkg/bindings/manifests/types_inspect_options.go (about) 1 // Code generated by go generate; DO NOT EDIT. 2 package manifests 3 4 import ( 5 "net/url" 6 7 "github.com/containers/podman/v4/pkg/bindings/internal/util" 8 ) 9 10 // Changed returns true if named field has been set 11 func (o *InspectOptions) Changed(fieldName string) bool { 12 return util.Changed(o, fieldName) 13 } 14 15 // ToParams formats struct fields to be passed to API service 16 func (o *InspectOptions) ToParams() (url.Values, error) { 17 return util.ToParams(o) 18 } 19 20 // WithAuthfile set field Authfile to given value 21 func (o *InspectOptions) WithAuthfile(value string) *InspectOptions { 22 o.Authfile = &value 23 return o 24 } 25 26 // GetAuthfile returns value of field Authfile 27 func (o *InspectOptions) GetAuthfile() string { 28 if o.Authfile == nil { 29 var z string 30 return z 31 } 32 return *o.Authfile 33 } 34 35 // WithSkipTLSVerify set field SkipTLSVerify to given value 36 func (o *InspectOptions) WithSkipTLSVerify(value bool) *InspectOptions { 37 o.SkipTLSVerify = &value 38 return o 39 } 40 41 // GetSkipTLSVerify returns value of field SkipTLSVerify 42 func (o *InspectOptions) GetSkipTLSVerify() bool { 43 if o.SkipTLSVerify == nil { 44 var z bool 45 return z 46 } 47 return *o.SkipTLSVerify 48 }