mirror of
https://github.com/kubernetes/client-go.git
synced 2025-06-28 07:57:20 +00:00
Generated
Signed-off-by: Monis Khan <mok@vmware.com> Kubernetes-commit: 29b3fa782631ab65c7e1f48fecef58c5365577c8
This commit is contained in:
parent
30cd4e9a49
commit
e56c7dcd36
@ -27,6 +27,7 @@ import (
|
|||||||
type CertificateSigningRequestSpecApplyConfiguration struct {
|
type CertificateSigningRequestSpecApplyConfiguration struct {
|
||||||
Request []byte `json:"request,omitempty"`
|
Request []byte `json:"request,omitempty"`
|
||||||
SignerName *string `json:"signerName,omitempty"`
|
SignerName *string `json:"signerName,omitempty"`
|
||||||
|
ExpirationSeconds *int32 `json:"expirationSeconds,omitempty"`
|
||||||
Usages []v1.KeyUsage `json:"usages,omitempty"`
|
Usages []v1.KeyUsage `json:"usages,omitempty"`
|
||||||
Username *string `json:"username,omitempty"`
|
Username *string `json:"username,omitempty"`
|
||||||
UID *string `json:"uid,omitempty"`
|
UID *string `json:"uid,omitempty"`
|
||||||
@ -58,6 +59,14 @@ func (b *CertificateSigningRequestSpecApplyConfiguration) WithSignerName(value s
|
|||||||
return b
|
return b
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// WithExpirationSeconds sets the ExpirationSeconds 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 ExpirationSeconds field is set to the value of the last call.
|
||||||
|
func (b *CertificateSigningRequestSpecApplyConfiguration) WithExpirationSeconds(value int32) *CertificateSigningRequestSpecApplyConfiguration {
|
||||||
|
b.ExpirationSeconds = &value
|
||||||
|
return b
|
||||||
|
}
|
||||||
|
|
||||||
// WithUsages adds the given value to the Usages field in the declarative configuration
|
// WithUsages adds the given value to the Usages field in the declarative configuration
|
||||||
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
|
// 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 Usages field.
|
// If called multiple times, values provided by each call will be appended to the Usages field.
|
||||||
|
@ -27,6 +27,7 @@ import (
|
|||||||
type CertificateSigningRequestSpecApplyConfiguration struct {
|
type CertificateSigningRequestSpecApplyConfiguration struct {
|
||||||
Request []byte `json:"request,omitempty"`
|
Request []byte `json:"request,omitempty"`
|
||||||
SignerName *string `json:"signerName,omitempty"`
|
SignerName *string `json:"signerName,omitempty"`
|
||||||
|
ExpirationSeconds *int32 `json:"expirationSeconds,omitempty"`
|
||||||
Usages []v1beta1.KeyUsage `json:"usages,omitempty"`
|
Usages []v1beta1.KeyUsage `json:"usages,omitempty"`
|
||||||
Username *string `json:"username,omitempty"`
|
Username *string `json:"username,omitempty"`
|
||||||
UID *string `json:"uid,omitempty"`
|
UID *string `json:"uid,omitempty"`
|
||||||
@ -58,6 +59,14 @@ func (b *CertificateSigningRequestSpecApplyConfiguration) WithSignerName(value s
|
|||||||
return b
|
return b
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// WithExpirationSeconds sets the ExpirationSeconds 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 ExpirationSeconds field is set to the value of the last call.
|
||||||
|
func (b *CertificateSigningRequestSpecApplyConfiguration) WithExpirationSeconds(value int32) *CertificateSigningRequestSpecApplyConfiguration {
|
||||||
|
b.ExpirationSeconds = &value
|
||||||
|
return b
|
||||||
|
}
|
||||||
|
|
||||||
// WithUsages adds the given value to the Usages field in the declarative configuration
|
// WithUsages adds the given value to the Usages field in the declarative configuration
|
||||||
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
|
// 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 Usages field.
|
// If called multiple times, values provided by each call will be appended to the Usages field.
|
||||||
|
@ -2843,6 +2843,9 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
- name: io.k8s.api.certificates.v1.CertificateSigningRequestSpec
|
- name: io.k8s.api.certificates.v1.CertificateSigningRequestSpec
|
||||||
map:
|
map:
|
||||||
fields:
|
fields:
|
||||||
|
- name: expirationSeconds
|
||||||
|
type:
|
||||||
|
scalar: numeric
|
||||||
- name: extra
|
- name: extra
|
||||||
type:
|
type:
|
||||||
map:
|
map:
|
||||||
@ -2939,6 +2942,9 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
- name: io.k8s.api.certificates.v1beta1.CertificateSigningRequestSpec
|
- name: io.k8s.api.certificates.v1beta1.CertificateSigningRequestSpec
|
||||||
map:
|
map:
|
||||||
fields:
|
fields:
|
||||||
|
- name: expirationSeconds
|
||||||
|
type:
|
||||||
|
scalar: numeric
|
||||||
- name: extra
|
- name: extra
|
||||||
type:
|
type:
|
||||||
map:
|
map:
|
||||||
|
Loading…
Reference in New Issue
Block a user