Documentation
¶
Index ¶
- type ClusterNetworkApplyConfiguration
- func ClusterNetwork(name string) *ClusterNetworkApplyConfiguration
- func ExtractClusterNetwork(clusterNetwork *apinetworkv1.ClusterNetwork, fieldManager string) (*ClusterNetworkApplyConfiguration, error)
- func ExtractClusterNetworkStatus(clusterNetwork *apinetworkv1.ClusterNetwork, fieldManager string) (*ClusterNetworkApplyConfiguration, error)
- func (b *ClusterNetworkApplyConfiguration) WithAPIVersion(value string) *ClusterNetworkApplyConfiguration
- func (b *ClusterNetworkApplyConfiguration) WithAnnotations(entries map[string]string) *ClusterNetworkApplyConfiguration
- func (b *ClusterNetworkApplyConfiguration) WithClusterNetworks(values ...*ClusterNetworkEntryApplyConfiguration) *ClusterNetworkApplyConfiguration
- func (b *ClusterNetworkApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ClusterNetworkApplyConfiguration
- func (b *ClusterNetworkApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ClusterNetworkApplyConfiguration
- func (b *ClusterNetworkApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ClusterNetworkApplyConfiguration
- func (b *ClusterNetworkApplyConfiguration) WithFinalizers(values ...string) *ClusterNetworkApplyConfiguration
- func (b *ClusterNetworkApplyConfiguration) WithGenerateName(value string) *ClusterNetworkApplyConfiguration
- func (b *ClusterNetworkApplyConfiguration) WithGeneration(value int64) *ClusterNetworkApplyConfiguration
- func (b *ClusterNetworkApplyConfiguration) WithHostSubnetLength(value uint32) *ClusterNetworkApplyConfiguration
- func (b *ClusterNetworkApplyConfiguration) WithKind(value string) *ClusterNetworkApplyConfiguration
- func (b *ClusterNetworkApplyConfiguration) WithLabels(entries map[string]string) *ClusterNetworkApplyConfiguration
- func (b *ClusterNetworkApplyConfiguration) WithMTU(value uint32) *ClusterNetworkApplyConfiguration
- func (b *ClusterNetworkApplyConfiguration) WithName(value string) *ClusterNetworkApplyConfiguration
- func (b *ClusterNetworkApplyConfiguration) WithNamespace(value string) *ClusterNetworkApplyConfiguration
- func (b *ClusterNetworkApplyConfiguration) WithNetwork(value string) *ClusterNetworkApplyConfiguration
- func (b *ClusterNetworkApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ClusterNetworkApplyConfiguration
- func (b *ClusterNetworkApplyConfiguration) WithPluginName(value string) *ClusterNetworkApplyConfiguration
- func (b *ClusterNetworkApplyConfiguration) WithResourceVersion(value string) *ClusterNetworkApplyConfiguration
- func (b *ClusterNetworkApplyConfiguration) WithServiceNetwork(value string) *ClusterNetworkApplyConfiguration
- func (b *ClusterNetworkApplyConfiguration) WithUID(value types.UID) *ClusterNetworkApplyConfiguration
- func (b *ClusterNetworkApplyConfiguration) WithVXLANPort(value uint32) *ClusterNetworkApplyConfiguration
- type ClusterNetworkEntryApplyConfiguration
- type EgressNetworkPolicyApplyConfiguration
- func EgressNetworkPolicy(name, namespace string) *EgressNetworkPolicyApplyConfiguration
- func ExtractEgressNetworkPolicy(egressNetworkPolicy *apinetworkv1.EgressNetworkPolicy, fieldManager string) (*EgressNetworkPolicyApplyConfiguration, error)
- func ExtractEgressNetworkPolicyStatus(egressNetworkPolicy *apinetworkv1.EgressNetworkPolicy, fieldManager string) (*EgressNetworkPolicyApplyConfiguration, error)
- func (b *EgressNetworkPolicyApplyConfiguration) WithAPIVersion(value string) *EgressNetworkPolicyApplyConfiguration
- func (b *EgressNetworkPolicyApplyConfiguration) WithAnnotations(entries map[string]string) *EgressNetworkPolicyApplyConfiguration
- func (b *EgressNetworkPolicyApplyConfiguration) WithCreationTimestamp(value metav1.Time) *EgressNetworkPolicyApplyConfiguration
- func (b *EgressNetworkPolicyApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *EgressNetworkPolicyApplyConfiguration
- func (b *EgressNetworkPolicyApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *EgressNetworkPolicyApplyConfiguration
- func (b *EgressNetworkPolicyApplyConfiguration) WithFinalizers(values ...string) *EgressNetworkPolicyApplyConfiguration
- func (b *EgressNetworkPolicyApplyConfiguration) WithGenerateName(value string) *EgressNetworkPolicyApplyConfiguration
- func (b *EgressNetworkPolicyApplyConfiguration) WithGeneration(value int64) *EgressNetworkPolicyApplyConfiguration
- func (b *EgressNetworkPolicyApplyConfiguration) WithKind(value string) *EgressNetworkPolicyApplyConfiguration
- func (b *EgressNetworkPolicyApplyConfiguration) WithLabels(entries map[string]string) *EgressNetworkPolicyApplyConfiguration
- func (b *EgressNetworkPolicyApplyConfiguration) WithName(value string) *EgressNetworkPolicyApplyConfiguration
- func (b *EgressNetworkPolicyApplyConfiguration) WithNamespace(value string) *EgressNetworkPolicyApplyConfiguration
- func (b *EgressNetworkPolicyApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *EgressNetworkPolicyApplyConfiguration
- func (b *EgressNetworkPolicyApplyConfiguration) WithResourceVersion(value string) *EgressNetworkPolicyApplyConfiguration
- func (b *EgressNetworkPolicyApplyConfiguration) WithSpec(value *EgressNetworkPolicySpecApplyConfiguration) *EgressNetworkPolicyApplyConfiguration
- func (b *EgressNetworkPolicyApplyConfiguration) WithUID(value types.UID) *EgressNetworkPolicyApplyConfiguration
- type EgressNetworkPolicyPeerApplyConfiguration
- type EgressNetworkPolicyRuleApplyConfiguration
- type EgressNetworkPolicySpecApplyConfiguration
- type HostSubnetApplyConfiguration
- func (b *HostSubnetApplyConfiguration) WithAPIVersion(value string) *HostSubnetApplyConfiguration
- func (b *HostSubnetApplyConfiguration) WithAnnotations(entries map[string]string) *HostSubnetApplyConfiguration
- func (b *HostSubnetApplyConfiguration) WithCreationTimestamp(value metav1.Time) *HostSubnetApplyConfiguration
- func (b *HostSubnetApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *HostSubnetApplyConfiguration
- func (b *HostSubnetApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *HostSubnetApplyConfiguration
- func (b *HostSubnetApplyConfiguration) WithEgressCIDRs(values ...networkv1.HostSubnetEgressCIDR) *HostSubnetApplyConfiguration
- func (b *HostSubnetApplyConfiguration) WithEgressIPs(values ...networkv1.HostSubnetEgressIP) *HostSubnetApplyConfiguration
- func (b *HostSubnetApplyConfiguration) WithFinalizers(values ...string) *HostSubnetApplyConfiguration
- func (b *HostSubnetApplyConfiguration) WithGenerateName(value string) *HostSubnetApplyConfiguration
- func (b *HostSubnetApplyConfiguration) WithGeneration(value int64) *HostSubnetApplyConfiguration
- func (b *HostSubnetApplyConfiguration) WithHost(value string) *HostSubnetApplyConfiguration
- func (b *HostSubnetApplyConfiguration) WithHostIP(value string) *HostSubnetApplyConfiguration
- func (b *HostSubnetApplyConfiguration) WithKind(value string) *HostSubnetApplyConfiguration
- func (b *HostSubnetApplyConfiguration) WithLabels(entries map[string]string) *HostSubnetApplyConfiguration
- func (b *HostSubnetApplyConfiguration) WithName(value string) *HostSubnetApplyConfiguration
- func (b *HostSubnetApplyConfiguration) WithNamespace(value string) *HostSubnetApplyConfiguration
- func (b *HostSubnetApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *HostSubnetApplyConfiguration
- func (b *HostSubnetApplyConfiguration) WithResourceVersion(value string) *HostSubnetApplyConfiguration
- func (b *HostSubnetApplyConfiguration) WithSubnet(value string) *HostSubnetApplyConfiguration
- func (b *HostSubnetApplyConfiguration) WithUID(value types.UID) *HostSubnetApplyConfiguration
- type NetNamespaceApplyConfiguration
- func ExtractNetNamespace(netNamespace *networkv1.NetNamespace, fieldManager string) (*NetNamespaceApplyConfiguration, error)
- func ExtractNetNamespaceStatus(netNamespace *networkv1.NetNamespace, fieldManager string) (*NetNamespaceApplyConfiguration, error)
- func NetNamespace(name string) *NetNamespaceApplyConfiguration
- func (b *NetNamespaceApplyConfiguration) WithAPIVersion(value string) *NetNamespaceApplyConfiguration
- func (b *NetNamespaceApplyConfiguration) WithAnnotations(entries map[string]string) *NetNamespaceApplyConfiguration
- func (b *NetNamespaceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NetNamespaceApplyConfiguration
- func (b *NetNamespaceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NetNamespaceApplyConfiguration
- func (b *NetNamespaceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NetNamespaceApplyConfiguration
- func (b *NetNamespaceApplyConfiguration) WithEgressIPs(values ...networkv1.NetNamespaceEgressIP) *NetNamespaceApplyConfiguration
- func (b *NetNamespaceApplyConfiguration) WithFinalizers(values ...string) *NetNamespaceApplyConfiguration
- func (b *NetNamespaceApplyConfiguration) WithGenerateName(value string) *NetNamespaceApplyConfiguration
- func (b *NetNamespaceApplyConfiguration) WithGeneration(value int64) *NetNamespaceApplyConfiguration
- func (b *NetNamespaceApplyConfiguration) WithKind(value string) *NetNamespaceApplyConfiguration
- func (b *NetNamespaceApplyConfiguration) WithLabels(entries map[string]string) *NetNamespaceApplyConfiguration
- func (b *NetNamespaceApplyConfiguration) WithName(value string) *NetNamespaceApplyConfiguration
- func (b *NetNamespaceApplyConfiguration) WithNamespace(value string) *NetNamespaceApplyConfiguration
- func (b *NetNamespaceApplyConfiguration) WithNetID(value uint32) *NetNamespaceApplyConfiguration
- func (b *NetNamespaceApplyConfiguration) WithNetName(value string) *NetNamespaceApplyConfiguration
- func (b *NetNamespaceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NetNamespaceApplyConfiguration
- func (b *NetNamespaceApplyConfiguration) WithResourceVersion(value string) *NetNamespaceApplyConfiguration
- func (b *NetNamespaceApplyConfiguration) WithUID(value types.UID) *NetNamespaceApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterNetworkApplyConfiguration ¶
type ClusterNetworkApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Network *string `json:"network,omitempty"` HostSubnetLength *uint32 `json:"hostsubnetlength,omitempty"` ServiceNetwork *string `json:"serviceNetwork,omitempty"` PluginName *string `json:"pluginName,omitempty"` ClusterNetworks []ClusterNetworkEntryApplyConfiguration `json:"clusterNetworks,omitempty"` VXLANPort *uint32 `json:"vxlanPort,omitempty"` MTU *uint32 `json:"mtu,omitempty"` }
ClusterNetworkApplyConfiguration represents an declarative configuration of the ClusterNetwork type for use with apply.
func ClusterNetwork ¶
func ClusterNetwork(name string) *ClusterNetworkApplyConfiguration
ClusterNetwork constructs an declarative configuration of the ClusterNetwork type for use with apply.
func ExtractClusterNetwork ¶
func ExtractClusterNetwork(clusterNetwork *apinetworkv1.ClusterNetwork, fieldManager string) (*ClusterNetworkApplyConfiguration, error)
ExtractClusterNetwork extracts the applied configuration owned by fieldManager from clusterNetwork. If no managedFields are found in clusterNetwork for fieldManager, a ClusterNetworkApplyConfiguration 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. clusterNetwork must be a unmodified ClusterNetwork API object that was retrieved from the Kubernetes API. ExtractClusterNetwork 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 ExtractClusterNetworkStatus ¶
func ExtractClusterNetworkStatus(clusterNetwork *apinetworkv1.ClusterNetwork, fieldManager string) (*ClusterNetworkApplyConfiguration, error)
ExtractClusterNetworkStatus is the same as ExtractClusterNetwork except that it extracts the status subresource applied configuration. Experimental!
func (*ClusterNetworkApplyConfiguration) WithAPIVersion ¶
func (b *ClusterNetworkApplyConfiguration) WithAPIVersion(value string) *ClusterNetworkApplyConfiguration
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 (*ClusterNetworkApplyConfiguration) WithAnnotations ¶
func (b *ClusterNetworkApplyConfiguration) WithAnnotations(entries map[string]string) *ClusterNetworkApplyConfiguration
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 (*ClusterNetworkApplyConfiguration) WithClusterNetworks ¶
func (b *ClusterNetworkApplyConfiguration) WithClusterNetworks(values ...*ClusterNetworkEntryApplyConfiguration) *ClusterNetworkApplyConfiguration
WithClusterNetworks adds the given value to the ClusterNetworks 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 ClusterNetworks field.
func (*ClusterNetworkApplyConfiguration) WithCreationTimestamp ¶
func (b *ClusterNetworkApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ClusterNetworkApplyConfiguration
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 (*ClusterNetworkApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *ClusterNetworkApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ClusterNetworkApplyConfiguration
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 (*ClusterNetworkApplyConfiguration) WithDeletionTimestamp ¶
func (b *ClusterNetworkApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ClusterNetworkApplyConfiguration
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 (*ClusterNetworkApplyConfiguration) WithFinalizers ¶
func (b *ClusterNetworkApplyConfiguration) WithFinalizers(values ...string) *ClusterNetworkApplyConfiguration
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 (*ClusterNetworkApplyConfiguration) WithGenerateName ¶
func (b *ClusterNetworkApplyConfiguration) WithGenerateName(value string) *ClusterNetworkApplyConfiguration
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 (*ClusterNetworkApplyConfiguration) WithGeneration ¶
func (b *ClusterNetworkApplyConfiguration) WithGeneration(value int64) *ClusterNetworkApplyConfiguration
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 (*ClusterNetworkApplyConfiguration) WithHostSubnetLength ¶
func (b *ClusterNetworkApplyConfiguration) WithHostSubnetLength(value uint32) *ClusterNetworkApplyConfiguration
WithHostSubnetLength sets the HostSubnetLength 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 HostSubnetLength field is set to the value of the last call.
func (*ClusterNetworkApplyConfiguration) WithKind ¶
func (b *ClusterNetworkApplyConfiguration) WithKind(value string) *ClusterNetworkApplyConfiguration
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 (*ClusterNetworkApplyConfiguration) WithLabels ¶
func (b *ClusterNetworkApplyConfiguration) WithLabels(entries map[string]string) *ClusterNetworkApplyConfiguration
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 (*ClusterNetworkApplyConfiguration) WithMTU ¶
func (b *ClusterNetworkApplyConfiguration) WithMTU(value uint32) *ClusterNetworkApplyConfiguration
WithMTU sets the MTU 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 MTU field is set to the value of the last call.
func (*ClusterNetworkApplyConfiguration) WithName ¶
func (b *ClusterNetworkApplyConfiguration) WithName(value string) *ClusterNetworkApplyConfiguration
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 (*ClusterNetworkApplyConfiguration) WithNamespace ¶
func (b *ClusterNetworkApplyConfiguration) WithNamespace(value string) *ClusterNetworkApplyConfiguration
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 (*ClusterNetworkApplyConfiguration) WithNetwork ¶
func (b *ClusterNetworkApplyConfiguration) WithNetwork(value string) *ClusterNetworkApplyConfiguration
WithNetwork sets the Network 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 Network field is set to the value of the last call.
func (*ClusterNetworkApplyConfiguration) WithOwnerReferences ¶
func (b *ClusterNetworkApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ClusterNetworkApplyConfiguration
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 (*ClusterNetworkApplyConfiguration) WithPluginName ¶
func (b *ClusterNetworkApplyConfiguration) WithPluginName(value string) *ClusterNetworkApplyConfiguration
WithPluginName sets the PluginName 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 PluginName field is set to the value of the last call.
func (*ClusterNetworkApplyConfiguration) WithResourceVersion ¶
func (b *ClusterNetworkApplyConfiguration) WithResourceVersion(value string) *ClusterNetworkApplyConfiguration
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 (*ClusterNetworkApplyConfiguration) WithServiceNetwork ¶
func (b *ClusterNetworkApplyConfiguration) WithServiceNetwork(value string) *ClusterNetworkApplyConfiguration
WithServiceNetwork sets the ServiceNetwork 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 ServiceNetwork field is set to the value of the last call.
func (*ClusterNetworkApplyConfiguration) WithUID ¶
func (b *ClusterNetworkApplyConfiguration) WithUID(value types.UID) *ClusterNetworkApplyConfiguration
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 (*ClusterNetworkApplyConfiguration) WithVXLANPort ¶
func (b *ClusterNetworkApplyConfiguration) WithVXLANPort(value uint32) *ClusterNetworkApplyConfiguration
WithVXLANPort sets the VXLANPort 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 VXLANPort field is set to the value of the last call.
type ClusterNetworkEntryApplyConfiguration ¶
type ClusterNetworkEntryApplyConfiguration struct { CIDR *string `json:"CIDR,omitempty"` HostSubnetLength *uint32 `json:"hostSubnetLength,omitempty"` }
ClusterNetworkEntryApplyConfiguration represents an declarative configuration of the ClusterNetworkEntry type for use with apply.
func ClusterNetworkEntry ¶
func ClusterNetworkEntry() *ClusterNetworkEntryApplyConfiguration
ClusterNetworkEntryApplyConfiguration constructs an declarative configuration of the ClusterNetworkEntry type for use with apply.
func (*ClusterNetworkEntryApplyConfiguration) WithCIDR ¶
func (b *ClusterNetworkEntryApplyConfiguration) WithCIDR(value string) *ClusterNetworkEntryApplyConfiguration
WithCIDR sets the CIDR 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 CIDR field is set to the value of the last call.
func (*ClusterNetworkEntryApplyConfiguration) WithHostSubnetLength ¶
func (b *ClusterNetworkEntryApplyConfiguration) WithHostSubnetLength(value uint32) *ClusterNetworkEntryApplyConfiguration
WithHostSubnetLength sets the HostSubnetLength 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 HostSubnetLength field is set to the value of the last call.
type EgressNetworkPolicyApplyConfiguration ¶
type EgressNetworkPolicyApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *EgressNetworkPolicySpecApplyConfiguration `json:"spec,omitempty"` }
EgressNetworkPolicyApplyConfiguration represents an declarative configuration of the EgressNetworkPolicy type for use with apply.
func EgressNetworkPolicy ¶
func EgressNetworkPolicy(name, namespace string) *EgressNetworkPolicyApplyConfiguration
EgressNetworkPolicy constructs an declarative configuration of the EgressNetworkPolicy type for use with apply.
func ExtractEgressNetworkPolicy ¶
func ExtractEgressNetworkPolicy(egressNetworkPolicy *apinetworkv1.EgressNetworkPolicy, fieldManager string) (*EgressNetworkPolicyApplyConfiguration, error)
ExtractEgressNetworkPolicy extracts the applied configuration owned by fieldManager from egressNetworkPolicy. If no managedFields are found in egressNetworkPolicy for fieldManager, a EgressNetworkPolicyApplyConfiguration 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. egressNetworkPolicy must be a unmodified EgressNetworkPolicy API object that was retrieved from the Kubernetes API. ExtractEgressNetworkPolicy 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 ExtractEgressNetworkPolicyStatus ¶
func ExtractEgressNetworkPolicyStatus(egressNetworkPolicy *apinetworkv1.EgressNetworkPolicy, fieldManager string) (*EgressNetworkPolicyApplyConfiguration, error)
ExtractEgressNetworkPolicyStatus is the same as ExtractEgressNetworkPolicy except that it extracts the status subresource applied configuration. Experimental!
func (*EgressNetworkPolicyApplyConfiguration) WithAPIVersion ¶
func (b *EgressNetworkPolicyApplyConfiguration) WithAPIVersion(value string) *EgressNetworkPolicyApplyConfiguration
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 (*EgressNetworkPolicyApplyConfiguration) WithAnnotations ¶
func (b *EgressNetworkPolicyApplyConfiguration) WithAnnotations(entries map[string]string) *EgressNetworkPolicyApplyConfiguration
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 (*EgressNetworkPolicyApplyConfiguration) WithCreationTimestamp ¶
func (b *EgressNetworkPolicyApplyConfiguration) WithCreationTimestamp(value metav1.Time) *EgressNetworkPolicyApplyConfiguration
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 (*EgressNetworkPolicyApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *EgressNetworkPolicyApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *EgressNetworkPolicyApplyConfiguration
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 (*EgressNetworkPolicyApplyConfiguration) WithDeletionTimestamp ¶
func (b *EgressNetworkPolicyApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *EgressNetworkPolicyApplyConfiguration
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 (*EgressNetworkPolicyApplyConfiguration) WithFinalizers ¶
func (b *EgressNetworkPolicyApplyConfiguration) WithFinalizers(values ...string) *EgressNetworkPolicyApplyConfiguration
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 (*EgressNetworkPolicyApplyConfiguration) WithGenerateName ¶
func (b *EgressNetworkPolicyApplyConfiguration) WithGenerateName(value string) *EgressNetworkPolicyApplyConfiguration
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 (*EgressNetworkPolicyApplyConfiguration) WithGeneration ¶
func (b *EgressNetworkPolicyApplyConfiguration) WithGeneration(value int64) *EgressNetworkPolicyApplyConfiguration
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 (*EgressNetworkPolicyApplyConfiguration) WithKind ¶
func (b *EgressNetworkPolicyApplyConfiguration) WithKind(value string) *EgressNetworkPolicyApplyConfiguration
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 (*EgressNetworkPolicyApplyConfiguration) WithLabels ¶
func (b *EgressNetworkPolicyApplyConfiguration) WithLabels(entries map[string]string) *EgressNetworkPolicyApplyConfiguration
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 (*EgressNetworkPolicyApplyConfiguration) WithName ¶
func (b *EgressNetworkPolicyApplyConfiguration) WithName(value string) *EgressNetworkPolicyApplyConfiguration
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 (*EgressNetworkPolicyApplyConfiguration) WithNamespace ¶
func (b *EgressNetworkPolicyApplyConfiguration) WithNamespace(value string) *EgressNetworkPolicyApplyConfiguration
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 (*EgressNetworkPolicyApplyConfiguration) WithOwnerReferences ¶
func (b *EgressNetworkPolicyApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *EgressNetworkPolicyApplyConfiguration
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 (*EgressNetworkPolicyApplyConfiguration) WithResourceVersion ¶
func (b *EgressNetworkPolicyApplyConfiguration) WithResourceVersion(value string) *EgressNetworkPolicyApplyConfiguration
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 (*EgressNetworkPolicyApplyConfiguration) WithSpec ¶
func (b *EgressNetworkPolicyApplyConfiguration) WithSpec(value *EgressNetworkPolicySpecApplyConfiguration) *EgressNetworkPolicyApplyConfiguration
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 (*EgressNetworkPolicyApplyConfiguration) WithUID ¶
func (b *EgressNetworkPolicyApplyConfiguration) WithUID(value types.UID) *EgressNetworkPolicyApplyConfiguration
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 EgressNetworkPolicyPeerApplyConfiguration ¶
type EgressNetworkPolicyPeerApplyConfiguration struct { CIDRSelector *string `json:"cidrSelector,omitempty"` DNSName *string `json:"dnsName,omitempty"` }
EgressNetworkPolicyPeerApplyConfiguration represents an declarative configuration of the EgressNetworkPolicyPeer type for use with apply.
func EgressNetworkPolicyPeer ¶
func EgressNetworkPolicyPeer() *EgressNetworkPolicyPeerApplyConfiguration
EgressNetworkPolicyPeerApplyConfiguration constructs an declarative configuration of the EgressNetworkPolicyPeer type for use with apply.
func (*EgressNetworkPolicyPeerApplyConfiguration) WithCIDRSelector ¶
func (b *EgressNetworkPolicyPeerApplyConfiguration) WithCIDRSelector(value string) *EgressNetworkPolicyPeerApplyConfiguration
WithCIDRSelector sets the CIDRSelector 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 CIDRSelector field is set to the value of the last call.
func (*EgressNetworkPolicyPeerApplyConfiguration) WithDNSName ¶
func (b *EgressNetworkPolicyPeerApplyConfiguration) WithDNSName(value string) *EgressNetworkPolicyPeerApplyConfiguration
WithDNSName sets the DNSName 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 DNSName field is set to the value of the last call.
type EgressNetworkPolicyRuleApplyConfiguration ¶
type EgressNetworkPolicyRuleApplyConfiguration struct { Type *v1.EgressNetworkPolicyRuleType `json:"type,omitempty"` To *EgressNetworkPolicyPeerApplyConfiguration `json:"to,omitempty"` }
EgressNetworkPolicyRuleApplyConfiguration represents an declarative configuration of the EgressNetworkPolicyRule type for use with apply.
func EgressNetworkPolicyRule ¶
func EgressNetworkPolicyRule() *EgressNetworkPolicyRuleApplyConfiguration
EgressNetworkPolicyRuleApplyConfiguration constructs an declarative configuration of the EgressNetworkPolicyRule type for use with apply.
func (*EgressNetworkPolicyRuleApplyConfiguration) WithTo ¶
func (b *EgressNetworkPolicyRuleApplyConfiguration) WithTo(value *EgressNetworkPolicyPeerApplyConfiguration) *EgressNetworkPolicyRuleApplyConfiguration
WithTo sets the To 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 To field is set to the value of the last call.
func (*EgressNetworkPolicyRuleApplyConfiguration) WithType ¶
func (b *EgressNetworkPolicyRuleApplyConfiguration) WithType(value v1.EgressNetworkPolicyRuleType) *EgressNetworkPolicyRuleApplyConfiguration
WithType sets the Type 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 Type field is set to the value of the last call.
type EgressNetworkPolicySpecApplyConfiguration ¶
type EgressNetworkPolicySpecApplyConfiguration struct {
Egress []EgressNetworkPolicyRuleApplyConfiguration `json:"egress,omitempty"`
}
EgressNetworkPolicySpecApplyConfiguration represents an declarative configuration of the EgressNetworkPolicySpec type for use with apply.
func EgressNetworkPolicySpec ¶
func EgressNetworkPolicySpec() *EgressNetworkPolicySpecApplyConfiguration
EgressNetworkPolicySpecApplyConfiguration constructs an declarative configuration of the EgressNetworkPolicySpec type for use with apply.
func (*EgressNetworkPolicySpecApplyConfiguration) WithEgress ¶
func (b *EgressNetworkPolicySpecApplyConfiguration) WithEgress(values ...*EgressNetworkPolicyRuleApplyConfiguration) *EgressNetworkPolicySpecApplyConfiguration
WithEgress adds the given value to the Egress 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 Egress field.
type HostSubnetApplyConfiguration ¶
type HostSubnetApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Host *string `json:"host,omitempty"` HostIP *string `json:"hostIP,omitempty"` Subnet *string `json:"subnet,omitempty"` EgressIPs []networkv1.HostSubnetEgressIP `json:"egressIPs,omitempty"` EgressCIDRs []networkv1.HostSubnetEgressCIDR `json:"egressCIDRs,omitempty"` }
HostSubnetApplyConfiguration represents an declarative configuration of the HostSubnet type for use with apply.
func ExtractHostSubnet ¶
func ExtractHostSubnet(hostSubnet *networkv1.HostSubnet, fieldManager string) (*HostSubnetApplyConfiguration, error)
ExtractHostSubnet extracts the applied configuration owned by fieldManager from hostSubnet. If no managedFields are found in hostSubnet for fieldManager, a HostSubnetApplyConfiguration 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. hostSubnet must be a unmodified HostSubnet API object that was retrieved from the Kubernetes API. ExtractHostSubnet 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 ExtractHostSubnetStatus ¶
func ExtractHostSubnetStatus(hostSubnet *networkv1.HostSubnet, fieldManager string) (*HostSubnetApplyConfiguration, error)
ExtractHostSubnetStatus is the same as ExtractHostSubnet except that it extracts the status subresource applied configuration. Experimental!
func HostSubnet ¶
func HostSubnet(name string) *HostSubnetApplyConfiguration
HostSubnet constructs an declarative configuration of the HostSubnet type for use with apply.
func (*HostSubnetApplyConfiguration) WithAPIVersion ¶
func (b *HostSubnetApplyConfiguration) WithAPIVersion(value string) *HostSubnetApplyConfiguration
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 (*HostSubnetApplyConfiguration) WithAnnotations ¶
func (b *HostSubnetApplyConfiguration) WithAnnotations(entries map[string]string) *HostSubnetApplyConfiguration
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 (*HostSubnetApplyConfiguration) WithCreationTimestamp ¶
func (b *HostSubnetApplyConfiguration) WithCreationTimestamp(value metav1.Time) *HostSubnetApplyConfiguration
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 (*HostSubnetApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *HostSubnetApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *HostSubnetApplyConfiguration
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 (*HostSubnetApplyConfiguration) WithDeletionTimestamp ¶
func (b *HostSubnetApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *HostSubnetApplyConfiguration
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 (*HostSubnetApplyConfiguration) WithEgressCIDRs ¶
func (b *HostSubnetApplyConfiguration) WithEgressCIDRs(values ...networkv1.HostSubnetEgressCIDR) *HostSubnetApplyConfiguration
WithEgressCIDRs adds the given value to the EgressCIDRs 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 EgressCIDRs field.
func (*HostSubnetApplyConfiguration) WithEgressIPs ¶
func (b *HostSubnetApplyConfiguration) WithEgressIPs(values ...networkv1.HostSubnetEgressIP) *HostSubnetApplyConfiguration
WithEgressIPs adds the given value to the EgressIPs 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 EgressIPs field.
func (*HostSubnetApplyConfiguration) WithFinalizers ¶
func (b *HostSubnetApplyConfiguration) WithFinalizers(values ...string) *HostSubnetApplyConfiguration
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 (*HostSubnetApplyConfiguration) WithGenerateName ¶
func (b *HostSubnetApplyConfiguration) WithGenerateName(value string) *HostSubnetApplyConfiguration
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 (*HostSubnetApplyConfiguration) WithGeneration ¶
func (b *HostSubnetApplyConfiguration) WithGeneration(value int64) *HostSubnetApplyConfiguration
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 (*HostSubnetApplyConfiguration) WithHost ¶
func (b *HostSubnetApplyConfiguration) WithHost(value string) *HostSubnetApplyConfiguration
WithHost sets the Host 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 Host field is set to the value of the last call.
func (*HostSubnetApplyConfiguration) WithHostIP ¶
func (b *HostSubnetApplyConfiguration) WithHostIP(value string) *HostSubnetApplyConfiguration
WithHostIP sets the HostIP 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 HostIP field is set to the value of the last call.
func (*HostSubnetApplyConfiguration) WithKind ¶
func (b *HostSubnetApplyConfiguration) WithKind(value string) *HostSubnetApplyConfiguration
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 (*HostSubnetApplyConfiguration) WithLabels ¶
func (b *HostSubnetApplyConfiguration) WithLabels(entries map[string]string) *HostSubnetApplyConfiguration
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 (*HostSubnetApplyConfiguration) WithName ¶
func (b *HostSubnetApplyConfiguration) WithName(value string) *HostSubnetApplyConfiguration
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 (*HostSubnetApplyConfiguration) WithNamespace ¶
func (b *HostSubnetApplyConfiguration) WithNamespace(value string) *HostSubnetApplyConfiguration
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 (*HostSubnetApplyConfiguration) WithOwnerReferences ¶
func (b *HostSubnetApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *HostSubnetApplyConfiguration
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 (*HostSubnetApplyConfiguration) WithResourceVersion ¶
func (b *HostSubnetApplyConfiguration) WithResourceVersion(value string) *HostSubnetApplyConfiguration
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 (*HostSubnetApplyConfiguration) WithSubnet ¶
func (b *HostSubnetApplyConfiguration) WithSubnet(value string) *HostSubnetApplyConfiguration
WithSubnet sets the Subnet 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 Subnet field is set to the value of the last call.
func (*HostSubnetApplyConfiguration) WithUID ¶
func (b *HostSubnetApplyConfiguration) WithUID(value types.UID) *HostSubnetApplyConfiguration
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 NetNamespaceApplyConfiguration ¶
type NetNamespaceApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` NetName *string `json:"netname,omitempty"` NetID *uint32 `json:"netid,omitempty"` EgressIPs []networkv1.NetNamespaceEgressIP `json:"egressIPs,omitempty"` }
NetNamespaceApplyConfiguration represents an declarative configuration of the NetNamespace type for use with apply.
func ExtractNetNamespace ¶
func ExtractNetNamespace(netNamespace *networkv1.NetNamespace, fieldManager string) (*NetNamespaceApplyConfiguration, error)
ExtractNetNamespace extracts the applied configuration owned by fieldManager from netNamespace. If no managedFields are found in netNamespace for fieldManager, a NetNamespaceApplyConfiguration 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. netNamespace must be a unmodified NetNamespace API object that was retrieved from the Kubernetes API. ExtractNetNamespace 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 ExtractNetNamespaceStatus ¶
func ExtractNetNamespaceStatus(netNamespace *networkv1.NetNamespace, fieldManager string) (*NetNamespaceApplyConfiguration, error)
ExtractNetNamespaceStatus is the same as ExtractNetNamespace except that it extracts the status subresource applied configuration. Experimental!
func NetNamespace ¶
func NetNamespace(name string) *NetNamespaceApplyConfiguration
NetNamespace constructs an declarative configuration of the NetNamespace type for use with apply.
func (*NetNamespaceApplyConfiguration) WithAPIVersion ¶
func (b *NetNamespaceApplyConfiguration) WithAPIVersion(value string) *NetNamespaceApplyConfiguration
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 (*NetNamespaceApplyConfiguration) WithAnnotations ¶
func (b *NetNamespaceApplyConfiguration) WithAnnotations(entries map[string]string) *NetNamespaceApplyConfiguration
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 (*NetNamespaceApplyConfiguration) WithCreationTimestamp ¶
func (b *NetNamespaceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NetNamespaceApplyConfiguration
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 (*NetNamespaceApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *NetNamespaceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NetNamespaceApplyConfiguration
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 (*NetNamespaceApplyConfiguration) WithDeletionTimestamp ¶
func (b *NetNamespaceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NetNamespaceApplyConfiguration
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 (*NetNamespaceApplyConfiguration) WithEgressIPs ¶
func (b *NetNamespaceApplyConfiguration) WithEgressIPs(values ...networkv1.NetNamespaceEgressIP) *NetNamespaceApplyConfiguration
WithEgressIPs adds the given value to the EgressIPs 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 EgressIPs field.
func (*NetNamespaceApplyConfiguration) WithFinalizers ¶
func (b *NetNamespaceApplyConfiguration) WithFinalizers(values ...string) *NetNamespaceApplyConfiguration
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 (*NetNamespaceApplyConfiguration) WithGenerateName ¶
func (b *NetNamespaceApplyConfiguration) WithGenerateName(value string) *NetNamespaceApplyConfiguration
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 (*NetNamespaceApplyConfiguration) WithGeneration ¶
func (b *NetNamespaceApplyConfiguration) WithGeneration(value int64) *NetNamespaceApplyConfiguration
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 (*NetNamespaceApplyConfiguration) WithKind ¶
func (b *NetNamespaceApplyConfiguration) WithKind(value string) *NetNamespaceApplyConfiguration
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 (*NetNamespaceApplyConfiguration) WithLabels ¶
func (b *NetNamespaceApplyConfiguration) WithLabels(entries map[string]string) *NetNamespaceApplyConfiguration
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 (*NetNamespaceApplyConfiguration) WithName ¶
func (b *NetNamespaceApplyConfiguration) WithName(value string) *NetNamespaceApplyConfiguration
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 (*NetNamespaceApplyConfiguration) WithNamespace ¶
func (b *NetNamespaceApplyConfiguration) WithNamespace(value string) *NetNamespaceApplyConfiguration
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 (*NetNamespaceApplyConfiguration) WithNetID ¶
func (b *NetNamespaceApplyConfiguration) WithNetID(value uint32) *NetNamespaceApplyConfiguration
WithNetID sets the NetID 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 NetID field is set to the value of the last call.
func (*NetNamespaceApplyConfiguration) WithNetName ¶
func (b *NetNamespaceApplyConfiguration) WithNetName(value string) *NetNamespaceApplyConfiguration
WithNetName sets the NetName 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 NetName field is set to the value of the last call.
func (*NetNamespaceApplyConfiguration) WithOwnerReferences ¶
func (b *NetNamespaceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NetNamespaceApplyConfiguration
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 (*NetNamespaceApplyConfiguration) WithResourceVersion ¶
func (b *NetNamespaceApplyConfiguration) WithResourceVersion(value string) *NetNamespaceApplyConfiguration
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 (*NetNamespaceApplyConfiguration) WithUID ¶
func (b *NetNamespaceApplyConfiguration) WithUID(value types.UID) *NetNamespaceApplyConfiguration
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.