forked from openshift/client-go
/
alertrelabelconfigstatus.go
29 lines (24 loc) · 1.17 KB
/
alertrelabelconfigstatus.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
// Code generated by applyconfiguration-gen. DO NOT EDIT.
package v1alpha1
import (
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
// AlertRelabelConfigStatusApplyConfiguration represents an declarative configuration of the AlertRelabelConfigStatus type for use
// with apply.
type AlertRelabelConfigStatusApplyConfiguration struct {
Conditions []v1.Condition `json:"conditions,omitempty"`
}
// AlertRelabelConfigStatusApplyConfiguration constructs an declarative configuration of the AlertRelabelConfigStatus type for use with
// apply.
func AlertRelabelConfigStatus() *AlertRelabelConfigStatusApplyConfiguration {
return &AlertRelabelConfigStatusApplyConfiguration{}
}
// WithConditions adds the given value to the Conditions field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the Conditions field.
func (b *AlertRelabelConfigStatusApplyConfiguration) WithConditions(values ...v1.Condition) *AlertRelabelConfigStatusApplyConfiguration {
for i := range values {
b.Conditions = append(b.Conditions, values[i])
}
return b
}