blob: af4516c358f66807cc862bb868d5efb5bd59b179 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
package secrets
import (
"net/url"
"github.com/containers/podman/v3/pkg/bindings/util"
)
/*
This file is generated automatically by go generate. Do not edit.
*/
// Changed
func (o *CreateOptions) Changed(fieldName string) bool {
return util.Changed(o, fieldName)
}
// ToParams
func (o *CreateOptions) ToParams() (url.Values, error) {
return util.ToParams(o)
}
// WithDriver
func (o *CreateOptions) WithDriver(value string) *CreateOptions {
v := &value
o.Driver = v
return o
}
// GetDriver
func (o *CreateOptions) GetDriver() string {
var driver string
if o.Driver == nil {
return driver
}
return *o.Driver
}
// WithName
func (o *CreateOptions) WithName(value string) *CreateOptions {
v := &value
o.Name = v
return o
}
// GetName
func (o *CreateOptions) GetName() string {
var name string
if o.Name == nil {
return name
}
return *o.Name
}
|