-
-
Notifications
You must be signed in to change notification settings - Fork 143
/
daskautoscalerspec.go
41 lines (35 loc) · 1.86 KB
/
daskautoscalerspec.go
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
// Code generated by applyconfiguration-gen. DO NOT EDIT.
package v1
// DaskAutoscalerSpecApplyConfiguration represents an declarative configuration of the DaskAutoscalerSpec type for use
// with apply.
type DaskAutoscalerSpecApplyConfiguration struct {
Cluster *string `json:"cluster,omitempty"`
Minimum *string `json:"minimum,omitempty"`
Maximum *string `json:"maximum,omitempty"`
}
// DaskAutoscalerSpecApplyConfiguration constructs an declarative configuration of the DaskAutoscalerSpec type for use with
// apply.
func DaskAutoscalerSpec() *DaskAutoscalerSpecApplyConfiguration {
return &DaskAutoscalerSpecApplyConfiguration{}
}
// WithCluster sets the Cluster field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Cluster field is set to the value of the last call.
func (b *DaskAutoscalerSpecApplyConfiguration) WithCluster(value string) *DaskAutoscalerSpecApplyConfiguration {
b.Cluster = &value
return b
}
// WithMinimum sets the Minimum field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Minimum field is set to the value of the last call.
func (b *DaskAutoscalerSpecApplyConfiguration) WithMinimum(value string) *DaskAutoscalerSpecApplyConfiguration {
b.Minimum = &value
return b
}
// WithMaximum sets the Maximum field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the Maximum field is set to the value of the last call.
func (b *DaskAutoscalerSpecApplyConfiguration) WithMaximum(value string) *DaskAutoscalerSpecApplyConfiguration {
b.Maximum = &value
return b
}