mirror of
https://github.com/kubernetes/client-go.git
synced 2025-06-26 23:17:34 +00:00
make update
Change-Id: I61be34cff942264acb2f45fe7e1c8538f807cb4e Kubernetes-commit: e9957d79aae244d3a956d9f7634ad45a9a3364b4
This commit is contained in:
parent
57d597c1d6
commit
55f8f3ffa2
@ -10325,9 +10325,6 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
- name: resource
|
- name: resource
|
||||||
type:
|
type:
|
||||||
scalar: string
|
scalar: string
|
||||||
- name: uid
|
|
||||||
type:
|
|
||||||
scalar: string
|
|
||||||
- name: io.k8s.api.networking.v1beta1.HTTPIngressPath
|
- name: io.k8s.api.networking.v1beta1.HTTPIngressPath
|
||||||
map:
|
map:
|
||||||
fields:
|
fields:
|
||||||
|
@ -18,18 +18,13 @@ limitations under the License.
|
|||||||
|
|
||||||
package v1alpha1
|
package v1alpha1
|
||||||
|
|
||||||
import (
|
|
||||||
types "k8s.io/apimachinery/pkg/types"
|
|
||||||
)
|
|
||||||
|
|
||||||
// ParentReferenceApplyConfiguration represents an declarative configuration of the ParentReference type for use
|
// ParentReferenceApplyConfiguration represents an declarative configuration of the ParentReference type for use
|
||||||
// with apply.
|
// with apply.
|
||||||
type ParentReferenceApplyConfiguration struct {
|
type ParentReferenceApplyConfiguration struct {
|
||||||
Group *string `json:"group,omitempty"`
|
Group *string `json:"group,omitempty"`
|
||||||
Resource *string `json:"resource,omitempty"`
|
Resource *string `json:"resource,omitempty"`
|
||||||
Namespace *string `json:"namespace,omitempty"`
|
Namespace *string `json:"namespace,omitempty"`
|
||||||
Name *string `json:"name,omitempty"`
|
Name *string `json:"name,omitempty"`
|
||||||
UID *types.UID `json:"uid,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ParentReferenceApplyConfiguration constructs an declarative configuration of the ParentReference type for use with
|
// ParentReferenceApplyConfiguration constructs an declarative configuration of the ParentReference type for use with
|
||||||
@ -69,11 +64,3 @@ func (b *ParentReferenceApplyConfiguration) WithName(value string) *ParentRefere
|
|||||||
b.Name = &value
|
b.Name = &value
|
||||||
return b
|
return b
|
||||||
}
|
}
|
||||||
|
|
||||||
// WithUID sets the UID 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 UID field is set to the value of the last call.
|
|
||||||
func (b *ParentReferenceApplyConfiguration) WithUID(value types.UID) *ParentReferenceApplyConfiguration {
|
|
||||||
b.UID = &value
|
|
||||||
return b
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user