Documentation
¶
Index ¶
- type AffinityApplyConfiguration
- type DaemonSetApplyConfiguration
- func DaemonSet(name, namespace string) *DaemonSetApplyConfiguration
- func ExtractDaemonSet(daemonSet *corev1alpha1.DaemonSet, fieldManager string) (*DaemonSetApplyConfiguration, error)
- func ExtractDaemonSetStatus(daemonSet *corev1alpha1.DaemonSet, fieldManager string) (*DaemonSetApplyConfiguration, error)
- func (b *DaemonSetApplyConfiguration) WithAPIVersion(value string) *DaemonSetApplyConfiguration
- func (b *DaemonSetApplyConfiguration) WithAnnotations(entries map[string]string) *DaemonSetApplyConfiguration
- func (b *DaemonSetApplyConfiguration) WithCreationTimestamp(value metav1.Time) *DaemonSetApplyConfiguration
- func (b *DaemonSetApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *DaemonSetApplyConfiguration
- func (b *DaemonSetApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *DaemonSetApplyConfiguration
- func (b *DaemonSetApplyConfiguration) WithFinalizers(values ...string) *DaemonSetApplyConfiguration
- func (b *DaemonSetApplyConfiguration) WithGenerateName(value string) *DaemonSetApplyConfiguration
- func (b *DaemonSetApplyConfiguration) WithGeneration(value int64) *DaemonSetApplyConfiguration
- func (b *DaemonSetApplyConfiguration) WithKind(value string) *DaemonSetApplyConfiguration
- func (b *DaemonSetApplyConfiguration) WithLabels(entries map[string]string) *DaemonSetApplyConfiguration
- func (b *DaemonSetApplyConfiguration) WithName(value string) *DaemonSetApplyConfiguration
- func (b *DaemonSetApplyConfiguration) WithNamespace(value string) *DaemonSetApplyConfiguration
- func (b *DaemonSetApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *DaemonSetApplyConfiguration
- func (b *DaemonSetApplyConfiguration) WithResourceVersion(value string) *DaemonSetApplyConfiguration
- func (b *DaemonSetApplyConfiguration) WithSpec(value *DaemonSetSpecApplyConfiguration) *DaemonSetApplyConfiguration
- func (b *DaemonSetApplyConfiguration) WithStatus(value *DaemonSetStatusApplyConfiguration) *DaemonSetApplyConfiguration
- func (b *DaemonSetApplyConfiguration) WithUID(value types.UID) *DaemonSetApplyConfiguration
- type DaemonSetSpecApplyConfiguration
- type DaemonSetStatusApplyConfiguration
- type IPAddressApplyConfiguration
- func (b *IPAddressApplyConfiguration) WithAPIVersion(value string) *IPAddressApplyConfiguration
- func (b *IPAddressApplyConfiguration) WithAnnotations(entries map[string]string) *IPAddressApplyConfiguration
- func (b *IPAddressApplyConfiguration) WithCreationTimestamp(value metav1.Time) *IPAddressApplyConfiguration
- func (b *IPAddressApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *IPAddressApplyConfiguration
- func (b *IPAddressApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *IPAddressApplyConfiguration
- func (b *IPAddressApplyConfiguration) WithFinalizers(values ...string) *IPAddressApplyConfiguration
- func (b *IPAddressApplyConfiguration) WithGenerateName(value string) *IPAddressApplyConfiguration
- func (b *IPAddressApplyConfiguration) WithGeneration(value int64) *IPAddressApplyConfiguration
- func (b *IPAddressApplyConfiguration) WithKind(value string) *IPAddressApplyConfiguration
- func (b *IPAddressApplyConfiguration) WithLabels(entries map[string]string) *IPAddressApplyConfiguration
- func (b *IPAddressApplyConfiguration) WithName(value string) *IPAddressApplyConfiguration
- func (b *IPAddressApplyConfiguration) WithNamespace(value string) *IPAddressApplyConfiguration
- func (b *IPAddressApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *IPAddressApplyConfiguration
- func (b *IPAddressApplyConfiguration) WithResourceVersion(value string) *IPAddressApplyConfiguration
- func (b *IPAddressApplyConfiguration) WithSpec(value *IPAddressSpecApplyConfiguration) *IPAddressApplyConfiguration
- func (b *IPAddressApplyConfiguration) WithUID(value types.UID) *IPAddressApplyConfiguration
- type IPAddressClaimRefApplyConfiguration
- func (b *IPAddressClaimRefApplyConfiguration) WithGroup(value string) *IPAddressClaimRefApplyConfiguration
- func (b *IPAddressClaimRefApplyConfiguration) WithName(value string) *IPAddressClaimRefApplyConfiguration
- func (b *IPAddressClaimRefApplyConfiguration) WithNamespace(value string) *IPAddressClaimRefApplyConfiguration
- func (b *IPAddressClaimRefApplyConfiguration) WithResource(value string) *IPAddressClaimRefApplyConfiguration
- func (b *IPAddressClaimRefApplyConfiguration) WithUID(value types.UID) *IPAddressClaimRefApplyConfiguration
- type IPAddressSpecApplyConfiguration
- type IPApplyConfiguration
- func (b *IPApplyConfiguration) WithAPIVersion(value string) *IPApplyConfiguration
- func (b *IPApplyConfiguration) WithAnnotations(entries map[string]string) *IPApplyConfiguration
- func (b *IPApplyConfiguration) WithCreationTimestamp(value metav1.Time) *IPApplyConfiguration
- func (b *IPApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *IPApplyConfiguration
- func (b *IPApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *IPApplyConfiguration
- func (b *IPApplyConfiguration) WithFinalizers(values ...string) *IPApplyConfiguration
- func (b *IPApplyConfiguration) WithGenerateName(value string) *IPApplyConfiguration
- func (b *IPApplyConfiguration) WithGeneration(value int64) *IPApplyConfiguration
- func (b *IPApplyConfiguration) WithKind(value string) *IPApplyConfiguration
- func (b *IPApplyConfiguration) WithLabels(entries map[string]string) *IPApplyConfiguration
- func (b *IPApplyConfiguration) WithName(value string) *IPApplyConfiguration
- func (b *IPApplyConfiguration) WithNamespace(value string) *IPApplyConfiguration
- func (b *IPApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *IPApplyConfiguration
- func (b *IPApplyConfiguration) WithResourceVersion(value string) *IPApplyConfiguration
- func (b *IPApplyConfiguration) WithSpec(value *IPSpecApplyConfiguration) *IPApplyConfiguration
- func (b *IPApplyConfiguration) WithStatus(value corev1alpha1.IPStatus) *IPApplyConfiguration
- func (b *IPApplyConfiguration) WithUID(value types.UID) *IPApplyConfiguration
- type IPBlockApplyConfiguration
- type IPClaimRefApplyConfiguration
- func (b *IPClaimRefApplyConfiguration) WithGroup(value string) *IPClaimRefApplyConfiguration
- func (b *IPClaimRefApplyConfiguration) WithName(value string) *IPClaimRefApplyConfiguration
- func (b *IPClaimRefApplyConfiguration) WithResource(value string) *IPClaimRefApplyConfiguration
- func (b *IPClaimRefApplyConfiguration) WithUID(value types.UID) *IPClaimRefApplyConfiguration
- type IPSpecApplyConfiguration
- func (b *IPSpecApplyConfiguration) WithClaimRef(value *IPClaimRefApplyConfiguration) *IPSpecApplyConfiguration
- func (b *IPSpecApplyConfiguration) WithIP(value net.IP) *IPSpecApplyConfiguration
- func (b *IPSpecApplyConfiguration) WithIPFamily(value v1.IPFamily) *IPSpecApplyConfiguration
- func (b *IPSpecApplyConfiguration) WithType(value v1alpha1.IPType) *IPSpecApplyConfiguration
- type InstanceAffinityTermApplyConfiguration
- type InstanceAntiAffinityApplyConfiguration
- type InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithAPIVersion(value string) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithAnnotations(entries map[string]string) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithFinalizers(values ...string) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithGenerateName(value string) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithGeneration(value int64) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithKind(value string) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithLabels(entries map[string]string) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithName(value string) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithNamespace(value string) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithResourceVersion(value string) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithSpec(value *InstanceSpecApplyConfiguration) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithStatus(value *InstanceStatusApplyConfiguration) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithUID(value types.UID) *InstanceApplyConfiguration
- type InstanceSpecApplyConfiguration
- func (b *InstanceSpecApplyConfiguration) WithAffinity(value *AffinityApplyConfiguration) *InstanceSpecApplyConfiguration
- func (b *InstanceSpecApplyConfiguration) WithIPs(values ...net.IP) *InstanceSpecApplyConfiguration
- func (b *InstanceSpecApplyConfiguration) WithLoadBalancerPorts(values ...*LoadBalancerPortApplyConfiguration) *InstanceSpecApplyConfiguration
- func (b *InstanceSpecApplyConfiguration) WithLoadBalancerType(value v1alpha1.LoadBalancerType) *InstanceSpecApplyConfiguration
- func (b *InstanceSpecApplyConfiguration) WithNetworkRef(value v1.LocalObjectReference) *InstanceSpecApplyConfiguration
- func (b *InstanceSpecApplyConfiguration) WithNodeRef(value v1.LocalObjectReference) *InstanceSpecApplyConfiguration
- func (b *InstanceSpecApplyConfiguration) WithTopologySpreadConstraints(values ...*TopologySpreadConstraintApplyConfiguration) *InstanceSpecApplyConfiguration
- func (b *InstanceSpecApplyConfiguration) WithType(value v1alpha1.InstanceType) *InstanceSpecApplyConfiguration
- type InstanceStatusApplyConfiguration
- type InstanceTemplateApplyConfiguration
- func (b *InstanceTemplateApplyConfiguration) WithAnnotations(entries map[string]string) *InstanceTemplateApplyConfiguration
- func (b *InstanceTemplateApplyConfiguration) WithCreationTimestamp(value metav1.Time) *InstanceTemplateApplyConfiguration
- func (b *InstanceTemplateApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *InstanceTemplateApplyConfiguration
- func (b *InstanceTemplateApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *InstanceTemplateApplyConfiguration
- func (b *InstanceTemplateApplyConfiguration) WithFinalizers(values ...string) *InstanceTemplateApplyConfiguration
- func (b *InstanceTemplateApplyConfiguration) WithGenerateName(value string) *InstanceTemplateApplyConfiguration
- func (b *InstanceTemplateApplyConfiguration) WithGeneration(value int64) *InstanceTemplateApplyConfiguration
- func (b *InstanceTemplateApplyConfiguration) WithLabels(entries map[string]string) *InstanceTemplateApplyConfiguration
- func (b *InstanceTemplateApplyConfiguration) WithName(value string) *InstanceTemplateApplyConfiguration
- func (b *InstanceTemplateApplyConfiguration) WithNamespace(value string) *InstanceTemplateApplyConfiguration
- func (b *InstanceTemplateApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *InstanceTemplateApplyConfiguration
- func (b *InstanceTemplateApplyConfiguration) WithResourceVersion(value string) *InstanceTemplateApplyConfiguration
- func (b *InstanceTemplateApplyConfiguration) WithSpec(value *InstanceSpecApplyConfiguration) *InstanceTemplateApplyConfiguration
- func (b *InstanceTemplateApplyConfiguration) WithUID(value types.UID) *InstanceTemplateApplyConfiguration
- type LoadBalancerApplyConfiguration
- func ExtractLoadBalancer(loadBalancer *corev1alpha1.LoadBalancer, fieldManager string) (*LoadBalancerApplyConfiguration, error)
- func ExtractLoadBalancerStatus(loadBalancer *corev1alpha1.LoadBalancer, fieldManager string) (*LoadBalancerApplyConfiguration, error)
- func LoadBalancer(name, namespace string) *LoadBalancerApplyConfiguration
- func (b *LoadBalancerApplyConfiguration) WithAPIVersion(value string) *LoadBalancerApplyConfiguration
- func (b *LoadBalancerApplyConfiguration) WithAnnotations(entries map[string]string) *LoadBalancerApplyConfiguration
- func (b *LoadBalancerApplyConfiguration) WithCreationTimestamp(value metav1.Time) *LoadBalancerApplyConfiguration
- func (b *LoadBalancerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *LoadBalancerApplyConfiguration
- func (b *LoadBalancerApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *LoadBalancerApplyConfiguration
- func (b *LoadBalancerApplyConfiguration) WithFinalizers(values ...string) *LoadBalancerApplyConfiguration
- func (b *LoadBalancerApplyConfiguration) WithGenerateName(value string) *LoadBalancerApplyConfiguration
- func (b *LoadBalancerApplyConfiguration) WithGeneration(value int64) *LoadBalancerApplyConfiguration
- func (b *LoadBalancerApplyConfiguration) WithKind(value string) *LoadBalancerApplyConfiguration
- func (b *LoadBalancerApplyConfiguration) WithLabels(entries map[string]string) *LoadBalancerApplyConfiguration
- func (b *LoadBalancerApplyConfiguration) WithName(value string) *LoadBalancerApplyConfiguration
- func (b *LoadBalancerApplyConfiguration) WithNamespace(value string) *LoadBalancerApplyConfiguration
- func (b *LoadBalancerApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *LoadBalancerApplyConfiguration
- func (b *LoadBalancerApplyConfiguration) WithResourceVersion(value string) *LoadBalancerApplyConfiguration
- func (b *LoadBalancerApplyConfiguration) WithSpec(value *LoadBalancerSpecApplyConfiguration) *LoadBalancerApplyConfiguration
- func (b *LoadBalancerApplyConfiguration) WithStatus(value *LoadBalancerStatusApplyConfiguration) *LoadBalancerApplyConfiguration
- func (b *LoadBalancerApplyConfiguration) WithUID(value types.UID) *LoadBalancerApplyConfiguration
- type LoadBalancerDestinationApplyConfiguration
- type LoadBalancerIPApplyConfiguration
- func (b *LoadBalancerIPApplyConfiguration) WithIP(value net.IP) *LoadBalancerIPApplyConfiguration
- func (b *LoadBalancerIPApplyConfiguration) WithIPFamily(value v1.IPFamily) *LoadBalancerIPApplyConfiguration
- func (b *LoadBalancerIPApplyConfiguration) WithName(value string) *LoadBalancerIPApplyConfiguration
- type LoadBalancerPortApplyConfiguration
- func (b *LoadBalancerPortApplyConfiguration) WithEndPort(value int32) *LoadBalancerPortApplyConfiguration
- func (b *LoadBalancerPortApplyConfiguration) WithPort(value int32) *LoadBalancerPortApplyConfiguration
- func (b *LoadBalancerPortApplyConfiguration) WithProtocol(value v1.Protocol) *LoadBalancerPortApplyConfiguration
- type LoadBalancerRoutingApplyConfiguration
- func ExtractLoadBalancerRouting(loadBalancerRouting *corev1alpha1.LoadBalancerRouting, fieldManager string) (*LoadBalancerRoutingApplyConfiguration, error)
- func ExtractLoadBalancerRoutingStatus(loadBalancerRouting *corev1alpha1.LoadBalancerRouting, fieldManager string) (*LoadBalancerRoutingApplyConfiguration, error)
- func LoadBalancerRouting(name, namespace string) *LoadBalancerRoutingApplyConfiguration
- func (b *LoadBalancerRoutingApplyConfiguration) WithAPIVersion(value string) *LoadBalancerRoutingApplyConfiguration
- func (b *LoadBalancerRoutingApplyConfiguration) WithAnnotations(entries map[string]string) *LoadBalancerRoutingApplyConfiguration
- func (b *LoadBalancerRoutingApplyConfiguration) WithCreationTimestamp(value metav1.Time) *LoadBalancerRoutingApplyConfiguration
- func (b *LoadBalancerRoutingApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *LoadBalancerRoutingApplyConfiguration
- func (b *LoadBalancerRoutingApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *LoadBalancerRoutingApplyConfiguration
- func (b *LoadBalancerRoutingApplyConfiguration) WithDestinations(values ...*LoadBalancerDestinationApplyConfiguration) *LoadBalancerRoutingApplyConfiguration
- func (b *LoadBalancerRoutingApplyConfiguration) WithFinalizers(values ...string) *LoadBalancerRoutingApplyConfiguration
- func (b *LoadBalancerRoutingApplyConfiguration) WithGenerateName(value string) *LoadBalancerRoutingApplyConfiguration
- func (b *LoadBalancerRoutingApplyConfiguration) WithGeneration(value int64) *LoadBalancerRoutingApplyConfiguration
- func (b *LoadBalancerRoutingApplyConfiguration) WithKind(value string) *LoadBalancerRoutingApplyConfiguration
- func (b *LoadBalancerRoutingApplyConfiguration) WithLabels(entries map[string]string) *LoadBalancerRoutingApplyConfiguration
- func (b *LoadBalancerRoutingApplyConfiguration) WithName(value string) *LoadBalancerRoutingApplyConfiguration
- func (b *LoadBalancerRoutingApplyConfiguration) WithNamespace(value string) *LoadBalancerRoutingApplyConfiguration
- func (b *LoadBalancerRoutingApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *LoadBalancerRoutingApplyConfiguration
- func (b *LoadBalancerRoutingApplyConfiguration) WithResourceVersion(value string) *LoadBalancerRoutingApplyConfiguration
- func (b *LoadBalancerRoutingApplyConfiguration) WithUID(value types.UID) *LoadBalancerRoutingApplyConfiguration
- type LoadBalancerSpecApplyConfiguration
- func (b *LoadBalancerSpecApplyConfiguration) WithIPs(values ...*LoadBalancerIPApplyConfiguration) *LoadBalancerSpecApplyConfiguration
- func (b *LoadBalancerSpecApplyConfiguration) WithNetworkRef(value v1.LocalObjectReference) *LoadBalancerSpecApplyConfiguration
- func (b *LoadBalancerSpecApplyConfiguration) WithPorts(values ...*LoadBalancerPortApplyConfiguration) *LoadBalancerSpecApplyConfiguration
- func (b *LoadBalancerSpecApplyConfiguration) WithSelector(value *metav1.LabelSelectorApplyConfiguration) *LoadBalancerSpecApplyConfiguration
- func (b *LoadBalancerSpecApplyConfiguration) WithTemplate(value *InstanceTemplateApplyConfiguration) *LoadBalancerSpecApplyConfiguration
- func (b *LoadBalancerSpecApplyConfiguration) WithType(value v1alpha1.LoadBalancerType) *LoadBalancerSpecApplyConfiguration
- type LoadBalancerStatusApplyConfiguration
- type LoadBalancerTargetRefApplyConfiguration
- func (b *LoadBalancerTargetRefApplyConfiguration) WithName(value string) *LoadBalancerTargetRefApplyConfiguration
- func (b *LoadBalancerTargetRefApplyConfiguration) WithNodeRef(value v1.LocalObjectReference) *LoadBalancerTargetRefApplyConfiguration
- func (b *LoadBalancerTargetRefApplyConfiguration) WithUID(value types.UID) *LoadBalancerTargetRefApplyConfiguration
- type LocalUIDReferenceApplyConfiguration
- type NATGatewayApplyConfiguration
- func ExtractNATGateway(nATGateway *corev1alpha1.NATGateway, fieldManager string) (*NATGatewayApplyConfiguration, error)
- func ExtractNATGatewayStatus(nATGateway *corev1alpha1.NATGateway, fieldManager string) (*NATGatewayApplyConfiguration, error)
- func NATGateway(name, namespace string) *NATGatewayApplyConfiguration
- func (b *NATGatewayApplyConfiguration) WithAPIVersion(value string) *NATGatewayApplyConfiguration
- func (b *NATGatewayApplyConfiguration) WithAnnotations(entries map[string]string) *NATGatewayApplyConfiguration
- func (b *NATGatewayApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NATGatewayApplyConfiguration
- func (b *NATGatewayApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NATGatewayApplyConfiguration
- func (b *NATGatewayApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NATGatewayApplyConfiguration
- func (b *NATGatewayApplyConfiguration) WithFinalizers(values ...string) *NATGatewayApplyConfiguration
- func (b *NATGatewayApplyConfiguration) WithGenerateName(value string) *NATGatewayApplyConfiguration
- func (b *NATGatewayApplyConfiguration) WithGeneration(value int64) *NATGatewayApplyConfiguration
- func (b *NATGatewayApplyConfiguration) WithKind(value string) *NATGatewayApplyConfiguration
- func (b *NATGatewayApplyConfiguration) WithLabels(entries map[string]string) *NATGatewayApplyConfiguration
- func (b *NATGatewayApplyConfiguration) WithName(value string) *NATGatewayApplyConfiguration
- func (b *NATGatewayApplyConfiguration) WithNamespace(value string) *NATGatewayApplyConfiguration
- func (b *NATGatewayApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NATGatewayApplyConfiguration
- func (b *NATGatewayApplyConfiguration) WithResourceVersion(value string) *NATGatewayApplyConfiguration
- func (b *NATGatewayApplyConfiguration) WithSpec(value *NATGatewaySpecApplyConfiguration) *NATGatewayApplyConfiguration
- func (b *NATGatewayApplyConfiguration) WithStatus(value *NATGatewayStatusApplyConfiguration) *NATGatewayApplyConfiguration
- func (b *NATGatewayApplyConfiguration) WithUID(value types.UID) *NATGatewayApplyConfiguration
- type NATGatewayAutoscalerApplyConfiguration
- func ExtractNATGatewayAutoscaler(nATGatewayAutoscaler *corev1alpha1.NATGatewayAutoscaler, fieldManager string) (*NATGatewayAutoscalerApplyConfiguration, error)
- func ExtractNATGatewayAutoscalerStatus(nATGatewayAutoscaler *corev1alpha1.NATGatewayAutoscaler, fieldManager string) (*NATGatewayAutoscalerApplyConfiguration, error)
- func NATGatewayAutoscaler(name, namespace string) *NATGatewayAutoscalerApplyConfiguration
- func (b *NATGatewayAutoscalerApplyConfiguration) WithAPIVersion(value string) *NATGatewayAutoscalerApplyConfiguration
- func (b *NATGatewayAutoscalerApplyConfiguration) WithAnnotations(entries map[string]string) *NATGatewayAutoscalerApplyConfiguration
- func (b *NATGatewayAutoscalerApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NATGatewayAutoscalerApplyConfiguration
- func (b *NATGatewayAutoscalerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NATGatewayAutoscalerApplyConfiguration
- func (b *NATGatewayAutoscalerApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NATGatewayAutoscalerApplyConfiguration
- func (b *NATGatewayAutoscalerApplyConfiguration) WithFinalizers(values ...string) *NATGatewayAutoscalerApplyConfiguration
- func (b *NATGatewayAutoscalerApplyConfiguration) WithGenerateName(value string) *NATGatewayAutoscalerApplyConfiguration
- func (b *NATGatewayAutoscalerApplyConfiguration) WithGeneration(value int64) *NATGatewayAutoscalerApplyConfiguration
- func (b *NATGatewayAutoscalerApplyConfiguration) WithKind(value string) *NATGatewayAutoscalerApplyConfiguration
- func (b *NATGatewayAutoscalerApplyConfiguration) WithLabels(entries map[string]string) *NATGatewayAutoscalerApplyConfiguration
- func (b *NATGatewayAutoscalerApplyConfiguration) WithName(value string) *NATGatewayAutoscalerApplyConfiguration
- func (b *NATGatewayAutoscalerApplyConfiguration) WithNamespace(value string) *NATGatewayAutoscalerApplyConfiguration
- func (b *NATGatewayAutoscalerApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NATGatewayAutoscalerApplyConfiguration
- func (b *NATGatewayAutoscalerApplyConfiguration) WithResourceVersion(value string) *NATGatewayAutoscalerApplyConfiguration
- func (b *NATGatewayAutoscalerApplyConfiguration) WithSpec(value *NATGatewayAutoscalerSpecApplyConfiguration) *NATGatewayAutoscalerApplyConfiguration
- func (b *NATGatewayAutoscalerApplyConfiguration) WithStatus(value corev1alpha1.NATGatewayAutoscalerStatus) *NATGatewayAutoscalerApplyConfiguration
- func (b *NATGatewayAutoscalerApplyConfiguration) WithUID(value types.UID) *NATGatewayAutoscalerApplyConfiguration
- type NATGatewayAutoscalerSpecApplyConfiguration
- func (b *NATGatewayAutoscalerSpecApplyConfiguration) WithMaxPublicIPs(value int32) *NATGatewayAutoscalerSpecApplyConfiguration
- func (b *NATGatewayAutoscalerSpecApplyConfiguration) WithMinPublicIPs(value int32) *NATGatewayAutoscalerSpecApplyConfiguration
- func (b *NATGatewayAutoscalerSpecApplyConfiguration) WithNATGatewayRef(value v1.LocalObjectReference) *NATGatewayAutoscalerSpecApplyConfiguration
- type NATGatewayIPApplyConfiguration
- type NATGatewaySpecApplyConfiguration
- func (b *NATGatewaySpecApplyConfiguration) WithIPFamily(value v1.IPFamily) *NATGatewaySpecApplyConfiguration
- func (b *NATGatewaySpecApplyConfiguration) WithIPs(values ...*NATGatewayIPApplyConfiguration) *NATGatewaySpecApplyConfiguration
- func (b *NATGatewaySpecApplyConfiguration) WithNetworkRef(value v1.LocalObjectReference) *NATGatewaySpecApplyConfiguration
- func (b *NATGatewaySpecApplyConfiguration) WithPortsPerNetworkInterface(value int32) *NATGatewaySpecApplyConfiguration
- type NATGatewayStatusApplyConfiguration
- type NATIPApplyConfiguration
- type NATIPSectionApplyConfiguration
- func (b *NATIPSectionApplyConfiguration) WithEndPort(value int32) *NATIPSectionApplyConfiguration
- func (b *NATIPSectionApplyConfiguration) WithIP(value net.IP) *NATIPSectionApplyConfiguration
- func (b *NATIPSectionApplyConfiguration) WithPort(value int32) *NATIPSectionApplyConfiguration
- func (b *NATIPSectionApplyConfiguration) WithTargetRef(value *NATTableIPTargetRefApplyConfiguration) *NATIPSectionApplyConfiguration
- type NATTableApplyConfiguration
- func (b *NATTableApplyConfiguration) WithAPIVersion(value string) *NATTableApplyConfiguration
- func (b *NATTableApplyConfiguration) WithAnnotations(entries map[string]string) *NATTableApplyConfiguration
- func (b *NATTableApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NATTableApplyConfiguration
- func (b *NATTableApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NATTableApplyConfiguration
- func (b *NATTableApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NATTableApplyConfiguration
- func (b *NATTableApplyConfiguration) WithFinalizers(values ...string) *NATTableApplyConfiguration
- func (b *NATTableApplyConfiguration) WithGenerateName(value string) *NATTableApplyConfiguration
- func (b *NATTableApplyConfiguration) WithGeneration(value int64) *NATTableApplyConfiguration
- func (b *NATTableApplyConfiguration) WithIPs(values ...*NATIPApplyConfiguration) *NATTableApplyConfiguration
- func (b *NATTableApplyConfiguration) WithKind(value string) *NATTableApplyConfiguration
- func (b *NATTableApplyConfiguration) WithLabels(entries map[string]string) *NATTableApplyConfiguration
- func (b *NATTableApplyConfiguration) WithName(value string) *NATTableApplyConfiguration
- func (b *NATTableApplyConfiguration) WithNamespace(value string) *NATTableApplyConfiguration
- func (b *NATTableApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NATTableApplyConfiguration
- func (b *NATTableApplyConfiguration) WithResourceVersion(value string) *NATTableApplyConfiguration
- func (b *NATTableApplyConfiguration) WithUID(value types.UID) *NATTableApplyConfiguration
- type NATTableIPTargetRefApplyConfiguration
- func (b *NATTableIPTargetRefApplyConfiguration) WithName(value string) *NATTableIPTargetRefApplyConfiguration
- func (b *NATTableIPTargetRefApplyConfiguration) WithNodeRef(value v1.LocalObjectReference) *NATTableIPTargetRefApplyConfiguration
- func (b *NATTableIPTargetRefApplyConfiguration) WithUID(value types.UID) *NATTableIPTargetRefApplyConfiguration
- type NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithAPIVersion(value string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithAnnotations(entries map[string]string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithFinalizers(values ...string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithGenerateName(value string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithGeneration(value int64) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithKind(value string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithLabels(entries map[string]string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithName(value string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithNamespace(value string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithResourceVersion(value string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithSpec(value *NetworkSpecApplyConfiguration) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithStatus(value *NetworkStatusApplyConfiguration) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithUID(value types.UID) *NetworkApplyConfiguration
- type NetworkIDApplyConfiguration
- func (b *NetworkIDApplyConfiguration) WithAPIVersion(value string) *NetworkIDApplyConfiguration
- func (b *NetworkIDApplyConfiguration) WithAnnotations(entries map[string]string) *NetworkIDApplyConfiguration
- func (b *NetworkIDApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NetworkIDApplyConfiguration
- func (b *NetworkIDApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NetworkIDApplyConfiguration
- func (b *NetworkIDApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NetworkIDApplyConfiguration
- func (b *NetworkIDApplyConfiguration) WithFinalizers(values ...string) *NetworkIDApplyConfiguration
- func (b *NetworkIDApplyConfiguration) WithGenerateName(value string) *NetworkIDApplyConfiguration
- func (b *NetworkIDApplyConfiguration) WithGeneration(value int64) *NetworkIDApplyConfiguration
- func (b *NetworkIDApplyConfiguration) WithKind(value string) *NetworkIDApplyConfiguration
- func (b *NetworkIDApplyConfiguration) WithLabels(entries map[string]string) *NetworkIDApplyConfiguration
- func (b *NetworkIDApplyConfiguration) WithName(value string) *NetworkIDApplyConfiguration
- func (b *NetworkIDApplyConfiguration) WithNamespace(value string) *NetworkIDApplyConfiguration
- func (b *NetworkIDApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NetworkIDApplyConfiguration
- func (b *NetworkIDApplyConfiguration) WithResourceVersion(value string) *NetworkIDApplyConfiguration
- func (b *NetworkIDApplyConfiguration) WithSpec(value *NetworkIDSpecApplyConfiguration) *NetworkIDApplyConfiguration
- func (b *NetworkIDApplyConfiguration) WithUID(value types.UID) *NetworkIDApplyConfiguration
- type NetworkIDClaimRefApplyConfiguration
- func (b *NetworkIDClaimRefApplyConfiguration) WithGroup(value string) *NetworkIDClaimRefApplyConfiguration
- func (b *NetworkIDClaimRefApplyConfiguration) WithName(value string) *NetworkIDClaimRefApplyConfiguration
- func (b *NetworkIDClaimRefApplyConfiguration) WithNamespace(value string) *NetworkIDClaimRefApplyConfiguration
- func (b *NetworkIDClaimRefApplyConfiguration) WithResource(value string) *NetworkIDClaimRefApplyConfiguration
- func (b *NetworkIDClaimRefApplyConfiguration) WithUID(value types.UID) *NetworkIDClaimRefApplyConfiguration
- type NetworkIDSpecApplyConfiguration
- type NetworkInterfaceApplyConfiguration
- func ExtractNetworkInterface(networkInterface *corev1alpha1.NetworkInterface, fieldManager string) (*NetworkInterfaceApplyConfiguration, error)
- func ExtractNetworkInterfaceStatus(networkInterface *corev1alpha1.NetworkInterface, fieldManager string) (*NetworkInterfaceApplyConfiguration, error)
- func NetworkInterface(name, namespace string) *NetworkInterfaceApplyConfiguration
- func (b *NetworkInterfaceApplyConfiguration) WithAPIVersion(value string) *NetworkInterfaceApplyConfiguration
- func (b *NetworkInterfaceApplyConfiguration) WithAnnotations(entries map[string]string) *NetworkInterfaceApplyConfiguration
- func (b *NetworkInterfaceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NetworkInterfaceApplyConfiguration
- func (b *NetworkInterfaceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NetworkInterfaceApplyConfiguration
- func (b *NetworkInterfaceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NetworkInterfaceApplyConfiguration
- func (b *NetworkInterfaceApplyConfiguration) WithFinalizers(values ...string) *NetworkInterfaceApplyConfiguration
- func (b *NetworkInterfaceApplyConfiguration) WithGenerateName(value string) *NetworkInterfaceApplyConfiguration
- func (b *NetworkInterfaceApplyConfiguration) WithGeneration(value int64) *NetworkInterfaceApplyConfiguration
- func (b *NetworkInterfaceApplyConfiguration) WithKind(value string) *NetworkInterfaceApplyConfiguration
- func (b *NetworkInterfaceApplyConfiguration) WithLabels(entries map[string]string) *NetworkInterfaceApplyConfiguration
- func (b *NetworkInterfaceApplyConfiguration) WithName(value string) *NetworkInterfaceApplyConfiguration
- func (b *NetworkInterfaceApplyConfiguration) WithNamespace(value string) *NetworkInterfaceApplyConfiguration
- func (b *NetworkInterfaceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NetworkInterfaceApplyConfiguration
- func (b *NetworkInterfaceApplyConfiguration) WithResourceVersion(value string) *NetworkInterfaceApplyConfiguration
- func (b *NetworkInterfaceApplyConfiguration) WithSpec(value *NetworkInterfaceSpecApplyConfiguration) *NetworkInterfaceApplyConfiguration
- func (b *NetworkInterfaceApplyConfiguration) WithStatus(value *NetworkInterfaceStatusApplyConfiguration) *NetworkInterfaceApplyConfiguration
- func (b *NetworkInterfaceApplyConfiguration) WithUID(value types.UID) *NetworkInterfaceApplyConfiguration
- type NetworkInterfaceNATApplyConfiguration
- type NetworkInterfaceNATClaimRefApplyConfiguration
- type NetworkInterfacePublicIPApplyConfiguration
- func (b *NetworkInterfacePublicIPApplyConfiguration) WithIP(value net.IP) *NetworkInterfacePublicIPApplyConfiguration
- func (b *NetworkInterfacePublicIPApplyConfiguration) WithIPFamily(value v1.IPFamily) *NetworkInterfacePublicIPApplyConfiguration
- func (b *NetworkInterfacePublicIPApplyConfiguration) WithName(value string) *NetworkInterfacePublicIPApplyConfiguration
- type NetworkInterfaceSpecApplyConfiguration
- func (b *NetworkInterfaceSpecApplyConfiguration) WithIPs(values ...net.IP) *NetworkInterfaceSpecApplyConfiguration
- func (b *NetworkInterfaceSpecApplyConfiguration) WithNATs(values ...*NetworkInterfaceNATApplyConfiguration) *NetworkInterfaceSpecApplyConfiguration
- func (b *NetworkInterfaceSpecApplyConfiguration) WithNetworkRef(value v1.LocalObjectReference) *NetworkInterfaceSpecApplyConfiguration
- func (b *NetworkInterfaceSpecApplyConfiguration) WithNodeRef(value v1.LocalObjectReference) *NetworkInterfaceSpecApplyConfiguration
- func (b *NetworkInterfaceSpecApplyConfiguration) WithPrefixes(values ...net.IPPrefix) *NetworkInterfaceSpecApplyConfiguration
- func (b *NetworkInterfaceSpecApplyConfiguration) WithPublicIPs(values ...*NetworkInterfacePublicIPApplyConfiguration) *NetworkInterfaceSpecApplyConfiguration
- type NetworkInterfaceStatusApplyConfiguration
- func (b *NetworkInterfaceStatusApplyConfiguration) WithNATIPs(values ...net.IP) *NetworkInterfaceStatusApplyConfiguration
- func (b *NetworkInterfaceStatusApplyConfiguration) WithPCIAddress(value *PCIAddressApplyConfiguration) *NetworkInterfaceStatusApplyConfiguration
- func (b *NetworkInterfaceStatusApplyConfiguration) WithPrefixes(values ...net.IPPrefix) *NetworkInterfaceStatusApplyConfiguration
- func (b *NetworkInterfaceStatusApplyConfiguration) WithPublicIPs(values ...net.IP) *NetworkInterfaceStatusApplyConfiguration
- func (b *NetworkInterfaceStatusApplyConfiguration) WithState(value v1alpha1.NetworkInterfaceState) *NetworkInterfaceStatusApplyConfiguration
- type NetworkPeeringApplyConfiguration
- func (b *NetworkPeeringApplyConfiguration) WithID(value string) *NetworkPeeringApplyConfiguration
- func (b *NetworkPeeringApplyConfiguration) WithName(value string) *NetworkPeeringApplyConfiguration
- func (b *NetworkPeeringApplyConfiguration) WithPrefixes(values ...*PeeringPrefixApplyConfiguration) *NetworkPeeringApplyConfiguration
- type NetworkPeeringStatusApplyConfiguration
- type NetworkPolicyApplyConfiguration
- func ExtractNetworkPolicy(networkPolicy *corev1alpha1.NetworkPolicy, fieldManager string) (*NetworkPolicyApplyConfiguration, error)
- func ExtractNetworkPolicyStatus(networkPolicy *corev1alpha1.NetworkPolicy, fieldManager string) (*NetworkPolicyApplyConfiguration, error)
- func NetworkPolicy(name, namespace string) *NetworkPolicyApplyConfiguration
- func (b *NetworkPolicyApplyConfiguration) WithAPIVersion(value string) *NetworkPolicyApplyConfiguration
- func (b *NetworkPolicyApplyConfiguration) WithAnnotations(entries map[string]string) *NetworkPolicyApplyConfiguration
- func (b *NetworkPolicyApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NetworkPolicyApplyConfiguration
- func (b *NetworkPolicyApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NetworkPolicyApplyConfiguration
- func (b *NetworkPolicyApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NetworkPolicyApplyConfiguration
- func (b *NetworkPolicyApplyConfiguration) WithFinalizers(values ...string) *NetworkPolicyApplyConfiguration
- func (b *NetworkPolicyApplyConfiguration) WithGenerateName(value string) *NetworkPolicyApplyConfiguration
- func (b *NetworkPolicyApplyConfiguration) WithGeneration(value int64) *NetworkPolicyApplyConfiguration
- func (b *NetworkPolicyApplyConfiguration) WithKind(value string) *NetworkPolicyApplyConfiguration
- func (b *NetworkPolicyApplyConfiguration) WithLabels(entries map[string]string) *NetworkPolicyApplyConfiguration
- func (b *NetworkPolicyApplyConfiguration) WithName(value string) *NetworkPolicyApplyConfiguration
- func (b *NetworkPolicyApplyConfiguration) WithNamespace(value string) *NetworkPolicyApplyConfiguration
- func (b *NetworkPolicyApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NetworkPolicyApplyConfiguration
- func (b *NetworkPolicyApplyConfiguration) WithResourceVersion(value string) *NetworkPolicyApplyConfiguration
- func (b *NetworkPolicyApplyConfiguration) WithSpec(value *NetworkPolicySpecApplyConfiguration) *NetworkPolicyApplyConfiguration
- func (b *NetworkPolicyApplyConfiguration) WithUID(value types.UID) *NetworkPolicyApplyConfiguration
- type NetworkPolicyEgressRuleApplyConfiguration
- func (b *NetworkPolicyEgressRuleApplyConfiguration) WithPorts(values ...*NetworkPolicyPortApplyConfiguration) *NetworkPolicyEgressRuleApplyConfiguration
- func (b *NetworkPolicyEgressRuleApplyConfiguration) WithTo(values ...*NetworkPolicyPeerApplyConfiguration) *NetworkPolicyEgressRuleApplyConfiguration
- type NetworkPolicyIngressRuleApplyConfiguration
- func (b *NetworkPolicyIngressRuleApplyConfiguration) WithFrom(values ...*NetworkPolicyPeerApplyConfiguration) *NetworkPolicyIngressRuleApplyConfiguration
- func (b *NetworkPolicyIngressRuleApplyConfiguration) WithPorts(values ...*NetworkPolicyPortApplyConfiguration) *NetworkPolicyIngressRuleApplyConfiguration
- type NetworkPolicyPeerApplyConfiguration
- type NetworkPolicyPortApplyConfiguration
- func (b *NetworkPolicyPortApplyConfiguration) WithEndPort(value int32) *NetworkPolicyPortApplyConfiguration
- func (b *NetworkPolicyPortApplyConfiguration) WithPort(value int32) *NetworkPolicyPortApplyConfiguration
- func (b *NetworkPolicyPortApplyConfiguration) WithProtocol(value v1.Protocol) *NetworkPolicyPortApplyConfiguration
- type NetworkPolicyRuleApplyConfiguration
- func ExtractNetworkPolicyRule(networkPolicyRule *corev1alpha1.NetworkPolicyRule, fieldManager string) (*NetworkPolicyRuleApplyConfiguration, error)
- func ExtractNetworkPolicyRuleStatus(networkPolicyRule *corev1alpha1.NetworkPolicyRule, fieldManager string) (*NetworkPolicyRuleApplyConfiguration, error)
- func NetworkPolicyRule(name, namespace string) *NetworkPolicyRuleApplyConfiguration
- func (b *NetworkPolicyRuleApplyConfiguration) WithAPIVersion(value string) *NetworkPolicyRuleApplyConfiguration
- func (b *NetworkPolicyRuleApplyConfiguration) WithAnnotations(entries map[string]string) *NetworkPolicyRuleApplyConfiguration
- func (b *NetworkPolicyRuleApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NetworkPolicyRuleApplyConfiguration
- func (b *NetworkPolicyRuleApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NetworkPolicyRuleApplyConfiguration
- func (b *NetworkPolicyRuleApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NetworkPolicyRuleApplyConfiguration
- func (b *NetworkPolicyRuleApplyConfiguration) WithEgressRules(values ...*RuleApplyConfiguration) *NetworkPolicyRuleApplyConfiguration
- func (b *NetworkPolicyRuleApplyConfiguration) WithFinalizers(values ...string) *NetworkPolicyRuleApplyConfiguration
- func (b *NetworkPolicyRuleApplyConfiguration) WithGenerateName(value string) *NetworkPolicyRuleApplyConfiguration
- func (b *NetworkPolicyRuleApplyConfiguration) WithGeneration(value int64) *NetworkPolicyRuleApplyConfiguration
- func (b *NetworkPolicyRuleApplyConfiguration) WithIngressRules(values ...*RuleApplyConfiguration) *NetworkPolicyRuleApplyConfiguration
- func (b *NetworkPolicyRuleApplyConfiguration) WithKind(value string) *NetworkPolicyRuleApplyConfiguration
- func (b *NetworkPolicyRuleApplyConfiguration) WithLabels(entries map[string]string) *NetworkPolicyRuleApplyConfiguration
- func (b *NetworkPolicyRuleApplyConfiguration) WithName(value string) *NetworkPolicyRuleApplyConfiguration
- func (b *NetworkPolicyRuleApplyConfiguration) WithNamespace(value string) *NetworkPolicyRuleApplyConfiguration
- func (b *NetworkPolicyRuleApplyConfiguration) WithNetworkRef(value *LocalUIDReferenceApplyConfiguration) *NetworkPolicyRuleApplyConfiguration
- func (b *NetworkPolicyRuleApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NetworkPolicyRuleApplyConfiguration
- func (b *NetworkPolicyRuleApplyConfiguration) WithPriority(value int32) *NetworkPolicyRuleApplyConfiguration
- func (b *NetworkPolicyRuleApplyConfiguration) WithResourceVersion(value string) *NetworkPolicyRuleApplyConfiguration
- func (b *NetworkPolicyRuleApplyConfiguration) WithTargets(values ...*TargetNetworkInterfaceApplyConfiguration) *NetworkPolicyRuleApplyConfiguration
- func (b *NetworkPolicyRuleApplyConfiguration) WithUID(value types.UID) *NetworkPolicyRuleApplyConfiguration
- type NetworkPolicySpecApplyConfiguration
- func (b *NetworkPolicySpecApplyConfiguration) WithEgress(values ...*NetworkPolicyEgressRuleApplyConfiguration) *NetworkPolicySpecApplyConfiguration
- func (b *NetworkPolicySpecApplyConfiguration) WithIngress(values ...*NetworkPolicyIngressRuleApplyConfiguration) *NetworkPolicySpecApplyConfiguration
- func (b *NetworkPolicySpecApplyConfiguration) WithNetworkInterfaceSelector(value *metav1.LabelSelectorApplyConfiguration) *NetworkPolicySpecApplyConfiguration
- func (b *NetworkPolicySpecApplyConfiguration) WithNetworkRef(value v1.LocalObjectReference) *NetworkPolicySpecApplyConfiguration
- func (b *NetworkPolicySpecApplyConfiguration) WithPolicyTypes(values ...corev1alpha1.PolicyType) *NetworkPolicySpecApplyConfiguration
- func (b *NetworkPolicySpecApplyConfiguration) WithPriority(value int32) *NetworkPolicySpecApplyConfiguration
- type NetworkPolicyTargetRefApplyConfiguration
- type NetworkSpecApplyConfiguration
- type NetworkStatusApplyConfiguration
- type NodeAffinityApplyConfiguration
- type NodeApplyConfiguration
- func (b *NodeApplyConfiguration) WithAPIVersion(value string) *NodeApplyConfiguration
- func (b *NodeApplyConfiguration) WithAnnotations(entries map[string]string) *NodeApplyConfiguration
- func (b *NodeApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NodeApplyConfiguration
- func (b *NodeApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NodeApplyConfiguration
- func (b *NodeApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NodeApplyConfiguration
- func (b *NodeApplyConfiguration) WithFinalizers(values ...string) *NodeApplyConfiguration
- func (b *NodeApplyConfiguration) WithGenerateName(value string) *NodeApplyConfiguration
- func (b *NodeApplyConfiguration) WithGeneration(value int64) *NodeApplyConfiguration
- func (b *NodeApplyConfiguration) WithKind(value string) *NodeApplyConfiguration
- func (b *NodeApplyConfiguration) WithLabels(entries map[string]string) *NodeApplyConfiguration
- func (b *NodeApplyConfiguration) WithName(value string) *NodeApplyConfiguration
- func (b *NodeApplyConfiguration) WithNamespace(value string) *NodeApplyConfiguration
- func (b *NodeApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NodeApplyConfiguration
- func (b *NodeApplyConfiguration) WithResourceVersion(value string) *NodeApplyConfiguration
- func (b *NodeApplyConfiguration) WithSpec(value v1alpha1.NodeSpec) *NodeApplyConfiguration
- func (b *NodeApplyConfiguration) WithStatus(value v1alpha1.NodeStatus) *NodeApplyConfiguration
- func (b *NodeApplyConfiguration) WithUID(value types.UID) *NodeApplyConfiguration
- type NodeSelectorApplyConfiguration
- type NodeSelectorRequirementApplyConfiguration
- func (b *NodeSelectorRequirementApplyConfiguration) WithKey(value string) *NodeSelectorRequirementApplyConfiguration
- func (b *NodeSelectorRequirementApplyConfiguration) WithOperator(value v1alpha1.NodeSelectorOperator) *NodeSelectorRequirementApplyConfiguration
- func (b *NodeSelectorRequirementApplyConfiguration) WithValues(values ...string) *NodeSelectorRequirementApplyConfiguration
- type NodeSelectorTermApplyConfiguration
- func (b *NodeSelectorTermApplyConfiguration) WithMatchExpressions(values ...*NodeSelectorRequirementApplyConfiguration) *NodeSelectorTermApplyConfiguration
- func (b *NodeSelectorTermApplyConfiguration) WithMatchFields(values ...*NodeSelectorRequirementApplyConfiguration) *NodeSelectorTermApplyConfiguration
- type ObjectIPApplyConfiguration
- type ObjectSelectorApplyConfiguration
- func (b *ObjectSelectorApplyConfiguration) WithKind(value string) *ObjectSelectorApplyConfiguration
- func (b *ObjectSelectorApplyConfiguration) WithMatchExpressions(values ...*v1.LabelSelectorRequirementApplyConfiguration) *ObjectSelectorApplyConfiguration
- func (b *ObjectSelectorApplyConfiguration) WithMatchLabels(entries map[string]string) *ObjectSelectorApplyConfiguration
- type PCIAddressApplyConfiguration
- func (b *PCIAddressApplyConfiguration) WithBus(value string) *PCIAddressApplyConfiguration
- func (b *PCIAddressApplyConfiguration) WithDomain(value string) *PCIAddressApplyConfiguration
- func (b *PCIAddressApplyConfiguration) WithFunction(value string) *PCIAddressApplyConfiguration
- func (b *PCIAddressApplyConfiguration) WithSlot(value string) *PCIAddressApplyConfiguration
- type PeeringPrefixApplyConfiguration
- type RuleApplyConfiguration
- func (b *RuleApplyConfiguration) WithCIDRBlock(values ...*IPBlockApplyConfiguration) *RuleApplyConfiguration
- func (b *RuleApplyConfiguration) WithNetworkPolicyPorts(values ...*NetworkPolicyPortApplyConfiguration) *RuleApplyConfiguration
- func (b *RuleApplyConfiguration) WithObjectIPs(values ...*ObjectIPApplyConfiguration) *RuleApplyConfiguration
- type TargetNetworkInterfaceApplyConfiguration
- type TopologySpreadConstraintApplyConfiguration
- func (b *TopologySpreadConstraintApplyConfiguration) WithLabelSelector(value *v1.LabelSelectorApplyConfiguration) *TopologySpreadConstraintApplyConfiguration
- func (b *TopologySpreadConstraintApplyConfiguration) WithMaxSkew(value int32) *TopologySpreadConstraintApplyConfiguration
- func (b *TopologySpreadConstraintApplyConfiguration) WithTopologyKey(value string) *TopologySpreadConstraintApplyConfiguration
- func (b *TopologySpreadConstraintApplyConfiguration) WithWhenUnsatisfiable(value v1alpha1.UnsatisfiableConstraintAction) *TopologySpreadConstraintApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AffinityApplyConfiguration ¶
type AffinityApplyConfiguration struct {
NodeAffinity *NodeAffinityApplyConfiguration `json:"nodeAffinity,omitempty"`
InstanceAntiAffinity *InstanceAntiAffinityApplyConfiguration `json:"instanceAntiAffinity,omitempty"`
}
AffinityApplyConfiguration represents an declarative configuration of the Affinity type for use with apply.
func Affinity ¶
func Affinity() *AffinityApplyConfiguration
AffinityApplyConfiguration constructs an declarative configuration of the Affinity type for use with apply.
func (*AffinityApplyConfiguration) WithInstanceAntiAffinity ¶
func (b *AffinityApplyConfiguration) WithInstanceAntiAffinity(value *InstanceAntiAffinityApplyConfiguration) *AffinityApplyConfiguration
WithInstanceAntiAffinity sets the InstanceAntiAffinity 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 InstanceAntiAffinity field is set to the value of the last call.
func (*AffinityApplyConfiguration) WithNodeAffinity ¶
func (b *AffinityApplyConfiguration) WithNodeAffinity(value *NodeAffinityApplyConfiguration) *AffinityApplyConfiguration
WithNodeAffinity sets the NodeAffinity 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 NodeAffinity field is set to the value of the last call.
type DaemonSetApplyConfiguration ¶
type DaemonSetApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
Spec *DaemonSetSpecApplyConfiguration `json:"spec,omitempty"`
Status *DaemonSetStatusApplyConfiguration `json:"status,omitempty"`
}
DaemonSetApplyConfiguration represents an declarative configuration of the DaemonSet type for use with apply.
func DaemonSet ¶
func DaemonSet(name, namespace string) *DaemonSetApplyConfiguration
DaemonSet constructs an declarative configuration of the DaemonSet type for use with apply.
func ExtractDaemonSet ¶
func ExtractDaemonSet(daemonSet *corev1alpha1.DaemonSet, fieldManager string) (*DaemonSetApplyConfiguration, error)
ExtractDaemonSet extracts the applied configuration owned by fieldManager from daemonSet. If no managedFields are found in daemonSet for fieldManager, a DaemonSetApplyConfiguration 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. daemonSet must be a unmodified DaemonSet API object that was retrieved from the Kubernetes API. ExtractDaemonSet 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 ExtractDaemonSetStatus ¶
func ExtractDaemonSetStatus(daemonSet *corev1alpha1.DaemonSet, fieldManager string) (*DaemonSetApplyConfiguration, error)
ExtractDaemonSetStatus is the same as ExtractDaemonSet except that it extracts the status subresource applied configuration. Experimental!
func (*DaemonSetApplyConfiguration) WithAPIVersion ¶
func (b *DaemonSetApplyConfiguration) WithAPIVersion(value string) *DaemonSetApplyConfiguration
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 (*DaemonSetApplyConfiguration) WithAnnotations ¶
func (b *DaemonSetApplyConfiguration) WithAnnotations(entries map[string]string) *DaemonSetApplyConfiguration
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 (*DaemonSetApplyConfiguration) WithCreationTimestamp ¶
func (b *DaemonSetApplyConfiguration) WithCreationTimestamp(value metav1.Time) *DaemonSetApplyConfiguration
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 (*DaemonSetApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *DaemonSetApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *DaemonSetApplyConfiguration
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 (*DaemonSetApplyConfiguration) WithDeletionTimestamp ¶
func (b *DaemonSetApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *DaemonSetApplyConfiguration
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 (*DaemonSetApplyConfiguration) WithFinalizers ¶
func (b *DaemonSetApplyConfiguration) WithFinalizers(values ...string) *DaemonSetApplyConfiguration
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 (*DaemonSetApplyConfiguration) WithGenerateName ¶
func (b *DaemonSetApplyConfiguration) WithGenerateName(value string) *DaemonSetApplyConfiguration
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 (*DaemonSetApplyConfiguration) WithGeneration ¶
func (b *DaemonSetApplyConfiguration) WithGeneration(value int64) *DaemonSetApplyConfiguration
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 (*DaemonSetApplyConfiguration) WithKind ¶
func (b *DaemonSetApplyConfiguration) WithKind(value string) *DaemonSetApplyConfiguration
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 (*DaemonSetApplyConfiguration) WithLabels ¶
func (b *DaemonSetApplyConfiguration) WithLabels(entries map[string]string) *DaemonSetApplyConfiguration
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 (*DaemonSetApplyConfiguration) WithName ¶
func (b *DaemonSetApplyConfiguration) WithName(value string) *DaemonSetApplyConfiguration
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 (*DaemonSetApplyConfiguration) WithNamespace ¶
func (b *DaemonSetApplyConfiguration) WithNamespace(value string) *DaemonSetApplyConfiguration
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 (*DaemonSetApplyConfiguration) WithOwnerReferences ¶
func (b *DaemonSetApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *DaemonSetApplyConfiguration
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 (*DaemonSetApplyConfiguration) WithResourceVersion ¶
func (b *DaemonSetApplyConfiguration) WithResourceVersion(value string) *DaemonSetApplyConfiguration
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 (*DaemonSetApplyConfiguration) WithSpec ¶
func (b *DaemonSetApplyConfiguration) WithSpec(value *DaemonSetSpecApplyConfiguration) *DaemonSetApplyConfiguration
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 (*DaemonSetApplyConfiguration) WithStatus ¶
func (b *DaemonSetApplyConfiguration) WithStatus(value *DaemonSetStatusApplyConfiguration) *DaemonSetApplyConfiguration
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 (*DaemonSetApplyConfiguration) WithUID ¶
func (b *DaemonSetApplyConfiguration) WithUID(value types.UID) *DaemonSetApplyConfiguration
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 DaemonSetSpecApplyConfiguration ¶
type DaemonSetSpecApplyConfiguration struct {
Selector *v1.LabelSelectorApplyConfiguration `json:"nodeSelector,omitempty"`
Template *InstanceTemplateApplyConfiguration `json:"template,omitempty"`
}
DaemonSetSpecApplyConfiguration represents an declarative configuration of the DaemonSetSpec type for use with apply.
func DaemonSetSpec ¶
func DaemonSetSpec() *DaemonSetSpecApplyConfiguration
DaemonSetSpecApplyConfiguration constructs an declarative configuration of the DaemonSetSpec type for use with apply.
func (*DaemonSetSpecApplyConfiguration) WithSelector ¶
func (b *DaemonSetSpecApplyConfiguration) WithSelector(value *v1.LabelSelectorApplyConfiguration) *DaemonSetSpecApplyConfiguration
WithSelector sets the Selector 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 Selector field is set to the value of the last call.
func (*DaemonSetSpecApplyConfiguration) WithTemplate ¶
func (b *DaemonSetSpecApplyConfiguration) WithTemplate(value *InstanceTemplateApplyConfiguration) *DaemonSetSpecApplyConfiguration
WithTemplate sets the Template 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 Template field is set to the value of the last call.
type DaemonSetStatusApplyConfiguration ¶
type DaemonSetStatusApplyConfiguration struct {
CollisionCount *int32 `json:"collisionCount,omitempty"`
}
DaemonSetStatusApplyConfiguration represents an declarative configuration of the DaemonSetStatus type for use with apply.
func DaemonSetStatus ¶
func DaemonSetStatus() *DaemonSetStatusApplyConfiguration
DaemonSetStatusApplyConfiguration constructs an declarative configuration of the DaemonSetStatus type for use with apply.
func (*DaemonSetStatusApplyConfiguration) WithCollisionCount ¶
func (b *DaemonSetStatusApplyConfiguration) WithCollisionCount(value int32) *DaemonSetStatusApplyConfiguration
WithCollisionCount sets the CollisionCount 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 CollisionCount field is set to the value of the last call.
type IPAddressApplyConfiguration ¶
type IPAddressApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
Spec *IPAddressSpecApplyConfiguration `json:"spec,omitempty"`
}
IPAddressApplyConfiguration represents an declarative configuration of the IPAddress type for use with apply.
func ExtractIPAddress ¶
func ExtractIPAddress(iPAddress *corev1alpha1.IPAddress, fieldManager string) (*IPAddressApplyConfiguration, error)
ExtractIPAddress extracts the applied configuration owned by fieldManager from iPAddress. If no managedFields are found in iPAddress for fieldManager, a IPAddressApplyConfiguration 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. iPAddress must be a unmodified IPAddress API object that was retrieved from the Kubernetes API. ExtractIPAddress 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 ExtractIPAddressStatus ¶
func ExtractIPAddressStatus(iPAddress *corev1alpha1.IPAddress, fieldManager string) (*IPAddressApplyConfiguration, error)
ExtractIPAddressStatus is the same as ExtractIPAddress except that it extracts the status subresource applied configuration. Experimental!
func IPAddress ¶
func IPAddress(name string) *IPAddressApplyConfiguration
IPAddress constructs an declarative configuration of the IPAddress type for use with apply.
func (*IPAddressApplyConfiguration) WithAPIVersion ¶
func (b *IPAddressApplyConfiguration) WithAPIVersion(value string) *IPAddressApplyConfiguration
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 (*IPAddressApplyConfiguration) WithAnnotations ¶
func (b *IPAddressApplyConfiguration) WithAnnotations(entries map[string]string) *IPAddressApplyConfiguration
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 (*IPAddressApplyConfiguration) WithCreationTimestamp ¶
func (b *IPAddressApplyConfiguration) WithCreationTimestamp(value metav1.Time) *IPAddressApplyConfiguration
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 (*IPAddressApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *IPAddressApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *IPAddressApplyConfiguration
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 (*IPAddressApplyConfiguration) WithDeletionTimestamp ¶
func (b *IPAddressApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *IPAddressApplyConfiguration
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 (*IPAddressApplyConfiguration) WithFinalizers ¶
func (b *IPAddressApplyConfiguration) WithFinalizers(values ...string) *IPAddressApplyConfiguration
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 (*IPAddressApplyConfiguration) WithGenerateName ¶
func (b *IPAddressApplyConfiguration) WithGenerateName(value string) *IPAddressApplyConfiguration
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 (*IPAddressApplyConfiguration) WithGeneration ¶
func (b *IPAddressApplyConfiguration) WithGeneration(value int64) *IPAddressApplyConfiguration
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 (*IPAddressApplyConfiguration) WithKind ¶
func (b *IPAddressApplyConfiguration) WithKind(value string) *IPAddressApplyConfiguration
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 (*IPAddressApplyConfiguration) WithLabels ¶
func (b *IPAddressApplyConfiguration) WithLabels(entries map[string]string) *IPAddressApplyConfiguration
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 (*IPAddressApplyConfiguration) WithName ¶
func (b *IPAddressApplyConfiguration) WithName(value string) *IPAddressApplyConfiguration
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 (*IPAddressApplyConfiguration) WithNamespace ¶
func (b *IPAddressApplyConfiguration) WithNamespace(value string) *IPAddressApplyConfiguration
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 (*IPAddressApplyConfiguration) WithOwnerReferences ¶
func (b *IPAddressApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *IPAddressApplyConfiguration
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 (*IPAddressApplyConfiguration) WithResourceVersion ¶
func (b *IPAddressApplyConfiguration) WithResourceVersion(value string) *IPAddressApplyConfiguration
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 (*IPAddressApplyConfiguration) WithSpec ¶
func (b *IPAddressApplyConfiguration) WithSpec(value *IPAddressSpecApplyConfiguration) *IPAddressApplyConfiguration
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 (*IPAddressApplyConfiguration) WithUID ¶
func (b *IPAddressApplyConfiguration) WithUID(value types.UID) *IPAddressApplyConfiguration
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 IPAddressClaimRefApplyConfiguration ¶
type IPAddressClaimRefApplyConfiguration struct {
Group *string `json:"group,omitempty"`
Resource *string `json:"resource,omitempty"`
Namespace *string `json:"namespace,omitempty"`
Name *string `json:"name,omitempty"`
UID *types.UID `json:"uid,omitempty"`
}
IPAddressClaimRefApplyConfiguration represents an declarative configuration of the IPAddressClaimRef type for use with apply.
func IPAddressClaimRef ¶
func IPAddressClaimRef() *IPAddressClaimRefApplyConfiguration
IPAddressClaimRefApplyConfiguration constructs an declarative configuration of the IPAddressClaimRef type for use with apply.
func (*IPAddressClaimRefApplyConfiguration) WithGroup ¶
func (b *IPAddressClaimRefApplyConfiguration) WithGroup(value string) *IPAddressClaimRefApplyConfiguration
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 (*IPAddressClaimRefApplyConfiguration) WithName ¶
func (b *IPAddressClaimRefApplyConfiguration) WithName(value string) *IPAddressClaimRefApplyConfiguration
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 (*IPAddressClaimRefApplyConfiguration) WithNamespace ¶
func (b *IPAddressClaimRefApplyConfiguration) WithNamespace(value string) *IPAddressClaimRefApplyConfiguration
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 (*IPAddressClaimRefApplyConfiguration) WithResource ¶
func (b *IPAddressClaimRefApplyConfiguration) WithResource(value string) *IPAddressClaimRefApplyConfiguration
WithResource sets the Resource 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 Resource field is set to the value of the last call.
func (*IPAddressClaimRefApplyConfiguration) WithUID ¶
func (b *IPAddressClaimRefApplyConfiguration) WithUID(value types.UID) *IPAddressClaimRefApplyConfiguration
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 IPAddressSpecApplyConfiguration ¶
type IPAddressSpecApplyConfiguration struct {
IP *net.IP `json:"ip,omitempty"`
ClaimRef *IPAddressClaimRefApplyConfiguration `json:"claimRef,omitempty"`
}
IPAddressSpecApplyConfiguration represents an declarative configuration of the IPAddressSpec type for use with apply.
func IPAddressSpec ¶
func IPAddressSpec() *IPAddressSpecApplyConfiguration
IPAddressSpecApplyConfiguration constructs an declarative configuration of the IPAddressSpec type for use with apply.
func (*IPAddressSpecApplyConfiguration) WithClaimRef ¶
func (b *IPAddressSpecApplyConfiguration) WithClaimRef(value *IPAddressClaimRefApplyConfiguration) *IPAddressSpecApplyConfiguration
WithClaimRef sets the ClaimRef 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 ClaimRef field is set to the value of the last call.
func (*IPAddressSpecApplyConfiguration) WithIP ¶
func (b *IPAddressSpecApplyConfiguration) WithIP(value net.IP) *IPAddressSpecApplyConfiguration
WithIP sets the IP 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 IP field is set to the value of the last call.
type IPApplyConfiguration ¶
type IPApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
Spec *IPSpecApplyConfiguration `json:"spec,omitempty"`
Status *corev1alpha1.IPStatus `json:"status,omitempty"`
}
IPApplyConfiguration represents an declarative configuration of the IP type for use with apply.
func ExtractIP ¶
func ExtractIP(iP *corev1alpha1.IP, fieldManager string) (*IPApplyConfiguration, error)
ExtractIP extracts the applied configuration owned by fieldManager from iP. If no managedFields are found in iP for fieldManager, a IPApplyConfiguration 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. iP must be a unmodified IP API object that was retrieved from the Kubernetes API. ExtractIP 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 ExtractIPStatus ¶
func ExtractIPStatus(iP *corev1alpha1.IP, fieldManager string) (*IPApplyConfiguration, error)
ExtractIPStatus is the same as ExtractIP except that it extracts the status subresource applied configuration. Experimental!
func IP ¶
func IP(name, namespace string) *IPApplyConfiguration
IP constructs an declarative configuration of the IP type for use with apply.
func (*IPApplyConfiguration) WithAPIVersion ¶
func (b *IPApplyConfiguration) WithAPIVersion(value string) *IPApplyConfiguration
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 (*IPApplyConfiguration) WithAnnotations ¶
func (b *IPApplyConfiguration) WithAnnotations(entries map[string]string) *IPApplyConfiguration
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 (*IPApplyConfiguration) WithCreationTimestamp ¶
func (b *IPApplyConfiguration) WithCreationTimestamp(value metav1.Time) *IPApplyConfiguration
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 (*IPApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *IPApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *IPApplyConfiguration
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 (*IPApplyConfiguration) WithDeletionTimestamp ¶
func (b *IPApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *IPApplyConfiguration
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 (*IPApplyConfiguration) WithFinalizers ¶
func (b *IPApplyConfiguration) WithFinalizers(values ...string) *IPApplyConfiguration
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 (*IPApplyConfiguration) WithGenerateName ¶
func (b *IPApplyConfiguration) WithGenerateName(value string) *IPApplyConfiguration
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 (*IPApplyConfiguration) WithGeneration ¶
func (b *IPApplyConfiguration) WithGeneration(value int64) *IPApplyConfiguration
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 (*IPApplyConfiguration) WithKind ¶
func (b *IPApplyConfiguration) WithKind(value string) *IPApplyConfiguration
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 (*IPApplyConfiguration) WithLabels ¶
func (b *IPApplyConfiguration) WithLabels(entries map[string]string) *IPApplyConfiguration
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 (*IPApplyConfiguration) WithName ¶
func (b *IPApplyConfiguration) WithName(value string) *IPApplyConfiguration
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 (*IPApplyConfiguration) WithNamespace ¶
func (b *IPApplyConfiguration) WithNamespace(value string) *IPApplyConfiguration
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 (*IPApplyConfiguration) WithOwnerReferences ¶
func (b *IPApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *IPApplyConfiguration
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 (*IPApplyConfiguration) WithResourceVersion ¶
func (b *IPApplyConfiguration) WithResourceVersion(value string) *IPApplyConfiguration
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 (*IPApplyConfiguration) WithSpec ¶
func (b *IPApplyConfiguration) WithSpec(value *IPSpecApplyConfiguration) *IPApplyConfiguration
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 (*IPApplyConfiguration) WithStatus ¶
func (b *IPApplyConfiguration) WithStatus(value corev1alpha1.IPStatus) *IPApplyConfiguration
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 (*IPApplyConfiguration) WithUID ¶
func (b *IPApplyConfiguration) WithUID(value types.UID) *IPApplyConfiguration
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 IPBlockApplyConfiguration ¶
type IPBlockApplyConfiguration struct {
CIDR *net.IPPrefix `json:"cidr,omitempty"`
Except []net.IPPrefix `json:"except,omitempty"`
}
IPBlockApplyConfiguration represents an declarative configuration of the IPBlock type for use with apply.
func IPBlock ¶
func IPBlock() *IPBlockApplyConfiguration
IPBlockApplyConfiguration constructs an declarative configuration of the IPBlock type for use with apply.
func (*IPBlockApplyConfiguration) WithCIDR ¶
func (b *IPBlockApplyConfiguration) WithCIDR(value net.IPPrefix) *IPBlockApplyConfiguration
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 (*IPBlockApplyConfiguration) WithExcept ¶
func (b *IPBlockApplyConfiguration) WithExcept(values ...net.IPPrefix) *IPBlockApplyConfiguration
WithExcept adds the given value to the Except 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 Except field.
type IPClaimRefApplyConfiguration ¶
type IPClaimRefApplyConfiguration struct {
Group *string `json:"group,omitempty"`
Resource *string `json:"resource,omitempty"`
Name *string `json:"name,omitempty"`
UID *types.UID `json:"uid,omitempty"`
}
IPClaimRefApplyConfiguration represents an declarative configuration of the IPClaimRef type for use with apply.
func IPClaimRef ¶
func IPClaimRef() *IPClaimRefApplyConfiguration
IPClaimRefApplyConfiguration constructs an declarative configuration of the IPClaimRef type for use with apply.
func (*IPClaimRefApplyConfiguration) WithGroup ¶
func (b *IPClaimRefApplyConfiguration) WithGroup(value string) *IPClaimRefApplyConfiguration
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 (*IPClaimRefApplyConfiguration) WithName ¶
func (b *IPClaimRefApplyConfiguration) WithName(value string) *IPClaimRefApplyConfiguration
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 (*IPClaimRefApplyConfiguration) WithResource ¶
func (b *IPClaimRefApplyConfiguration) WithResource(value string) *IPClaimRefApplyConfiguration
WithResource sets the Resource 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 Resource field is set to the value of the last call.
func (*IPClaimRefApplyConfiguration) WithUID ¶
func (b *IPClaimRefApplyConfiguration) WithUID(value types.UID) *IPClaimRefApplyConfiguration
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 IPSpecApplyConfiguration ¶
type IPSpecApplyConfiguration struct {
Type *v1alpha1.IPType `json:"type,omitempty"`
IPFamily *v1.IPFamily `json:"ipFamily,omitempty"`
IP *net.IP `json:"ip,omitempty"`
ClaimRef *IPClaimRefApplyConfiguration `json:"claimRef,omitempty"`
}
IPSpecApplyConfiguration represents an declarative configuration of the IPSpec type for use with apply.
func IPSpec ¶
func IPSpec() *IPSpecApplyConfiguration
IPSpecApplyConfiguration constructs an declarative configuration of the IPSpec type for use with apply.
func (*IPSpecApplyConfiguration) WithClaimRef ¶
func (b *IPSpecApplyConfiguration) WithClaimRef(value *IPClaimRefApplyConfiguration) *IPSpecApplyConfiguration
WithClaimRef sets the ClaimRef 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 ClaimRef field is set to the value of the last call.
func (*IPSpecApplyConfiguration) WithIP ¶
func (b *IPSpecApplyConfiguration) WithIP(value net.IP) *IPSpecApplyConfiguration
WithIP sets the IP 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 IP field is set to the value of the last call.
func (*IPSpecApplyConfiguration) WithIPFamily ¶
func (b *IPSpecApplyConfiguration) WithIPFamily(value v1.IPFamily) *IPSpecApplyConfiguration
WithIPFamily sets the IPFamily 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 IPFamily field is set to the value of the last call.
func (*IPSpecApplyConfiguration) WithType ¶
func (b *IPSpecApplyConfiguration) WithType(value v1alpha1.IPType) *IPSpecApplyConfiguration
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 InstanceAffinityTermApplyConfiguration ¶
type InstanceAffinityTermApplyConfiguration struct {
LabelSelector *v1.LabelSelectorApplyConfiguration `json:"labelSelector,omitempty"`
TopologyKey *string `json:"topologyKey,omitempty"`
}
InstanceAffinityTermApplyConfiguration represents an declarative configuration of the InstanceAffinityTerm type for use with apply.
func InstanceAffinityTerm ¶
func InstanceAffinityTerm() *InstanceAffinityTermApplyConfiguration
InstanceAffinityTermApplyConfiguration constructs an declarative configuration of the InstanceAffinityTerm type for use with apply.
func (*InstanceAffinityTermApplyConfiguration) WithLabelSelector ¶
func (b *InstanceAffinityTermApplyConfiguration) WithLabelSelector(value *v1.LabelSelectorApplyConfiguration) *InstanceAffinityTermApplyConfiguration
WithLabelSelector sets the LabelSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LabelSelector field is set to the value of the last call.
func (*InstanceAffinityTermApplyConfiguration) WithTopologyKey ¶
func (b *InstanceAffinityTermApplyConfiguration) WithTopologyKey(value string) *InstanceAffinityTermApplyConfiguration
WithTopologyKey sets the TopologyKey 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 TopologyKey field is set to the value of the last call.
type InstanceAntiAffinityApplyConfiguration ¶
type InstanceAntiAffinityApplyConfiguration struct {
RequiredDuringSchedulingIgnoredDuringExecution []InstanceAffinityTermApplyConfiguration `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
}
InstanceAntiAffinityApplyConfiguration represents an declarative configuration of the InstanceAntiAffinity type for use with apply.
func InstanceAntiAffinity ¶
func InstanceAntiAffinity() *InstanceAntiAffinityApplyConfiguration
InstanceAntiAffinityApplyConfiguration constructs an declarative configuration of the InstanceAntiAffinity type for use with apply.
func (*InstanceAntiAffinityApplyConfiguration) WithRequiredDuringSchedulingIgnoredDuringExecution ¶
func (b *InstanceAntiAffinityApplyConfiguration) WithRequiredDuringSchedulingIgnoredDuringExecution(values ...*InstanceAffinityTermApplyConfiguration) *InstanceAntiAffinityApplyConfiguration
WithRequiredDuringSchedulingIgnoredDuringExecution adds the given value to the RequiredDuringSchedulingIgnoredDuringExecution 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 RequiredDuringSchedulingIgnoredDuringExecution field.
type InstanceApplyConfiguration ¶
type InstanceApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
Spec *InstanceSpecApplyConfiguration `json:"spec,omitempty"`
Status *InstanceStatusApplyConfiguration `json:"status,omitempty"`
}
InstanceApplyConfiguration represents an declarative configuration of the Instance type for use with apply.
func ExtractInstance ¶
func ExtractInstance(instance *corev1alpha1.Instance, fieldManager string) (*InstanceApplyConfiguration, error)
ExtractInstance extracts the applied configuration owned by fieldManager from instance. If no managedFields are found in instance for fieldManager, a InstanceApplyConfiguration 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. instance must be a unmodified Instance API object that was retrieved from the Kubernetes API. ExtractInstance 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 ExtractInstanceStatus ¶
func ExtractInstanceStatus(instance *corev1alpha1.Instance, fieldManager string) (*InstanceApplyConfiguration, error)
ExtractInstanceStatus is the same as ExtractInstance except that it extracts the status subresource applied configuration. Experimental!
func Instance ¶
func Instance(name, namespace string) *InstanceApplyConfiguration
Instance constructs an declarative configuration of the Instance type for use with apply.
func (*InstanceApplyConfiguration) WithAPIVersion ¶
func (b *InstanceApplyConfiguration) WithAPIVersion(value string) *InstanceApplyConfiguration
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 (*InstanceApplyConfiguration) WithAnnotations ¶
func (b *InstanceApplyConfiguration) WithAnnotations(entries map[string]string) *InstanceApplyConfiguration
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 (*InstanceApplyConfiguration) WithCreationTimestamp ¶
func (b *InstanceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *InstanceApplyConfiguration
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 (*InstanceApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *InstanceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *InstanceApplyConfiguration
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 (*InstanceApplyConfiguration) WithDeletionTimestamp ¶
func (b *InstanceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *InstanceApplyConfiguration
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 (*InstanceApplyConfiguration) WithFinalizers ¶
func (b *InstanceApplyConfiguration) WithFinalizers(values ...string) *InstanceApplyConfiguration
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 (*InstanceApplyConfiguration) WithGenerateName ¶
func (b *InstanceApplyConfiguration) WithGenerateName(value string) *InstanceApplyConfiguration
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 (*InstanceApplyConfiguration) WithGeneration ¶
func (b *InstanceApplyConfiguration) WithGeneration(value int64) *InstanceApplyConfiguration
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 (*InstanceApplyConfiguration) WithKind ¶
func (b *InstanceApplyConfiguration) WithKind(value string) *InstanceApplyConfiguration
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 (*InstanceApplyConfiguration) WithLabels ¶
func (b *InstanceApplyConfiguration) WithLabels(entries map[string]string) *InstanceApplyConfiguration
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 (*InstanceApplyConfiguration) WithName ¶
func (b *InstanceApplyConfiguration) WithName(value string) *InstanceApplyConfiguration
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 (*InstanceApplyConfiguration) WithNamespace ¶
func (b *InstanceApplyConfiguration) WithNamespace(value string) *InstanceApplyConfiguration
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 (*InstanceApplyConfiguration) WithOwnerReferences ¶
func (b *InstanceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *InstanceApplyConfiguration
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 (*InstanceApplyConfiguration) WithResourceVersion ¶
func (b *InstanceApplyConfiguration) WithResourceVersion(value string) *InstanceApplyConfiguration
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 (*InstanceApplyConfiguration) WithSpec ¶
func (b *InstanceApplyConfiguration) WithSpec(value *InstanceSpecApplyConfiguration) *InstanceApplyConfiguration
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 (*InstanceApplyConfiguration) WithStatus ¶
func (b *InstanceApplyConfiguration) WithStatus(value *InstanceStatusApplyConfiguration) *InstanceApplyConfiguration
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 (*InstanceApplyConfiguration) WithUID ¶
func (b *InstanceApplyConfiguration) WithUID(value types.UID) *InstanceApplyConfiguration
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 InstanceSpecApplyConfiguration ¶
type InstanceSpecApplyConfiguration struct {
Type *v1alpha1.InstanceType `json:"type,omitempty"`
LoadBalancerType *v1alpha1.LoadBalancerType `json:"loadBalancerType,omitempty"`
NetworkRef *v1.LocalObjectReference `json:"networkRef,omitempty"`
IPs []net.IP `json:"ips,omitempty"`
LoadBalancerPorts []LoadBalancerPortApplyConfiguration `json:"loadBalancerPorts,omitempty"`
Affinity *AffinityApplyConfiguration `json:"affinity,omitempty"`
TopologySpreadConstraints []TopologySpreadConstraintApplyConfiguration `json:"topologySpreadConstraints,omitempty"`
NodeRef *v1.LocalObjectReference `json:"nodeRef,omitempty"`
}
InstanceSpecApplyConfiguration represents an declarative configuration of the InstanceSpec type for use with apply.
func InstanceSpec ¶
func InstanceSpec() *InstanceSpecApplyConfiguration
InstanceSpecApplyConfiguration constructs an declarative configuration of the InstanceSpec type for use with apply.
func (*InstanceSpecApplyConfiguration) WithAffinity ¶
func (b *InstanceSpecApplyConfiguration) WithAffinity(value *AffinityApplyConfiguration) *InstanceSpecApplyConfiguration
WithAffinity sets the Affinity 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 Affinity field is set to the value of the last call.
func (*InstanceSpecApplyConfiguration) WithIPs ¶
func (b *InstanceSpecApplyConfiguration) WithIPs(values ...net.IP) *InstanceSpecApplyConfiguration
WithIPs adds the given value to the IPs 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 IPs field.
func (*InstanceSpecApplyConfiguration) WithLoadBalancerPorts ¶
func (b *InstanceSpecApplyConfiguration) WithLoadBalancerPorts(values ...*LoadBalancerPortApplyConfiguration) *InstanceSpecApplyConfiguration
WithLoadBalancerPorts adds the given value to the LoadBalancerPorts 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 LoadBalancerPorts field.
func (*InstanceSpecApplyConfiguration) WithLoadBalancerType ¶
func (b *InstanceSpecApplyConfiguration) WithLoadBalancerType(value v1alpha1.LoadBalancerType) *InstanceSpecApplyConfiguration
WithLoadBalancerType sets the LoadBalancerType 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 LoadBalancerType field is set to the value of the last call.
func (*InstanceSpecApplyConfiguration) WithNetworkRef ¶
func (b *InstanceSpecApplyConfiguration) WithNetworkRef(value v1.LocalObjectReference) *InstanceSpecApplyConfiguration
WithNetworkRef sets the NetworkRef 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 NetworkRef field is set to the value of the last call.
func (*InstanceSpecApplyConfiguration) WithNodeRef ¶
func (b *InstanceSpecApplyConfiguration) WithNodeRef(value v1.LocalObjectReference) *InstanceSpecApplyConfiguration
WithNodeRef sets the NodeRef 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 NodeRef field is set to the value of the last call.
func (*InstanceSpecApplyConfiguration) WithTopologySpreadConstraints ¶
func (b *InstanceSpecApplyConfiguration) WithTopologySpreadConstraints(values ...*TopologySpreadConstraintApplyConfiguration) *InstanceSpecApplyConfiguration
WithTopologySpreadConstraints adds the given value to the TopologySpreadConstraints 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 TopologySpreadConstraints field.
func (*InstanceSpecApplyConfiguration) WithType ¶
func (b *InstanceSpecApplyConfiguration) WithType(value v1alpha1.InstanceType) *InstanceSpecApplyConfiguration
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 InstanceStatusApplyConfiguration ¶
type InstanceStatusApplyConfiguration struct {
IPs []net.IP `json:"ips,omitempty"`
CollisionCount *int32 `json:"collisionCount,omitempty"`
}
InstanceStatusApplyConfiguration represents an declarative configuration of the InstanceStatus type for use with apply.
func InstanceStatus ¶
func InstanceStatus() *InstanceStatusApplyConfiguration
InstanceStatusApplyConfiguration constructs an declarative configuration of the InstanceStatus type for use with apply.
func (*InstanceStatusApplyConfiguration) WithCollisionCount ¶
func (b *InstanceStatusApplyConfiguration) WithCollisionCount(value int32) *InstanceStatusApplyConfiguration
WithCollisionCount sets the CollisionCount 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 CollisionCount field is set to the value of the last call.
func (*InstanceStatusApplyConfiguration) WithIPs ¶
func (b *InstanceStatusApplyConfiguration) WithIPs(values ...net.IP) *InstanceStatusApplyConfiguration
WithIPs adds the given value to the IPs 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 IPs field.
type InstanceTemplateApplyConfiguration ¶
type InstanceTemplateApplyConfiguration struct {
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
Spec *InstanceSpecApplyConfiguration `json:"spec,omitempty"`
}
InstanceTemplateApplyConfiguration represents an declarative configuration of the InstanceTemplate type for use with apply.
func InstanceTemplate ¶
func InstanceTemplate() *InstanceTemplateApplyConfiguration
InstanceTemplateApplyConfiguration constructs an declarative configuration of the InstanceTemplate type for use with apply.
func (*InstanceTemplateApplyConfiguration) WithAnnotations ¶
func (b *InstanceTemplateApplyConfiguration) WithAnnotations(entries map[string]string) *InstanceTemplateApplyConfiguration
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 (*InstanceTemplateApplyConfiguration) WithCreationTimestamp ¶
func (b *InstanceTemplateApplyConfiguration) WithCreationTimestamp(value metav1.Time) *InstanceTemplateApplyConfiguration
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 (*InstanceTemplateApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *InstanceTemplateApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *InstanceTemplateApplyConfiguration
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 (*InstanceTemplateApplyConfiguration) WithDeletionTimestamp ¶
func (b *InstanceTemplateApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *InstanceTemplateApplyConfiguration
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 (*InstanceTemplateApplyConfiguration) WithFinalizers ¶
func (b *InstanceTemplateApplyConfiguration) WithFinalizers(values ...string) *InstanceTemplateApplyConfiguration
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 (*InstanceTemplateApplyConfiguration) WithGenerateName ¶
func (b *InstanceTemplateApplyConfiguration) WithGenerateName(value string) *InstanceTemplateApplyConfiguration
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 (*InstanceTemplateApplyConfiguration) WithGeneration ¶
func (b *InstanceTemplateApplyConfiguration) WithGeneration(value int64) *InstanceTemplateApplyConfiguration
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 (*InstanceTemplateApplyConfiguration) WithLabels ¶
func (b *InstanceTemplateApplyConfiguration) WithLabels(entries map[string]string) *InstanceTemplateApplyConfiguration
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 (*InstanceTemplateApplyConfiguration) WithName ¶
func (b *InstanceTemplateApplyConfiguration) WithName(value string) *InstanceTemplateApplyConfiguration
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 (*InstanceTemplateApplyConfiguration) WithNamespace ¶
func (b *InstanceTemplateApplyConfiguration) WithNamespace(value string) *InstanceTemplateApplyConfiguration
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 (*InstanceTemplateApplyConfiguration) WithOwnerReferences ¶
func (b *InstanceTemplateApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *InstanceTemplateApplyConfiguration
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 (*InstanceTemplateApplyConfiguration) WithResourceVersion ¶
func (b *InstanceTemplateApplyConfiguration) WithResourceVersion(value string) *InstanceTemplateApplyConfiguration
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 (*InstanceTemplateApplyConfiguration) WithSpec ¶
func (b *InstanceTemplateApplyConfiguration) WithSpec(value *InstanceSpecApplyConfiguration) *InstanceTemplateApplyConfiguration
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 (*InstanceTemplateApplyConfiguration) WithUID ¶
func (b *InstanceTemplateApplyConfiguration) WithUID(value types.UID) *InstanceTemplateApplyConfiguration
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 LoadBalancerApplyConfiguration ¶
type LoadBalancerApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
Spec *LoadBalancerSpecApplyConfiguration `json:"spec,omitempty"`
Status *LoadBalancerStatusApplyConfiguration `json:"status,omitempty"`
}
LoadBalancerApplyConfiguration represents an declarative configuration of the LoadBalancer type for use with apply.
func ExtractLoadBalancer ¶
func ExtractLoadBalancer(loadBalancer *corev1alpha1.LoadBalancer, fieldManager string) (*LoadBalancerApplyConfiguration, error)
ExtractLoadBalancer extracts the applied configuration owned by fieldManager from loadBalancer. If no managedFields are found in loadBalancer for fieldManager, a LoadBalancerApplyConfiguration 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. loadBalancer must be a unmodified LoadBalancer API object that was retrieved from the Kubernetes API. ExtractLoadBalancer 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 ExtractLoadBalancerStatus ¶
func ExtractLoadBalancerStatus(loadBalancer *corev1alpha1.LoadBalancer, fieldManager string) (*LoadBalancerApplyConfiguration, error)
ExtractLoadBalancerStatus is the same as ExtractLoadBalancer except that it extracts the status subresource applied configuration. Experimental!
func LoadBalancer ¶
func LoadBalancer(name, namespace string) *LoadBalancerApplyConfiguration
LoadBalancer constructs an declarative configuration of the LoadBalancer type for use with apply.
func (*LoadBalancerApplyConfiguration) WithAPIVersion ¶
func (b *LoadBalancerApplyConfiguration) WithAPIVersion(value string) *LoadBalancerApplyConfiguration
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 (*LoadBalancerApplyConfiguration) WithAnnotations ¶
func (b *LoadBalancerApplyConfiguration) WithAnnotations(entries map[string]string) *LoadBalancerApplyConfiguration
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 (*LoadBalancerApplyConfiguration) WithCreationTimestamp ¶
func (b *LoadBalancerApplyConfiguration) WithCreationTimestamp(value metav1.Time) *LoadBalancerApplyConfiguration
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 (*LoadBalancerApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *LoadBalancerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *LoadBalancerApplyConfiguration
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 (*LoadBalancerApplyConfiguration) WithDeletionTimestamp ¶
func (b *LoadBalancerApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *LoadBalancerApplyConfiguration
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 (*LoadBalancerApplyConfiguration) WithFinalizers ¶
func (b *LoadBalancerApplyConfiguration) WithFinalizers(values ...string) *LoadBalancerApplyConfiguration
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 (*LoadBalancerApplyConfiguration) WithGenerateName ¶
func (b *LoadBalancerApplyConfiguration) WithGenerateName(value string) *LoadBalancerApplyConfiguration
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 (*LoadBalancerApplyConfiguration) WithGeneration ¶
func (b *LoadBalancerApplyConfiguration) WithGeneration(value int64) *LoadBalancerApplyConfiguration
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 (*LoadBalancerApplyConfiguration) WithKind ¶
func (b *LoadBalancerApplyConfiguration) WithKind(value string) *LoadBalancerApplyConfiguration
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 (*LoadBalancerApplyConfiguration) WithLabels ¶
func (b *LoadBalancerApplyConfiguration) WithLabels(entries map[string]string) *LoadBalancerApplyConfiguration
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 (*LoadBalancerApplyConfiguration) WithName ¶
func (b *LoadBalancerApplyConfiguration) WithName(value string) *LoadBalancerApplyConfiguration
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 (*LoadBalancerApplyConfiguration) WithNamespace ¶
func (b *LoadBalancerApplyConfiguration) WithNamespace(value string) *LoadBalancerApplyConfiguration
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 (*LoadBalancerApplyConfiguration) WithOwnerReferences ¶
func (b *LoadBalancerApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *LoadBalancerApplyConfiguration
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 (*LoadBalancerApplyConfiguration) WithResourceVersion ¶
func (b *LoadBalancerApplyConfiguration) WithResourceVersion(value string) *LoadBalancerApplyConfiguration
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 (*LoadBalancerApplyConfiguration) WithSpec ¶
func (b *LoadBalancerApplyConfiguration) WithSpec(value *LoadBalancerSpecApplyConfiguration) *LoadBalancerApplyConfiguration
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 (*LoadBalancerApplyConfiguration) WithStatus ¶
func (b *LoadBalancerApplyConfiguration) WithStatus(value *LoadBalancerStatusApplyConfiguration) *LoadBalancerApplyConfiguration
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 (*LoadBalancerApplyConfiguration) WithUID ¶
func (b *LoadBalancerApplyConfiguration) WithUID(value types.UID) *LoadBalancerApplyConfiguration
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 LoadBalancerDestinationApplyConfiguration ¶
type LoadBalancerDestinationApplyConfiguration struct {
IP *net.IP `json:"ip,omitempty"`
TargetRef *LoadBalancerTargetRefApplyConfiguration `json:"targetRef,omitempty"`
}
LoadBalancerDestinationApplyConfiguration represents an declarative configuration of the LoadBalancerDestination type for use with apply.
func LoadBalancerDestination ¶
func LoadBalancerDestination() *LoadBalancerDestinationApplyConfiguration
LoadBalancerDestinationApplyConfiguration constructs an declarative configuration of the LoadBalancerDestination type for use with apply.
func (*LoadBalancerDestinationApplyConfiguration) WithIP ¶
func (b *LoadBalancerDestinationApplyConfiguration) WithIP(value net.IP) *LoadBalancerDestinationApplyConfiguration
WithIP sets the IP 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 IP field is set to the value of the last call.
func (*LoadBalancerDestinationApplyConfiguration) WithTargetRef ¶
func (b *LoadBalancerDestinationApplyConfiguration) WithTargetRef(value *LoadBalancerTargetRefApplyConfiguration) *LoadBalancerDestinationApplyConfiguration
WithTargetRef sets the TargetRef 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 TargetRef field is set to the value of the last call.
type LoadBalancerIPApplyConfiguration ¶
type LoadBalancerIPApplyConfiguration struct {
Name *string `json:"name,omitempty"`
IPFamily *v1.IPFamily `json:"ipFamily,omitempty"`
IP *net.IP `json:"ip,omitempty"`
}
LoadBalancerIPApplyConfiguration represents an declarative configuration of the LoadBalancerIP type for use with apply.
func LoadBalancerIP ¶
func LoadBalancerIP() *LoadBalancerIPApplyConfiguration
LoadBalancerIPApplyConfiguration constructs an declarative configuration of the LoadBalancerIP type for use with apply.
func (*LoadBalancerIPApplyConfiguration) WithIP ¶
func (b *LoadBalancerIPApplyConfiguration) WithIP(value net.IP) *LoadBalancerIPApplyConfiguration
WithIP sets the IP 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 IP field is set to the value of the last call.
func (*LoadBalancerIPApplyConfiguration) WithIPFamily ¶
func (b *LoadBalancerIPApplyConfiguration) WithIPFamily(value v1.IPFamily) *LoadBalancerIPApplyConfiguration
WithIPFamily sets the IPFamily 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 IPFamily field is set to the value of the last call.
func (*LoadBalancerIPApplyConfiguration) WithName ¶
func (b *LoadBalancerIPApplyConfiguration) WithName(value string) *LoadBalancerIPApplyConfiguration
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.
type LoadBalancerPortApplyConfiguration ¶
type LoadBalancerPortApplyConfiguration struct {
Protocol *v1.Protocol `json:"protocol,omitempty"`
Port *int32 `json:"port,omitempty"`
EndPort *int32 `json:"endPort,omitempty"`
}
LoadBalancerPortApplyConfiguration represents an declarative configuration of the LoadBalancerPort type for use with apply.
func LoadBalancerPort ¶
func LoadBalancerPort() *LoadBalancerPortApplyConfiguration
LoadBalancerPortApplyConfiguration constructs an declarative configuration of the LoadBalancerPort type for use with apply.
func (*LoadBalancerPortApplyConfiguration) WithEndPort ¶
func (b *LoadBalancerPortApplyConfiguration) WithEndPort(value int32) *LoadBalancerPortApplyConfiguration
WithEndPort sets the EndPort 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 EndPort field is set to the value of the last call.
func (*LoadBalancerPortApplyConfiguration) WithPort ¶
func (b *LoadBalancerPortApplyConfiguration) WithPort(value int32) *LoadBalancerPortApplyConfiguration
WithPort sets the Port 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 Port field is set to the value of the last call.
func (*LoadBalancerPortApplyConfiguration) WithProtocol ¶
func (b *LoadBalancerPortApplyConfiguration) WithProtocol(value v1.Protocol) *LoadBalancerPortApplyConfiguration
WithProtocol sets the Protocol 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 Protocol field is set to the value of the last call.
type LoadBalancerRoutingApplyConfiguration ¶
type LoadBalancerRoutingApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
Destinations []LoadBalancerDestinationApplyConfiguration `json:"destinations,omitempty"`
}
LoadBalancerRoutingApplyConfiguration represents an declarative configuration of the LoadBalancerRouting type for use with apply.
func ExtractLoadBalancerRouting ¶
func ExtractLoadBalancerRouting(loadBalancerRouting *corev1alpha1.LoadBalancerRouting, fieldManager string) (*LoadBalancerRoutingApplyConfiguration, error)
ExtractLoadBalancerRouting extracts the applied configuration owned by fieldManager from loadBalancerRouting. If no managedFields are found in loadBalancerRouting for fieldManager, a LoadBalancerRoutingApplyConfiguration 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. loadBalancerRouting must be a unmodified LoadBalancerRouting API object that was retrieved from the Kubernetes API. ExtractLoadBalancerRouting 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 ExtractLoadBalancerRoutingStatus ¶
func ExtractLoadBalancerRoutingStatus(loadBalancerRouting *corev1alpha1.LoadBalancerRouting, fieldManager string) (*LoadBalancerRoutingApplyConfiguration, error)
ExtractLoadBalancerRoutingStatus is the same as ExtractLoadBalancerRouting except that it extracts the status subresource applied configuration. Experimental!
func LoadBalancerRouting ¶
func LoadBalancerRouting(name, namespace string) *LoadBalancerRoutingApplyConfiguration
LoadBalancerRouting constructs an declarative configuration of the LoadBalancerRouting type for use with apply.
func (*LoadBalancerRoutingApplyConfiguration) WithAPIVersion ¶
func (b *LoadBalancerRoutingApplyConfiguration) WithAPIVersion(value string) *LoadBalancerRoutingApplyConfiguration
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 (*LoadBalancerRoutingApplyConfiguration) WithAnnotations ¶
func (b *LoadBalancerRoutingApplyConfiguration) WithAnnotations(entries map[string]string) *LoadBalancerRoutingApplyConfiguration
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 (*LoadBalancerRoutingApplyConfiguration) WithCreationTimestamp ¶
func (b *LoadBalancerRoutingApplyConfiguration) WithCreationTimestamp(value metav1.Time) *LoadBalancerRoutingApplyConfiguration
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 (*LoadBalancerRoutingApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *LoadBalancerRoutingApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *LoadBalancerRoutingApplyConfiguration
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 (*LoadBalancerRoutingApplyConfiguration) WithDeletionTimestamp ¶
func (b *LoadBalancerRoutingApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *LoadBalancerRoutingApplyConfiguration
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 (*LoadBalancerRoutingApplyConfiguration) WithDestinations ¶
func (b *LoadBalancerRoutingApplyConfiguration) WithDestinations(values ...*LoadBalancerDestinationApplyConfiguration) *LoadBalancerRoutingApplyConfiguration
WithDestinations adds the given value to the Destinations 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 Destinations field.
func (*LoadBalancerRoutingApplyConfiguration) WithFinalizers ¶
func (b *LoadBalancerRoutingApplyConfiguration) WithFinalizers(values ...string) *LoadBalancerRoutingApplyConfiguration
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 (*LoadBalancerRoutingApplyConfiguration) WithGenerateName ¶
func (b *LoadBalancerRoutingApplyConfiguration) WithGenerateName(value string) *LoadBalancerRoutingApplyConfiguration
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 (*LoadBalancerRoutingApplyConfiguration) WithGeneration ¶
func (b *LoadBalancerRoutingApplyConfiguration) WithGeneration(value int64) *LoadBalancerRoutingApplyConfiguration
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 (*LoadBalancerRoutingApplyConfiguration) WithKind ¶
func (b *LoadBalancerRoutingApplyConfiguration) WithKind(value string) *LoadBalancerRoutingApplyConfiguration
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 (*LoadBalancerRoutingApplyConfiguration) WithLabels ¶
func (b *LoadBalancerRoutingApplyConfiguration) WithLabels(entries map[string]string) *LoadBalancerRoutingApplyConfiguration
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 (*LoadBalancerRoutingApplyConfiguration) WithName ¶
func (b *LoadBalancerRoutingApplyConfiguration) WithName(value string) *LoadBalancerRoutingApplyConfiguration
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 (*LoadBalancerRoutingApplyConfiguration) WithNamespace ¶
func (b *LoadBalancerRoutingApplyConfiguration) WithNamespace(value string) *LoadBalancerRoutingApplyConfiguration
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 (*LoadBalancerRoutingApplyConfiguration) WithOwnerReferences ¶
func (b *LoadBalancerRoutingApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *LoadBalancerRoutingApplyConfiguration
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 (*LoadBalancerRoutingApplyConfiguration) WithResourceVersion ¶
func (b *LoadBalancerRoutingApplyConfiguration) WithResourceVersion(value string) *LoadBalancerRoutingApplyConfiguration
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 (*LoadBalancerRoutingApplyConfiguration) WithUID ¶
func (b *LoadBalancerRoutingApplyConfiguration) WithUID(value types.UID) *LoadBalancerRoutingApplyConfiguration
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 LoadBalancerSpecApplyConfiguration ¶
type LoadBalancerSpecApplyConfiguration struct {
Type *v1alpha1.LoadBalancerType `json:"type,omitempty"`
NetworkRef *v1.LocalObjectReference `json:"networkRef,omitempty"`
IPs []LoadBalancerIPApplyConfiguration `json:"ips,omitempty"`
Ports []LoadBalancerPortApplyConfiguration `json:"ports,omitempty"`
Selector *metav1.LabelSelectorApplyConfiguration `json:"selector,omitempty"`
Template *InstanceTemplateApplyConfiguration `json:"template,omitempty"`
}
LoadBalancerSpecApplyConfiguration represents an declarative configuration of the LoadBalancerSpec type for use with apply.
func LoadBalancerSpec ¶
func LoadBalancerSpec() *LoadBalancerSpecApplyConfiguration
LoadBalancerSpecApplyConfiguration constructs an declarative configuration of the LoadBalancerSpec type for use with apply.
func (*LoadBalancerSpecApplyConfiguration) WithIPs ¶
func (b *LoadBalancerSpecApplyConfiguration) WithIPs(values ...*LoadBalancerIPApplyConfiguration) *LoadBalancerSpecApplyConfiguration
WithIPs adds the given value to the IPs 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 IPs field.
func (*LoadBalancerSpecApplyConfiguration) WithNetworkRef ¶
func (b *LoadBalancerSpecApplyConfiguration) WithNetworkRef(value v1.LocalObjectReference) *LoadBalancerSpecApplyConfiguration
WithNetworkRef sets the NetworkRef 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 NetworkRef field is set to the value of the last call.
func (*LoadBalancerSpecApplyConfiguration) WithPorts ¶
func (b *LoadBalancerSpecApplyConfiguration) WithPorts(values ...*LoadBalancerPortApplyConfiguration) *LoadBalancerSpecApplyConfiguration
WithPorts adds the given value to the Ports 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 Ports field.
func (*LoadBalancerSpecApplyConfiguration) WithSelector ¶
func (b *LoadBalancerSpecApplyConfiguration) WithSelector(value *metav1.LabelSelectorApplyConfiguration) *LoadBalancerSpecApplyConfiguration
WithSelector sets the Selector 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 Selector field is set to the value of the last call.
func (*LoadBalancerSpecApplyConfiguration) WithTemplate ¶
func (b *LoadBalancerSpecApplyConfiguration) WithTemplate(value *InstanceTemplateApplyConfiguration) *LoadBalancerSpecApplyConfiguration
WithTemplate sets the Template 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 Template field is set to the value of the last call.
func (*LoadBalancerSpecApplyConfiguration) WithType ¶
func (b *LoadBalancerSpecApplyConfiguration) WithType(value v1alpha1.LoadBalancerType) *LoadBalancerSpecApplyConfiguration
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 LoadBalancerStatusApplyConfiguration ¶
type LoadBalancerStatusApplyConfiguration struct {
CollisionCount *int32 `json:"collisionCount,omitempty"`
}
LoadBalancerStatusApplyConfiguration represents an declarative configuration of the LoadBalancerStatus type for use with apply.
func LoadBalancerStatus ¶
func LoadBalancerStatus() *LoadBalancerStatusApplyConfiguration
LoadBalancerStatusApplyConfiguration constructs an declarative configuration of the LoadBalancerStatus type for use with apply.
func (*LoadBalancerStatusApplyConfiguration) WithCollisionCount ¶
func (b *LoadBalancerStatusApplyConfiguration) WithCollisionCount(value int32) *LoadBalancerStatusApplyConfiguration
WithCollisionCount sets the CollisionCount 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 CollisionCount field is set to the value of the last call.
type LoadBalancerTargetRefApplyConfiguration ¶
type LoadBalancerTargetRefApplyConfiguration struct {
UID *types.UID `json:"uid,omitempty"`
Name *string `json:"name,omitempty"`
NodeRef *v1.LocalObjectReference `json:"nodeRef,omitempty"`
}
LoadBalancerTargetRefApplyConfiguration represents an declarative configuration of the LoadBalancerTargetRef type for use with apply.
func LoadBalancerTargetRef ¶
func LoadBalancerTargetRef() *LoadBalancerTargetRefApplyConfiguration
LoadBalancerTargetRefApplyConfiguration constructs an declarative configuration of the LoadBalancerTargetRef type for use with apply.
func (*LoadBalancerTargetRefApplyConfiguration) WithName ¶
func (b *LoadBalancerTargetRefApplyConfiguration) WithName(value string) *LoadBalancerTargetRefApplyConfiguration
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 (*LoadBalancerTargetRefApplyConfiguration) WithNodeRef ¶
func (b *LoadBalancerTargetRefApplyConfiguration) WithNodeRef(value v1.LocalObjectReference) *LoadBalancerTargetRefApplyConfiguration
WithNodeRef sets the NodeRef 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 NodeRef field is set to the value of the last call.
func (*LoadBalancerTargetRefApplyConfiguration) WithUID ¶
func (b *LoadBalancerTargetRefApplyConfiguration) WithUID(value types.UID) *LoadBalancerTargetRefApplyConfiguration
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 LocalUIDReferenceApplyConfiguration ¶
type LocalUIDReferenceApplyConfiguration struct {
Name *string `json:"name,omitempty"`
UID *types.UID `json:"uid,omitempty"`
}
LocalUIDReferenceApplyConfiguration represents an declarative configuration of the LocalUIDReference type for use with apply.
func LocalUIDReference ¶
func LocalUIDReference() *LocalUIDReferenceApplyConfiguration
LocalUIDReferenceApplyConfiguration constructs an declarative configuration of the LocalUIDReference type for use with apply.
func (*LocalUIDReferenceApplyConfiguration) WithName ¶
func (b *LocalUIDReferenceApplyConfiguration) WithName(value string) *LocalUIDReferenceApplyConfiguration
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 (*LocalUIDReferenceApplyConfiguration) WithUID ¶
func (b *LocalUIDReferenceApplyConfiguration) WithUID(value types.UID) *LocalUIDReferenceApplyConfiguration
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 NATGatewayApplyConfiguration ¶
type NATGatewayApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
Spec *NATGatewaySpecApplyConfiguration `json:"spec,omitempty"`
Status *NATGatewayStatusApplyConfiguration `json:"status,omitempty"`
}
NATGatewayApplyConfiguration represents an declarative configuration of the NATGateway type for use with apply.
func ExtractNATGateway ¶
func ExtractNATGateway(nATGateway *corev1alpha1.NATGateway, fieldManager string) (*NATGatewayApplyConfiguration, error)
ExtractNATGateway extracts the applied configuration owned by fieldManager from nATGateway. If no managedFields are found in nATGateway for fieldManager, a NATGatewayApplyConfiguration 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. nATGateway must be a unmodified NATGateway API object that was retrieved from the Kubernetes API. ExtractNATGateway 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 ExtractNATGatewayStatus ¶
func ExtractNATGatewayStatus(nATGateway *corev1alpha1.NATGateway, fieldManager string) (*NATGatewayApplyConfiguration, error)
ExtractNATGatewayStatus is the same as ExtractNATGateway except that it extracts the status subresource applied configuration. Experimental!
func NATGateway ¶
func NATGateway(name, namespace string) *NATGatewayApplyConfiguration
NATGateway constructs an declarative configuration of the NATGateway type for use with apply.
func (*NATGatewayApplyConfiguration) WithAPIVersion ¶
func (b *NATGatewayApplyConfiguration) WithAPIVersion(value string) *NATGatewayApplyConfiguration
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 (*NATGatewayApplyConfiguration) WithAnnotations ¶
func (b *NATGatewayApplyConfiguration) WithAnnotations(entries map[string]string) *NATGatewayApplyConfiguration
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 (*NATGatewayApplyConfiguration) WithCreationTimestamp ¶
func (b *NATGatewayApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NATGatewayApplyConfiguration
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 (*NATGatewayApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *NATGatewayApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NATGatewayApplyConfiguration
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 (*NATGatewayApplyConfiguration) WithDeletionTimestamp ¶
func (b *NATGatewayApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NATGatewayApplyConfiguration
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 (*NATGatewayApplyConfiguration) WithFinalizers ¶
func (b *NATGatewayApplyConfiguration) WithFinalizers(values ...string) *NATGatewayApplyConfiguration
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 (*NATGatewayApplyConfiguration) WithGenerateName ¶
func (b *NATGatewayApplyConfiguration) WithGenerateName(value string) *NATGatewayApplyConfiguration
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 (*NATGatewayApplyConfiguration) WithGeneration ¶
func (b *NATGatewayApplyConfiguration) WithGeneration(value int64) *NATGatewayApplyConfiguration
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 (*NATGatewayApplyConfiguration) WithKind ¶
func (b *NATGatewayApplyConfiguration) WithKind(value string) *NATGatewayApplyConfiguration
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 (*NATGatewayApplyConfiguration) WithLabels ¶
func (b *NATGatewayApplyConfiguration) WithLabels(entries map[string]string) *NATGatewayApplyConfiguration
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 (*NATGatewayApplyConfiguration) WithName ¶
func (b *NATGatewayApplyConfiguration) WithName(value string) *NATGatewayApplyConfiguration
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 (*NATGatewayApplyConfiguration) WithNamespace ¶
func (b *NATGatewayApplyConfiguration) WithNamespace(value string) *NATGatewayApplyConfiguration
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 (*NATGatewayApplyConfiguration) WithOwnerReferences ¶
func (b *NATGatewayApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NATGatewayApplyConfiguration
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 (*NATGatewayApplyConfiguration) WithResourceVersion ¶
func (b *NATGatewayApplyConfiguration) WithResourceVersion(value string) *NATGatewayApplyConfiguration
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 (*NATGatewayApplyConfiguration) WithSpec ¶
func (b *NATGatewayApplyConfiguration) WithSpec(value *NATGatewaySpecApplyConfiguration) *NATGatewayApplyConfiguration
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 (*NATGatewayApplyConfiguration) WithStatus ¶
func (b *NATGatewayApplyConfiguration) WithStatus(value *NATGatewayStatusApplyConfiguration) *NATGatewayApplyConfiguration
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 (*NATGatewayApplyConfiguration) WithUID ¶
func (b *NATGatewayApplyConfiguration) WithUID(value types.UID) *NATGatewayApplyConfiguration
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 NATGatewayAutoscalerApplyConfiguration ¶
type NATGatewayAutoscalerApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
Spec *NATGatewayAutoscalerSpecApplyConfiguration `json:"spec,omitempty"`
Status *corev1alpha1.NATGatewayAutoscalerStatus `json:"status,omitempty"`
}
NATGatewayAutoscalerApplyConfiguration represents an declarative configuration of the NATGatewayAutoscaler type for use with apply.
func ExtractNATGatewayAutoscaler ¶
func ExtractNATGatewayAutoscaler(nATGatewayAutoscaler *corev1alpha1.NATGatewayAutoscaler, fieldManager string) (*NATGatewayAutoscalerApplyConfiguration, error)
ExtractNATGatewayAutoscaler extracts the applied configuration owned by fieldManager from nATGatewayAutoscaler. If no managedFields are found in nATGatewayAutoscaler for fieldManager, a NATGatewayAutoscalerApplyConfiguration 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. nATGatewayAutoscaler must be a unmodified NATGatewayAutoscaler API object that was retrieved from the Kubernetes API. ExtractNATGatewayAutoscaler 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 ExtractNATGatewayAutoscalerStatus ¶
func ExtractNATGatewayAutoscalerStatus(nATGatewayAutoscaler *corev1alpha1.NATGatewayAutoscaler, fieldManager string) (*NATGatewayAutoscalerApplyConfiguration, error)
ExtractNATGatewayAutoscalerStatus is the same as ExtractNATGatewayAutoscaler except that it extracts the status subresource applied configuration. Experimental!
func NATGatewayAutoscaler ¶
func NATGatewayAutoscaler(name, namespace string) *NATGatewayAutoscalerApplyConfiguration
NATGatewayAutoscaler constructs an declarative configuration of the NATGatewayAutoscaler type for use with apply.
func (*NATGatewayAutoscalerApplyConfiguration) WithAPIVersion ¶
func (b *NATGatewayAutoscalerApplyConfiguration) WithAPIVersion(value string) *NATGatewayAutoscalerApplyConfiguration
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 (*NATGatewayAutoscalerApplyConfiguration) WithAnnotations ¶
func (b *NATGatewayAutoscalerApplyConfiguration) WithAnnotations(entries map[string]string) *NATGatewayAutoscalerApplyConfiguration
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 (*NATGatewayAutoscalerApplyConfiguration) WithCreationTimestamp ¶
func (b *NATGatewayAutoscalerApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NATGatewayAutoscalerApplyConfiguration
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 (*NATGatewayAutoscalerApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *NATGatewayAutoscalerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NATGatewayAutoscalerApplyConfiguration
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 (*NATGatewayAutoscalerApplyConfiguration) WithDeletionTimestamp ¶
func (b *NATGatewayAutoscalerApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NATGatewayAutoscalerApplyConfiguration
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 (*NATGatewayAutoscalerApplyConfiguration) WithFinalizers ¶
func (b *NATGatewayAutoscalerApplyConfiguration) WithFinalizers(values ...string) *NATGatewayAutoscalerApplyConfiguration
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 (*NATGatewayAutoscalerApplyConfiguration) WithGenerateName ¶
func (b *NATGatewayAutoscalerApplyConfiguration) WithGenerateName(value string) *NATGatewayAutoscalerApplyConfiguration
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 (*NATGatewayAutoscalerApplyConfiguration) WithGeneration ¶
func (b *NATGatewayAutoscalerApplyConfiguration) WithGeneration(value int64) *NATGatewayAutoscalerApplyConfiguration
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 (*NATGatewayAutoscalerApplyConfiguration) WithKind ¶
func (b *NATGatewayAutoscalerApplyConfiguration) WithKind(value string) *NATGatewayAutoscalerApplyConfiguration
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 (*NATGatewayAutoscalerApplyConfiguration) WithLabels ¶
func (b *NATGatewayAutoscalerApplyConfiguration) WithLabels(entries map[string]string) *NATGatewayAutoscalerApplyConfiguration
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 (*NATGatewayAutoscalerApplyConfiguration) WithName ¶
func (b *NATGatewayAutoscalerApplyConfiguration) WithName(value string) *NATGatewayAutoscalerApplyConfiguration
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 (*NATGatewayAutoscalerApplyConfiguration) WithNamespace ¶
func (b *NATGatewayAutoscalerApplyConfiguration) WithNamespace(value string) *NATGatewayAutoscalerApplyConfiguration
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 (*NATGatewayAutoscalerApplyConfiguration) WithOwnerReferences ¶
func (b *NATGatewayAutoscalerApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NATGatewayAutoscalerApplyConfiguration
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 (*NATGatewayAutoscalerApplyConfiguration) WithResourceVersion ¶
func (b *NATGatewayAutoscalerApplyConfiguration) WithResourceVersion(value string) *NATGatewayAutoscalerApplyConfiguration
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 (*NATGatewayAutoscalerApplyConfiguration) WithSpec ¶
func (b *NATGatewayAutoscalerApplyConfiguration) WithSpec(value *NATGatewayAutoscalerSpecApplyConfiguration) *NATGatewayAutoscalerApplyConfiguration
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 (*NATGatewayAutoscalerApplyConfiguration) WithStatus ¶
func (b *NATGatewayAutoscalerApplyConfiguration) WithStatus(value corev1alpha1.NATGatewayAutoscalerStatus) *NATGatewayAutoscalerApplyConfiguration
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 (*NATGatewayAutoscalerApplyConfiguration) WithUID ¶
func (b *NATGatewayAutoscalerApplyConfiguration) WithUID(value types.UID) *NATGatewayAutoscalerApplyConfiguration
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 NATGatewayAutoscalerSpecApplyConfiguration ¶
type NATGatewayAutoscalerSpecApplyConfiguration struct {
NATGatewayRef *v1.LocalObjectReference `json:"natGatewayRef,omitempty"`
MinPublicIPs *int32 `json:"minPublicIPs,omitempty"`
MaxPublicIPs *int32 `json:"maxPublicIPs,omitempty"`
}
NATGatewayAutoscalerSpecApplyConfiguration represents an declarative configuration of the NATGatewayAutoscalerSpec type for use with apply.
func NATGatewayAutoscalerSpec ¶
func NATGatewayAutoscalerSpec() *NATGatewayAutoscalerSpecApplyConfiguration
NATGatewayAutoscalerSpecApplyConfiguration constructs an declarative configuration of the NATGatewayAutoscalerSpec type for use with apply.
func (*NATGatewayAutoscalerSpecApplyConfiguration) WithMaxPublicIPs ¶
func (b *NATGatewayAutoscalerSpecApplyConfiguration) WithMaxPublicIPs(value int32) *NATGatewayAutoscalerSpecApplyConfiguration
WithMaxPublicIPs sets the MaxPublicIPs 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 MaxPublicIPs field is set to the value of the last call.
func (*NATGatewayAutoscalerSpecApplyConfiguration) WithMinPublicIPs ¶
func (b *NATGatewayAutoscalerSpecApplyConfiguration) WithMinPublicIPs(value int32) *NATGatewayAutoscalerSpecApplyConfiguration
WithMinPublicIPs sets the MinPublicIPs 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 MinPublicIPs field is set to the value of the last call.
func (*NATGatewayAutoscalerSpecApplyConfiguration) WithNATGatewayRef ¶
func (b *NATGatewayAutoscalerSpecApplyConfiguration) WithNATGatewayRef(value v1.LocalObjectReference) *NATGatewayAutoscalerSpecApplyConfiguration
WithNATGatewayRef sets the NATGatewayRef 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 NATGatewayRef field is set to the value of the last call.
type NATGatewayIPApplyConfiguration ¶
type NATGatewayIPApplyConfiguration struct {
Name *string `json:"name,omitempty"`
IP *net.IP `json:"ip,omitempty"`
}
NATGatewayIPApplyConfiguration represents an declarative configuration of the NATGatewayIP type for use with apply.
func NATGatewayIP ¶
func NATGatewayIP() *NATGatewayIPApplyConfiguration
NATGatewayIPApplyConfiguration constructs an declarative configuration of the NATGatewayIP type for use with apply.
func (*NATGatewayIPApplyConfiguration) WithIP ¶
func (b *NATGatewayIPApplyConfiguration) WithIP(value net.IP) *NATGatewayIPApplyConfiguration
WithIP sets the IP 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 IP field is set to the value of the last call.
func (*NATGatewayIPApplyConfiguration) WithName ¶
func (b *NATGatewayIPApplyConfiguration) WithName(value string) *NATGatewayIPApplyConfiguration
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.
type NATGatewaySpecApplyConfiguration ¶
type NATGatewaySpecApplyConfiguration struct {
IPFamily *v1.IPFamily `json:"ipFamily,omitempty"`
NetworkRef *v1.LocalObjectReference `json:"networkRef,omitempty"`
IPs []NATGatewayIPApplyConfiguration `json:"ips,omitempty"`
PortsPerNetworkInterface *int32 `json:"portsPerNetworkInterface,omitempty"`
}
NATGatewaySpecApplyConfiguration represents an declarative configuration of the NATGatewaySpec type for use with apply.
func NATGatewaySpec ¶
func NATGatewaySpec() *NATGatewaySpecApplyConfiguration
NATGatewaySpecApplyConfiguration constructs an declarative configuration of the NATGatewaySpec type for use with apply.
func (*NATGatewaySpecApplyConfiguration) WithIPFamily ¶
func (b *NATGatewaySpecApplyConfiguration) WithIPFamily(value v1.IPFamily) *NATGatewaySpecApplyConfiguration
WithIPFamily sets the IPFamily 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 IPFamily field is set to the value of the last call.
func (*NATGatewaySpecApplyConfiguration) WithIPs ¶
func (b *NATGatewaySpecApplyConfiguration) WithIPs(values ...*NATGatewayIPApplyConfiguration) *NATGatewaySpecApplyConfiguration
WithIPs adds the given value to the IPs 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 IPs field.
func (*NATGatewaySpecApplyConfiguration) WithNetworkRef ¶
func (b *NATGatewaySpecApplyConfiguration) WithNetworkRef(value v1.LocalObjectReference) *NATGatewaySpecApplyConfiguration
WithNetworkRef sets the NetworkRef 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 NetworkRef field is set to the value of the last call.
func (*NATGatewaySpecApplyConfiguration) WithPortsPerNetworkInterface ¶
func (b *NATGatewaySpecApplyConfiguration) WithPortsPerNetworkInterface(value int32) *NATGatewaySpecApplyConfiguration
WithPortsPerNetworkInterface sets the PortsPerNetworkInterface 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 PortsPerNetworkInterface field is set to the value of the last call.
type NATGatewayStatusApplyConfiguration ¶
type NATGatewayStatusApplyConfiguration struct {
UsedNATIPs *int64 `json:"usedNATIPs,omitempty"`
RequestedNATIPs *int64 `json:"requestedNATIPs,omitempty"`
}
NATGatewayStatusApplyConfiguration represents an declarative configuration of the NATGatewayStatus type for use with apply.
func NATGatewayStatus ¶
func NATGatewayStatus() *NATGatewayStatusApplyConfiguration
NATGatewayStatusApplyConfiguration constructs an declarative configuration of the NATGatewayStatus type for use with apply.
func (*NATGatewayStatusApplyConfiguration) WithRequestedNATIPs ¶
func (b *NATGatewayStatusApplyConfiguration) WithRequestedNATIPs(value int64) *NATGatewayStatusApplyConfiguration
WithRequestedNATIPs sets the RequestedNATIPs 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 RequestedNATIPs field is set to the value of the last call.
func (*NATGatewayStatusApplyConfiguration) WithUsedNATIPs ¶
func (b *NATGatewayStatusApplyConfiguration) WithUsedNATIPs(value int64) *NATGatewayStatusApplyConfiguration
WithUsedNATIPs sets the UsedNATIPs 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 UsedNATIPs field is set to the value of the last call.
type NATIPApplyConfiguration ¶
type NATIPApplyConfiguration struct {
IP *net.IP `json:"ip,omitempty"`
Sections []NATIPSectionApplyConfiguration `json:"sections,omitempty"`
}
NATIPApplyConfiguration represents an declarative configuration of the NATIP type for use with apply.
func NATIP ¶
func NATIP() *NATIPApplyConfiguration
NATIPApplyConfiguration constructs an declarative configuration of the NATIP type for use with apply.
func (*NATIPApplyConfiguration) WithIP ¶
func (b *NATIPApplyConfiguration) WithIP(value net.IP) *NATIPApplyConfiguration
WithIP sets the IP 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 IP field is set to the value of the last call.
func (*NATIPApplyConfiguration) WithSections ¶
func (b *NATIPApplyConfiguration) WithSections(values ...*NATIPSectionApplyConfiguration) *NATIPApplyConfiguration
WithSections adds the given value to the Sections 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 Sections field.
type NATIPSectionApplyConfiguration ¶
type NATIPSectionApplyConfiguration struct {
IP *net.IP `json:"ip,omitempty"`
Port *int32 `json:"port,omitempty"`
EndPort *int32 `json:"endPort,omitempty"`
TargetRef *NATTableIPTargetRefApplyConfiguration `json:"targetRef,omitempty"`
}
NATIPSectionApplyConfiguration represents an declarative configuration of the NATIPSection type for use with apply.
func NATIPSection ¶
func NATIPSection() *NATIPSectionApplyConfiguration
NATIPSectionApplyConfiguration constructs an declarative configuration of the NATIPSection type for use with apply.
func (*NATIPSectionApplyConfiguration) WithEndPort ¶
func (b *NATIPSectionApplyConfiguration) WithEndPort(value int32) *NATIPSectionApplyConfiguration
WithEndPort sets the EndPort 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 EndPort field is set to the value of the last call.
func (*NATIPSectionApplyConfiguration) WithIP ¶
func (b *NATIPSectionApplyConfiguration) WithIP(value net.IP) *NATIPSectionApplyConfiguration
WithIP sets the IP 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 IP field is set to the value of the last call.
func (*NATIPSectionApplyConfiguration) WithPort ¶
func (b *NATIPSectionApplyConfiguration) WithPort(value int32) *NATIPSectionApplyConfiguration
WithPort sets the Port 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 Port field is set to the value of the last call.
func (*NATIPSectionApplyConfiguration) WithTargetRef ¶
func (b *NATIPSectionApplyConfiguration) WithTargetRef(value *NATTableIPTargetRefApplyConfiguration) *NATIPSectionApplyConfiguration
WithTargetRef sets the TargetRef 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 TargetRef field is set to the value of the last call.
type NATTableApplyConfiguration ¶
type NATTableApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
IPs []NATIPApplyConfiguration `json:"ips,omitempty"`
}
NATTableApplyConfiguration represents an declarative configuration of the NATTable type for use with apply.
func ExtractNATTable ¶
func ExtractNATTable(nATTable *corev1alpha1.NATTable, fieldManager string) (*NATTableApplyConfiguration, error)
ExtractNATTable extracts the applied configuration owned by fieldManager from nATTable. If no managedFields are found in nATTable for fieldManager, a NATTableApplyConfiguration 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. nATTable must be a unmodified NATTable API object that was retrieved from the Kubernetes API. ExtractNATTable 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 ExtractNATTableStatus ¶
func ExtractNATTableStatus(nATTable *corev1alpha1.NATTable, fieldManager string) (*NATTableApplyConfiguration, error)
ExtractNATTableStatus is the same as ExtractNATTable except that it extracts the status subresource applied configuration. Experimental!
func NATTable ¶
func NATTable(name, namespace string) *NATTableApplyConfiguration
NATTable constructs an declarative configuration of the NATTable type for use with apply.
func (*NATTableApplyConfiguration) WithAPIVersion ¶
func (b *NATTableApplyConfiguration) WithAPIVersion(value string) *NATTableApplyConfiguration
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 (*NATTableApplyConfiguration) WithAnnotations ¶
func (b *NATTableApplyConfiguration) WithAnnotations(entries map[string]string) *NATTableApplyConfiguration
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 (*NATTableApplyConfiguration) WithCreationTimestamp ¶
func (b *NATTableApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NATTableApplyConfiguration
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 (*NATTableApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *NATTableApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NATTableApplyConfiguration
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 (*NATTableApplyConfiguration) WithDeletionTimestamp ¶
func (b *NATTableApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NATTableApplyConfiguration
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 (*NATTableApplyConfiguration) WithFinalizers ¶
func (b *NATTableApplyConfiguration) WithFinalizers(values ...string) *NATTableApplyConfiguration
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 (*NATTableApplyConfiguration) WithGenerateName ¶
func (b *NATTableApplyConfiguration) WithGenerateName(value string) *NATTableApplyConfiguration
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 (*NATTableApplyConfiguration) WithGeneration ¶
func (b *NATTableApplyConfiguration) WithGeneration(value int64) *NATTableApplyConfiguration
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 (*NATTableApplyConfiguration) WithIPs ¶
func (b *NATTableApplyConfiguration) WithIPs(values ...*NATIPApplyConfiguration) *NATTableApplyConfiguration
WithIPs adds the given value to the IPs 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 IPs field.
func (*NATTableApplyConfiguration) WithKind ¶
func (b *NATTableApplyConfiguration) WithKind(value string) *NATTableApplyConfiguration
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 (*NATTableApplyConfiguration) WithLabels ¶
func (b *NATTableApplyConfiguration) WithLabels(entries map[string]string) *NATTableApplyConfiguration
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 (*NATTableApplyConfiguration) WithName ¶
func (b *NATTableApplyConfiguration) WithName(value string) *NATTableApplyConfiguration
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 (*NATTableApplyConfiguration) WithNamespace ¶
func (b *NATTableApplyConfiguration) WithNamespace(value string) *NATTableApplyConfiguration
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 (*NATTableApplyConfiguration) WithOwnerReferences ¶
func (b *NATTableApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NATTableApplyConfiguration
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 (*NATTableApplyConfiguration) WithResourceVersion ¶
func (b *NATTableApplyConfiguration) WithResourceVersion(value string) *NATTableApplyConfiguration
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 (*NATTableApplyConfiguration) WithUID ¶
func (b *NATTableApplyConfiguration) WithUID(value types.UID) *NATTableApplyConfiguration
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 NATTableIPTargetRefApplyConfiguration ¶
type NATTableIPTargetRefApplyConfiguration struct {
UID *types.UID `json:"uid,omitempty"`
Name *string `json:"name,omitempty"`
NodeRef *v1.LocalObjectReference `json:"nodeRef,omitempty"`
}
NATTableIPTargetRefApplyConfiguration represents an declarative configuration of the NATTableIPTargetRef type for use with apply.
func NATTableIPTargetRef ¶
func NATTableIPTargetRef() *NATTableIPTargetRefApplyConfiguration
NATTableIPTargetRefApplyConfiguration constructs an declarative configuration of the NATTableIPTargetRef type for use with apply.
func (*NATTableIPTargetRefApplyConfiguration) WithName ¶
func (b *NATTableIPTargetRefApplyConfiguration) WithName(value string) *NATTableIPTargetRefApplyConfiguration
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 (*NATTableIPTargetRefApplyConfiguration) WithNodeRef ¶
func (b *NATTableIPTargetRefApplyConfiguration) WithNodeRef(value v1.LocalObjectReference) *NATTableIPTargetRefApplyConfiguration
WithNodeRef sets the NodeRef 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 NodeRef field is set to the value of the last call.
func (*NATTableIPTargetRefApplyConfiguration) WithUID ¶
func (b *NATTableIPTargetRefApplyConfiguration) WithUID(value types.UID) *NATTableIPTargetRefApplyConfiguration
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 NetworkApplyConfiguration ¶
type NetworkApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
Spec *NetworkSpecApplyConfiguration `json:"spec,omitempty"`
Status *NetworkStatusApplyConfiguration `json:"status,omitempty"`
}
NetworkApplyConfiguration represents an declarative configuration of the Network type for use with apply.
func ExtractNetwork ¶
func ExtractNetwork(network *corev1alpha1.Network, fieldManager string) (*NetworkApplyConfiguration, error)
ExtractNetwork extracts the applied configuration owned by fieldManager from network. If no managedFields are found in network for fieldManager, a NetworkApplyConfiguration 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. network must be a unmodified Network API object that was retrieved from the Kubernetes API. ExtractNetwork 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 ExtractNetworkStatus ¶
func ExtractNetworkStatus(network *corev1alpha1.Network, fieldManager string) (*NetworkApplyConfiguration, error)
ExtractNetworkStatus is the same as ExtractNetwork except that it extracts the status subresource applied configuration. Experimental!
func Network ¶
func Network(name, namespace string) *NetworkApplyConfiguration
Network constructs an declarative configuration of the Network type for use with apply.
func (*NetworkApplyConfiguration) WithAPIVersion ¶
func (b *NetworkApplyConfiguration) WithAPIVersion(value string) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithAnnotations ¶
func (b *NetworkApplyConfiguration) WithAnnotations(entries map[string]string) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithCreationTimestamp ¶
func (b *NetworkApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *NetworkApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithDeletionTimestamp ¶
func (b *NetworkApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithFinalizers ¶
func (b *NetworkApplyConfiguration) WithFinalizers(values ...string) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithGenerateName ¶
func (b *NetworkApplyConfiguration) WithGenerateName(value string) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithGeneration ¶
func (b *NetworkApplyConfiguration) WithGeneration(value int64) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithKind ¶
func (b *NetworkApplyConfiguration) WithKind(value string) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithLabels ¶
func (b *NetworkApplyConfiguration) WithLabels(entries map[string]string) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithName ¶
func (b *NetworkApplyConfiguration) WithName(value string) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithNamespace ¶
func (b *NetworkApplyConfiguration) WithNamespace(value string) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithOwnerReferences ¶
func (b *NetworkApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithResourceVersion ¶
func (b *NetworkApplyConfiguration) WithResourceVersion(value string) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithSpec ¶
func (b *NetworkApplyConfiguration) WithSpec(value *NetworkSpecApplyConfiguration) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithStatus ¶
func (b *NetworkApplyConfiguration) WithStatus(value *NetworkStatusApplyConfiguration) *NetworkApplyConfiguration
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 (*NetworkApplyConfiguration) WithUID ¶
func (b *NetworkApplyConfiguration) WithUID(value types.UID) *NetworkApplyConfiguration
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 NetworkIDApplyConfiguration ¶
type NetworkIDApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
Spec *NetworkIDSpecApplyConfiguration `json:"spec,omitempty"`
}
NetworkIDApplyConfiguration represents an declarative configuration of the NetworkID type for use with apply.
func ExtractNetworkID ¶
func ExtractNetworkID(networkID *corev1alpha1.NetworkID, fieldManager string) (*NetworkIDApplyConfiguration, error)
ExtractNetworkID extracts the applied configuration owned by fieldManager from networkID. If no managedFields are found in networkID for fieldManager, a NetworkIDApplyConfiguration 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. networkID must be a unmodified NetworkID API object that was retrieved from the Kubernetes API. ExtractNetworkID 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 ExtractNetworkIDStatus ¶
func ExtractNetworkIDStatus(networkID *corev1alpha1.NetworkID, fieldManager string) (*NetworkIDApplyConfiguration, error)
ExtractNetworkIDStatus is the same as ExtractNetworkID except that it extracts the status subresource applied configuration. Experimental!
func NetworkID ¶
func NetworkID(name string) *NetworkIDApplyConfiguration
NetworkID constructs an declarative configuration of the NetworkID type for use with apply.
func (*NetworkIDApplyConfiguration) WithAPIVersion ¶
func (b *NetworkIDApplyConfiguration) WithAPIVersion(value string) *NetworkIDApplyConfiguration
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 (*NetworkIDApplyConfiguration) WithAnnotations ¶
func (b *NetworkIDApplyConfiguration) WithAnnotations(entries map[string]string) *NetworkIDApplyConfiguration
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 (*NetworkIDApplyConfiguration) WithCreationTimestamp ¶
func (b *NetworkIDApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NetworkIDApplyConfiguration
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 (*NetworkIDApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *NetworkIDApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NetworkIDApplyConfiguration
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 (*NetworkIDApplyConfiguration) WithDeletionTimestamp ¶
func (b *NetworkIDApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NetworkIDApplyConfiguration
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 (*NetworkIDApplyConfiguration) WithFinalizers ¶
func (b *NetworkIDApplyConfiguration) WithFinalizers(values ...string) *NetworkIDApplyConfiguration
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 (*NetworkIDApplyConfiguration) WithGenerateName ¶
func (b *NetworkIDApplyConfiguration) WithGenerateName(value string) *NetworkIDApplyConfiguration
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 (*NetworkIDApplyConfiguration) WithGeneration ¶
func (b *NetworkIDApplyConfiguration) WithGeneration(value int64) *NetworkIDApplyConfiguration
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 (*NetworkIDApplyConfiguration) WithKind ¶
func (b *NetworkIDApplyConfiguration) WithKind(value string) *NetworkIDApplyConfiguration
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 (*NetworkIDApplyConfiguration) WithLabels ¶
func (b *NetworkIDApplyConfiguration) WithLabels(entries map[string]string) *NetworkIDApplyConfiguration
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 (*NetworkIDApplyConfiguration) WithName ¶
func (b *NetworkIDApplyConfiguration) WithName(value string) *NetworkIDApplyConfiguration
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 (*NetworkIDApplyConfiguration) WithNamespace ¶
func (b *NetworkIDApplyConfiguration) WithNamespace(value string) *NetworkIDApplyConfiguration
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 (*NetworkIDApplyConfiguration) WithOwnerReferences ¶
func (b *NetworkIDApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NetworkIDApplyConfiguration
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 (*NetworkIDApplyConfiguration) WithResourceVersion ¶
func (b *NetworkIDApplyConfiguration) WithResourceVersion(value string) *NetworkIDApplyConfiguration
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 (*NetworkIDApplyConfiguration) WithSpec ¶
func (b *NetworkIDApplyConfiguration) WithSpec(value *NetworkIDSpecApplyConfiguration) *NetworkIDApplyConfiguration
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 (*NetworkIDApplyConfiguration) WithUID ¶
func (b *NetworkIDApplyConfiguration) WithUID(value types.UID) *NetworkIDApplyConfiguration
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 NetworkIDClaimRefApplyConfiguration ¶
type NetworkIDClaimRefApplyConfiguration struct {
Group *string `json:"group,omitempty"`
Resource *string `json:"resource,omitempty"`
Namespace *string `json:"namespace,omitempty"`
Name *string `json:"name,omitempty"`
UID *types.UID `json:"uid,omitempty"`
}
NetworkIDClaimRefApplyConfiguration represents an declarative configuration of the NetworkIDClaimRef type for use with apply.
func NetworkIDClaimRef ¶
func NetworkIDClaimRef() *NetworkIDClaimRefApplyConfiguration
NetworkIDClaimRefApplyConfiguration constructs an declarative configuration of the NetworkIDClaimRef type for use with apply.
func (*NetworkIDClaimRefApplyConfiguration) WithGroup ¶
func (b *NetworkIDClaimRefApplyConfiguration) WithGroup(value string) *NetworkIDClaimRefApplyConfiguration
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 (*NetworkIDClaimRefApplyConfiguration) WithName ¶
func (b *NetworkIDClaimRefApplyConfiguration) WithName(value string) *NetworkIDClaimRefApplyConfiguration
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 (*NetworkIDClaimRefApplyConfiguration) WithNamespace ¶
func (b *NetworkIDClaimRefApplyConfiguration) WithNamespace(value string) *NetworkIDClaimRefApplyConfiguration
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 (*NetworkIDClaimRefApplyConfiguration) WithResource ¶
func (b *NetworkIDClaimRefApplyConfiguration) WithResource(value string) *NetworkIDClaimRefApplyConfiguration
WithResource sets the Resource 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 Resource field is set to the value of the last call.
func (*NetworkIDClaimRefApplyConfiguration) WithUID ¶
func (b *NetworkIDClaimRefApplyConfiguration) WithUID(value types.UID) *NetworkIDClaimRefApplyConfiguration
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 NetworkIDSpecApplyConfiguration ¶
type NetworkIDSpecApplyConfiguration struct {
ClaimRef *NetworkIDClaimRefApplyConfiguration `json:"claimRef,omitempty"`
}
NetworkIDSpecApplyConfiguration represents an declarative configuration of the NetworkIDSpec type for use with apply.
func NetworkIDSpec ¶
func NetworkIDSpec() *NetworkIDSpecApplyConfiguration
NetworkIDSpecApplyConfiguration constructs an declarative configuration of the NetworkIDSpec type for use with apply.
func (*NetworkIDSpecApplyConfiguration) WithClaimRef ¶
func (b *NetworkIDSpecApplyConfiguration) WithClaimRef(value *NetworkIDClaimRefApplyConfiguration) *NetworkIDSpecApplyConfiguration
WithClaimRef sets the ClaimRef 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 ClaimRef field is set to the value of the last call.
type NetworkInterfaceApplyConfiguration ¶
type NetworkInterfaceApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
Spec *NetworkInterfaceSpecApplyConfiguration `json:"spec,omitempty"`
Status *NetworkInterfaceStatusApplyConfiguration `json:"status,omitempty"`
}
NetworkInterfaceApplyConfiguration represents an declarative configuration of the NetworkInterface type for use with apply.
func ExtractNetworkInterface ¶
func ExtractNetworkInterface(networkInterface *corev1alpha1.NetworkInterface, fieldManager string) (*NetworkInterfaceApplyConfiguration, error)
ExtractNetworkInterface extracts the applied configuration owned by fieldManager from networkInterface. If no managedFields are found in networkInterface for fieldManager, a NetworkInterfaceApplyConfiguration 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. networkInterface must be a unmodified NetworkInterface API object that was retrieved from the Kubernetes API. ExtractNetworkInterface 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 ExtractNetworkInterfaceStatus ¶
func ExtractNetworkInterfaceStatus(networkInterface *corev1alpha1.NetworkInterface, fieldManager string) (*NetworkInterfaceApplyConfiguration, error)
ExtractNetworkInterfaceStatus is the same as ExtractNetworkInterface except that it extracts the status subresource applied configuration. Experimental!
func NetworkInterface ¶
func NetworkInterface(name, namespace string) *NetworkInterfaceApplyConfiguration
NetworkInterface constructs an declarative configuration of the NetworkInterface type for use with apply.
func (*NetworkInterfaceApplyConfiguration) WithAPIVersion ¶
func (b *NetworkInterfaceApplyConfiguration) WithAPIVersion(value string) *NetworkInterfaceApplyConfiguration
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 (*NetworkInterfaceApplyConfiguration) WithAnnotations ¶
func (b *NetworkInterfaceApplyConfiguration) WithAnnotations(entries map[string]string) *NetworkInterfaceApplyConfiguration
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 (*NetworkInterfaceApplyConfiguration) WithCreationTimestamp ¶
func (b *NetworkInterfaceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NetworkInterfaceApplyConfiguration
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 (*NetworkInterfaceApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *NetworkInterfaceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NetworkInterfaceApplyConfiguration
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 (*NetworkInterfaceApplyConfiguration) WithDeletionTimestamp ¶
func (b *NetworkInterfaceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NetworkInterfaceApplyConfiguration
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 (*NetworkInterfaceApplyConfiguration) WithFinalizers ¶
func (b *NetworkInterfaceApplyConfiguration) WithFinalizers(values ...string) *NetworkInterfaceApplyConfiguration
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 (*NetworkInterfaceApplyConfiguration) WithGenerateName ¶
func (b *NetworkInterfaceApplyConfiguration) WithGenerateName(value string) *NetworkInterfaceApplyConfiguration
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 (*NetworkInterfaceApplyConfiguration) WithGeneration ¶
func (b *NetworkInterfaceApplyConfiguration) WithGeneration(value int64) *NetworkInterfaceApplyConfiguration
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 (*NetworkInterfaceApplyConfiguration) WithKind ¶
func (b *NetworkInterfaceApplyConfiguration) WithKind(value string) *NetworkInterfaceApplyConfiguration
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 (*NetworkInterfaceApplyConfiguration) WithLabels ¶
func (b *NetworkInterfaceApplyConfiguration) WithLabels(entries map[string]string) *NetworkInterfaceApplyConfiguration
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 (*NetworkInterfaceApplyConfiguration) WithName ¶
func (b *NetworkInterfaceApplyConfiguration) WithName(value string) *NetworkInterfaceApplyConfiguration
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 (*NetworkInterfaceApplyConfiguration) WithNamespace ¶
func (b *NetworkInterfaceApplyConfiguration) WithNamespace(value string) *NetworkInterfaceApplyConfiguration
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 (*NetworkInterfaceApplyConfiguration) WithOwnerReferences ¶
func (b *NetworkInterfaceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NetworkInterfaceApplyConfiguration
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 (*NetworkInterfaceApplyConfiguration) WithResourceVersion ¶
func (b *NetworkInterfaceApplyConfiguration) WithResourceVersion(value string) *NetworkInterfaceApplyConfiguration
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 (*NetworkInterfaceApplyConfiguration) WithSpec ¶
func (b *NetworkInterfaceApplyConfiguration) WithSpec(value *NetworkInterfaceSpecApplyConfiguration) *NetworkInterfaceApplyConfiguration
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 (*NetworkInterfaceApplyConfiguration) WithStatus ¶
func (b *NetworkInterfaceApplyConfiguration) WithStatus(value *NetworkInterfaceStatusApplyConfiguration) *NetworkInterfaceApplyConfiguration
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 (*NetworkInterfaceApplyConfiguration) WithUID ¶
func (b *NetworkInterfaceApplyConfiguration) WithUID(value types.UID) *NetworkInterfaceApplyConfiguration
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 NetworkInterfaceNATApplyConfiguration ¶
type NetworkInterfaceNATApplyConfiguration struct {
IPFamily *v1.IPFamily `json:"ipFamily,omitempty"`
ClaimRef *NetworkInterfaceNATClaimRefApplyConfiguration `json:"claimRef,omitempty"`
}
NetworkInterfaceNATApplyConfiguration represents an declarative configuration of the NetworkInterfaceNAT type for use with apply.
func NetworkInterfaceNAT ¶
func NetworkInterfaceNAT() *NetworkInterfaceNATApplyConfiguration
NetworkInterfaceNATApplyConfiguration constructs an declarative configuration of the NetworkInterfaceNAT type for use with apply.
func (*NetworkInterfaceNATApplyConfiguration) WithClaimRef ¶
func (b *NetworkInterfaceNATApplyConfiguration) WithClaimRef(value *NetworkInterfaceNATClaimRefApplyConfiguration) *NetworkInterfaceNATApplyConfiguration
WithClaimRef sets the ClaimRef 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 ClaimRef field is set to the value of the last call.
func (*NetworkInterfaceNATApplyConfiguration) WithIPFamily ¶
func (b *NetworkInterfaceNATApplyConfiguration) WithIPFamily(value v1.IPFamily) *NetworkInterfaceNATApplyConfiguration
WithIPFamily sets the IPFamily 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 IPFamily field is set to the value of the last call.
type NetworkInterfaceNATClaimRefApplyConfiguration ¶
type NetworkInterfaceNATClaimRefApplyConfiguration struct {
Name *string `json:"name,omitempty"`
UID *types.UID `json:"uid,omitempty"`
}
NetworkInterfaceNATClaimRefApplyConfiguration represents an declarative configuration of the NetworkInterfaceNATClaimRef type for use with apply.
func NetworkInterfaceNATClaimRef ¶
func NetworkInterfaceNATClaimRef() *NetworkInterfaceNATClaimRefApplyConfiguration
NetworkInterfaceNATClaimRefApplyConfiguration constructs an declarative configuration of the NetworkInterfaceNATClaimRef type for use with apply.
func (*NetworkInterfaceNATClaimRefApplyConfiguration) WithName ¶
func (b *NetworkInterfaceNATClaimRefApplyConfiguration) WithName(value string) *NetworkInterfaceNATClaimRefApplyConfiguration
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 (*NetworkInterfaceNATClaimRefApplyConfiguration) WithUID ¶
func (b *NetworkInterfaceNATClaimRefApplyConfiguration) WithUID(value types.UID) *NetworkInterfaceNATClaimRefApplyConfiguration
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 NetworkInterfacePublicIPApplyConfiguration ¶
type NetworkInterfacePublicIPApplyConfiguration struct {
Name *string `json:"name,omitempty"`
IPFamily *v1.IPFamily `json:"ipFamily,omitempty"`
IP *net.IP `json:"ip,omitempty"`
}
NetworkInterfacePublicIPApplyConfiguration represents an declarative configuration of the NetworkInterfacePublicIP type for use with apply.
func NetworkInterfacePublicIP ¶
func NetworkInterfacePublicIP() *NetworkInterfacePublicIPApplyConfiguration
NetworkInterfacePublicIPApplyConfiguration constructs an declarative configuration of the NetworkInterfacePublicIP type for use with apply.
func (*NetworkInterfacePublicIPApplyConfiguration) WithIP ¶
func (b *NetworkInterfacePublicIPApplyConfiguration) WithIP(value net.IP) *NetworkInterfacePublicIPApplyConfiguration
WithIP sets the IP 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 IP field is set to the value of the last call.
func (*NetworkInterfacePublicIPApplyConfiguration) WithIPFamily ¶
func (b *NetworkInterfacePublicIPApplyConfiguration) WithIPFamily(value v1.IPFamily) *NetworkInterfacePublicIPApplyConfiguration
WithIPFamily sets the IPFamily 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 IPFamily field is set to the value of the last call.
func (*NetworkInterfacePublicIPApplyConfiguration) WithName ¶
func (b *NetworkInterfacePublicIPApplyConfiguration) WithName(value string) *NetworkInterfacePublicIPApplyConfiguration
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.
type NetworkInterfaceSpecApplyConfiguration ¶
type NetworkInterfaceSpecApplyConfiguration struct {
NodeRef *v1.LocalObjectReference `json:"nodeRef,omitempty"`
NetworkRef *v1.LocalObjectReference `json:"networkRef,omitempty"`
IPs []net.IP `json:"ips,omitempty"`
Prefixes []net.IPPrefix `json:"prefixes,omitempty"`
NATs []NetworkInterfaceNATApplyConfiguration `json:"natGateways,omitempty"`
PublicIPs []NetworkInterfacePublicIPApplyConfiguration `json:"publicIPs,omitempty"`
}
NetworkInterfaceSpecApplyConfiguration represents an declarative configuration of the NetworkInterfaceSpec type for use with apply.
func NetworkInterfaceSpec ¶
func NetworkInterfaceSpec() *NetworkInterfaceSpecApplyConfiguration
NetworkInterfaceSpecApplyConfiguration constructs an declarative configuration of the NetworkInterfaceSpec type for use with apply.
func (*NetworkInterfaceSpecApplyConfiguration) WithIPs ¶
func (b *NetworkInterfaceSpecApplyConfiguration) WithIPs(values ...net.IP) *NetworkInterfaceSpecApplyConfiguration
WithIPs adds the given value to the IPs 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 IPs field.
func (*NetworkInterfaceSpecApplyConfiguration) WithNATs ¶
func (b *NetworkInterfaceSpecApplyConfiguration) WithNATs(values ...*NetworkInterfaceNATApplyConfiguration) *NetworkInterfaceSpecApplyConfiguration
WithNATs adds the given value to the NATs 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 NATs field.
func (*NetworkInterfaceSpecApplyConfiguration) WithNetworkRef ¶
func (b *NetworkInterfaceSpecApplyConfiguration) WithNetworkRef(value v1.LocalObjectReference) *NetworkInterfaceSpecApplyConfiguration
WithNetworkRef sets the NetworkRef 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 NetworkRef field is set to the value of the last call.
func (*NetworkInterfaceSpecApplyConfiguration) WithNodeRef ¶
func (b *NetworkInterfaceSpecApplyConfiguration) WithNodeRef(value v1.LocalObjectReference) *NetworkInterfaceSpecApplyConfiguration
WithNodeRef sets the NodeRef 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 NodeRef field is set to the value of the last call.
func (*NetworkInterfaceSpecApplyConfiguration) WithPrefixes ¶
func (b *NetworkInterfaceSpecApplyConfiguration) WithPrefixes(values ...net.IPPrefix) *NetworkInterfaceSpecApplyConfiguration
WithPrefixes adds the given value to the Prefixes 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 Prefixes field.
func (*NetworkInterfaceSpecApplyConfiguration) WithPublicIPs ¶
func (b *NetworkInterfaceSpecApplyConfiguration) WithPublicIPs(values ...*NetworkInterfacePublicIPApplyConfiguration) *NetworkInterfaceSpecApplyConfiguration
WithPublicIPs adds the given value to the PublicIPs 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 PublicIPs field.
type NetworkInterfaceStatusApplyConfiguration ¶
type NetworkInterfaceStatusApplyConfiguration struct {
State *v1alpha1.NetworkInterfaceState `json:"state,omitempty"`
PCIAddress *PCIAddressApplyConfiguration `json:"pciAddress,omitempty"`
Prefixes []net.IPPrefix `json:"prefixes,omitempty"`
PublicIPs []net.IP `json:"publicIPs,omitempty"`
NATIPs []net.IP `json:"natIPs,omitempty"`
}
NetworkInterfaceStatusApplyConfiguration represents an declarative configuration of the NetworkInterfaceStatus type for use with apply.
func NetworkInterfaceStatus ¶
func NetworkInterfaceStatus() *NetworkInterfaceStatusApplyConfiguration
NetworkInterfaceStatusApplyConfiguration constructs an declarative configuration of the NetworkInterfaceStatus type for use with apply.
func (*NetworkInterfaceStatusApplyConfiguration) WithNATIPs ¶
func (b *NetworkInterfaceStatusApplyConfiguration) WithNATIPs(values ...net.IP) *NetworkInterfaceStatusApplyConfiguration
WithNATIPs adds the given value to the NATIPs 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 NATIPs field.
func (*NetworkInterfaceStatusApplyConfiguration) WithPCIAddress ¶
func (b *NetworkInterfaceStatusApplyConfiguration) WithPCIAddress(value *PCIAddressApplyConfiguration) *NetworkInterfaceStatusApplyConfiguration
WithPCIAddress sets the PCIAddress 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 PCIAddress field is set to the value of the last call.
func (*NetworkInterfaceStatusApplyConfiguration) WithPrefixes ¶
func (b *NetworkInterfaceStatusApplyConfiguration) WithPrefixes(values ...net.IPPrefix) *NetworkInterfaceStatusApplyConfiguration
WithPrefixes adds the given value to the Prefixes 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 Prefixes field.
func (*NetworkInterfaceStatusApplyConfiguration) WithPublicIPs ¶
func (b *NetworkInterfaceStatusApplyConfiguration) WithPublicIPs(values ...net.IP) *NetworkInterfaceStatusApplyConfiguration
WithPublicIPs adds the given value to the PublicIPs 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 PublicIPs field.
func (*NetworkInterfaceStatusApplyConfiguration) WithState ¶
func (b *NetworkInterfaceStatusApplyConfiguration) WithState(value v1alpha1.NetworkInterfaceState) *NetworkInterfaceStatusApplyConfiguration
WithState sets the State 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 State field is set to the value of the last call.
type NetworkPeeringApplyConfiguration ¶
type NetworkPeeringApplyConfiguration struct {
Name *string `json:"name,omitempty"`
ID *string `json:"id,omitempty"`
Prefixes []PeeringPrefixApplyConfiguration `json:"prefixes,omitempty"`
}
NetworkPeeringApplyConfiguration represents an declarative configuration of the NetworkPeering type for use with apply.
func NetworkPeering ¶
func NetworkPeering() *NetworkPeeringApplyConfiguration
NetworkPeeringApplyConfiguration constructs an declarative configuration of the NetworkPeering type for use with apply.
func (*NetworkPeeringApplyConfiguration) WithID ¶
func (b *NetworkPeeringApplyConfiguration) WithID(value string) *NetworkPeeringApplyConfiguration
WithID sets the ID 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 ID field is set to the value of the last call.
func (*NetworkPeeringApplyConfiguration) WithName ¶
func (b *NetworkPeeringApplyConfiguration) WithName(value string) *NetworkPeeringApplyConfiguration
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 (*NetworkPeeringApplyConfiguration) WithPrefixes ¶
func (b *NetworkPeeringApplyConfiguration) WithPrefixes(values ...*PeeringPrefixApplyConfiguration) *NetworkPeeringApplyConfiguration
WithPrefixes adds the given value to the Prefixes 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 Prefixes field.
type NetworkPeeringStatusApplyConfiguration ¶
type NetworkPeeringStatusApplyConfiguration struct {
ID *int32 `json:"id,omitempty"`
State *v1alpha1.NetworkPeeringState `json:"state,omitempty"`
}
NetworkPeeringStatusApplyConfiguration represents an declarative configuration of the NetworkPeeringStatus type for use with apply.
func NetworkPeeringStatus ¶
func NetworkPeeringStatus() *NetworkPeeringStatusApplyConfiguration
NetworkPeeringStatusApplyConfiguration constructs an declarative configuration of the NetworkPeeringStatus type for use with apply.
func (*NetworkPeeringStatusApplyConfiguration) WithID ¶
func (b *NetworkPeeringStatusApplyConfiguration) WithID(value int32) *NetworkPeeringStatusApplyConfiguration
WithID sets the ID 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 ID field is set to the value of the last call.
func (*NetworkPeeringStatusApplyConfiguration) WithState ¶
func (b *NetworkPeeringStatusApplyConfiguration) WithState(value v1alpha1.NetworkPeeringState) *NetworkPeeringStatusApplyConfiguration
WithState sets the State 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 State field is set to the value of the last call.
type NetworkPolicyApplyConfiguration ¶
type NetworkPolicyApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
Spec *NetworkPolicySpecApplyConfiguration `json:"spec,omitempty"`
}
NetworkPolicyApplyConfiguration represents an declarative configuration of the NetworkPolicy type for use with apply.
func ExtractNetworkPolicy ¶
func ExtractNetworkPolicy(networkPolicy *corev1alpha1.NetworkPolicy, fieldManager string) (*NetworkPolicyApplyConfiguration, error)
ExtractNetworkPolicy extracts the applied configuration owned by fieldManager from networkPolicy. If no managedFields are found in networkPolicy for fieldManager, a NetworkPolicyApplyConfiguration 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. networkPolicy must be a unmodified NetworkPolicy API object that was retrieved from the Kubernetes API. ExtractNetworkPolicy 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 ExtractNetworkPolicyStatus ¶
func ExtractNetworkPolicyStatus(networkPolicy *corev1alpha1.NetworkPolicy, fieldManager string) (*NetworkPolicyApplyConfiguration, error)
ExtractNetworkPolicyStatus is the same as ExtractNetworkPolicy except that it extracts the status subresource applied configuration. Experimental!
func NetworkPolicy ¶
func NetworkPolicy(name, namespace string) *NetworkPolicyApplyConfiguration
NetworkPolicy constructs an declarative configuration of the NetworkPolicy type for use with apply.
func (*NetworkPolicyApplyConfiguration) WithAPIVersion ¶
func (b *NetworkPolicyApplyConfiguration) WithAPIVersion(value string) *NetworkPolicyApplyConfiguration
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 (*NetworkPolicyApplyConfiguration) WithAnnotations ¶
func (b *NetworkPolicyApplyConfiguration) WithAnnotations(entries map[string]string) *NetworkPolicyApplyConfiguration
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 (*NetworkPolicyApplyConfiguration) WithCreationTimestamp ¶
func (b *NetworkPolicyApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NetworkPolicyApplyConfiguration
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 (*NetworkPolicyApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *NetworkPolicyApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NetworkPolicyApplyConfiguration
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 (*NetworkPolicyApplyConfiguration) WithDeletionTimestamp ¶
func (b *NetworkPolicyApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NetworkPolicyApplyConfiguration
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 (*NetworkPolicyApplyConfiguration) WithFinalizers ¶
func (b *NetworkPolicyApplyConfiguration) WithFinalizers(values ...string) *NetworkPolicyApplyConfiguration
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 (*NetworkPolicyApplyConfiguration) WithGenerateName ¶
func (b *NetworkPolicyApplyConfiguration) WithGenerateName(value string) *NetworkPolicyApplyConfiguration
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 (*NetworkPolicyApplyConfiguration) WithGeneration ¶
func (b *NetworkPolicyApplyConfiguration) WithGeneration(value int64) *NetworkPolicyApplyConfiguration
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 (*NetworkPolicyApplyConfiguration) WithKind ¶
func (b *NetworkPolicyApplyConfiguration) WithKind(value string) *NetworkPolicyApplyConfiguration
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 (*NetworkPolicyApplyConfiguration) WithLabels ¶
func (b *NetworkPolicyApplyConfiguration) WithLabels(entries map[string]string) *NetworkPolicyApplyConfiguration
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 (*NetworkPolicyApplyConfiguration) WithName ¶
func (b *NetworkPolicyApplyConfiguration) WithName(value string) *NetworkPolicyApplyConfiguration
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 (*NetworkPolicyApplyConfiguration) WithNamespace ¶
func (b *NetworkPolicyApplyConfiguration) WithNamespace(value string) *NetworkPolicyApplyConfiguration
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 (*NetworkPolicyApplyConfiguration) WithOwnerReferences ¶
func (b *NetworkPolicyApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NetworkPolicyApplyConfiguration
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 (*NetworkPolicyApplyConfiguration) WithResourceVersion ¶
func (b *NetworkPolicyApplyConfiguration) WithResourceVersion(value string) *NetworkPolicyApplyConfiguration
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 (*NetworkPolicyApplyConfiguration) WithSpec ¶
func (b *NetworkPolicyApplyConfiguration) WithSpec(value *NetworkPolicySpecApplyConfiguration) *NetworkPolicyApplyConfiguration
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 (*NetworkPolicyApplyConfiguration) WithUID ¶
func (b *NetworkPolicyApplyConfiguration) WithUID(value types.UID) *NetworkPolicyApplyConfiguration
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 NetworkPolicyEgressRuleApplyConfiguration ¶
type NetworkPolicyEgressRuleApplyConfiguration struct {
Ports []NetworkPolicyPortApplyConfiguration `json:"ports,omitempty"`
To []NetworkPolicyPeerApplyConfiguration `json:"to,omitempty"`
}
NetworkPolicyEgressRuleApplyConfiguration represents an declarative configuration of the NetworkPolicyEgressRule type for use with apply.
func NetworkPolicyEgressRule ¶
func NetworkPolicyEgressRule() *NetworkPolicyEgressRuleApplyConfiguration
NetworkPolicyEgressRuleApplyConfiguration constructs an declarative configuration of the NetworkPolicyEgressRule type for use with apply.
func (*NetworkPolicyEgressRuleApplyConfiguration) WithPorts ¶
func (b *NetworkPolicyEgressRuleApplyConfiguration) WithPorts(values ...*NetworkPolicyPortApplyConfiguration) *NetworkPolicyEgressRuleApplyConfiguration
WithPorts adds the given value to the Ports 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 Ports field.
func (*NetworkPolicyEgressRuleApplyConfiguration) WithTo ¶
func (b *NetworkPolicyEgressRuleApplyConfiguration) WithTo(values ...*NetworkPolicyPeerApplyConfiguration) *NetworkPolicyEgressRuleApplyConfiguration
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 NetworkPolicyIngressRuleApplyConfiguration ¶
type NetworkPolicyIngressRuleApplyConfiguration struct {
From []NetworkPolicyPeerApplyConfiguration `json:"from,omitempty"`
Ports []NetworkPolicyPortApplyConfiguration `json:"ports,omitempty"`
}
NetworkPolicyIngressRuleApplyConfiguration represents an declarative configuration of the NetworkPolicyIngressRule type for use with apply.
func NetworkPolicyIngressRule ¶
func NetworkPolicyIngressRule() *NetworkPolicyIngressRuleApplyConfiguration
NetworkPolicyIngressRuleApplyConfiguration constructs an declarative configuration of the NetworkPolicyIngressRule type for use with apply.
func (*NetworkPolicyIngressRuleApplyConfiguration) WithFrom ¶
func (b *NetworkPolicyIngressRuleApplyConfiguration) WithFrom(values ...*NetworkPolicyPeerApplyConfiguration) *NetworkPolicyIngressRuleApplyConfiguration
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 (*NetworkPolicyIngressRuleApplyConfiguration) WithPorts ¶
func (b *NetworkPolicyIngressRuleApplyConfiguration) WithPorts(values ...*NetworkPolicyPortApplyConfiguration) *NetworkPolicyIngressRuleApplyConfiguration
WithPorts adds the given value to the Ports 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 Ports field.
type NetworkPolicyPeerApplyConfiguration ¶
type NetworkPolicyPeerApplyConfiguration struct {
ObjectSelector *ObjectSelectorApplyConfiguration `json:"objectSelector,omitempty"`
IPBlock *IPBlockApplyConfiguration `json:"ipBlock,omitempty"`
}
NetworkPolicyPeerApplyConfiguration represents an declarative configuration of the NetworkPolicyPeer type for use with apply.
func NetworkPolicyPeer ¶
func NetworkPolicyPeer() *NetworkPolicyPeerApplyConfiguration
NetworkPolicyPeerApplyConfiguration constructs an declarative configuration of the NetworkPolicyPeer type for use with apply.
func (*NetworkPolicyPeerApplyConfiguration) WithIPBlock ¶
func (b *NetworkPolicyPeerApplyConfiguration) WithIPBlock(value *IPBlockApplyConfiguration) *NetworkPolicyPeerApplyConfiguration
WithIPBlock sets the IPBlock 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 IPBlock field is set to the value of the last call.
func (*NetworkPolicyPeerApplyConfiguration) WithObjectSelector ¶
func (b *NetworkPolicyPeerApplyConfiguration) WithObjectSelector(value *ObjectSelectorApplyConfiguration) *NetworkPolicyPeerApplyConfiguration
WithObjectSelector sets the ObjectSelector 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 ObjectSelector field is set to the value of the last call.
type NetworkPolicyPortApplyConfiguration ¶
type NetworkPolicyPortApplyConfiguration struct {
Protocol *v1.Protocol `json:"protocol,omitempty"`
Port *int32 `json:"port,omitempty"`
EndPort *int32 `json:"endPort,omitempty"`
}
NetworkPolicyPortApplyConfiguration represents an declarative configuration of the NetworkPolicyPort type for use with apply.
func NetworkPolicyPort ¶
func NetworkPolicyPort() *NetworkPolicyPortApplyConfiguration
NetworkPolicyPortApplyConfiguration constructs an declarative configuration of the NetworkPolicyPort type for use with apply.
func (*NetworkPolicyPortApplyConfiguration) WithEndPort ¶
func (b *NetworkPolicyPortApplyConfiguration) WithEndPort(value int32) *NetworkPolicyPortApplyConfiguration
WithEndPort sets the EndPort 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 EndPort field is set to the value of the last call.
func (*NetworkPolicyPortApplyConfiguration) WithPort ¶
func (b *NetworkPolicyPortApplyConfiguration) WithPort(value int32) *NetworkPolicyPortApplyConfiguration
WithPort sets the Port 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 Port field is set to the value of the last call.
func (*NetworkPolicyPortApplyConfiguration) WithProtocol ¶
func (b *NetworkPolicyPortApplyConfiguration) WithProtocol(value v1.Protocol) *NetworkPolicyPortApplyConfiguration
WithProtocol sets the Protocol 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 Protocol field is set to the value of the last call.
type NetworkPolicyRuleApplyConfiguration ¶
type NetworkPolicyRuleApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
NetworkRef *LocalUIDReferenceApplyConfiguration `json:"networkRef,omitempty"`
Targets []TargetNetworkInterfaceApplyConfiguration `json:"targets,omitempty"`
Priority *int32 `json:"priority,omitempty"`
IngressRules []RuleApplyConfiguration `json:"ingressRule,omitempty"`
EgressRules []RuleApplyConfiguration `json:"egressRule,omitempty"`
}
NetworkPolicyRuleApplyConfiguration represents an declarative configuration of the NetworkPolicyRule type for use with apply.
func ExtractNetworkPolicyRule ¶
func ExtractNetworkPolicyRule(networkPolicyRule *corev1alpha1.NetworkPolicyRule, fieldManager string) (*NetworkPolicyRuleApplyConfiguration, error)
ExtractNetworkPolicyRule extracts the applied configuration owned by fieldManager from networkPolicyRule. If no managedFields are found in networkPolicyRule for fieldManager, a NetworkPolicyRuleApplyConfiguration 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. networkPolicyRule must be a unmodified NetworkPolicyRule API object that was retrieved from the Kubernetes API. ExtractNetworkPolicyRule 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 ExtractNetworkPolicyRuleStatus ¶
func ExtractNetworkPolicyRuleStatus(networkPolicyRule *corev1alpha1.NetworkPolicyRule, fieldManager string) (*NetworkPolicyRuleApplyConfiguration, error)
ExtractNetworkPolicyRuleStatus is the same as ExtractNetworkPolicyRule except that it extracts the status subresource applied configuration. Experimental!
func NetworkPolicyRule ¶
func NetworkPolicyRule(name, namespace string) *NetworkPolicyRuleApplyConfiguration
NetworkPolicyRule constructs an declarative configuration of the NetworkPolicyRule type for use with apply.
func (*NetworkPolicyRuleApplyConfiguration) WithAPIVersion ¶
func (b *NetworkPolicyRuleApplyConfiguration) WithAPIVersion(value string) *NetworkPolicyRuleApplyConfiguration
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 (*NetworkPolicyRuleApplyConfiguration) WithAnnotations ¶
func (b *NetworkPolicyRuleApplyConfiguration) WithAnnotations(entries map[string]string) *NetworkPolicyRuleApplyConfiguration
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 (*NetworkPolicyRuleApplyConfiguration) WithCreationTimestamp ¶
func (b *NetworkPolicyRuleApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NetworkPolicyRuleApplyConfiguration
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 (*NetworkPolicyRuleApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *NetworkPolicyRuleApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NetworkPolicyRuleApplyConfiguration
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 (*NetworkPolicyRuleApplyConfiguration) WithDeletionTimestamp ¶
func (b *NetworkPolicyRuleApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NetworkPolicyRuleApplyConfiguration
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 (*NetworkPolicyRuleApplyConfiguration) WithEgressRules ¶
func (b *NetworkPolicyRuleApplyConfiguration) WithEgressRules(values ...*RuleApplyConfiguration) *NetworkPolicyRuleApplyConfiguration
WithEgressRules adds the given value to the EgressRules 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 EgressRules field.
func (*NetworkPolicyRuleApplyConfiguration) WithFinalizers ¶
func (b *NetworkPolicyRuleApplyConfiguration) WithFinalizers(values ...string) *NetworkPolicyRuleApplyConfiguration
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 (*NetworkPolicyRuleApplyConfiguration) WithGenerateName ¶
func (b *NetworkPolicyRuleApplyConfiguration) WithGenerateName(value string) *NetworkPolicyRuleApplyConfiguration
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 (*NetworkPolicyRuleApplyConfiguration) WithGeneration ¶
func (b *NetworkPolicyRuleApplyConfiguration) WithGeneration(value int64) *NetworkPolicyRuleApplyConfiguration
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 (*NetworkPolicyRuleApplyConfiguration) WithIngressRules ¶
func (b *NetworkPolicyRuleApplyConfiguration) WithIngressRules(values ...*RuleApplyConfiguration) *NetworkPolicyRuleApplyConfiguration
WithIngressRules adds the given value to the IngressRules 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 IngressRules field.
func (*NetworkPolicyRuleApplyConfiguration) WithKind ¶
func (b *NetworkPolicyRuleApplyConfiguration) WithKind(value string) *NetworkPolicyRuleApplyConfiguration
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 (*NetworkPolicyRuleApplyConfiguration) WithLabels ¶
func (b *NetworkPolicyRuleApplyConfiguration) WithLabels(entries map[string]string) *NetworkPolicyRuleApplyConfiguration
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 (*NetworkPolicyRuleApplyConfiguration) WithName ¶
func (b *NetworkPolicyRuleApplyConfiguration) WithName(value string) *NetworkPolicyRuleApplyConfiguration
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 (*NetworkPolicyRuleApplyConfiguration) WithNamespace ¶
func (b *NetworkPolicyRuleApplyConfiguration) WithNamespace(value string) *NetworkPolicyRuleApplyConfiguration
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 (*NetworkPolicyRuleApplyConfiguration) WithNetworkRef ¶
func (b *NetworkPolicyRuleApplyConfiguration) WithNetworkRef(value *LocalUIDReferenceApplyConfiguration) *NetworkPolicyRuleApplyConfiguration
WithNetworkRef sets the NetworkRef 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 NetworkRef field is set to the value of the last call.
func (*NetworkPolicyRuleApplyConfiguration) WithOwnerReferences ¶
func (b *NetworkPolicyRuleApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NetworkPolicyRuleApplyConfiguration
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 (*NetworkPolicyRuleApplyConfiguration) WithPriority ¶
func (b *NetworkPolicyRuleApplyConfiguration) WithPriority(value int32) *NetworkPolicyRuleApplyConfiguration
WithPriority sets the Priority 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 Priority field is set to the value of the last call.
func (*NetworkPolicyRuleApplyConfiguration) WithResourceVersion ¶
func (b *NetworkPolicyRuleApplyConfiguration) WithResourceVersion(value string) *NetworkPolicyRuleApplyConfiguration
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 (*NetworkPolicyRuleApplyConfiguration) WithTargets ¶
func (b *NetworkPolicyRuleApplyConfiguration) WithTargets(values ...*TargetNetworkInterfaceApplyConfiguration) *NetworkPolicyRuleApplyConfiguration
WithTargets adds the given value to the Targets 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 Targets field.
func (*NetworkPolicyRuleApplyConfiguration) WithUID ¶
func (b *NetworkPolicyRuleApplyConfiguration) WithUID(value types.UID) *NetworkPolicyRuleApplyConfiguration
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 NetworkPolicySpecApplyConfiguration ¶
type NetworkPolicySpecApplyConfiguration struct {
NetworkRef *v1.LocalObjectReference `json:"networkRef,omitempty"`
NetworkInterfaceSelector *metav1.LabelSelectorApplyConfiguration `json:"networkInterfaceSelector,omitempty"`
Priority *int32 `json:"priority,omitempty"`
Ingress []NetworkPolicyIngressRuleApplyConfiguration `json:"ingress,omitempty"`
Egress []NetworkPolicyEgressRuleApplyConfiguration `json:"egress,omitempty"`
PolicyTypes []corev1alpha1.PolicyType `json:"policyTypes,omitempty"`
}
NetworkPolicySpecApplyConfiguration represents an declarative configuration of the NetworkPolicySpec type for use with apply.
func NetworkPolicySpec ¶
func NetworkPolicySpec() *NetworkPolicySpecApplyConfiguration
NetworkPolicySpecApplyConfiguration constructs an declarative configuration of the NetworkPolicySpec type for use with apply.
func (*NetworkPolicySpecApplyConfiguration) WithEgress ¶
func (b *NetworkPolicySpecApplyConfiguration) WithEgress(values ...*NetworkPolicyEgressRuleApplyConfiguration) *NetworkPolicySpecApplyConfiguration
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.
func (*NetworkPolicySpecApplyConfiguration) WithIngress ¶
func (b *NetworkPolicySpecApplyConfiguration) WithIngress(values ...*NetworkPolicyIngressRuleApplyConfiguration) *NetworkPolicySpecApplyConfiguration
WithIngress adds the given value to the Ingress 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 Ingress field.
func (*NetworkPolicySpecApplyConfiguration) WithNetworkInterfaceSelector ¶
func (b *NetworkPolicySpecApplyConfiguration) WithNetworkInterfaceSelector(value *metav1.LabelSelectorApplyConfiguration) *NetworkPolicySpecApplyConfiguration
WithNetworkInterfaceSelector sets the NetworkInterfaceSelector 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 NetworkInterfaceSelector field is set to the value of the last call.
func (*NetworkPolicySpecApplyConfiguration) WithNetworkRef ¶
func (b *NetworkPolicySpecApplyConfiguration) WithNetworkRef(value v1.LocalObjectReference) *NetworkPolicySpecApplyConfiguration
WithNetworkRef sets the NetworkRef 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 NetworkRef field is set to the value of the last call.
func (*NetworkPolicySpecApplyConfiguration) WithPolicyTypes ¶
func (b *NetworkPolicySpecApplyConfiguration) WithPolicyTypes(values ...corev1alpha1.PolicyType) *NetworkPolicySpecApplyConfiguration
WithPolicyTypes adds the given value to the PolicyTypes 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 PolicyTypes field.
func (*NetworkPolicySpecApplyConfiguration) WithPriority ¶
func (b *NetworkPolicySpecApplyConfiguration) WithPriority(value int32) *NetworkPolicySpecApplyConfiguration
WithPriority sets the Priority 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 Priority field is set to the value of the last call.
type NetworkPolicyTargetRefApplyConfiguration ¶
type NetworkPolicyTargetRefApplyConfiguration struct {
UID *types.UID `json:"uid,omitempty"`
Name *string `json:"name,omitempty"`
}
NetworkPolicyTargetRefApplyConfiguration represents an declarative configuration of the NetworkPolicyTargetRef type for use with apply.
func NetworkPolicyTargetRef ¶
func NetworkPolicyTargetRef() *NetworkPolicyTargetRefApplyConfiguration
NetworkPolicyTargetRefApplyConfiguration constructs an declarative configuration of the NetworkPolicyTargetRef type for use with apply.
func (*NetworkPolicyTargetRefApplyConfiguration) WithName ¶
func (b *NetworkPolicyTargetRefApplyConfiguration) WithName(value string) *NetworkPolicyTargetRefApplyConfiguration
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 (*NetworkPolicyTargetRefApplyConfiguration) WithUID ¶
func (b *NetworkPolicyTargetRefApplyConfiguration) WithUID(value types.UID) *NetworkPolicyTargetRefApplyConfiguration
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 NetworkSpecApplyConfiguration ¶
type NetworkSpecApplyConfiguration struct {
ID *string `json:"id,omitempty"`
Peerings []NetworkPeeringApplyConfiguration `json:"peerings,omitempty"`
}
NetworkSpecApplyConfiguration represents an declarative configuration of the NetworkSpec type for use with apply.
func NetworkSpec ¶
func NetworkSpec() *NetworkSpecApplyConfiguration
NetworkSpecApplyConfiguration constructs an declarative configuration of the NetworkSpec type for use with apply.
func (*NetworkSpecApplyConfiguration) WithID ¶
func (b *NetworkSpecApplyConfiguration) WithID(value string) *NetworkSpecApplyConfiguration
WithID sets the ID 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 ID field is set to the value of the last call.
func (*NetworkSpecApplyConfiguration) WithPeerings ¶
func (b *NetworkSpecApplyConfiguration) WithPeerings(values ...*NetworkPeeringApplyConfiguration) *NetworkSpecApplyConfiguration
WithPeerings adds the given value to the Peerings 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 Peerings field.
type NetworkStatusApplyConfiguration ¶
type NetworkStatusApplyConfiguration struct {
Peerings map[string][]v1alpha1.NetworkPeeringStatus `json:"peerings,omitempty"`
}
NetworkStatusApplyConfiguration represents an declarative configuration of the NetworkStatus type for use with apply.
func NetworkStatus ¶
func NetworkStatus() *NetworkStatusApplyConfiguration
NetworkStatusApplyConfiguration constructs an declarative configuration of the NetworkStatus type for use with apply.
func (*NetworkStatusApplyConfiguration) WithPeerings ¶
func (b *NetworkStatusApplyConfiguration) WithPeerings(entries map[string][]v1alpha1.NetworkPeeringStatus) *NetworkStatusApplyConfiguration
WithPeerings puts the entries into the Peerings 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 Peerings field, overwriting an existing map entries in Peerings field with the same key.
type NodeAffinityApplyConfiguration ¶
type NodeAffinityApplyConfiguration struct {
RequiredDuringSchedulingIgnoredDuringExecution *NodeSelectorApplyConfiguration `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
}
NodeAffinityApplyConfiguration represents an declarative configuration of the NodeAffinity type for use with apply.
func NodeAffinity ¶
func NodeAffinity() *NodeAffinityApplyConfiguration
NodeAffinityApplyConfiguration constructs an declarative configuration of the NodeAffinity type for use with apply.
func (*NodeAffinityApplyConfiguration) WithRequiredDuringSchedulingIgnoredDuringExecution ¶
func (b *NodeAffinityApplyConfiguration) WithRequiredDuringSchedulingIgnoredDuringExecution(value *NodeSelectorApplyConfiguration) *NodeAffinityApplyConfiguration
WithRequiredDuringSchedulingIgnoredDuringExecution sets the RequiredDuringSchedulingIgnoredDuringExecution 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 RequiredDuringSchedulingIgnoredDuringExecution field is set to the value of the last call.
type NodeApplyConfiguration ¶
type NodeApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
Spec *v1alpha1.NodeSpec `json:"spec,omitempty"`
Status *v1alpha1.NodeStatus `json:"status,omitempty"`
}
NodeApplyConfiguration represents an declarative configuration of the Node type for use with apply.
func ExtractNode ¶
func ExtractNode(node *v1alpha1.Node, fieldManager string) (*NodeApplyConfiguration, error)
ExtractNode extracts the applied configuration owned by fieldManager from node. If no managedFields are found in node for fieldManager, a NodeApplyConfiguration 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. node must be a unmodified Node API object that was retrieved from the Kubernetes API. ExtractNode 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 ExtractNodeStatus ¶
func ExtractNodeStatus(node *v1alpha1.Node, fieldManager string) (*NodeApplyConfiguration, error)
ExtractNodeStatus is the same as ExtractNode except that it extracts the status subresource applied configuration. Experimental!
func Node ¶
func Node(name string) *NodeApplyConfiguration
Node constructs an declarative configuration of the Node type for use with apply.
func (*NodeApplyConfiguration) WithAPIVersion ¶
func (b *NodeApplyConfiguration) WithAPIVersion(value string) *NodeApplyConfiguration
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 (*NodeApplyConfiguration) WithAnnotations ¶
func (b *NodeApplyConfiguration) WithAnnotations(entries map[string]string) *NodeApplyConfiguration
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 (*NodeApplyConfiguration) WithCreationTimestamp ¶
func (b *NodeApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NodeApplyConfiguration
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 (*NodeApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *NodeApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NodeApplyConfiguration
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 (*NodeApplyConfiguration) WithDeletionTimestamp ¶
func (b *NodeApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NodeApplyConfiguration
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 (*NodeApplyConfiguration) WithFinalizers ¶
func (b *NodeApplyConfiguration) WithFinalizers(values ...string) *NodeApplyConfiguration
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 (*NodeApplyConfiguration) WithGenerateName ¶
func (b *NodeApplyConfiguration) WithGenerateName(value string) *NodeApplyConfiguration
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 (*NodeApplyConfiguration) WithGeneration ¶
func (b *NodeApplyConfiguration) WithGeneration(value int64) *NodeApplyConfiguration
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 (*NodeApplyConfiguration) WithKind ¶
func (b *NodeApplyConfiguration) WithKind(value string) *NodeApplyConfiguration
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 (*NodeApplyConfiguration) WithLabels ¶
func (b *NodeApplyConfiguration) WithLabels(entries map[string]string) *NodeApplyConfiguration
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 (*NodeApplyConfiguration) WithName ¶
func (b *NodeApplyConfiguration) WithName(value string) *NodeApplyConfiguration
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 (*NodeApplyConfiguration) WithNamespace ¶
func (b *NodeApplyConfiguration) WithNamespace(value string) *NodeApplyConfiguration
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 (*NodeApplyConfiguration) WithOwnerReferences ¶
func (b *NodeApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NodeApplyConfiguration
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 (*NodeApplyConfiguration) WithResourceVersion ¶
func (b *NodeApplyConfiguration) WithResourceVersion(value string) *NodeApplyConfiguration
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 (*NodeApplyConfiguration) WithSpec ¶
func (b *NodeApplyConfiguration) WithSpec(value v1alpha1.NodeSpec) *NodeApplyConfiguration
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 (*NodeApplyConfiguration) WithStatus ¶
func (b *NodeApplyConfiguration) WithStatus(value v1alpha1.NodeStatus) *NodeApplyConfiguration
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 (*NodeApplyConfiguration) WithUID ¶
func (b *NodeApplyConfiguration) WithUID(value types.UID) *NodeApplyConfiguration
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 NodeSelectorApplyConfiguration ¶
type NodeSelectorApplyConfiguration struct {
NodeSelectorTerms []NodeSelectorTermApplyConfiguration `json:"nodeSelectorTerms,omitempty"`
}
NodeSelectorApplyConfiguration represents an declarative configuration of the NodeSelector type for use with apply.
func NodeSelector ¶
func NodeSelector() *NodeSelectorApplyConfiguration
NodeSelectorApplyConfiguration constructs an declarative configuration of the NodeSelector type for use with apply.
func (*NodeSelectorApplyConfiguration) WithNodeSelectorTerms ¶
func (b *NodeSelectorApplyConfiguration) WithNodeSelectorTerms(values ...*NodeSelectorTermApplyConfiguration) *NodeSelectorApplyConfiguration
WithNodeSelectorTerms adds the given value to the NodeSelectorTerms 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 NodeSelectorTerms field.
type NodeSelectorRequirementApplyConfiguration ¶
type NodeSelectorRequirementApplyConfiguration struct {
Key *string `json:"key,omitempty"`
Operator *v1alpha1.NodeSelectorOperator `json:"operator,omitempty"`
Values []string `json:"values,omitempty"`
}
NodeSelectorRequirementApplyConfiguration represents an declarative configuration of the NodeSelectorRequirement type for use with apply.
func NodeSelectorRequirement ¶
func NodeSelectorRequirement() *NodeSelectorRequirementApplyConfiguration
NodeSelectorRequirementApplyConfiguration constructs an declarative configuration of the NodeSelectorRequirement type for use with apply.
func (*NodeSelectorRequirementApplyConfiguration) WithKey ¶
func (b *NodeSelectorRequirementApplyConfiguration) WithKey(value string) *NodeSelectorRequirementApplyConfiguration
WithKey sets the Key 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 Key field is set to the value of the last call.
func (*NodeSelectorRequirementApplyConfiguration) WithOperator ¶
func (b *NodeSelectorRequirementApplyConfiguration) WithOperator(value v1alpha1.NodeSelectorOperator) *NodeSelectorRequirementApplyConfiguration
WithOperator sets the Operator 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 Operator field is set to the value of the last call.
func (*NodeSelectorRequirementApplyConfiguration) WithValues ¶
func (b *NodeSelectorRequirementApplyConfiguration) WithValues(values ...string) *NodeSelectorRequirementApplyConfiguration
WithValues adds the given value to the Values 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 Values field.
type NodeSelectorTermApplyConfiguration ¶
type NodeSelectorTermApplyConfiguration struct {
MatchExpressions []NodeSelectorRequirementApplyConfiguration `json:"matchExpressions,omitempty"`
MatchFields []NodeSelectorRequirementApplyConfiguration `json:"matchFields,omitempty"`
}
NodeSelectorTermApplyConfiguration represents an declarative configuration of the NodeSelectorTerm type for use with apply.
func NodeSelectorTerm ¶
func NodeSelectorTerm() *NodeSelectorTermApplyConfiguration
NodeSelectorTermApplyConfiguration constructs an declarative configuration of the NodeSelectorTerm type for use with apply.
func (*NodeSelectorTermApplyConfiguration) WithMatchExpressions ¶
func (b *NodeSelectorTermApplyConfiguration) WithMatchExpressions(values ...*NodeSelectorRequirementApplyConfiguration) *NodeSelectorTermApplyConfiguration
WithMatchExpressions adds the given value to the MatchExpressions 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 MatchExpressions field.
func (*NodeSelectorTermApplyConfiguration) WithMatchFields ¶
func (b *NodeSelectorTermApplyConfiguration) WithMatchFields(values ...*NodeSelectorRequirementApplyConfiguration) *NodeSelectorTermApplyConfiguration
WithMatchFields adds the given value to the MatchFields 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 MatchFields field.
type ObjectIPApplyConfiguration ¶
type ObjectIPApplyConfiguration struct {
IPFamily *v1.IPFamily `json:"ipFamily,omitempty"`
Prefix *net.IPPrefix `json:"prefix,omitempty"`
}
ObjectIPApplyConfiguration represents an declarative configuration of the ObjectIP type for use with apply.
func ObjectIP ¶
func ObjectIP() *ObjectIPApplyConfiguration
ObjectIPApplyConfiguration constructs an declarative configuration of the ObjectIP type for use with apply.
func (*ObjectIPApplyConfiguration) WithIPFamily ¶
func (b *ObjectIPApplyConfiguration) WithIPFamily(value v1.IPFamily) *ObjectIPApplyConfiguration
WithIPFamily sets the IPFamily 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 IPFamily field is set to the value of the last call.
func (*ObjectIPApplyConfiguration) WithPrefix ¶
func (b *ObjectIPApplyConfiguration) WithPrefix(value net.IPPrefix) *ObjectIPApplyConfiguration
WithPrefix sets the Prefix 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 Prefix field is set to the value of the last call.
type ObjectSelectorApplyConfiguration ¶
type ObjectSelectorApplyConfiguration struct {
Kind *string `json:"kind,omitempty"`
v1.LabelSelectorApplyConfiguration `json:",inline"`
}
ObjectSelectorApplyConfiguration represents an declarative configuration of the ObjectSelector type for use with apply.
func ObjectSelector ¶
func ObjectSelector() *ObjectSelectorApplyConfiguration
ObjectSelectorApplyConfiguration constructs an declarative configuration of the ObjectSelector type for use with apply.
func (*ObjectSelectorApplyConfiguration) WithKind ¶
func (b *ObjectSelectorApplyConfiguration) WithKind(value string) *ObjectSelectorApplyConfiguration
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 (*ObjectSelectorApplyConfiguration) WithMatchExpressions ¶
func (b *ObjectSelectorApplyConfiguration) WithMatchExpressions(values ...*v1.LabelSelectorRequirementApplyConfiguration) *ObjectSelectorApplyConfiguration
WithMatchExpressions adds the given value to the MatchExpressions 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 MatchExpressions field.
func (*ObjectSelectorApplyConfiguration) WithMatchLabels ¶
func (b *ObjectSelectorApplyConfiguration) WithMatchLabels(entries map[string]string) *ObjectSelectorApplyConfiguration
WithMatchLabels puts the entries into the MatchLabels 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 MatchLabels field, overwriting an existing map entries in MatchLabels field with the same key.
type PCIAddressApplyConfiguration ¶
type PCIAddressApplyConfiguration struct {
Domain *string `json:"domain,omitempty"`
Bus *string `json:"bus,omitempty"`
Slot *string `json:"slot,omitempty"`
Function *string `json:"function,omitempty"`
}
PCIAddressApplyConfiguration represents an declarative configuration of the PCIAddress type for use with apply.
func PCIAddress ¶
func PCIAddress() *PCIAddressApplyConfiguration
PCIAddressApplyConfiguration constructs an declarative configuration of the PCIAddress type for use with apply.
func (*PCIAddressApplyConfiguration) WithBus ¶
func (b *PCIAddressApplyConfiguration) WithBus(value string) *PCIAddressApplyConfiguration
WithBus sets the Bus 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 Bus field is set to the value of the last call.
func (*PCIAddressApplyConfiguration) WithDomain ¶
func (b *PCIAddressApplyConfiguration) WithDomain(value string) *PCIAddressApplyConfiguration
WithDomain sets the Domain 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 Domain field is set to the value of the last call.
func (*PCIAddressApplyConfiguration) WithFunction ¶
func (b *PCIAddressApplyConfiguration) WithFunction(value string) *PCIAddressApplyConfiguration
WithFunction sets the Function 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 Function field is set to the value of the last call.
func (*PCIAddressApplyConfiguration) WithSlot ¶
func (b *PCIAddressApplyConfiguration) WithSlot(value string) *PCIAddressApplyConfiguration
WithSlot sets the Slot 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 Slot field is set to the value of the last call.
type PeeringPrefixApplyConfiguration ¶
type PeeringPrefixApplyConfiguration struct {
Name *string `json:"name,omitempty"`
Prefix *net.IPPrefix `json:"prefix,omitempty"`
}
PeeringPrefixApplyConfiguration represents an declarative configuration of the PeeringPrefix type for use with apply.
func PeeringPrefix ¶
func PeeringPrefix() *PeeringPrefixApplyConfiguration
PeeringPrefixApplyConfiguration constructs an declarative configuration of the PeeringPrefix type for use with apply.
func (*PeeringPrefixApplyConfiguration) WithName ¶
func (b *PeeringPrefixApplyConfiguration) WithName(value string) *PeeringPrefixApplyConfiguration
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 (*PeeringPrefixApplyConfiguration) WithPrefix ¶
func (b *PeeringPrefixApplyConfiguration) WithPrefix(value net.IPPrefix) *PeeringPrefixApplyConfiguration
WithPrefix sets the Prefix 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 Prefix field is set to the value of the last call.
type RuleApplyConfiguration ¶
type RuleApplyConfiguration struct {
CIDRBlock []IPBlockApplyConfiguration `json:"ipBlock,omitempty"`
ObjectIPs []ObjectIPApplyConfiguration `json:"ips,omitempty"`
NetworkPolicyPorts []NetworkPolicyPortApplyConfiguration `json:"networkPolicyPorts,omitempty"`
}
RuleApplyConfiguration represents an declarative configuration of the Rule type for use with apply.
func Rule ¶
func Rule() *RuleApplyConfiguration
RuleApplyConfiguration constructs an declarative configuration of the Rule type for use with apply.
func (*RuleApplyConfiguration) WithCIDRBlock ¶
func (b *RuleApplyConfiguration) WithCIDRBlock(values ...*IPBlockApplyConfiguration) *RuleApplyConfiguration
WithCIDRBlock adds the given value to the CIDRBlock 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 CIDRBlock field.
func (*RuleApplyConfiguration) WithNetworkPolicyPorts ¶
func (b *RuleApplyConfiguration) WithNetworkPolicyPorts(values ...*NetworkPolicyPortApplyConfiguration) *RuleApplyConfiguration
WithNetworkPolicyPorts adds the given value to the NetworkPolicyPorts 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 NetworkPolicyPorts field.
func (*RuleApplyConfiguration) WithObjectIPs ¶
func (b *RuleApplyConfiguration) WithObjectIPs(values ...*ObjectIPApplyConfiguration) *RuleApplyConfiguration
WithObjectIPs adds the given value to the ObjectIPs 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 ObjectIPs field.
type TargetNetworkInterfaceApplyConfiguration ¶
type TargetNetworkInterfaceApplyConfiguration struct {
IP *net.IP `json:"ip,omitempty"`
TargetRef *LocalUIDReferenceApplyConfiguration `json:"targetRef,omitempty"`
}
TargetNetworkInterfaceApplyConfiguration represents an declarative configuration of the TargetNetworkInterface type for use with apply.
func TargetNetworkInterface ¶
func TargetNetworkInterface() *TargetNetworkInterfaceApplyConfiguration
TargetNetworkInterfaceApplyConfiguration constructs an declarative configuration of the TargetNetworkInterface type for use with apply.
func (*TargetNetworkInterfaceApplyConfiguration) WithIP ¶
func (b *TargetNetworkInterfaceApplyConfiguration) WithIP(value net.IP) *TargetNetworkInterfaceApplyConfiguration
WithIP sets the IP 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 IP field is set to the value of the last call.
func (*TargetNetworkInterfaceApplyConfiguration) WithTargetRef ¶
func (b *TargetNetworkInterfaceApplyConfiguration) WithTargetRef(value *LocalUIDReferenceApplyConfiguration) *TargetNetworkInterfaceApplyConfiguration
WithTargetRef sets the TargetRef 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 TargetRef field is set to the value of the last call.
type TopologySpreadConstraintApplyConfiguration ¶
type TopologySpreadConstraintApplyConfiguration struct {
MaxSkew *int32 `json:"maxSkew,omitempty"`
TopologyKey *string `json:"topologyKey,omitempty"`
WhenUnsatisfiable *v1alpha1.UnsatisfiableConstraintAction `json:"whenUnsatisfiable,omitempty"`
LabelSelector *v1.LabelSelectorApplyConfiguration `json:"labelSelector,omitempty"`
}
TopologySpreadConstraintApplyConfiguration represents an declarative configuration of the TopologySpreadConstraint type for use with apply.
func TopologySpreadConstraint ¶
func TopologySpreadConstraint() *TopologySpreadConstraintApplyConfiguration
TopologySpreadConstraintApplyConfiguration constructs an declarative configuration of the TopologySpreadConstraint type for use with apply.
func (*TopologySpreadConstraintApplyConfiguration) WithLabelSelector ¶
func (b *TopologySpreadConstraintApplyConfiguration) WithLabelSelector(value *v1.LabelSelectorApplyConfiguration) *TopologySpreadConstraintApplyConfiguration
WithLabelSelector sets the LabelSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LabelSelector field is set to the value of the last call.
func (*TopologySpreadConstraintApplyConfiguration) WithMaxSkew ¶
func (b *TopologySpreadConstraintApplyConfiguration) WithMaxSkew(value int32) *TopologySpreadConstraintApplyConfiguration
WithMaxSkew sets the MaxSkew 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 MaxSkew field is set to the value of the last call.
func (*TopologySpreadConstraintApplyConfiguration) WithTopologyKey ¶
func (b *TopologySpreadConstraintApplyConfiguration) WithTopologyKey(value string) *TopologySpreadConstraintApplyConfiguration
WithTopologyKey sets the TopologyKey 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 TopologyKey field is set to the value of the last call.
func (*TopologySpreadConstraintApplyConfiguration) WithWhenUnsatisfiable ¶
func (b *TopologySpreadConstraintApplyConfiguration) WithWhenUnsatisfiable(value v1alpha1.UnsatisfiableConstraintAction) *TopologySpreadConstraintApplyConfiguration
WithWhenUnsatisfiable sets the WhenUnsatisfiable 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 WhenUnsatisfiable field is set to the value of the last call.
Source Files
¶
- affinity.go
- daemonset.go
- daemonsetspec.go
- daemonsetstatus.go
- instance.go
- instanceaffinityterm.go
- instanceantiaffinity.go
- instancespec.go
- instancestatus.go
- instancetemplate.go
- ip.go
- ipaddress.go
- ipaddressclaimref.go
- ipaddressspec.go
- ipblock.go
- ipclaimref.go
- ipspec.go
- loadbalancer.go
- loadbalancerdestination.go
- loadbalancerip.go
- loadbalancerport.go
- loadbalancerrouting.go
- loadbalancerspec.go
- loadbalancerstatus.go
- loadbalancertargetref.go
- localuidreference.go
- natgateway.go
- natgatewayautoscaler.go
- natgatewayautoscalerspec.go
- natgatewayip.go
- natgatewayspec.go
- natgatewaystatus.go
- natip.go
- natipsection.go
- nattable.go
- nattableiptargetref.go
- network.go
- networkid.go
- networkidclaimref.go
- networkidspec.go
- networkinterface.go
- networkinterfacenat.go
- networkinterfacenatclaimref.go
- networkinterfacepublicip.go
- networkinterfacespec.go
- networkinterfacestatus.go
- networkpeering.go
- networkpeeringstatus.go
- networkpolicy.go
- networkpolicyegressrule.go
- networkpolicyingressrule.go
- networkpolicypeer.go
- networkpolicyport.go
- networkpolicyrule.go
- networkpolicyspec.go
- networkpolicytargetref.go
- networkspec.go
- networkstatus.go
- node.go
- nodeaffinity.go
- nodeselector.go
- nodeselectorrequirement.go
- nodeselectorterm.go
- objectip.go
- objectselector.go
- pciaddress.go
- peeringprefix.go
- rule.go
- targetnetworkinterface.go
- topologyspreadconstraint.go