mirror of
https://github.com/kubernetes/client-go.git
synced 2025-08-16 06:23:16 +00:00
Regenerate for ClusterTrustBundlePEM projected volume API
Kubernetes-commit: 599fdb7adde5658dadb6a149c40624b4342fc909
This commit is contained in:
parent
ac369c3042
commit
59c256a926
@ -1,48 +0,0 @@
|
||||
/*
|
||||
Copyright The Kubernetes Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
// Code generated by applyconfiguration-gen. DO NOT EDIT.
|
||||
|
||||
package v1
|
||||
|
||||
// ClusterTrustBundlePEMProjectionApplyConfiguration represents an declarative configuration of the ClusterTrustBundlePEMProjection type for use
|
||||
// with apply.
|
||||
type ClusterTrustBundlePEMProjectionApplyConfiguration struct {
|
||||
Name *string `json:"name,omitempty"`
|
||||
Path *string `json:"path,omitempty"`
|
||||
}
|
||||
|
||||
// ClusterTrustBundlePEMProjectionApplyConfiguration constructs an declarative configuration of the ClusterTrustBundlePEMProjection type for use with
|
||||
// apply.
|
||||
func ClusterTrustBundlePEMProjection() *ClusterTrustBundlePEMProjectionApplyConfiguration {
|
||||
return &ClusterTrustBundlePEMProjectionApplyConfiguration{}
|
||||
}
|
||||
|
||||
// WithName sets the Name 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 Name field is set to the value of the last call.
|
||||
func (b *ClusterTrustBundlePEMProjectionApplyConfiguration) WithName(value string) *ClusterTrustBundlePEMProjectionApplyConfiguration {
|
||||
b.Name = &value
|
||||
return b
|
||||
}
|
||||
|
||||
// WithPath sets the Path 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 Path field is set to the value of the last call.
|
||||
func (b *ClusterTrustBundlePEMProjectionApplyConfiguration) WithPath(value string) *ClusterTrustBundlePEMProjectionApplyConfiguration {
|
||||
b.Path = &value
|
||||
return b
|
||||
}
|
79
applyconfigurations/core/v1/clustertrustbundleprojection.go
Normal file
79
applyconfigurations/core/v1/clustertrustbundleprojection.go
Normal file
@ -0,0 +1,79 @@
|
||||
/*
|
||||
Copyright The Kubernetes Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
// Code generated by applyconfiguration-gen. DO NOT EDIT.
|
||||
|
||||
package v1
|
||||
|
||||
import (
|
||||
v1 "k8s.io/client-go/applyconfigurations/meta/v1"
|
||||
)
|
||||
|
||||
// ClusterTrustBundleProjectionApplyConfiguration represents an declarative configuration of the ClusterTrustBundleProjection type for use
|
||||
// with apply.
|
||||
type ClusterTrustBundleProjectionApplyConfiguration struct {
|
||||
Name *string `json:"name,omitempty"`
|
||||
SignerName *string `json:"signerName,omitempty"`
|
||||
LabelSelector *v1.LabelSelectorApplyConfiguration `json:"labelSelector,omitempty"`
|
||||
Optional *bool `json:"optional,omitempty"`
|
||||
Path *string `json:"path,omitempty"`
|
||||
}
|
||||
|
||||
// ClusterTrustBundleProjectionApplyConfiguration constructs an declarative configuration of the ClusterTrustBundleProjection type for use with
|
||||
// apply.
|
||||
func ClusterTrustBundleProjection() *ClusterTrustBundleProjectionApplyConfiguration {
|
||||
return &ClusterTrustBundleProjectionApplyConfiguration{}
|
||||
}
|
||||
|
||||
// WithName sets the Name 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 Name field is set to the value of the last call.
|
||||
func (b *ClusterTrustBundleProjectionApplyConfiguration) WithName(value string) *ClusterTrustBundleProjectionApplyConfiguration {
|
||||
b.Name = &value
|
||||
return b
|
||||
}
|
||||
|
||||
// WithSignerName sets the SignerName 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 SignerName field is set to the value of the last call.
|
||||
func (b *ClusterTrustBundleProjectionApplyConfiguration) WithSignerName(value string) *ClusterTrustBundleProjectionApplyConfiguration {
|
||||
b.SignerName = &value
|
||||
return b
|
||||
}
|
||||
|
||||
// WithLabelSelector sets the LabelSelector 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 LabelSelector field is set to the value of the last call.
|
||||
func (b *ClusterTrustBundleProjectionApplyConfiguration) WithLabelSelector(value *v1.LabelSelectorApplyConfiguration) *ClusterTrustBundleProjectionApplyConfiguration {
|
||||
b.LabelSelector = value
|
||||
return b
|
||||
}
|
||||
|
||||
// WithOptional sets the Optional 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 Optional field is set to the value of the last call.
|
||||
func (b *ClusterTrustBundleProjectionApplyConfiguration) WithOptional(value bool) *ClusterTrustBundleProjectionApplyConfiguration {
|
||||
b.Optional = &value
|
||||
return b
|
||||
}
|
||||
|
||||
// WithPath sets the Path 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 Path field is set to the value of the last call.
|
||||
func (b *ClusterTrustBundleProjectionApplyConfiguration) WithPath(value string) *ClusterTrustBundleProjectionApplyConfiguration {
|
||||
b.Path = &value
|
||||
return b
|
||||
}
|
@ -25,6 +25,7 @@ type VolumeProjectionApplyConfiguration struct {
|
||||
DownwardAPI *DownwardAPIProjectionApplyConfiguration `json:"downwardAPI,omitempty"`
|
||||
ConfigMap *ConfigMapProjectionApplyConfiguration `json:"configMap,omitempty"`
|
||||
ServiceAccountToken *ServiceAccountTokenProjectionApplyConfiguration `json:"serviceAccountToken,omitempty"`
|
||||
ClusterTrustBundle *ClusterTrustBundleProjectionApplyConfiguration `json:"clusterTrustBundle,omitempty"`
|
||||
}
|
||||
|
||||
// VolumeProjectionApplyConfiguration constructs an declarative configuration of the VolumeProjection type for use with
|
||||
@ -64,3 +65,11 @@ func (b *VolumeProjectionApplyConfiguration) WithServiceAccountToken(value *Serv
|
||||
b.ServiceAccountToken = value
|
||||
return b
|
||||
}
|
||||
|
||||
// WithClusterTrustBundle sets the ClusterTrustBundle 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 ClusterTrustBundle field is set to the value of the last call.
|
||||
func (b *VolumeProjectionApplyConfiguration) WithClusterTrustBundle(value *ClusterTrustBundleProjectionApplyConfiguration) *VolumeProjectionApplyConfiguration {
|
||||
b.ClusterTrustBundle = value
|
||||
return b
|
||||
}
|
||||
|
@ -4371,6 +4371,25 @@ var schemaYAML = typed.YAMLObject(`types:
|
||||
- name: timeoutSeconds
|
||||
type:
|
||||
scalar: numeric
|
||||
- name: io.k8s.api.core.v1.ClusterTrustBundleProjection
|
||||
map:
|
||||
fields:
|
||||
- name: labelSelector
|
||||
type:
|
||||
namedType: io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector
|
||||
- name: name
|
||||
type:
|
||||
scalar: string
|
||||
- name: optional
|
||||
type:
|
||||
scalar: boolean
|
||||
- name: path
|
||||
type:
|
||||
scalar: string
|
||||
default: ""
|
||||
- name: signerName
|
||||
type:
|
||||
scalar: string
|
||||
- name: io.k8s.api.core.v1.ComponentCondition
|
||||
map:
|
||||
fields:
|
||||
@ -7874,6 +7893,9 @@ var schemaYAML = typed.YAMLObject(`types:
|
||||
- name: io.k8s.api.core.v1.VolumeProjection
|
||||
map:
|
||||
fields:
|
||||
- name: clusterTrustBundle
|
||||
type:
|
||||
namedType: io.k8s.api.core.v1.ClusterTrustBundleProjection
|
||||
- name: configMap
|
||||
type:
|
||||
namedType: io.k8s.api.core.v1.ConfigMapProjection
|
||||
|
@ -609,6 +609,8 @@ func ForKind(kind schema.GroupVersionKind) interface{} {
|
||||
return &applyconfigurationscorev1.ClaimSourceApplyConfiguration{}
|
||||
case corev1.SchemeGroupVersion.WithKind("ClientIPConfig"):
|
||||
return &applyconfigurationscorev1.ClientIPConfigApplyConfiguration{}
|
||||
case corev1.SchemeGroupVersion.WithKind("ClusterTrustBundleProjection"):
|
||||
return &applyconfigurationscorev1.ClusterTrustBundleProjectionApplyConfiguration{}
|
||||
case corev1.SchemeGroupVersion.WithKind("ComponentCondition"):
|
||||
return &applyconfigurationscorev1.ComponentConditionApplyConfiguration{}
|
||||
case corev1.SchemeGroupVersion.WithKind("ComponentStatus"):
|
||||
|
Loading…
Reference in New Issue
Block a user