Documentation
¶
Index ¶
- type GatewayApplyConfiguration
- func (b *GatewayApplyConfiguration) GetName() *string
- func (b *GatewayApplyConfiguration) WithAPIVersion(value string) *GatewayApplyConfiguration
- func (b *GatewayApplyConfiguration) WithAnnotations(entries map[string]string) *GatewayApplyConfiguration
- func (b *GatewayApplyConfiguration) WithCreationTimestamp(value metav1.Time) *GatewayApplyConfiguration
- func (b *GatewayApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *GatewayApplyConfiguration
- func (b *GatewayApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *GatewayApplyConfiguration
- func (b *GatewayApplyConfiguration) WithFinalizers(values ...string) *GatewayApplyConfiguration
- func (b *GatewayApplyConfiguration) WithGenerateName(value string) *GatewayApplyConfiguration
- func (b *GatewayApplyConfiguration) WithGeneration(value int64) *GatewayApplyConfiguration
- func (b *GatewayApplyConfiguration) WithKind(value string) *GatewayApplyConfiguration
- func (b *GatewayApplyConfiguration) WithLabels(entries map[string]string) *GatewayApplyConfiguration
- func (b *GatewayApplyConfiguration) WithName(value string) *GatewayApplyConfiguration
- func (b *GatewayApplyConfiguration) WithNamespace(value string) *GatewayApplyConfiguration
- func (b *GatewayApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *GatewayApplyConfiguration
- func (b *GatewayApplyConfiguration) WithResourceVersion(value string) *GatewayApplyConfiguration
- func (b *GatewayApplyConfiguration) WithSpec(value *apisv1.GatewaySpecApplyConfiguration) *GatewayApplyConfiguration
- func (b *GatewayApplyConfiguration) WithStatus(value *apisv1.GatewayStatusApplyConfiguration) *GatewayApplyConfiguration
- func (b *GatewayApplyConfiguration) WithUID(value types.UID) *GatewayApplyConfiguration
- type GatewayClassApplyConfiguration
- func ExtractGatewayClass(gatewayClass *apisv1beta1.GatewayClass, fieldManager string) (*GatewayClassApplyConfiguration, error)
- func ExtractGatewayClassStatus(gatewayClass *apisv1beta1.GatewayClass, fieldManager string) (*GatewayClassApplyConfiguration, error)
- func GatewayClass(name string) *GatewayClassApplyConfiguration
- func (b *GatewayClassApplyConfiguration) GetName() *string
- func (b *GatewayClassApplyConfiguration) WithAPIVersion(value string) *GatewayClassApplyConfiguration
- func (b *GatewayClassApplyConfiguration) WithAnnotations(entries map[string]string) *GatewayClassApplyConfiguration
- func (b *GatewayClassApplyConfiguration) WithCreationTimestamp(value metav1.Time) *GatewayClassApplyConfiguration
- func (b *GatewayClassApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *GatewayClassApplyConfiguration
- func (b *GatewayClassApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *GatewayClassApplyConfiguration
- func (b *GatewayClassApplyConfiguration) WithFinalizers(values ...string) *GatewayClassApplyConfiguration
- func (b *GatewayClassApplyConfiguration) WithGenerateName(value string) *GatewayClassApplyConfiguration
- func (b *GatewayClassApplyConfiguration) WithGeneration(value int64) *GatewayClassApplyConfiguration
- func (b *GatewayClassApplyConfiguration) WithKind(value string) *GatewayClassApplyConfiguration
- func (b *GatewayClassApplyConfiguration) WithLabels(entries map[string]string) *GatewayClassApplyConfiguration
- func (b *GatewayClassApplyConfiguration) WithName(value string) *GatewayClassApplyConfiguration
- func (b *GatewayClassApplyConfiguration) WithNamespace(value string) *GatewayClassApplyConfiguration
- func (b *GatewayClassApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *GatewayClassApplyConfiguration
- func (b *GatewayClassApplyConfiguration) WithResourceVersion(value string) *GatewayClassApplyConfiguration
- func (b *GatewayClassApplyConfiguration) WithSpec(value *apisv1.GatewayClassSpecApplyConfiguration) *GatewayClassApplyConfiguration
- func (b *GatewayClassApplyConfiguration) WithStatus(value *apisv1.GatewayClassStatusApplyConfiguration) *GatewayClassApplyConfiguration
- func (b *GatewayClassApplyConfiguration) WithUID(value types.UID) *GatewayClassApplyConfiguration
- type HTTPRouteApplyConfiguration
- func ExtractHTTPRoute(hTTPRoute *apisv1beta1.HTTPRoute, fieldManager string) (*HTTPRouteApplyConfiguration, error)
- func ExtractHTTPRouteStatus(hTTPRoute *apisv1beta1.HTTPRoute, fieldManager string) (*HTTPRouteApplyConfiguration, error)
- func HTTPRoute(name, namespace string) *HTTPRouteApplyConfiguration
- func (b *HTTPRouteApplyConfiguration) GetName() *string
- func (b *HTTPRouteApplyConfiguration) WithAPIVersion(value string) *HTTPRouteApplyConfiguration
- func (b *HTTPRouteApplyConfiguration) WithAnnotations(entries map[string]string) *HTTPRouteApplyConfiguration
- func (b *HTTPRouteApplyConfiguration) WithCreationTimestamp(value metav1.Time) *HTTPRouteApplyConfiguration
- func (b *HTTPRouteApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *HTTPRouteApplyConfiguration
- func (b *HTTPRouteApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *HTTPRouteApplyConfiguration
- func (b *HTTPRouteApplyConfiguration) WithFinalizers(values ...string) *HTTPRouteApplyConfiguration
- func (b *HTTPRouteApplyConfiguration) WithGenerateName(value string) *HTTPRouteApplyConfiguration
- func (b *HTTPRouteApplyConfiguration) WithGeneration(value int64) *HTTPRouteApplyConfiguration
- func (b *HTTPRouteApplyConfiguration) WithKind(value string) *HTTPRouteApplyConfiguration
- func (b *HTTPRouteApplyConfiguration) WithLabels(entries map[string]string) *HTTPRouteApplyConfiguration
- func (b *HTTPRouteApplyConfiguration) WithName(value string) *HTTPRouteApplyConfiguration
- func (b *HTTPRouteApplyConfiguration) WithNamespace(value string) *HTTPRouteApplyConfiguration
- func (b *HTTPRouteApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *HTTPRouteApplyConfiguration
- func (b *HTTPRouteApplyConfiguration) WithResourceVersion(value string) *HTTPRouteApplyConfiguration
- func (b *HTTPRouteApplyConfiguration) WithSpec(value *apisv1.HTTPRouteSpecApplyConfiguration) *HTTPRouteApplyConfiguration
- func (b *HTTPRouteApplyConfiguration) WithStatus(value *apisv1.HTTPRouteStatusApplyConfiguration) *HTTPRouteApplyConfiguration
- func (b *HTTPRouteApplyConfiguration) WithUID(value types.UID) *HTTPRouteApplyConfiguration
- type ReferenceGrantApplyConfiguration
- func ExtractReferenceGrant(referenceGrant *apisv1beta1.ReferenceGrant, fieldManager string) (*ReferenceGrantApplyConfiguration, error)
- func ExtractReferenceGrantStatus(referenceGrant *apisv1beta1.ReferenceGrant, fieldManager string) (*ReferenceGrantApplyConfiguration, error)
- func ReferenceGrant(name, namespace string) *ReferenceGrantApplyConfiguration
- func (b *ReferenceGrantApplyConfiguration) GetName() *string
- func (b *ReferenceGrantApplyConfiguration) WithAPIVersion(value string) *ReferenceGrantApplyConfiguration
- func (b *ReferenceGrantApplyConfiguration) WithAnnotations(entries map[string]string) *ReferenceGrantApplyConfiguration
- func (b *ReferenceGrantApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ReferenceGrantApplyConfiguration
- func (b *ReferenceGrantApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ReferenceGrantApplyConfiguration
- func (b *ReferenceGrantApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ReferenceGrantApplyConfiguration
- func (b *ReferenceGrantApplyConfiguration) WithFinalizers(values ...string) *ReferenceGrantApplyConfiguration
- func (b *ReferenceGrantApplyConfiguration) WithGenerateName(value string) *ReferenceGrantApplyConfiguration
- func (b *ReferenceGrantApplyConfiguration) WithGeneration(value int64) *ReferenceGrantApplyConfiguration
- func (b *ReferenceGrantApplyConfiguration) WithKind(value string) *ReferenceGrantApplyConfiguration
- func (b *ReferenceGrantApplyConfiguration) WithLabels(entries map[string]string) *ReferenceGrantApplyConfiguration
- func (b *ReferenceGrantApplyConfiguration) WithName(value string) *ReferenceGrantApplyConfiguration
- func (b *ReferenceGrantApplyConfiguration) WithNamespace(value string) *ReferenceGrantApplyConfiguration
- func (b *ReferenceGrantApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ReferenceGrantApplyConfiguration
- func (b *ReferenceGrantApplyConfiguration) WithResourceVersion(value string) *ReferenceGrantApplyConfiguration
- func (b *ReferenceGrantApplyConfiguration) WithSpec(value *ReferenceGrantSpecApplyConfiguration) *ReferenceGrantApplyConfiguration
- func (b *ReferenceGrantApplyConfiguration) WithUID(value types.UID) *ReferenceGrantApplyConfiguration
- type ReferenceGrantFromApplyConfiguration
- func (b *ReferenceGrantFromApplyConfiguration) WithGroup(value v1.Group) *ReferenceGrantFromApplyConfiguration
- func (b *ReferenceGrantFromApplyConfiguration) WithKind(value v1.Kind) *ReferenceGrantFromApplyConfiguration
- func (b *ReferenceGrantFromApplyConfiguration) WithNamespace(value v1.Namespace) *ReferenceGrantFromApplyConfiguration
- type ReferenceGrantSpecApplyConfiguration
- type ReferenceGrantToApplyConfiguration
- func (b *ReferenceGrantToApplyConfiguration) WithGroup(value v1.Group) *ReferenceGrantToApplyConfiguration
- func (b *ReferenceGrantToApplyConfiguration) WithKind(value v1.Kind) *ReferenceGrantToApplyConfiguration
- func (b *ReferenceGrantToApplyConfiguration) WithName(value v1.ObjectName) *ReferenceGrantToApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GatewayApplyConfiguration ¶
type GatewayApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *apisv1.GatewaySpecApplyConfiguration `json:"spec,omitempty"` Status *apisv1.GatewayStatusApplyConfiguration `json:"status,omitempty"` }
GatewayApplyConfiguration represents a declarative configuration of the Gateway type for use with apply.
func ExtractGateway ¶
func ExtractGateway(gateway *apisv1beta1.Gateway, fieldManager string) (*GatewayApplyConfiguration, error)
ExtractGateway extracts the applied configuration owned by fieldManager from gateway. If no managedFields are found in gateway for fieldManager, a GatewayApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. gateway must be a unmodified Gateway API object that was retrieved from the Kubernetes API. ExtractGateway provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!
func ExtractGatewayStatus ¶
func ExtractGatewayStatus(gateway *apisv1beta1.Gateway, fieldManager string) (*GatewayApplyConfiguration, error)
ExtractGatewayStatus is the same as ExtractGateway except that it extracts the status subresource applied configuration. Experimental!
func Gateway ¶
func Gateway(name, namespace string) *GatewayApplyConfiguration
Gateway constructs a declarative configuration of the Gateway type for use with apply.
func (*GatewayApplyConfiguration) GetName ¶
func (b *GatewayApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*GatewayApplyConfiguration) WithAPIVersion ¶
func (b *GatewayApplyConfiguration) WithAPIVersion(value string) *GatewayApplyConfiguration
WithAPIVersion sets the APIVersion 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 APIVersion field is set to the value of the last call.
func (*GatewayApplyConfiguration) WithAnnotations ¶
func (b *GatewayApplyConfiguration) WithAnnotations(entries map[string]string) *GatewayApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*GatewayApplyConfiguration) WithCreationTimestamp ¶
func (b *GatewayApplyConfiguration) WithCreationTimestamp(value metav1.Time) *GatewayApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp 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 CreationTimestamp field is set to the value of the last call.
func (*GatewayApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *GatewayApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *GatewayApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds 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 DeletionGracePeriodSeconds field is set to the value of the last call.
func (*GatewayApplyConfiguration) WithDeletionTimestamp ¶
func (b *GatewayApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *GatewayApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp 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 DeletionTimestamp field is set to the value of the last call.
func (*GatewayApplyConfiguration) WithFinalizers ¶
func (b *GatewayApplyConfiguration) WithFinalizers(values ...string) *GatewayApplyConfiguration
WithFinalizers adds the given value to the Finalizers 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 Finalizers field.
func (*GatewayApplyConfiguration) WithGenerateName ¶
func (b *GatewayApplyConfiguration) WithGenerateName(value string) *GatewayApplyConfiguration
WithGenerateName sets the GenerateName 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 GenerateName field is set to the value of the last call.
func (*GatewayApplyConfiguration) WithGeneration ¶
func (b *GatewayApplyConfiguration) WithGeneration(value int64) *GatewayApplyConfiguration
WithGeneration sets the Generation 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 Generation field is set to the value of the last call.
func (*GatewayApplyConfiguration) WithKind ¶
func (b *GatewayApplyConfiguration) WithKind(value string) *GatewayApplyConfiguration
WithKind sets the Kind 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 Kind field is set to the value of the last call.
func (*GatewayApplyConfiguration) WithLabels ¶
func (b *GatewayApplyConfiguration) WithLabels(entries map[string]string) *GatewayApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*GatewayApplyConfiguration) WithName ¶
func (b *GatewayApplyConfiguration) WithName(value string) *GatewayApplyConfiguration
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 (*GatewayApplyConfiguration) WithNamespace ¶
func (b *GatewayApplyConfiguration) WithNamespace(value string) *GatewayApplyConfiguration
WithNamespace sets the Namespace 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 Namespace field is set to the value of the last call.
func (*GatewayApplyConfiguration) WithOwnerReferences ¶
func (b *GatewayApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *GatewayApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences 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 OwnerReferences field.
func (*GatewayApplyConfiguration) WithResourceVersion ¶
func (b *GatewayApplyConfiguration) WithResourceVersion(value string) *GatewayApplyConfiguration
WithResourceVersion sets the ResourceVersion 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 ResourceVersion field is set to the value of the last call.
func (*GatewayApplyConfiguration) WithSpec ¶
func (b *GatewayApplyConfiguration) WithSpec(value *apisv1.GatewaySpecApplyConfiguration) *GatewayApplyConfiguration
WithSpec sets the Spec 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 Spec field is set to the value of the last call.
func (*GatewayApplyConfiguration) WithStatus ¶
func (b *GatewayApplyConfiguration) WithStatus(value *apisv1.GatewayStatusApplyConfiguration) *GatewayApplyConfiguration
WithStatus sets the Status 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 Status field is set to the value of the last call.
func (*GatewayApplyConfiguration) WithUID ¶
func (b *GatewayApplyConfiguration) WithUID(value types.UID) *GatewayApplyConfiguration
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.
type GatewayClassApplyConfiguration ¶
type GatewayClassApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *apisv1.GatewayClassSpecApplyConfiguration `json:"spec,omitempty"` Status *apisv1.GatewayClassStatusApplyConfiguration `json:"status,omitempty"` }
GatewayClassApplyConfiguration represents a declarative configuration of the GatewayClass type for use with apply.
func ExtractGatewayClass ¶
func ExtractGatewayClass(gatewayClass *apisv1beta1.GatewayClass, fieldManager string) (*GatewayClassApplyConfiguration, error)
ExtractGatewayClass extracts the applied configuration owned by fieldManager from gatewayClass. If no managedFields are found in gatewayClass for fieldManager, a GatewayClassApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. gatewayClass must be a unmodified GatewayClass API object that was retrieved from the Kubernetes API. ExtractGatewayClass provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!
func ExtractGatewayClassStatus ¶
func ExtractGatewayClassStatus(gatewayClass *apisv1beta1.GatewayClass, fieldManager string) (*GatewayClassApplyConfiguration, error)
ExtractGatewayClassStatus is the same as ExtractGatewayClass except that it extracts the status subresource applied configuration. Experimental!
func GatewayClass ¶
func GatewayClass(name string) *GatewayClassApplyConfiguration
GatewayClass constructs a declarative configuration of the GatewayClass type for use with apply.
func (*GatewayClassApplyConfiguration) GetName ¶
func (b *GatewayClassApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*GatewayClassApplyConfiguration) WithAPIVersion ¶
func (b *GatewayClassApplyConfiguration) WithAPIVersion(value string) *GatewayClassApplyConfiguration
WithAPIVersion sets the APIVersion 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 APIVersion field is set to the value of the last call.
func (*GatewayClassApplyConfiguration) WithAnnotations ¶
func (b *GatewayClassApplyConfiguration) WithAnnotations(entries map[string]string) *GatewayClassApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*GatewayClassApplyConfiguration) WithCreationTimestamp ¶
func (b *GatewayClassApplyConfiguration) WithCreationTimestamp(value metav1.Time) *GatewayClassApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp 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 CreationTimestamp field is set to the value of the last call.
func (*GatewayClassApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *GatewayClassApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *GatewayClassApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds 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 DeletionGracePeriodSeconds field is set to the value of the last call.
func (*GatewayClassApplyConfiguration) WithDeletionTimestamp ¶
func (b *GatewayClassApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *GatewayClassApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp 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 DeletionTimestamp field is set to the value of the last call.
func (*GatewayClassApplyConfiguration) WithFinalizers ¶
func (b *GatewayClassApplyConfiguration) WithFinalizers(values ...string) *GatewayClassApplyConfiguration
WithFinalizers adds the given value to the Finalizers 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 Finalizers field.
func (*GatewayClassApplyConfiguration) WithGenerateName ¶
func (b *GatewayClassApplyConfiguration) WithGenerateName(value string) *GatewayClassApplyConfiguration
WithGenerateName sets the GenerateName 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 GenerateName field is set to the value of the last call.
func (*GatewayClassApplyConfiguration) WithGeneration ¶
func (b *GatewayClassApplyConfiguration) WithGeneration(value int64) *GatewayClassApplyConfiguration
WithGeneration sets the Generation 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 Generation field is set to the value of the last call.
func (*GatewayClassApplyConfiguration) WithKind ¶
func (b *GatewayClassApplyConfiguration) WithKind(value string) *GatewayClassApplyConfiguration
WithKind sets the Kind 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 Kind field is set to the value of the last call.
func (*GatewayClassApplyConfiguration) WithLabels ¶
func (b *GatewayClassApplyConfiguration) WithLabels(entries map[string]string) *GatewayClassApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*GatewayClassApplyConfiguration) WithName ¶
func (b *GatewayClassApplyConfiguration) WithName(value string) *GatewayClassApplyConfiguration
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 (*GatewayClassApplyConfiguration) WithNamespace ¶
func (b *GatewayClassApplyConfiguration) WithNamespace(value string) *GatewayClassApplyConfiguration
WithNamespace sets the Namespace 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 Namespace field is set to the value of the last call.
func (*GatewayClassApplyConfiguration) WithOwnerReferences ¶
func (b *GatewayClassApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *GatewayClassApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences 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 OwnerReferences field.
func (*GatewayClassApplyConfiguration) WithResourceVersion ¶
func (b *GatewayClassApplyConfiguration) WithResourceVersion(value string) *GatewayClassApplyConfiguration
WithResourceVersion sets the ResourceVersion 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 ResourceVersion field is set to the value of the last call.
func (*GatewayClassApplyConfiguration) WithSpec ¶
func (b *GatewayClassApplyConfiguration) WithSpec(value *apisv1.GatewayClassSpecApplyConfiguration) *GatewayClassApplyConfiguration
WithSpec sets the Spec 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 Spec field is set to the value of the last call.
func (*GatewayClassApplyConfiguration) WithStatus ¶
func (b *GatewayClassApplyConfiguration) WithStatus(value *apisv1.GatewayClassStatusApplyConfiguration) *GatewayClassApplyConfiguration
WithStatus sets the Status 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 Status field is set to the value of the last call.
func (*GatewayClassApplyConfiguration) WithUID ¶
func (b *GatewayClassApplyConfiguration) WithUID(value types.UID) *GatewayClassApplyConfiguration
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.
type HTTPRouteApplyConfiguration ¶
type HTTPRouteApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *apisv1.HTTPRouteSpecApplyConfiguration `json:"spec,omitempty"` Status *apisv1.HTTPRouteStatusApplyConfiguration `json:"status,omitempty"` }
HTTPRouteApplyConfiguration represents a declarative configuration of the HTTPRoute type for use with apply.
func ExtractHTTPRoute ¶
func ExtractHTTPRoute(hTTPRoute *apisv1beta1.HTTPRoute, fieldManager string) (*HTTPRouteApplyConfiguration, error)
ExtractHTTPRoute extracts the applied configuration owned by fieldManager from hTTPRoute. If no managedFields are found in hTTPRoute for fieldManager, a HTTPRouteApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. hTTPRoute must be a unmodified HTTPRoute API object that was retrieved from the Kubernetes API. ExtractHTTPRoute provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!
func ExtractHTTPRouteStatus ¶
func ExtractHTTPRouteStatus(hTTPRoute *apisv1beta1.HTTPRoute, fieldManager string) (*HTTPRouteApplyConfiguration, error)
ExtractHTTPRouteStatus is the same as ExtractHTTPRoute except that it extracts the status subresource applied configuration. Experimental!
func HTTPRoute ¶
func HTTPRoute(name, namespace string) *HTTPRouteApplyConfiguration
HTTPRoute constructs a declarative configuration of the HTTPRoute type for use with apply.
func (*HTTPRouteApplyConfiguration) GetName ¶
func (b *HTTPRouteApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*HTTPRouteApplyConfiguration) WithAPIVersion ¶
func (b *HTTPRouteApplyConfiguration) WithAPIVersion(value string) *HTTPRouteApplyConfiguration
WithAPIVersion sets the APIVersion 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 APIVersion field is set to the value of the last call.
func (*HTTPRouteApplyConfiguration) WithAnnotations ¶
func (b *HTTPRouteApplyConfiguration) WithAnnotations(entries map[string]string) *HTTPRouteApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*HTTPRouteApplyConfiguration) WithCreationTimestamp ¶
func (b *HTTPRouteApplyConfiguration) WithCreationTimestamp(value metav1.Time) *HTTPRouteApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp 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 CreationTimestamp field is set to the value of the last call.
func (*HTTPRouteApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *HTTPRouteApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *HTTPRouteApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds 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 DeletionGracePeriodSeconds field is set to the value of the last call.
func (*HTTPRouteApplyConfiguration) WithDeletionTimestamp ¶
func (b *HTTPRouteApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *HTTPRouteApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp 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 DeletionTimestamp field is set to the value of the last call.
func (*HTTPRouteApplyConfiguration) WithFinalizers ¶
func (b *HTTPRouteApplyConfiguration) WithFinalizers(values ...string) *HTTPRouteApplyConfiguration
WithFinalizers adds the given value to the Finalizers 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 Finalizers field.
func (*HTTPRouteApplyConfiguration) WithGenerateName ¶
func (b *HTTPRouteApplyConfiguration) WithGenerateName(value string) *HTTPRouteApplyConfiguration
WithGenerateName sets the GenerateName 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 GenerateName field is set to the value of the last call.
func (*HTTPRouteApplyConfiguration) WithGeneration ¶
func (b *HTTPRouteApplyConfiguration) WithGeneration(value int64) *HTTPRouteApplyConfiguration
WithGeneration sets the Generation 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 Generation field is set to the value of the last call.
func (*HTTPRouteApplyConfiguration) WithKind ¶
func (b *HTTPRouteApplyConfiguration) WithKind(value string) *HTTPRouteApplyConfiguration
WithKind sets the Kind 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 Kind field is set to the value of the last call.
func (*HTTPRouteApplyConfiguration) WithLabels ¶
func (b *HTTPRouteApplyConfiguration) WithLabels(entries map[string]string) *HTTPRouteApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*HTTPRouteApplyConfiguration) WithName ¶
func (b *HTTPRouteApplyConfiguration) WithName(value string) *HTTPRouteApplyConfiguration
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 (*HTTPRouteApplyConfiguration) WithNamespace ¶
func (b *HTTPRouteApplyConfiguration) WithNamespace(value string) *HTTPRouteApplyConfiguration
WithNamespace sets the Namespace 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 Namespace field is set to the value of the last call.
func (*HTTPRouteApplyConfiguration) WithOwnerReferences ¶
func (b *HTTPRouteApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *HTTPRouteApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences 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 OwnerReferences field.
func (*HTTPRouteApplyConfiguration) WithResourceVersion ¶
func (b *HTTPRouteApplyConfiguration) WithResourceVersion(value string) *HTTPRouteApplyConfiguration
WithResourceVersion sets the ResourceVersion 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 ResourceVersion field is set to the value of the last call.
func (*HTTPRouteApplyConfiguration) WithSpec ¶
func (b *HTTPRouteApplyConfiguration) WithSpec(value *apisv1.HTTPRouteSpecApplyConfiguration) *HTTPRouteApplyConfiguration
WithSpec sets the Spec 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 Spec field is set to the value of the last call.
func (*HTTPRouteApplyConfiguration) WithStatus ¶
func (b *HTTPRouteApplyConfiguration) WithStatus(value *apisv1.HTTPRouteStatusApplyConfiguration) *HTTPRouteApplyConfiguration
WithStatus sets the Status 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 Status field is set to the value of the last call.
func (*HTTPRouteApplyConfiguration) WithUID ¶
func (b *HTTPRouteApplyConfiguration) WithUID(value types.UID) *HTTPRouteApplyConfiguration
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.
type ReferenceGrantApplyConfiguration ¶
type ReferenceGrantApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *ReferenceGrantSpecApplyConfiguration `json:"spec,omitempty"` }
ReferenceGrantApplyConfiguration represents a declarative configuration of the ReferenceGrant type for use with apply.
func ExtractReferenceGrant ¶
func ExtractReferenceGrant(referenceGrant *apisv1beta1.ReferenceGrant, fieldManager string) (*ReferenceGrantApplyConfiguration, error)
ExtractReferenceGrant extracts the applied configuration owned by fieldManager from referenceGrant. If no managedFields are found in referenceGrant for fieldManager, a ReferenceGrantApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. referenceGrant must be a unmodified ReferenceGrant API object that was retrieved from the Kubernetes API. ExtractReferenceGrant provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!
func ExtractReferenceGrantStatus ¶
func ExtractReferenceGrantStatus(referenceGrant *apisv1beta1.ReferenceGrant, fieldManager string) (*ReferenceGrantApplyConfiguration, error)
ExtractReferenceGrantStatus is the same as ExtractReferenceGrant except that it extracts the status subresource applied configuration. Experimental!
func ReferenceGrant ¶
func ReferenceGrant(name, namespace string) *ReferenceGrantApplyConfiguration
ReferenceGrant constructs a declarative configuration of the ReferenceGrant type for use with apply.
func (*ReferenceGrantApplyConfiguration) GetName ¶
func (b *ReferenceGrantApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*ReferenceGrantApplyConfiguration) WithAPIVersion ¶
func (b *ReferenceGrantApplyConfiguration) WithAPIVersion(value string) *ReferenceGrantApplyConfiguration
WithAPIVersion sets the APIVersion 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 APIVersion field is set to the value of the last call.
func (*ReferenceGrantApplyConfiguration) WithAnnotations ¶
func (b *ReferenceGrantApplyConfiguration) WithAnnotations(entries map[string]string) *ReferenceGrantApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*ReferenceGrantApplyConfiguration) WithCreationTimestamp ¶
func (b *ReferenceGrantApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ReferenceGrantApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp 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 CreationTimestamp field is set to the value of the last call.
func (*ReferenceGrantApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *ReferenceGrantApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ReferenceGrantApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds 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 DeletionGracePeriodSeconds field is set to the value of the last call.
func (*ReferenceGrantApplyConfiguration) WithDeletionTimestamp ¶
func (b *ReferenceGrantApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ReferenceGrantApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp 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 DeletionTimestamp field is set to the value of the last call.
func (*ReferenceGrantApplyConfiguration) WithFinalizers ¶
func (b *ReferenceGrantApplyConfiguration) WithFinalizers(values ...string) *ReferenceGrantApplyConfiguration
WithFinalizers adds the given value to the Finalizers 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 Finalizers field.
func (*ReferenceGrantApplyConfiguration) WithGenerateName ¶
func (b *ReferenceGrantApplyConfiguration) WithGenerateName(value string) *ReferenceGrantApplyConfiguration
WithGenerateName sets the GenerateName 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 GenerateName field is set to the value of the last call.
func (*ReferenceGrantApplyConfiguration) WithGeneration ¶
func (b *ReferenceGrantApplyConfiguration) WithGeneration(value int64) *ReferenceGrantApplyConfiguration
WithGeneration sets the Generation 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 Generation field is set to the value of the last call.
func (*ReferenceGrantApplyConfiguration) WithKind ¶
func (b *ReferenceGrantApplyConfiguration) WithKind(value string) *ReferenceGrantApplyConfiguration
WithKind sets the Kind 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 Kind field is set to the value of the last call.
func (*ReferenceGrantApplyConfiguration) WithLabels ¶
func (b *ReferenceGrantApplyConfiguration) WithLabels(entries map[string]string) *ReferenceGrantApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*ReferenceGrantApplyConfiguration) WithName ¶
func (b *ReferenceGrantApplyConfiguration) WithName(value string) *ReferenceGrantApplyConfiguration
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 (*ReferenceGrantApplyConfiguration) WithNamespace ¶
func (b *ReferenceGrantApplyConfiguration) WithNamespace(value string) *ReferenceGrantApplyConfiguration
WithNamespace sets the Namespace 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 Namespace field is set to the value of the last call.
func (*ReferenceGrantApplyConfiguration) WithOwnerReferences ¶
func (b *ReferenceGrantApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ReferenceGrantApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences 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 OwnerReferences field.
func (*ReferenceGrantApplyConfiguration) WithResourceVersion ¶
func (b *ReferenceGrantApplyConfiguration) WithResourceVersion(value string) *ReferenceGrantApplyConfiguration
WithResourceVersion sets the ResourceVersion 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 ResourceVersion field is set to the value of the last call.
func (*ReferenceGrantApplyConfiguration) WithSpec ¶
func (b *ReferenceGrantApplyConfiguration) WithSpec(value *ReferenceGrantSpecApplyConfiguration) *ReferenceGrantApplyConfiguration
WithSpec sets the Spec 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 Spec field is set to the value of the last call.
func (*ReferenceGrantApplyConfiguration) WithUID ¶
func (b *ReferenceGrantApplyConfiguration) WithUID(value types.UID) *ReferenceGrantApplyConfiguration
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.
type ReferenceGrantFromApplyConfiguration ¶
type ReferenceGrantFromApplyConfiguration struct { Group *v1.Group `json:"group,omitempty"` Kind *v1.Kind `json:"kind,omitempty"` Namespace *v1.Namespace `json:"namespace,omitempty"` }
ReferenceGrantFromApplyConfiguration represents a declarative configuration of the ReferenceGrantFrom type for use with apply.
func ReferenceGrantFrom ¶
func ReferenceGrantFrom() *ReferenceGrantFromApplyConfiguration
ReferenceGrantFromApplyConfiguration constructs a declarative configuration of the ReferenceGrantFrom type for use with apply.
func (*ReferenceGrantFromApplyConfiguration) WithGroup ¶
func (b *ReferenceGrantFromApplyConfiguration) WithGroup(value v1.Group) *ReferenceGrantFromApplyConfiguration
WithGroup sets the Group 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 Group field is set to the value of the last call.
func (*ReferenceGrantFromApplyConfiguration) WithKind ¶
func (b *ReferenceGrantFromApplyConfiguration) WithKind(value v1.Kind) *ReferenceGrantFromApplyConfiguration
WithKind sets the Kind 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 Kind field is set to the value of the last call.
func (*ReferenceGrantFromApplyConfiguration) WithNamespace ¶
func (b *ReferenceGrantFromApplyConfiguration) WithNamespace(value v1.Namespace) *ReferenceGrantFromApplyConfiguration
WithNamespace sets the Namespace 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 Namespace field is set to the value of the last call.
type ReferenceGrantSpecApplyConfiguration ¶
type ReferenceGrantSpecApplyConfiguration struct { From []ReferenceGrantFromApplyConfiguration `json:"from,omitempty"` To []ReferenceGrantToApplyConfiguration `json:"to,omitempty"` }
ReferenceGrantSpecApplyConfiguration represents a declarative configuration of the ReferenceGrantSpec type for use with apply.
func ReferenceGrantSpec ¶
func ReferenceGrantSpec() *ReferenceGrantSpecApplyConfiguration
ReferenceGrantSpecApplyConfiguration constructs a declarative configuration of the ReferenceGrantSpec type for use with apply.
func (*ReferenceGrantSpecApplyConfiguration) WithFrom ¶
func (b *ReferenceGrantSpecApplyConfiguration) WithFrom(values ...*ReferenceGrantFromApplyConfiguration) *ReferenceGrantSpecApplyConfiguration
WithFrom adds the given value to the From 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 From field.
func (*ReferenceGrantSpecApplyConfiguration) WithTo ¶
func (b *ReferenceGrantSpecApplyConfiguration) WithTo(values ...*ReferenceGrantToApplyConfiguration) *ReferenceGrantSpecApplyConfiguration
WithTo adds the given value to the To 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 To field.
type ReferenceGrantToApplyConfiguration ¶
type ReferenceGrantToApplyConfiguration struct { Group *v1.Group `json:"group,omitempty"` Kind *v1.Kind `json:"kind,omitempty"` Name *v1.ObjectName `json:"name,omitempty"` }
ReferenceGrantToApplyConfiguration represents a declarative configuration of the ReferenceGrantTo type for use with apply.
func ReferenceGrantTo ¶
func ReferenceGrantTo() *ReferenceGrantToApplyConfiguration
ReferenceGrantToApplyConfiguration constructs a declarative configuration of the ReferenceGrantTo type for use with apply.
func (*ReferenceGrantToApplyConfiguration) WithGroup ¶
func (b *ReferenceGrantToApplyConfiguration) WithGroup(value v1.Group) *ReferenceGrantToApplyConfiguration
WithGroup sets the Group 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 Group field is set to the value of the last call.
func (*ReferenceGrantToApplyConfiguration) WithKind ¶
func (b *ReferenceGrantToApplyConfiguration) WithKind(value v1.Kind) *ReferenceGrantToApplyConfiguration
WithKind sets the Kind 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 Kind field is set to the value of the last call.
func (*ReferenceGrantToApplyConfiguration) WithName ¶
func (b *ReferenceGrantToApplyConfiguration) WithName(value v1.ObjectName) *ReferenceGrantToApplyConfiguration
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.