Documentation ¶
Index ¶
- type AdditionalIPSpecApplyConfiguration
- type AddressFamiliesMapApplyConfiguration
- type AddressesApplyConfiguration
- type AggregateApplyConfiguration
- func Aggregate(name, namespace string) *AggregateApplyConfiguration
- func ExtractAggregate(aggregate *metalv1alpha4.Aggregate, fieldManager string) (*AggregateApplyConfiguration, error)
- func ExtractAggregateStatus(aggregate *metalv1alpha4.Aggregate, fieldManager string) (*AggregateApplyConfiguration, error)
- func (b *AggregateApplyConfiguration) WithAPIVersion(value string) *AggregateApplyConfiguration
- func (b *AggregateApplyConfiguration) WithAnnotations(entries map[string]string) *AggregateApplyConfiguration
- func (b *AggregateApplyConfiguration) WithCreationTimestamp(value metav1.Time) *AggregateApplyConfiguration
- func (b *AggregateApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *AggregateApplyConfiguration
- func (b *AggregateApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *AggregateApplyConfiguration
- func (b *AggregateApplyConfiguration) WithFinalizers(values ...string) *AggregateApplyConfiguration
- func (b *AggregateApplyConfiguration) WithGenerateName(value string) *AggregateApplyConfiguration
- func (b *AggregateApplyConfiguration) WithGeneration(value int64) *AggregateApplyConfiguration
- func (b *AggregateApplyConfiguration) WithKind(value string) *AggregateApplyConfiguration
- func (b *AggregateApplyConfiguration) WithLabels(entries map[string]string) *AggregateApplyConfiguration
- func (b *AggregateApplyConfiguration) WithName(value string) *AggregateApplyConfiguration
- func (b *AggregateApplyConfiguration) WithNamespace(value string) *AggregateApplyConfiguration
- func (b *AggregateApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *AggregateApplyConfiguration
- func (b *AggregateApplyConfiguration) WithResourceVersion(value string) *AggregateApplyConfiguration
- func (b *AggregateApplyConfiguration) WithSpec(value *AggregateSpecApplyConfiguration) *AggregateApplyConfiguration
- func (b *AggregateApplyConfiguration) WithStatus(value metalv1alpha4.AggregateStatus) *AggregateApplyConfiguration
- func (b *AggregateApplyConfiguration) WithUID(value types.UID) *AggregateApplyConfiguration
- type AggregateItemApplyConfiguration
- func (b *AggregateItemApplyConfiguration) WithAggregate(value v1alpha4.AggregateType) *AggregateItemApplyConfiguration
- func (b *AggregateItemApplyConfiguration) WithSourcePath(value v1alpha4.JSONPath) *AggregateItemApplyConfiguration
- func (b *AggregateItemApplyConfiguration) WithTargetPath(value v1alpha4.JSONPath) *AggregateItemApplyConfiguration
- type AggregateSpecApplyConfiguration
- type BenchmarkApplyConfiguration
- func Benchmark(name, namespace string) *BenchmarkApplyConfiguration
- func ExtractBenchmark(benchmark *metalv1alpha4.Benchmark, fieldManager string) (*BenchmarkApplyConfiguration, error)
- func ExtractBenchmarkStatus(benchmark *metalv1alpha4.Benchmark, fieldManager string) (*BenchmarkApplyConfiguration, error)
- func (b *BenchmarkApplyConfiguration) WithAPIVersion(value string) *BenchmarkApplyConfiguration
- func (b *BenchmarkApplyConfiguration) WithAnnotations(entries map[string]string) *BenchmarkApplyConfiguration
- func (b *BenchmarkApplyConfiguration) WithCreationTimestamp(value metav1.Time) *BenchmarkApplyConfiguration
- func (b *BenchmarkApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *BenchmarkApplyConfiguration
- func (b *BenchmarkApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *BenchmarkApplyConfiguration
- func (b *BenchmarkApplyConfiguration) WithFinalizers(values ...string) *BenchmarkApplyConfiguration
- func (b *BenchmarkApplyConfiguration) WithGenerateName(value string) *BenchmarkApplyConfiguration
- func (b *BenchmarkApplyConfiguration) WithGeneration(value int64) *BenchmarkApplyConfiguration
- func (b *BenchmarkApplyConfiguration) WithKind(value string) *BenchmarkApplyConfiguration
- func (b *BenchmarkApplyConfiguration) WithLabels(entries map[string]string) *BenchmarkApplyConfiguration
- func (b *BenchmarkApplyConfiguration) WithName(value string) *BenchmarkApplyConfiguration
- func (b *BenchmarkApplyConfiguration) WithNamespace(value string) *BenchmarkApplyConfiguration
- func (b *BenchmarkApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *BenchmarkApplyConfiguration
- func (b *BenchmarkApplyConfiguration) WithResourceVersion(value string) *BenchmarkApplyConfiguration
- func (b *BenchmarkApplyConfiguration) WithSpec(value *BenchmarkSpecApplyConfiguration) *BenchmarkApplyConfiguration
- func (b *BenchmarkApplyConfiguration) WithStatus(value *BenchmarkStatusApplyConfiguration) *BenchmarkApplyConfiguration
- func (b *BenchmarkApplyConfiguration) WithUID(value types.UID) *BenchmarkApplyConfiguration
- type BenchmarkDeviationApplyConfiguration
- type BenchmarkResultApplyConfiguration
- type BenchmarkSpecApplyConfiguration
- type BenchmarkStatusApplyConfiguration
- type BlockSpecApplyConfiguration
- func (b *BlockSpecApplyConfiguration) WithBus(value string) *BlockSpecApplyConfiguration
- func (b *BlockSpecApplyConfiguration) WithModel(value string) *BlockSpecApplyConfiguration
- func (b *BlockSpecApplyConfiguration) WithName(value string) *BlockSpecApplyConfiguration
- func (b *BlockSpecApplyConfiguration) WithPartitionTable(value *PartitionTableSpecApplyConfiguration) *BlockSpecApplyConfiguration
- func (b *BlockSpecApplyConfiguration) WithRotational(value bool) *BlockSpecApplyConfiguration
- func (b *BlockSpecApplyConfiguration) WithSize(value uint64) *BlockSpecApplyConfiguration
- func (b *BlockSpecApplyConfiguration) WithType(value string) *BlockSpecApplyConfiguration
- type CPUSpecApplyConfiguration
- func (b *CPUSpecApplyConfiguration) WithAddressSizes(value string) *CPUSpecApplyConfiguration
- func (b *CPUSpecApplyConfiguration) WithBogoMIPS(value resource.Quantity) *CPUSpecApplyConfiguration
- func (b *CPUSpecApplyConfiguration) WithBugs(values ...string) *CPUSpecApplyConfiguration
- func (b *CPUSpecApplyConfiguration) WithCLFlushSize(value uint64) *CPUSpecApplyConfiguration
- func (b *CPUSpecApplyConfiguration) WithCPUIDLevel(value uint64) *CPUSpecApplyConfiguration
- func (b *CPUSpecApplyConfiguration) WithCacheAlignment(value uint64) *CPUSpecApplyConfiguration
- func (b *CPUSpecApplyConfiguration) WithCacheSize(value string) *CPUSpecApplyConfiguration
- func (b *CPUSpecApplyConfiguration) WithCores(value uint64) *CPUSpecApplyConfiguration
- func (b *CPUSpecApplyConfiguration) WithFPU(value bool) *CPUSpecApplyConfiguration
- func (b *CPUSpecApplyConfiguration) WithFPUException(value bool) *CPUSpecApplyConfiguration
- func (b *CPUSpecApplyConfiguration) WithFamily(value string) *CPUSpecApplyConfiguration
- func (b *CPUSpecApplyConfiguration) WithFlags(values ...string) *CPUSpecApplyConfiguration
- func (b *CPUSpecApplyConfiguration) WithLogicalIDs(values ...uint64) *CPUSpecApplyConfiguration
- func (b *CPUSpecApplyConfiguration) WithMHz(value resource.Quantity) *CPUSpecApplyConfiguration
- func (b *CPUSpecApplyConfiguration) WithMicrocode(value string) *CPUSpecApplyConfiguration
- func (b *CPUSpecApplyConfiguration) WithModel(value string) *CPUSpecApplyConfiguration
- func (b *CPUSpecApplyConfiguration) WithModelName(value string) *CPUSpecApplyConfiguration
- func (b *CPUSpecApplyConfiguration) WithPhysicalID(value uint64) *CPUSpecApplyConfiguration
- func (b *CPUSpecApplyConfiguration) WithPowerManagement(value string) *CPUSpecApplyConfiguration
- func (b *CPUSpecApplyConfiguration) WithSiblings(value uint64) *CPUSpecApplyConfiguration
- func (b *CPUSpecApplyConfiguration) WithStepping(value string) *CPUSpecApplyConfiguration
- func (b *CPUSpecApplyConfiguration) WithVMXFlags(values ...string) *CPUSpecApplyConfiguration
- func (b *CPUSpecApplyConfiguration) WithVendorID(value string) *CPUSpecApplyConfiguration
- func (b *CPUSpecApplyConfiguration) WithWP(value bool) *CPUSpecApplyConfiguration
- type ConditionSpecApplyConfiguration
- func (b *ConditionSpecApplyConfiguration) WithLastTransitionTimestamp(value string) *ConditionSpecApplyConfiguration
- func (b *ConditionSpecApplyConfiguration) WithLastUpdateTimestamp(value string) *ConditionSpecApplyConfiguration
- func (b *ConditionSpecApplyConfiguration) WithMessage(value string) *ConditionSpecApplyConfiguration
- func (b *ConditionSpecApplyConfiguration) WithName(value string) *ConditionSpecApplyConfiguration
- func (b *ConditionSpecApplyConfiguration) WithReason(value string) *ConditionSpecApplyConfiguration
- func (b *ConditionSpecApplyConfiguration) WithState(value bool) *ConditionSpecApplyConfiguration
- type DistroSpecApplyConfiguration
- func (b *DistroSpecApplyConfiguration) WithAsicType(value string) *DistroSpecApplyConfiguration
- func (b *DistroSpecApplyConfiguration) WithBuildBy(value string) *DistroSpecApplyConfiguration
- func (b *DistroSpecApplyConfiguration) WithBuildDate(value string) *DistroSpecApplyConfiguration
- func (b *DistroSpecApplyConfiguration) WithBuildNumber(value uint32) *DistroSpecApplyConfiguration
- func (b *DistroSpecApplyConfiguration) WithBuildVersion(value string) *DistroSpecApplyConfiguration
- func (b *DistroSpecApplyConfiguration) WithCommitID(value string) *DistroSpecApplyConfiguration
- func (b *DistroSpecApplyConfiguration) WithDebianVersion(value string) *DistroSpecApplyConfiguration
- func (b *DistroSpecApplyConfiguration) WithKernelVersion(value string) *DistroSpecApplyConfiguration
- type FieldSelectorSpecApplyConfiguration
- type GeneralIPAMSpecApplyConfiguration
- func (b *GeneralIPAMSpecApplyConfiguration) WithAddressFamily(value *AddressFamiliesMapApplyConfiguration) *GeneralIPAMSpecApplyConfiguration
- func (b *GeneralIPAMSpecApplyConfiguration) WithCarrierSubnets(value *IPAMSelectionSpecApplyConfiguration) *GeneralIPAMSpecApplyConfiguration
- func (b *GeneralIPAMSpecApplyConfiguration) WithLoopbackAddresses(value *IPAMSelectionSpecApplyConfiguration) *GeneralIPAMSpecApplyConfiguration
- func (b *GeneralIPAMSpecApplyConfiguration) WithLoopbackSubnets(value *IPAMSelectionSpecApplyConfiguration) *GeneralIPAMSpecApplyConfiguration
- func (b *GeneralIPAMSpecApplyConfiguration) WithSouthSubnets(value *IPAMSelectionSpecApplyConfiguration) *GeneralIPAMSpecApplyConfiguration
- type HostSpecApplyConfiguration
- type IPAMSelectionSpecApplyConfiguration
- type IPAMSpecApplyConfiguration
- type IPAddressSpecApplyConfiguration
- func (b *IPAddressSpecApplyConfiguration) WithAddress(value string) *IPAddressSpecApplyConfiguration
- func (b *IPAddressSpecApplyConfiguration) WithAddressFamily(value string) *IPAddressSpecApplyConfiguration
- func (b *IPAddressSpecApplyConfiguration) WithExtraAddress(value bool) *IPAddressSpecApplyConfiguration
- type IPMISpecApplyConfiguration
- type IdentityApplyConfiguration
- func (b *IdentityApplyConfiguration) WithAsset(value string) *IdentityApplyConfiguration
- func (b *IdentityApplyConfiguration) WithInternal(values ...*InternalApplyConfiguration) *IdentityApplyConfiguration
- func (b *IdentityApplyConfiguration) WithSKU(value string) *IdentityApplyConfiguration
- func (b *IdentityApplyConfiguration) WithSerialNumber(value string) *IdentityApplyConfiguration
- type InterfaceApplyConfiguration
- func (b *InterfaceApplyConfiguration) WithAddresses(value *AddressesApplyConfiguration) *InterfaceApplyConfiguration
- func (b *InterfaceApplyConfiguration) WithLanes(value uint32) *InterfaceApplyConfiguration
- func (b *InterfaceApplyConfiguration) WithMoved(value bool) *InterfaceApplyConfiguration
- func (b *InterfaceApplyConfiguration) WithName(value string) *InterfaceApplyConfiguration
- func (b *InterfaceApplyConfiguration) WithPeer(value *PeerApplyConfiguration) *InterfaceApplyConfiguration
- func (b *InterfaceApplyConfiguration) WithSwitchReference(value *ResourceReferenceApplyConfiguration) *InterfaceApplyConfiguration
- func (b *InterfaceApplyConfiguration) WithUnknown(value bool) *InterfaceApplyConfiguration
- type InterfaceOverridesSpecApplyConfiguration
- type InterfaceSpecApplyConfiguration
- func (b *InterfaceSpecApplyConfiguration) WithDirection(value string) *InterfaceSpecApplyConfiguration
- func (b *InterfaceSpecApplyConfiguration) WithIP(values ...**metalv1alpha4.IPAddressSpec) *InterfaceSpecApplyConfiguration
- func (b *InterfaceSpecApplyConfiguration) WithMACAddress(value string) *InterfaceSpecApplyConfiguration
- func (b *InterfaceSpecApplyConfiguration) WithPeer(value *PeerSpecApplyConfiguration) *InterfaceSpecApplyConfiguration
- func (b *InterfaceSpecApplyConfiguration) WithSpeed(value uint32) *InterfaceSpecApplyConfiguration
- type InterfacesSpecApplyConfiguration
- type InternalApplyConfiguration
- type InventoryApplyConfiguration
- func ExtractInventory(inventory *metalv1alpha4.Inventory, fieldManager string) (*InventoryApplyConfiguration, error)
- func ExtractInventoryStatus(inventory *metalv1alpha4.Inventory, fieldManager string) (*InventoryApplyConfiguration, error)
- func Inventory(name, namespace string) *InventoryApplyConfiguration
- func (b *InventoryApplyConfiguration) WithAPIVersion(value string) *InventoryApplyConfiguration
- func (b *InventoryApplyConfiguration) WithAnnotations(entries map[string]string) *InventoryApplyConfiguration
- func (b *InventoryApplyConfiguration) WithCreationTimestamp(value metav1.Time) *InventoryApplyConfiguration
- func (b *InventoryApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *InventoryApplyConfiguration
- func (b *InventoryApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *InventoryApplyConfiguration
- func (b *InventoryApplyConfiguration) WithFinalizers(values ...string) *InventoryApplyConfiguration
- func (b *InventoryApplyConfiguration) WithGenerateName(value string) *InventoryApplyConfiguration
- func (b *InventoryApplyConfiguration) WithGeneration(value int64) *InventoryApplyConfiguration
- func (b *InventoryApplyConfiguration) WithKind(value string) *InventoryApplyConfiguration
- func (b *InventoryApplyConfiguration) WithLabels(entries map[string]string) *InventoryApplyConfiguration
- func (b *InventoryApplyConfiguration) WithName(value string) *InventoryApplyConfiguration
- func (b *InventoryApplyConfiguration) WithNamespace(value string) *InventoryApplyConfiguration
- func (b *InventoryApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *InventoryApplyConfiguration
- func (b *InventoryApplyConfiguration) WithResourceVersion(value string) *InventoryApplyConfiguration
- func (b *InventoryApplyConfiguration) WithSpec(value *InventorySpecApplyConfiguration) *InventoryApplyConfiguration
- func (b *InventoryApplyConfiguration) WithStatus(value *InventoryStatusApplyConfiguration) *InventoryApplyConfiguration
- func (b *InventoryApplyConfiguration) WithUID(value types.UID) *InventoryApplyConfiguration
- type InventorySpecApplyConfiguration
- func (b *InventorySpecApplyConfiguration) WithBlocks(values ...*BlockSpecApplyConfiguration) *InventorySpecApplyConfiguration
- func (b *InventorySpecApplyConfiguration) WithCPUs(values ...*CPUSpecApplyConfiguration) *InventorySpecApplyConfiguration
- func (b *InventorySpecApplyConfiguration) WithDistro(value *DistroSpecApplyConfiguration) *InventorySpecApplyConfiguration
- func (b *InventorySpecApplyConfiguration) WithHost(value *HostSpecApplyConfiguration) *InventorySpecApplyConfiguration
- func (b *InventorySpecApplyConfiguration) WithIPMIs(values ...*IPMISpecApplyConfiguration) *InventorySpecApplyConfiguration
- func (b *InventorySpecApplyConfiguration) WithMemory(value *MemorySpecApplyConfiguration) *InventorySpecApplyConfiguration
- func (b *InventorySpecApplyConfiguration) WithNICs(values ...*NICSpecApplyConfiguration) *InventorySpecApplyConfiguration
- func (b *InventorySpecApplyConfiguration) WithNUMA(values ...*NumaSpecApplyConfiguration) *InventorySpecApplyConfiguration
- func (b *InventorySpecApplyConfiguration) WithPCIDevices(values ...*PCIDeviceSpecApplyConfiguration) *InventorySpecApplyConfiguration
- func (b *InventorySpecApplyConfiguration) WithSystem(value *SystemSpecApplyConfiguration) *InventorySpecApplyConfiguration
- func (b *InventorySpecApplyConfiguration) WithVirt(value *VirtSpecApplyConfiguration) *InventorySpecApplyConfiguration
- type InventoryStatusApplyConfiguration
- type InventoryStatusesApplyConfiguration
- type LLDPSpecApplyConfiguration
- func (b *LLDPSpecApplyConfiguration) WithCapabilities(values ...v1alpha4.LLDPCapabilities) *LLDPSpecApplyConfiguration
- func (b *LLDPSpecApplyConfiguration) WithChassisID(value string) *LLDPSpecApplyConfiguration
- func (b *LLDPSpecApplyConfiguration) WithPortDescription(value string) *LLDPSpecApplyConfiguration
- func (b *LLDPSpecApplyConfiguration) WithPortID(value string) *LLDPSpecApplyConfiguration
- func (b *LLDPSpecApplyConfiguration) WithSystemDescription(value string) *LLDPSpecApplyConfiguration
- func (b *LLDPSpecApplyConfiguration) WithSystemName(value string) *LLDPSpecApplyConfiguration
- type LoopbackAddressesApplyConfiguration
- type MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithAPIVersion(value string) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithAnnotations(entries map[string]string) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithCreationTimestamp(value metav1.Time) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithFinalizers(values ...string) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithGenerateName(value string) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithGeneration(value int64) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithKind(value string) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithLabels(entries map[string]string) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithName(value string) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithNamespace(value string) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithResourceVersion(value string) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithSpec(value *MachineSpecApplyConfiguration) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithStatus(value *MachineStatusApplyConfiguration) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithUID(value types.UID) *MachineApplyConfiguration
- type MachineSpecApplyConfiguration
- func (b *MachineSpecApplyConfiguration) WithDescription(value string) *MachineSpecApplyConfiguration
- func (b *MachineSpecApplyConfiguration) WithHostname(value string) *MachineSpecApplyConfiguration
- func (b *MachineSpecApplyConfiguration) WithIdentity(value *IdentityApplyConfiguration) *MachineSpecApplyConfiguration
- func (b *MachineSpecApplyConfiguration) WithInventoryRequested(value bool) *MachineSpecApplyConfiguration
- type MachineStatusApplyConfiguration
- func (b *MachineStatusApplyConfiguration) WithHealth(value v1alpha4.MachineState) *MachineStatusApplyConfiguration
- func (b *MachineStatusApplyConfiguration) WithNetwork(value *NetworkApplyConfiguration) *MachineStatusApplyConfiguration
- func (b *MachineStatusApplyConfiguration) WithOrphaned(value bool) *MachineStatusApplyConfiguration
- func (b *MachineStatusApplyConfiguration) WithReboot(value string) *MachineStatusApplyConfiguration
- func (b *MachineStatusApplyConfiguration) WithReservation(value *ReservationApplyConfiguration) *MachineStatusApplyConfiguration
- type MemorySpecApplyConfiguration
- type NDPSpecApplyConfiguration
- type NICSpecApplyConfiguration
- func (b *NICSpecApplyConfiguration) WithActiveFEC(value string) *NICSpecApplyConfiguration
- func (b *NICSpecApplyConfiguration) WithLLDPs(values ...*LLDPSpecApplyConfiguration) *NICSpecApplyConfiguration
- func (b *NICSpecApplyConfiguration) WithLanes(value byte) *NICSpecApplyConfiguration
- func (b *NICSpecApplyConfiguration) WithMACAddress(value string) *NICSpecApplyConfiguration
- func (b *NICSpecApplyConfiguration) WithMTU(value uint16) *NICSpecApplyConfiguration
- func (b *NICSpecApplyConfiguration) WithNDPs(values ...*NDPSpecApplyConfiguration) *NICSpecApplyConfiguration
- func (b *NICSpecApplyConfiguration) WithName(value string) *NICSpecApplyConfiguration
- func (b *NICSpecApplyConfiguration) WithPCIAddress(value string) *NICSpecApplyConfiguration
- func (b *NICSpecApplyConfiguration) WithSpeed(value uint32) *NICSpecApplyConfiguration
- type NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithASN(value uint32) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithInterfaces(values ...*InterfaceApplyConfiguration) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithLoopbacks(value *LoopbackAddressesApplyConfiguration) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithPorts(value int) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithRedundancy(value string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithUnknownPorts(value int) *NetworkApplyConfiguration
- type NetworkSwitchApplyConfiguration
- func ExtractNetworkSwitch(networkSwitch *metalv1alpha4.NetworkSwitch, fieldManager string) (*NetworkSwitchApplyConfiguration, error)
- func ExtractNetworkSwitchStatus(networkSwitch *metalv1alpha4.NetworkSwitch, fieldManager string) (*NetworkSwitchApplyConfiguration, error)
- func NetworkSwitch(name, namespace string) *NetworkSwitchApplyConfiguration
- func (b *NetworkSwitchApplyConfiguration) WithAPIVersion(value string) *NetworkSwitchApplyConfiguration
- func (b *NetworkSwitchApplyConfiguration) WithAnnotations(entries map[string]string) *NetworkSwitchApplyConfiguration
- func (b *NetworkSwitchApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NetworkSwitchApplyConfiguration
- func (b *NetworkSwitchApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NetworkSwitchApplyConfiguration
- func (b *NetworkSwitchApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NetworkSwitchApplyConfiguration
- func (b *NetworkSwitchApplyConfiguration) WithFinalizers(values ...string) *NetworkSwitchApplyConfiguration
- func (b *NetworkSwitchApplyConfiguration) WithGenerateName(value string) *NetworkSwitchApplyConfiguration
- func (b *NetworkSwitchApplyConfiguration) WithGeneration(value int64) *NetworkSwitchApplyConfiguration
- func (b *NetworkSwitchApplyConfiguration) WithKind(value string) *NetworkSwitchApplyConfiguration
- func (b *NetworkSwitchApplyConfiguration) WithLabels(entries map[string]string) *NetworkSwitchApplyConfiguration
- func (b *NetworkSwitchApplyConfiguration) WithName(value string) *NetworkSwitchApplyConfiguration
- func (b *NetworkSwitchApplyConfiguration) WithNamespace(value string) *NetworkSwitchApplyConfiguration
- func (b *NetworkSwitchApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NetworkSwitchApplyConfiguration
- func (b *NetworkSwitchApplyConfiguration) WithResourceVersion(value string) *NetworkSwitchApplyConfiguration
- func (b *NetworkSwitchApplyConfiguration) WithSpec(value *NetworkSwitchSpecApplyConfiguration) *NetworkSwitchApplyConfiguration
- func (b *NetworkSwitchApplyConfiguration) WithStatus(value *NetworkSwitchStatusApplyConfiguration) *NetworkSwitchApplyConfiguration
- func (b *NetworkSwitchApplyConfiguration) WithUID(value types.UID) *NetworkSwitchApplyConfiguration
- type NetworkSwitchSpecApplyConfiguration
- func (b *NetworkSwitchSpecApplyConfiguration) WithConfigSelector(value metav1.LabelSelector) *NetworkSwitchSpecApplyConfiguration
- func (b *NetworkSwitchSpecApplyConfiguration) WithCordon(value bool) *NetworkSwitchSpecApplyConfiguration
- func (b *NetworkSwitchSpecApplyConfiguration) WithIPAM(value *IPAMSpecApplyConfiguration) *NetworkSwitchSpecApplyConfiguration
- func (b *NetworkSwitchSpecApplyConfiguration) WithInterfaces(value *InterfacesSpecApplyConfiguration) *NetworkSwitchSpecApplyConfiguration
- func (b *NetworkSwitchSpecApplyConfiguration) WithInventoryRef(value v1.LocalObjectReference) *NetworkSwitchSpecApplyConfiguration
- func (b *NetworkSwitchSpecApplyConfiguration) WithManaged(value bool) *NetworkSwitchSpecApplyConfiguration
- func (b *NetworkSwitchSpecApplyConfiguration) WithScanPorts(value bool) *NetworkSwitchSpecApplyConfiguration
- func (b *NetworkSwitchSpecApplyConfiguration) WithTopSpine(value bool) *NetworkSwitchSpecApplyConfiguration
- type NetworkSwitchStatusApplyConfiguration
- func (b *NetworkSwitchStatusApplyConfiguration) WithASN(value uint32) *NetworkSwitchStatusApplyConfiguration
- func (b *NetworkSwitchStatusApplyConfiguration) WithConditions(values ...**v1alpha4.ConditionSpec) *NetworkSwitchStatusApplyConfiguration
- func (b *NetworkSwitchStatusApplyConfiguration) WithConfigRef(value v1.LocalObjectReference) *NetworkSwitchStatusApplyConfiguration
- func (b *NetworkSwitchStatusApplyConfiguration) WithInterfaces(entries map[string]*v1alpha4.InterfaceSpec) *NetworkSwitchStatusApplyConfiguration
- func (b *NetworkSwitchStatusApplyConfiguration) WithLayer(value uint32) *NetworkSwitchStatusApplyConfiguration
- func (b *NetworkSwitchStatusApplyConfiguration) WithLoopbackAddresses(values ...**v1alpha4.IPAddressSpec) *NetworkSwitchStatusApplyConfiguration
- func (b *NetworkSwitchStatusApplyConfiguration) WithMessage(value string) *NetworkSwitchStatusApplyConfiguration
- func (b *NetworkSwitchStatusApplyConfiguration) WithRole(value string) *NetworkSwitchStatusApplyConfiguration
- func (b *NetworkSwitchStatusApplyConfiguration) WithRoutingConfigTemplate(value v1.LocalObjectReference) *NetworkSwitchStatusApplyConfiguration
- func (b *NetworkSwitchStatusApplyConfiguration) WithState(value string) *NetworkSwitchStatusApplyConfiguration
- func (b *NetworkSwitchStatusApplyConfiguration) WithSubnets(values ...**v1alpha4.SubnetSpec) *NetworkSwitchStatusApplyConfiguration
- func (b *NetworkSwitchStatusApplyConfiguration) WithSwitchPorts(value uint32) *NetworkSwitchStatusApplyConfiguration
- func (b *NetworkSwitchStatusApplyConfiguration) WithTotalPorts(value uint32) *NetworkSwitchStatusApplyConfiguration
- type NumaSpecApplyConfiguration
- func (b *NumaSpecApplyConfiguration) WithCPUs(values ...int) *NumaSpecApplyConfiguration
- func (b *NumaSpecApplyConfiguration) WithDistances(values ...int) *NumaSpecApplyConfiguration
- func (b *NumaSpecApplyConfiguration) WithID(value int) *NumaSpecApplyConfiguration
- func (b *NumaSpecApplyConfiguration) WithMemory(value *MemorySpecApplyConfiguration) *NumaSpecApplyConfiguration
- type ObjectReferenceApplyConfiguration
- type PCIDeviceDescriptionSpecApplyConfiguration
- type PCIDeviceSpecApplyConfiguration
- func (b *PCIDeviceSpecApplyConfiguration) WithAddress(value string) *PCIDeviceSpecApplyConfiguration
- func (b *PCIDeviceSpecApplyConfiguration) WithBusID(value string) *PCIDeviceSpecApplyConfiguration
- func (b *PCIDeviceSpecApplyConfiguration) WithClass(value *PCIDeviceDescriptionSpecApplyConfiguration) *PCIDeviceSpecApplyConfiguration
- func (b *PCIDeviceSpecApplyConfiguration) WithProgrammingInterface(value *PCIDeviceDescriptionSpecApplyConfiguration) *PCIDeviceSpecApplyConfiguration
- func (b *PCIDeviceSpecApplyConfiguration) WithSubclass(value *PCIDeviceDescriptionSpecApplyConfiguration) *PCIDeviceSpecApplyConfiguration
- func (b *PCIDeviceSpecApplyConfiguration) WithSubtype(value *PCIDeviceDescriptionSpecApplyConfiguration) *PCIDeviceSpecApplyConfiguration
- func (b *PCIDeviceSpecApplyConfiguration) WithSubvendor(value *PCIDeviceDescriptionSpecApplyConfiguration) *PCIDeviceSpecApplyConfiguration
- func (b *PCIDeviceSpecApplyConfiguration) WithType(value *PCIDeviceDescriptionSpecApplyConfiguration) *PCIDeviceSpecApplyConfiguration
- func (b *PCIDeviceSpecApplyConfiguration) WithVendor(value *PCIDeviceDescriptionSpecApplyConfiguration) *PCIDeviceSpecApplyConfiguration
- type PartitionSpecApplyConfiguration
- type PartitionTableSpecApplyConfiguration
- type PeerApplyConfiguration
- func (b *PeerApplyConfiguration) WithLLDPChassisID(value string) *PeerApplyConfiguration
- func (b *PeerApplyConfiguration) WithLLDPPortDescription(value string) *PeerApplyConfiguration
- func (b *PeerApplyConfiguration) WithLLDPPortID(value string) *PeerApplyConfiguration
- func (b *PeerApplyConfiguration) WithLLDPSystemName(value string) *PeerApplyConfiguration
- func (b *PeerApplyConfiguration) WithResourceReference(value *ResourceReferenceApplyConfiguration) *PeerApplyConfiguration
- type PeerInfoSpecApplyConfiguration
- func (b *PeerInfoSpecApplyConfiguration) WithChassisID(value string) *PeerInfoSpecApplyConfiguration
- func (b *PeerInfoSpecApplyConfiguration) WithPortDescription(value string) *PeerInfoSpecApplyConfiguration
- func (b *PeerInfoSpecApplyConfiguration) WithPortID(value string) *PeerInfoSpecApplyConfiguration
- func (b *PeerInfoSpecApplyConfiguration) WithSystemName(value string) *PeerInfoSpecApplyConfiguration
- func (b *PeerInfoSpecApplyConfiguration) WithType(value string) *PeerInfoSpecApplyConfiguration
- type PeerSpecApplyConfiguration
- type PortParametersSpecApplyConfiguration
- func (b *PortParametersSpecApplyConfiguration) WithFEC(value string) *PortParametersSpecApplyConfiguration
- func (b *PortParametersSpecApplyConfiguration) WithIPv4MaskLength(value uint32) *PortParametersSpecApplyConfiguration
- func (b *PortParametersSpecApplyConfiguration) WithIPv6Prefix(value uint32) *PortParametersSpecApplyConfiguration
- func (b *PortParametersSpecApplyConfiguration) WithLanes(value uint32) *PortParametersSpecApplyConfiguration
- func (b *PortParametersSpecApplyConfiguration) WithMTU(value uint32) *PortParametersSpecApplyConfiguration
- func (b *PortParametersSpecApplyConfiguration) WithState(value string) *PortParametersSpecApplyConfiguration
- type RegionSpecApplyConfiguration
- type ReservationApplyConfiguration
- func (b *ReservationApplyConfiguration) WithClass(value string) *ReservationApplyConfiguration
- func (b *ReservationApplyConfiguration) WithReference(value *ResourceReferenceApplyConfiguration) *ReservationApplyConfiguration
- func (b *ReservationApplyConfiguration) WithStatus(value string) *ReservationApplyConfiguration
- type ResourceReferenceApplyConfiguration
- func (b *ResourceReferenceApplyConfiguration) WithAPIVersion(value string) *ResourceReferenceApplyConfiguration
- func (b *ResourceReferenceApplyConfiguration) WithKind(value string) *ResourceReferenceApplyConfiguration
- func (b *ResourceReferenceApplyConfiguration) WithName(value string) *ResourceReferenceApplyConfiguration
- func (b *ResourceReferenceApplyConfiguration) WithNamespace(value string) *ResourceReferenceApplyConfiguration
- type SubnetSpecApplyConfiguration
- func (b *SubnetSpecApplyConfiguration) WithAddressFamily(value string) *SubnetSpecApplyConfiguration
- func (b *SubnetSpecApplyConfiguration) WithCIDR(value string) *SubnetSpecApplyConfiguration
- func (b *SubnetSpecApplyConfiguration) WithNetwork(value *ObjectReferenceApplyConfiguration) *SubnetSpecApplyConfiguration
- func (b *SubnetSpecApplyConfiguration) WithRegion(value *RegionSpecApplyConfiguration) *SubnetSpecApplyConfiguration
- func (b *SubnetSpecApplyConfiguration) WithSubnet(value *ObjectReferenceApplyConfiguration) *SubnetSpecApplyConfiguration
- type SwitchConfigApplyConfiguration
- func ExtractSwitchConfig(switchConfig *metalv1alpha4.SwitchConfig, fieldManager string) (*SwitchConfigApplyConfiguration, error)
- func ExtractSwitchConfigStatus(switchConfig *metalv1alpha4.SwitchConfig, fieldManager string) (*SwitchConfigApplyConfiguration, error)
- func SwitchConfig(name, namespace string) *SwitchConfigApplyConfiguration
- func (b *SwitchConfigApplyConfiguration) WithAPIVersion(value string) *SwitchConfigApplyConfiguration
- func (b *SwitchConfigApplyConfiguration) WithAnnotations(entries map[string]string) *SwitchConfigApplyConfiguration
- func (b *SwitchConfigApplyConfiguration) WithCreationTimestamp(value metav1.Time) *SwitchConfigApplyConfiguration
- func (b *SwitchConfigApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *SwitchConfigApplyConfiguration
- func (b *SwitchConfigApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *SwitchConfigApplyConfiguration
- func (b *SwitchConfigApplyConfiguration) WithFinalizers(values ...string) *SwitchConfigApplyConfiguration
- func (b *SwitchConfigApplyConfiguration) WithGenerateName(value string) *SwitchConfigApplyConfiguration
- func (b *SwitchConfigApplyConfiguration) WithGeneration(value int64) *SwitchConfigApplyConfiguration
- func (b *SwitchConfigApplyConfiguration) WithKind(value string) *SwitchConfigApplyConfiguration
- func (b *SwitchConfigApplyConfiguration) WithLabels(entries map[string]string) *SwitchConfigApplyConfiguration
- func (b *SwitchConfigApplyConfiguration) WithName(value string) *SwitchConfigApplyConfiguration
- func (b *SwitchConfigApplyConfiguration) WithNamespace(value string) *SwitchConfigApplyConfiguration
- func (b *SwitchConfigApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *SwitchConfigApplyConfiguration
- func (b *SwitchConfigApplyConfiguration) WithResourceVersion(value string) *SwitchConfigApplyConfiguration
- func (b *SwitchConfigApplyConfiguration) WithSpec(value *SwitchConfigSpecApplyConfiguration) *SwitchConfigApplyConfiguration
- func (b *SwitchConfigApplyConfiguration) WithStatus(value metalv1alpha4.SwitchConfigStatus) *SwitchConfigApplyConfiguration
- func (b *SwitchConfigApplyConfiguration) WithUID(value types.UID) *SwitchConfigApplyConfiguration
- type SwitchConfigSpecApplyConfiguration
- func (b *SwitchConfigSpecApplyConfiguration) WithIPAM(value *GeneralIPAMSpecApplyConfiguration) *SwitchConfigSpecApplyConfiguration
- func (b *SwitchConfigSpecApplyConfiguration) WithPortsDefaults(value *PortParametersSpecApplyConfiguration) *SwitchConfigSpecApplyConfiguration
- func (b *SwitchConfigSpecApplyConfiguration) WithRoutingConfigTemplate(value corev1.LocalObjectReference) *SwitchConfigSpecApplyConfiguration
- func (b *SwitchConfigSpecApplyConfiguration) WithSwitches(value v1.LabelSelector) *SwitchConfigSpecApplyConfiguration
- type SystemSpecApplyConfiguration
- func (b *SystemSpecApplyConfiguration) WithID(value string) *SystemSpecApplyConfiguration
- func (b *SystemSpecApplyConfiguration) WithManufacturer(value string) *SystemSpecApplyConfiguration
- func (b *SystemSpecApplyConfiguration) WithProductSKU(value string) *SystemSpecApplyConfiguration
- func (b *SystemSpecApplyConfiguration) WithSerialNumber(value string) *SystemSpecApplyConfiguration
- type VirtSpecApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdditionalIPSpecApplyConfiguration ¶
type AdditionalIPSpecApplyConfiguration struct { Address *string `json:"address,omitempty"` ParentSubnet *v1.LabelSelector `json:"parentSubnet,omitempty"` }
AdditionalIPSpecApplyConfiguration represents an declarative configuration of the AdditionalIPSpec type for use with apply.
func AdditionalIPSpec ¶
func AdditionalIPSpec() *AdditionalIPSpecApplyConfiguration
AdditionalIPSpecApplyConfiguration constructs an declarative configuration of the AdditionalIPSpec type for use with apply.
func (*AdditionalIPSpecApplyConfiguration) WithAddress ¶
func (b *AdditionalIPSpecApplyConfiguration) WithAddress(value string) *AdditionalIPSpecApplyConfiguration
WithAddress sets the Address field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Address field is set to the value of the last call.
func (*AdditionalIPSpecApplyConfiguration) WithParentSubnet ¶
func (b *AdditionalIPSpecApplyConfiguration) WithParentSubnet(value v1.LabelSelector) *AdditionalIPSpecApplyConfiguration
WithParentSubnet sets the ParentSubnet field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ParentSubnet field is set to the value of the last call.
type AddressFamiliesMapApplyConfiguration ¶
type AddressFamiliesMapApplyConfiguration struct { IPv4 *bool `json:"ipv4,omitempty"` IPv6 *bool `json:"ipv6,omitempty"` }
AddressFamiliesMapApplyConfiguration represents an declarative configuration of the AddressFamiliesMap type for use with apply.
func AddressFamiliesMap ¶
func AddressFamiliesMap() *AddressFamiliesMapApplyConfiguration
AddressFamiliesMapApplyConfiguration constructs an declarative configuration of the AddressFamiliesMap type for use with apply.
func (*AddressFamiliesMapApplyConfiguration) WithIPv4 ¶
func (b *AddressFamiliesMapApplyConfiguration) WithIPv4(value bool) *AddressFamiliesMapApplyConfiguration
WithIPv4 sets the IPv4 field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPv4 field is set to the value of the last call.
func (*AddressFamiliesMapApplyConfiguration) WithIPv6 ¶
func (b *AddressFamiliesMapApplyConfiguration) WithIPv6(value bool) *AddressFamiliesMapApplyConfiguration
WithIPv6 sets the IPv6 field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPv6 field is set to the value of the last call.
type AddressesApplyConfiguration ¶
type AddressesApplyConfiguration struct { IPv4 []v1alpha4.IPAddrSpec `json:"ipv4,omitempty"` IPv6 []v1alpha4.IPAddrSpec `json:"ipv6,omitempty"` }
AddressesApplyConfiguration represents an declarative configuration of the Addresses type for use with apply.
func Addresses ¶
func Addresses() *AddressesApplyConfiguration
AddressesApplyConfiguration constructs an declarative configuration of the Addresses type for use with apply.
func (*AddressesApplyConfiguration) WithIPv4 ¶
func (b *AddressesApplyConfiguration) WithIPv4(values ...v1alpha4.IPAddrSpec) *AddressesApplyConfiguration
WithIPv4 adds the given value to the IPv4 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 IPv4 field.
func (*AddressesApplyConfiguration) WithIPv6 ¶
func (b *AddressesApplyConfiguration) WithIPv6(values ...v1alpha4.IPAddrSpec) *AddressesApplyConfiguration
WithIPv6 adds the given value to the IPv6 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 IPv6 field.
type AggregateApplyConfiguration ¶
type AggregateApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *AggregateSpecApplyConfiguration `json:"spec,omitempty"` Status *metalv1alpha4.AggregateStatus `json:"status,omitempty"` }
AggregateApplyConfiguration represents an declarative configuration of the Aggregate type for use with apply.
func Aggregate ¶
func Aggregate(name, namespace string) *AggregateApplyConfiguration
Aggregate constructs an declarative configuration of the Aggregate type for use with apply.
func ExtractAggregate ¶
func ExtractAggregate(aggregate *metalv1alpha4.Aggregate, fieldManager string) (*AggregateApplyConfiguration, error)
ExtractAggregate extracts the applied configuration owned by fieldManager from aggregate. If no managedFields are found in aggregate for fieldManager, a AggregateApplyConfiguration 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. aggregate must be a unmodified Aggregate API object that was retrieved from the Kubernetes API. ExtractAggregate 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 ExtractAggregateStatus ¶
func ExtractAggregateStatus(aggregate *metalv1alpha4.Aggregate, fieldManager string) (*AggregateApplyConfiguration, error)
ExtractAggregateStatus is the same as ExtractAggregate except that it extracts the status subresource applied configuration. Experimental!
func (*AggregateApplyConfiguration) WithAPIVersion ¶
func (b *AggregateApplyConfiguration) WithAPIVersion(value string) *AggregateApplyConfiguration
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 (*AggregateApplyConfiguration) WithAnnotations ¶
func (b *AggregateApplyConfiguration) WithAnnotations(entries map[string]string) *AggregateApplyConfiguration
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 (*AggregateApplyConfiguration) WithCreationTimestamp ¶
func (b *AggregateApplyConfiguration) WithCreationTimestamp(value metav1.Time) *AggregateApplyConfiguration
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 (*AggregateApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *AggregateApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *AggregateApplyConfiguration
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 (*AggregateApplyConfiguration) WithDeletionTimestamp ¶
func (b *AggregateApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *AggregateApplyConfiguration
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 (*AggregateApplyConfiguration) WithFinalizers ¶
func (b *AggregateApplyConfiguration) WithFinalizers(values ...string) *AggregateApplyConfiguration
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 (*AggregateApplyConfiguration) WithGenerateName ¶
func (b *AggregateApplyConfiguration) WithGenerateName(value string) *AggregateApplyConfiguration
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 (*AggregateApplyConfiguration) WithGeneration ¶
func (b *AggregateApplyConfiguration) WithGeneration(value int64) *AggregateApplyConfiguration
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 (*AggregateApplyConfiguration) WithKind ¶
func (b *AggregateApplyConfiguration) WithKind(value string) *AggregateApplyConfiguration
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 (*AggregateApplyConfiguration) WithLabels ¶
func (b *AggregateApplyConfiguration) WithLabels(entries map[string]string) *AggregateApplyConfiguration
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 (*AggregateApplyConfiguration) WithName ¶
func (b *AggregateApplyConfiguration) WithName(value string) *AggregateApplyConfiguration
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 (*AggregateApplyConfiguration) WithNamespace ¶
func (b *AggregateApplyConfiguration) WithNamespace(value string) *AggregateApplyConfiguration
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 (*AggregateApplyConfiguration) WithOwnerReferences ¶
func (b *AggregateApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *AggregateApplyConfiguration
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 (*AggregateApplyConfiguration) WithResourceVersion ¶
func (b *AggregateApplyConfiguration) WithResourceVersion(value string) *AggregateApplyConfiguration
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 (*AggregateApplyConfiguration) WithSpec ¶
func (b *AggregateApplyConfiguration) WithSpec(value *AggregateSpecApplyConfiguration) *AggregateApplyConfiguration
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 (*AggregateApplyConfiguration) WithStatus ¶
func (b *AggregateApplyConfiguration) WithStatus(value metalv1alpha4.AggregateStatus) *AggregateApplyConfiguration
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 (*AggregateApplyConfiguration) WithUID ¶
func (b *AggregateApplyConfiguration) WithUID(value types.UID) *AggregateApplyConfiguration
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 AggregateItemApplyConfiguration ¶
type AggregateItemApplyConfiguration struct { SourcePath *v1alpha4.JSONPath `json:"sourcePath,omitempty"` TargetPath *v1alpha4.JSONPath `json:"targetPath,omitempty"` Aggregate *v1alpha4.AggregateType `json:"aggregate,omitempty"` }
AggregateItemApplyConfiguration represents an declarative configuration of the AggregateItem type for use with apply.
func AggregateItem ¶
func AggregateItem() *AggregateItemApplyConfiguration
AggregateItemApplyConfiguration constructs an declarative configuration of the AggregateItem type for use with apply.
func (*AggregateItemApplyConfiguration) WithAggregate ¶
func (b *AggregateItemApplyConfiguration) WithAggregate(value v1alpha4.AggregateType) *AggregateItemApplyConfiguration
WithAggregate sets the Aggregate field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Aggregate field is set to the value of the last call.
func (*AggregateItemApplyConfiguration) WithSourcePath ¶
func (b *AggregateItemApplyConfiguration) WithSourcePath(value v1alpha4.JSONPath) *AggregateItemApplyConfiguration
WithSourcePath sets the SourcePath field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SourcePath field is set to the value of the last call.
func (*AggregateItemApplyConfiguration) WithTargetPath ¶
func (b *AggregateItemApplyConfiguration) WithTargetPath(value v1alpha4.JSONPath) *AggregateItemApplyConfiguration
WithTargetPath sets the TargetPath field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TargetPath field is set to the value of the last call.
type AggregateSpecApplyConfiguration ¶
type AggregateSpecApplyConfiguration struct {
Aggregates []AggregateItemApplyConfiguration `json:"aggregates,omitempty"`
}
AggregateSpecApplyConfiguration represents an declarative configuration of the AggregateSpec type for use with apply.
func AggregateSpec ¶
func AggregateSpec() *AggregateSpecApplyConfiguration
AggregateSpecApplyConfiguration constructs an declarative configuration of the AggregateSpec type for use with apply.
func (*AggregateSpecApplyConfiguration) WithAggregates ¶
func (b *AggregateSpecApplyConfiguration) WithAggregates(values ...*AggregateItemApplyConfiguration) *AggregateSpecApplyConfiguration
WithAggregates adds the given value to the Aggregates 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 Aggregates field.
type BenchmarkApplyConfiguration ¶
type BenchmarkApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *BenchmarkSpecApplyConfiguration `json:"spec,omitempty"` Status *BenchmarkStatusApplyConfiguration `json:"status,omitempty"` }
BenchmarkApplyConfiguration represents an declarative configuration of the Benchmark type for use with apply.
func Benchmark ¶
func Benchmark(name, namespace string) *BenchmarkApplyConfiguration
Benchmark constructs an declarative configuration of the Benchmark type for use with apply.
func ExtractBenchmark ¶
func ExtractBenchmark(benchmark *metalv1alpha4.Benchmark, fieldManager string) (*BenchmarkApplyConfiguration, error)
ExtractBenchmark extracts the applied configuration owned by fieldManager from benchmark. If no managedFields are found in benchmark for fieldManager, a BenchmarkApplyConfiguration 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. benchmark must be a unmodified Benchmark API object that was retrieved from the Kubernetes API. ExtractBenchmark 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 ExtractBenchmarkStatus ¶
func ExtractBenchmarkStatus(benchmark *metalv1alpha4.Benchmark, fieldManager string) (*BenchmarkApplyConfiguration, error)
ExtractBenchmarkStatus is the same as ExtractBenchmark except that it extracts the status subresource applied configuration. Experimental!
func (*BenchmarkApplyConfiguration) WithAPIVersion ¶
func (b *BenchmarkApplyConfiguration) WithAPIVersion(value string) *BenchmarkApplyConfiguration
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 (*BenchmarkApplyConfiguration) WithAnnotations ¶
func (b *BenchmarkApplyConfiguration) WithAnnotations(entries map[string]string) *BenchmarkApplyConfiguration
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 (*BenchmarkApplyConfiguration) WithCreationTimestamp ¶
func (b *BenchmarkApplyConfiguration) WithCreationTimestamp(value metav1.Time) *BenchmarkApplyConfiguration
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 (*BenchmarkApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *BenchmarkApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *BenchmarkApplyConfiguration
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 (*BenchmarkApplyConfiguration) WithDeletionTimestamp ¶
func (b *BenchmarkApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *BenchmarkApplyConfiguration
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 (*BenchmarkApplyConfiguration) WithFinalizers ¶
func (b *BenchmarkApplyConfiguration) WithFinalizers(values ...string) *BenchmarkApplyConfiguration
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 (*BenchmarkApplyConfiguration) WithGenerateName ¶
func (b *BenchmarkApplyConfiguration) WithGenerateName(value string) *BenchmarkApplyConfiguration
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 (*BenchmarkApplyConfiguration) WithGeneration ¶
func (b *BenchmarkApplyConfiguration) WithGeneration(value int64) *BenchmarkApplyConfiguration
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 (*BenchmarkApplyConfiguration) WithKind ¶
func (b *BenchmarkApplyConfiguration) WithKind(value string) *BenchmarkApplyConfiguration
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 (*BenchmarkApplyConfiguration) WithLabels ¶
func (b *BenchmarkApplyConfiguration) WithLabels(entries map[string]string) *BenchmarkApplyConfiguration
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 (*BenchmarkApplyConfiguration) WithName ¶
func (b *BenchmarkApplyConfiguration) WithName(value string) *BenchmarkApplyConfiguration
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 (*BenchmarkApplyConfiguration) WithNamespace ¶
func (b *BenchmarkApplyConfiguration) WithNamespace(value string) *BenchmarkApplyConfiguration
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 (*BenchmarkApplyConfiguration) WithOwnerReferences ¶
func (b *BenchmarkApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *BenchmarkApplyConfiguration
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 (*BenchmarkApplyConfiguration) WithResourceVersion ¶
func (b *BenchmarkApplyConfiguration) WithResourceVersion(value string) *BenchmarkApplyConfiguration
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 (*BenchmarkApplyConfiguration) WithSpec ¶
func (b *BenchmarkApplyConfiguration) WithSpec(value *BenchmarkSpecApplyConfiguration) *BenchmarkApplyConfiguration
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 (*BenchmarkApplyConfiguration) WithStatus ¶
func (b *BenchmarkApplyConfiguration) WithStatus(value *BenchmarkStatusApplyConfiguration) *BenchmarkApplyConfiguration
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 (*BenchmarkApplyConfiguration) WithUID ¶
func (b *BenchmarkApplyConfiguration) WithUID(value types.UID) *BenchmarkApplyConfiguration
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 BenchmarkDeviationApplyConfiguration ¶
type BenchmarkDeviationApplyConfiguration struct { Name *string `json:"name,omitempty"` Value *string `json:"value,omitempty"` }
BenchmarkDeviationApplyConfiguration represents an declarative configuration of the BenchmarkDeviation type for use with apply.
func BenchmarkDeviation ¶
func BenchmarkDeviation() *BenchmarkDeviationApplyConfiguration
BenchmarkDeviationApplyConfiguration constructs an declarative configuration of the BenchmarkDeviation type for use with apply.
func (*BenchmarkDeviationApplyConfiguration) WithName ¶
func (b *BenchmarkDeviationApplyConfiguration) WithName(value string) *BenchmarkDeviationApplyConfiguration
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 (*BenchmarkDeviationApplyConfiguration) WithValue ¶
func (b *BenchmarkDeviationApplyConfiguration) WithValue(value string) *BenchmarkDeviationApplyConfiguration
WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.
type BenchmarkResultApplyConfiguration ¶
type BenchmarkResultApplyConfiguration struct { Name *string `json:"name,omitempty"` Value *uint64 `json:"value,omitempty"` }
BenchmarkResultApplyConfiguration represents an declarative configuration of the BenchmarkResult type for use with apply.
func BenchmarkResult ¶
func BenchmarkResult() *BenchmarkResultApplyConfiguration
BenchmarkResultApplyConfiguration constructs an declarative configuration of the BenchmarkResult type for use with apply.
func (*BenchmarkResultApplyConfiguration) WithName ¶
func (b *BenchmarkResultApplyConfiguration) WithName(value string) *BenchmarkResultApplyConfiguration
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 (*BenchmarkResultApplyConfiguration) WithValue ¶
func (b *BenchmarkResultApplyConfiguration) WithValue(value uint64) *BenchmarkResultApplyConfiguration
WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.
type BenchmarkSpecApplyConfiguration ¶
type BenchmarkSpecApplyConfiguration struct {
Benchmarks map[string]v1alpha4.Benchmarks `json:"benchmarks,omitempty"`
}
BenchmarkSpecApplyConfiguration represents an declarative configuration of the BenchmarkSpec type for use with apply.
func BenchmarkSpec ¶
func BenchmarkSpec() *BenchmarkSpecApplyConfiguration
BenchmarkSpecApplyConfiguration constructs an declarative configuration of the BenchmarkSpec type for use with apply.
func (*BenchmarkSpecApplyConfiguration) WithBenchmarks ¶
func (b *BenchmarkSpecApplyConfiguration) WithBenchmarks(entries map[string]v1alpha4.Benchmarks) *BenchmarkSpecApplyConfiguration
WithBenchmarks puts the entries into the Benchmarks 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 Benchmarks field, overwriting an existing map entries in Benchmarks field with the same key.
type BenchmarkStatusApplyConfiguration ¶
type BenchmarkStatusApplyConfiguration struct {
BenchmarkDeviations map[string]v1alpha4.BenchmarkDeviations `json:"machine_deviation,omitempty"`
}
BenchmarkStatusApplyConfiguration represents an declarative configuration of the BenchmarkStatus type for use with apply.
func BenchmarkStatus ¶
func BenchmarkStatus() *BenchmarkStatusApplyConfiguration
BenchmarkStatusApplyConfiguration constructs an declarative configuration of the BenchmarkStatus type for use with apply.
func (*BenchmarkStatusApplyConfiguration) WithBenchmarkDeviations ¶
func (b *BenchmarkStatusApplyConfiguration) WithBenchmarkDeviations(entries map[string]v1alpha4.BenchmarkDeviations) *BenchmarkStatusApplyConfiguration
WithBenchmarkDeviations puts the entries into the BenchmarkDeviations 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 BenchmarkDeviations field, overwriting an existing map entries in BenchmarkDeviations field with the same key.
type BlockSpecApplyConfiguration ¶
type BlockSpecApplyConfiguration struct { Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Rotational *bool `json:"rotational,omitempty"` Bus *string `json:"system,omitempty"` Model *string `json:"model,omitempty"` Size *uint64 `json:"size,omitempty"` PartitionTable *PartitionTableSpecApplyConfiguration `json:"partitionTable,omitempty"` }
BlockSpecApplyConfiguration represents an declarative configuration of the BlockSpec type for use with apply.
func BlockSpec ¶
func BlockSpec() *BlockSpecApplyConfiguration
BlockSpecApplyConfiguration constructs an declarative configuration of the BlockSpec type for use with apply.
func (*BlockSpecApplyConfiguration) WithBus ¶
func (b *BlockSpecApplyConfiguration) WithBus(value string) *BlockSpecApplyConfiguration
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 (*BlockSpecApplyConfiguration) WithModel ¶
func (b *BlockSpecApplyConfiguration) WithModel(value string) *BlockSpecApplyConfiguration
WithModel sets the Model field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Model field is set to the value of the last call.
func (*BlockSpecApplyConfiguration) WithName ¶
func (b *BlockSpecApplyConfiguration) WithName(value string) *BlockSpecApplyConfiguration
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 (*BlockSpecApplyConfiguration) WithPartitionTable ¶
func (b *BlockSpecApplyConfiguration) WithPartitionTable(value *PartitionTableSpecApplyConfiguration) *BlockSpecApplyConfiguration
WithPartitionTable sets the PartitionTable field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PartitionTable field is set to the value of the last call.
func (*BlockSpecApplyConfiguration) WithRotational ¶
func (b *BlockSpecApplyConfiguration) WithRotational(value bool) *BlockSpecApplyConfiguration
WithRotational sets the Rotational field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Rotational field is set to the value of the last call.
func (*BlockSpecApplyConfiguration) WithSize ¶
func (b *BlockSpecApplyConfiguration) WithSize(value uint64) *BlockSpecApplyConfiguration
WithSize sets the Size field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Size field is set to the value of the last call.
func (*BlockSpecApplyConfiguration) WithType ¶
func (b *BlockSpecApplyConfiguration) WithType(value string) *BlockSpecApplyConfiguration
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 CPUSpecApplyConfiguration ¶
type CPUSpecApplyConfiguration struct { PhysicalID *uint64 `json:"physicalId,omitempty"` LogicalIDs []uint64 `json:"logicalIds,omitempty"` Cores *uint64 `json:"cores,omitempty"` Siblings *uint64 `json:"siblings,omitempty"` VendorID *string `json:"vendorId,omitempty"` Family *string `json:"family,omitempty"` Model *string `json:"model,omitempty"` ModelName *string `json:"modelName,omitempty"` Stepping *string `json:"stepping,omitempty"` Microcode *string `json:"microcode,omitempty"` MHz *resource.Quantity `json:"mhz,omitempty"` CacheSize *string `json:"cacheSize,omitempty"` FPU *bool `json:"fpu,omitempty"` FPUException *bool `json:"fpuException,omitempty"` CPUIDLevel *uint64 `json:"cpuIdLevel,omitempty"` WP *bool `json:"wp,omitempty"` Flags []string `json:"flags,omitempty"` VMXFlags []string `json:"vmxFlags,omitempty"` Bugs []string `json:"bugs,omitempty"` BogoMIPS *resource.Quantity `json:"bogoMips,omitempty"` CLFlushSize *uint64 `json:"clFlushSize,omitempty"` CacheAlignment *uint64 `json:"cacheAlignment,omitempty"` AddressSizes *string `json:"addressSizes,omitempty"` PowerManagement *string `json:"powerManagement,omitempty"` }
CPUSpecApplyConfiguration represents an declarative configuration of the CPUSpec type for use with apply.
func CPUSpec ¶
func CPUSpec() *CPUSpecApplyConfiguration
CPUSpecApplyConfiguration constructs an declarative configuration of the CPUSpec type for use with apply.
func (*CPUSpecApplyConfiguration) WithAddressSizes ¶
func (b *CPUSpecApplyConfiguration) WithAddressSizes(value string) *CPUSpecApplyConfiguration
WithAddressSizes sets the AddressSizes field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AddressSizes field is set to the value of the last call.
func (*CPUSpecApplyConfiguration) WithBogoMIPS ¶
func (b *CPUSpecApplyConfiguration) WithBogoMIPS(value resource.Quantity) *CPUSpecApplyConfiguration
WithBogoMIPS sets the BogoMIPS field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BogoMIPS field is set to the value of the last call.
func (*CPUSpecApplyConfiguration) WithBugs ¶
func (b *CPUSpecApplyConfiguration) WithBugs(values ...string) *CPUSpecApplyConfiguration
WithBugs adds the given value to the Bugs 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 Bugs field.
func (*CPUSpecApplyConfiguration) WithCLFlushSize ¶
func (b *CPUSpecApplyConfiguration) WithCLFlushSize(value uint64) *CPUSpecApplyConfiguration
WithCLFlushSize sets the CLFlushSize field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CLFlushSize field is set to the value of the last call.
func (*CPUSpecApplyConfiguration) WithCPUIDLevel ¶
func (b *CPUSpecApplyConfiguration) WithCPUIDLevel(value uint64) *CPUSpecApplyConfiguration
WithCPUIDLevel sets the CPUIDLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CPUIDLevel field is set to the value of the last call.
func (*CPUSpecApplyConfiguration) WithCacheAlignment ¶
func (b *CPUSpecApplyConfiguration) WithCacheAlignment(value uint64) *CPUSpecApplyConfiguration
WithCacheAlignment sets the CacheAlignment field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CacheAlignment field is set to the value of the last call.
func (*CPUSpecApplyConfiguration) WithCacheSize ¶
func (b *CPUSpecApplyConfiguration) WithCacheSize(value string) *CPUSpecApplyConfiguration
WithCacheSize sets the CacheSize field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CacheSize field is set to the value of the last call.
func (*CPUSpecApplyConfiguration) WithCores ¶
func (b *CPUSpecApplyConfiguration) WithCores(value uint64) *CPUSpecApplyConfiguration
WithCores sets the Cores field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Cores field is set to the value of the last call.
func (*CPUSpecApplyConfiguration) WithFPU ¶
func (b *CPUSpecApplyConfiguration) WithFPU(value bool) *CPUSpecApplyConfiguration
WithFPU sets the FPU field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FPU field is set to the value of the last call.
func (*CPUSpecApplyConfiguration) WithFPUException ¶
func (b *CPUSpecApplyConfiguration) WithFPUException(value bool) *CPUSpecApplyConfiguration
WithFPUException sets the FPUException field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FPUException field is set to the value of the last call.
func (*CPUSpecApplyConfiguration) WithFamily ¶
func (b *CPUSpecApplyConfiguration) WithFamily(value string) *CPUSpecApplyConfiguration
WithFamily sets the Family field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Family field is set to the value of the last call.
func (*CPUSpecApplyConfiguration) WithFlags ¶
func (b *CPUSpecApplyConfiguration) WithFlags(values ...string) *CPUSpecApplyConfiguration
WithFlags adds the given value to the Flags 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 Flags field.
func (*CPUSpecApplyConfiguration) WithLogicalIDs ¶
func (b *CPUSpecApplyConfiguration) WithLogicalIDs(values ...uint64) *CPUSpecApplyConfiguration
WithLogicalIDs adds the given value to the LogicalIDs 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 LogicalIDs field.
func (*CPUSpecApplyConfiguration) WithMHz ¶
func (b *CPUSpecApplyConfiguration) WithMHz(value resource.Quantity) *CPUSpecApplyConfiguration
WithMHz sets the MHz field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MHz field is set to the value of the last call.
func (*CPUSpecApplyConfiguration) WithMicrocode ¶
func (b *CPUSpecApplyConfiguration) WithMicrocode(value string) *CPUSpecApplyConfiguration
WithMicrocode sets the Microcode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Microcode field is set to the value of the last call.
func (*CPUSpecApplyConfiguration) WithModel ¶
func (b *CPUSpecApplyConfiguration) WithModel(value string) *CPUSpecApplyConfiguration
WithModel sets the Model field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Model field is set to the value of the last call.
func (*CPUSpecApplyConfiguration) WithModelName ¶
func (b *CPUSpecApplyConfiguration) WithModelName(value string) *CPUSpecApplyConfiguration
WithModelName sets the ModelName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ModelName field is set to the value of the last call.
func (*CPUSpecApplyConfiguration) WithPhysicalID ¶
func (b *CPUSpecApplyConfiguration) WithPhysicalID(value uint64) *CPUSpecApplyConfiguration
WithPhysicalID sets the PhysicalID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PhysicalID field is set to the value of the last call.
func (*CPUSpecApplyConfiguration) WithPowerManagement ¶
func (b *CPUSpecApplyConfiguration) WithPowerManagement(value string) *CPUSpecApplyConfiguration
WithPowerManagement sets the PowerManagement field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PowerManagement field is set to the value of the last call.
func (*CPUSpecApplyConfiguration) WithSiblings ¶
func (b *CPUSpecApplyConfiguration) WithSiblings(value uint64) *CPUSpecApplyConfiguration
WithSiblings sets the Siblings field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Siblings field is set to the value of the last call.
func (*CPUSpecApplyConfiguration) WithStepping ¶
func (b *CPUSpecApplyConfiguration) WithStepping(value string) *CPUSpecApplyConfiguration
WithStepping sets the Stepping field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Stepping field is set to the value of the last call.
func (*CPUSpecApplyConfiguration) WithVMXFlags ¶
func (b *CPUSpecApplyConfiguration) WithVMXFlags(values ...string) *CPUSpecApplyConfiguration
WithVMXFlags adds the given value to the VMXFlags 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 VMXFlags field.
func (*CPUSpecApplyConfiguration) WithVendorID ¶
func (b *CPUSpecApplyConfiguration) WithVendorID(value string) *CPUSpecApplyConfiguration
WithVendorID sets the VendorID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VendorID field is set to the value of the last call.
func (*CPUSpecApplyConfiguration) WithWP ¶
func (b *CPUSpecApplyConfiguration) WithWP(value bool) *CPUSpecApplyConfiguration
WithWP sets the WP field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the WP field is set to the value of the last call.
type ConditionSpecApplyConfiguration ¶
type ConditionSpecApplyConfiguration struct { Name *string `json:"name,omitempty"` State *bool `json:"state,omitempty"` LastUpdateTimestamp *string `json:"lastUpdateTimestamp,omitempty"` LastTransitionTimestamp *string `json:"lastTransitionTimestamp,omitempty"` Reason *string `json:"reason,omitempty"` Message *string `json:"message,omitempty"` }
ConditionSpecApplyConfiguration represents an declarative configuration of the ConditionSpec type for use with apply.
func ConditionSpec ¶
func ConditionSpec() *ConditionSpecApplyConfiguration
ConditionSpecApplyConfiguration constructs an declarative configuration of the ConditionSpec type for use with apply.
func (*ConditionSpecApplyConfiguration) WithLastTransitionTimestamp ¶
func (b *ConditionSpecApplyConfiguration) WithLastTransitionTimestamp(value string) *ConditionSpecApplyConfiguration
WithLastTransitionTimestamp sets the LastTransitionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastTransitionTimestamp field is set to the value of the last call.
func (*ConditionSpecApplyConfiguration) WithLastUpdateTimestamp ¶
func (b *ConditionSpecApplyConfiguration) WithLastUpdateTimestamp(value string) *ConditionSpecApplyConfiguration
WithLastUpdateTimestamp sets the LastUpdateTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastUpdateTimestamp field is set to the value of the last call.
func (*ConditionSpecApplyConfiguration) WithMessage ¶
func (b *ConditionSpecApplyConfiguration) WithMessage(value string) *ConditionSpecApplyConfiguration
WithMessage sets the Message field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Message field is set to the value of the last call.
func (*ConditionSpecApplyConfiguration) WithName ¶
func (b *ConditionSpecApplyConfiguration) WithName(value string) *ConditionSpecApplyConfiguration
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 (*ConditionSpecApplyConfiguration) WithReason ¶
func (b *ConditionSpecApplyConfiguration) WithReason(value string) *ConditionSpecApplyConfiguration
WithReason sets the Reason field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Reason field is set to the value of the last call.
func (*ConditionSpecApplyConfiguration) WithState ¶
func (b *ConditionSpecApplyConfiguration) WithState(value bool) *ConditionSpecApplyConfiguration
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 DistroSpecApplyConfiguration ¶
type DistroSpecApplyConfiguration struct { BuildVersion *string `json:"buildVersion,omitempty"` DebianVersion *string `json:"debianVersion,omitempty"` KernelVersion *string `json:"kernelVersion,omitempty"` AsicType *string `json:"asicType,omitempty"` CommitID *string `json:"commitID,omitempty"` BuildDate *string `json:"buildDate,omitempty"` BuildNumber *uint32 `json:"buildNumber,omitempty"` BuildBy *string `json:"buildBy,omitempty"` }
DistroSpecApplyConfiguration represents an declarative configuration of the DistroSpec type for use with apply.
func DistroSpec ¶
func DistroSpec() *DistroSpecApplyConfiguration
DistroSpecApplyConfiguration constructs an declarative configuration of the DistroSpec type for use with apply.
func (*DistroSpecApplyConfiguration) WithAsicType ¶
func (b *DistroSpecApplyConfiguration) WithAsicType(value string) *DistroSpecApplyConfiguration
WithAsicType sets the AsicType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AsicType field is set to the value of the last call.
func (*DistroSpecApplyConfiguration) WithBuildBy ¶
func (b *DistroSpecApplyConfiguration) WithBuildBy(value string) *DistroSpecApplyConfiguration
WithBuildBy sets the BuildBy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BuildBy field is set to the value of the last call.
func (*DistroSpecApplyConfiguration) WithBuildDate ¶
func (b *DistroSpecApplyConfiguration) WithBuildDate(value string) *DistroSpecApplyConfiguration
WithBuildDate sets the BuildDate field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BuildDate field is set to the value of the last call.
func (*DistroSpecApplyConfiguration) WithBuildNumber ¶
func (b *DistroSpecApplyConfiguration) WithBuildNumber(value uint32) *DistroSpecApplyConfiguration
WithBuildNumber sets the BuildNumber field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BuildNumber field is set to the value of the last call.
func (*DistroSpecApplyConfiguration) WithBuildVersion ¶
func (b *DistroSpecApplyConfiguration) WithBuildVersion(value string) *DistroSpecApplyConfiguration
WithBuildVersion sets the BuildVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BuildVersion field is set to the value of the last call.
func (*DistroSpecApplyConfiguration) WithCommitID ¶
func (b *DistroSpecApplyConfiguration) WithCommitID(value string) *DistroSpecApplyConfiguration
WithCommitID sets the CommitID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CommitID field is set to the value of the last call.
func (*DistroSpecApplyConfiguration) WithDebianVersion ¶
func (b *DistroSpecApplyConfiguration) WithDebianVersion(value string) *DistroSpecApplyConfiguration
WithDebianVersion sets the DebianVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DebianVersion field is set to the value of the last call.
func (*DistroSpecApplyConfiguration) WithKernelVersion ¶
func (b *DistroSpecApplyConfiguration) WithKernelVersion(value string) *DistroSpecApplyConfiguration
WithKernelVersion sets the KernelVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the KernelVersion field is set to the value of the last call.
type FieldSelectorSpecApplyConfiguration ¶
type FieldSelectorSpecApplyConfiguration struct { LabelKey *string `json:"labelKey,omitempty"` FieldRef *v1.ObjectFieldSelector `json:"fieldRef,omitempty"` }
FieldSelectorSpecApplyConfiguration represents an declarative configuration of the FieldSelectorSpec type for use with apply.
func FieldSelectorSpec ¶
func FieldSelectorSpec() *FieldSelectorSpecApplyConfiguration
FieldSelectorSpecApplyConfiguration constructs an declarative configuration of the FieldSelectorSpec type for use with apply.
func (*FieldSelectorSpecApplyConfiguration) WithFieldRef ¶
func (b *FieldSelectorSpecApplyConfiguration) WithFieldRef(value v1.ObjectFieldSelector) *FieldSelectorSpecApplyConfiguration
WithFieldRef sets the FieldRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FieldRef field is set to the value of the last call.
func (*FieldSelectorSpecApplyConfiguration) WithLabelKey ¶
func (b *FieldSelectorSpecApplyConfiguration) WithLabelKey(value string) *FieldSelectorSpecApplyConfiguration
WithLabelKey sets the LabelKey field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LabelKey field is set to the value of the last call.
type GeneralIPAMSpecApplyConfiguration ¶
type GeneralIPAMSpecApplyConfiguration struct { AddressFamily *AddressFamiliesMapApplyConfiguration `json:"addressFamily,omitempty"` CarrierSubnets *IPAMSelectionSpecApplyConfiguration `json:"carrierSubnets,omitempty"` LoopbackSubnets *IPAMSelectionSpecApplyConfiguration `json:"loopbackSubnets,omitempty"` SouthSubnets *IPAMSelectionSpecApplyConfiguration `json:"southSubnets,omitempty"` LoopbackAddresses *IPAMSelectionSpecApplyConfiguration `json:"loopbackAddresses,omitempty"` }
GeneralIPAMSpecApplyConfiguration represents an declarative configuration of the GeneralIPAMSpec type for use with apply.
func GeneralIPAMSpec ¶
func GeneralIPAMSpec() *GeneralIPAMSpecApplyConfiguration
GeneralIPAMSpecApplyConfiguration constructs an declarative configuration of the GeneralIPAMSpec type for use with apply.
func (*GeneralIPAMSpecApplyConfiguration) WithAddressFamily ¶
func (b *GeneralIPAMSpecApplyConfiguration) WithAddressFamily(value *AddressFamiliesMapApplyConfiguration) *GeneralIPAMSpecApplyConfiguration
WithAddressFamily sets the AddressFamily field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AddressFamily field is set to the value of the last call.
func (*GeneralIPAMSpecApplyConfiguration) WithCarrierSubnets ¶
func (b *GeneralIPAMSpecApplyConfiguration) WithCarrierSubnets(value *IPAMSelectionSpecApplyConfiguration) *GeneralIPAMSpecApplyConfiguration
WithCarrierSubnets sets the CarrierSubnets field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CarrierSubnets field is set to the value of the last call.
func (*GeneralIPAMSpecApplyConfiguration) WithLoopbackAddresses ¶
func (b *GeneralIPAMSpecApplyConfiguration) WithLoopbackAddresses(value *IPAMSelectionSpecApplyConfiguration) *GeneralIPAMSpecApplyConfiguration
WithLoopbackAddresses sets the LoopbackAddresses field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LoopbackAddresses field is set to the value of the last call.
func (*GeneralIPAMSpecApplyConfiguration) WithLoopbackSubnets ¶
func (b *GeneralIPAMSpecApplyConfiguration) WithLoopbackSubnets(value *IPAMSelectionSpecApplyConfiguration) *GeneralIPAMSpecApplyConfiguration
WithLoopbackSubnets sets the LoopbackSubnets field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LoopbackSubnets field is set to the value of the last call.
func (*GeneralIPAMSpecApplyConfiguration) WithSouthSubnets ¶
func (b *GeneralIPAMSpecApplyConfiguration) WithSouthSubnets(value *IPAMSelectionSpecApplyConfiguration) *GeneralIPAMSpecApplyConfiguration
WithSouthSubnets sets the SouthSubnets field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SouthSubnets field is set to the value of the last call.
type HostSpecApplyConfiguration ¶
type HostSpecApplyConfiguration struct {
Name *string `json:"name,omitempty"`
}
HostSpecApplyConfiguration represents an declarative configuration of the HostSpec type for use with apply.
func HostSpec ¶
func HostSpec() *HostSpecApplyConfiguration
HostSpecApplyConfiguration constructs an declarative configuration of the HostSpec type for use with apply.
func (*HostSpecApplyConfiguration) WithName ¶
func (b *HostSpecApplyConfiguration) WithName(value string) *HostSpecApplyConfiguration
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 IPAMSelectionSpecApplyConfiguration ¶
type IPAMSelectionSpecApplyConfiguration struct { LabelSelector *v1.LabelSelector `json:"labelSelector,omitempty"` FieldSelector *FieldSelectorSpecApplyConfiguration `json:"fieldSelector,omitempty"` }
IPAMSelectionSpecApplyConfiguration represents an declarative configuration of the IPAMSelectionSpec type for use with apply.
func IPAMSelectionSpec ¶
func IPAMSelectionSpec() *IPAMSelectionSpecApplyConfiguration
IPAMSelectionSpecApplyConfiguration constructs an declarative configuration of the IPAMSelectionSpec type for use with apply.
func (*IPAMSelectionSpecApplyConfiguration) WithFieldSelector ¶
func (b *IPAMSelectionSpecApplyConfiguration) WithFieldSelector(value *FieldSelectorSpecApplyConfiguration) *IPAMSelectionSpecApplyConfiguration
WithFieldSelector sets the FieldSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FieldSelector field is set to the value of the last call.
func (*IPAMSelectionSpecApplyConfiguration) WithLabelSelector ¶
func (b *IPAMSelectionSpecApplyConfiguration) WithLabelSelector(value v1.LabelSelector) *IPAMSelectionSpecApplyConfiguration
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.
type IPAMSpecApplyConfiguration ¶
type IPAMSpecApplyConfiguration struct { SouthSubnets *IPAMSelectionSpecApplyConfiguration `json:"southSubnets,omitempty"` LoopbackAddresses *IPAMSelectionSpecApplyConfiguration `json:"loopbackAddresses,omitempty"` }
IPAMSpecApplyConfiguration represents an declarative configuration of the IPAMSpec type for use with apply.
func IPAMSpec ¶
func IPAMSpec() *IPAMSpecApplyConfiguration
IPAMSpecApplyConfiguration constructs an declarative configuration of the IPAMSpec type for use with apply.
func (*IPAMSpecApplyConfiguration) WithLoopbackAddresses ¶
func (b *IPAMSpecApplyConfiguration) WithLoopbackAddresses(value *IPAMSelectionSpecApplyConfiguration) *IPAMSpecApplyConfiguration
WithLoopbackAddresses sets the LoopbackAddresses field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LoopbackAddresses field is set to the value of the last call.
func (*IPAMSpecApplyConfiguration) WithSouthSubnets ¶
func (b *IPAMSpecApplyConfiguration) WithSouthSubnets(value *IPAMSelectionSpecApplyConfiguration) *IPAMSpecApplyConfiguration
WithSouthSubnets sets the SouthSubnets field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SouthSubnets field is set to the value of the last call.
type IPAddressSpecApplyConfiguration ¶
type IPAddressSpecApplyConfiguration struct { ObjectReferenceApplyConfiguration `json:",inline"` Address *string `json:"address,omitempty"` ExtraAddress *bool `json:"extraAddress,omitempty"` AddressFamily *string `json:"addressFamily,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) WithAddress ¶
func (b *IPAddressSpecApplyConfiguration) WithAddress(value string) *IPAddressSpecApplyConfiguration
WithAddress sets the Address field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Address field is set to the value of the last call.
func (*IPAddressSpecApplyConfiguration) WithAddressFamily ¶
func (b *IPAddressSpecApplyConfiguration) WithAddressFamily(value string) *IPAddressSpecApplyConfiguration
WithAddressFamily sets the AddressFamily field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AddressFamily field is set to the value of the last call.
func (*IPAddressSpecApplyConfiguration) WithExtraAddress ¶
func (b *IPAddressSpecApplyConfiguration) WithExtraAddress(value bool) *IPAddressSpecApplyConfiguration
WithExtraAddress sets the ExtraAddress field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ExtraAddress field is set to the value of the last call.
type IPMISpecApplyConfiguration ¶
type IPMISpecApplyConfiguration struct { IPAddress *string `json:"ipAddress,omitempty"` MACAddress *string `json:"macAddress,omitempty"` }
IPMISpecApplyConfiguration represents an declarative configuration of the IPMISpec type for use with apply.
func IPMISpec ¶
func IPMISpec() *IPMISpecApplyConfiguration
IPMISpecApplyConfiguration constructs an declarative configuration of the IPMISpec type for use with apply.
func (*IPMISpecApplyConfiguration) WithIPAddress ¶
func (b *IPMISpecApplyConfiguration) WithIPAddress(value string) *IPMISpecApplyConfiguration
WithIPAddress sets the IPAddress field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPAddress field is set to the value of the last call.
func (*IPMISpecApplyConfiguration) WithMACAddress ¶
func (b *IPMISpecApplyConfiguration) WithMACAddress(value string) *IPMISpecApplyConfiguration
WithMACAddress sets the MACAddress field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MACAddress field is set to the value of the last call.
type IdentityApplyConfiguration ¶
type IdentityApplyConfiguration struct { SKU *string `json:"sku,omitempty"` SerialNumber *string `json:"serial_number,omitempty"` Asset *string `json:"asset,omitempty"` Internal []InternalApplyConfiguration `json:"internal,omitempty"` }
IdentityApplyConfiguration represents an declarative configuration of the Identity type for use with apply.
func Identity ¶
func Identity() *IdentityApplyConfiguration
IdentityApplyConfiguration constructs an declarative configuration of the Identity type for use with apply.
func (*IdentityApplyConfiguration) WithAsset ¶
func (b *IdentityApplyConfiguration) WithAsset(value string) *IdentityApplyConfiguration
WithAsset sets the Asset field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Asset field is set to the value of the last call.
func (*IdentityApplyConfiguration) WithInternal ¶
func (b *IdentityApplyConfiguration) WithInternal(values ...*InternalApplyConfiguration) *IdentityApplyConfiguration
WithInternal adds the given value to the Internal 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 Internal field.
func (*IdentityApplyConfiguration) WithSKU ¶
func (b *IdentityApplyConfiguration) WithSKU(value string) *IdentityApplyConfiguration
WithSKU sets the SKU field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SKU field is set to the value of the last call.
func (*IdentityApplyConfiguration) WithSerialNumber ¶
func (b *IdentityApplyConfiguration) WithSerialNumber(value string) *IdentityApplyConfiguration
WithSerialNumber sets the SerialNumber field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SerialNumber field is set to the value of the last call.
type InterfaceApplyConfiguration ¶
type InterfaceApplyConfiguration struct { Name *string `json:"name,omitempty"` SwitchReference *ResourceReferenceApplyConfiguration `json:"switch_reference,omitempty"` Addresses *AddressesApplyConfiguration `json:"addresses,omitempty"` Peer *PeerApplyConfiguration `json:"peer,omitempty"` Lanes *uint32 `json:"lanes,omitempty"` Moved *bool `json:"moved,omitempty"` Unknown *bool `json:"unknown,omitempty"` }
InterfaceApplyConfiguration represents an declarative configuration of the Interface type for use with apply.
func Interface ¶
func Interface() *InterfaceApplyConfiguration
InterfaceApplyConfiguration constructs an declarative configuration of the Interface type for use with apply.
func (*InterfaceApplyConfiguration) WithAddresses ¶
func (b *InterfaceApplyConfiguration) WithAddresses(value *AddressesApplyConfiguration) *InterfaceApplyConfiguration
WithAddresses sets the Addresses field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Addresses field is set to the value of the last call.
func (*InterfaceApplyConfiguration) WithLanes ¶
func (b *InterfaceApplyConfiguration) WithLanes(value uint32) *InterfaceApplyConfiguration
WithLanes sets the Lanes field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Lanes field is set to the value of the last call.
func (*InterfaceApplyConfiguration) WithMoved ¶
func (b *InterfaceApplyConfiguration) WithMoved(value bool) *InterfaceApplyConfiguration
WithMoved sets the Moved field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Moved field is set to the value of the last call.
func (*InterfaceApplyConfiguration) WithName ¶
func (b *InterfaceApplyConfiguration) WithName(value string) *InterfaceApplyConfiguration
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 (*InterfaceApplyConfiguration) WithPeer ¶
func (b *InterfaceApplyConfiguration) WithPeer(value *PeerApplyConfiguration) *InterfaceApplyConfiguration
WithPeer sets the Peer field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Peer field is set to the value of the last call.
func (*InterfaceApplyConfiguration) WithSwitchReference ¶
func (b *InterfaceApplyConfiguration) WithSwitchReference(value *ResourceReferenceApplyConfiguration) *InterfaceApplyConfiguration
WithSwitchReference sets the SwitchReference field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SwitchReference field is set to the value of the last call.
func (*InterfaceApplyConfiguration) WithUnknown ¶
func (b *InterfaceApplyConfiguration) WithUnknown(value bool) *InterfaceApplyConfiguration
WithUnknown sets the Unknown field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Unknown field is set to the value of the last call.
type InterfaceOverridesSpecApplyConfiguration ¶
type InterfaceOverridesSpecApplyConfiguration struct { PortParametersSpecApplyConfiguration `json:",inline"` Name *string `json:"name,omitempty"` IP []*metalv1alpha4.AdditionalIPSpec `json:"ip,omitempty"` }
InterfaceOverridesSpecApplyConfiguration represents an declarative configuration of the InterfaceOverridesSpec type for use with apply.
func InterfaceOverridesSpec ¶
func InterfaceOverridesSpec() *InterfaceOverridesSpecApplyConfiguration
InterfaceOverridesSpecApplyConfiguration constructs an declarative configuration of the InterfaceOverridesSpec type for use with apply.
func (*InterfaceOverridesSpecApplyConfiguration) WithIP ¶
func (b *InterfaceOverridesSpecApplyConfiguration) WithIP(values ...**metalv1alpha4.AdditionalIPSpec) *InterfaceOverridesSpecApplyConfiguration
WithIP adds the given value to the IP 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 IP field.
func (*InterfaceOverridesSpecApplyConfiguration) WithName ¶
func (b *InterfaceOverridesSpecApplyConfiguration) WithName(value string) *InterfaceOverridesSpecApplyConfiguration
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 InterfaceSpecApplyConfiguration ¶
type InterfaceSpecApplyConfiguration struct { PortParametersSpecApplyConfiguration `json:",inline"` MACAddress *string `json:"macAddress,omitempty"` Speed *uint32 `json:"speed,omitempty"` IP []*metalv1alpha4.IPAddressSpec `json:"ip,omitempty"` Direction *string `json:"direction,omitempty"` Peer *PeerSpecApplyConfiguration `json:"peer,omitempty"` }
InterfaceSpecApplyConfiguration represents an declarative configuration of the InterfaceSpec type for use with apply.
func InterfaceSpec ¶
func InterfaceSpec() *InterfaceSpecApplyConfiguration
InterfaceSpecApplyConfiguration constructs an declarative configuration of the InterfaceSpec type for use with apply.
func (*InterfaceSpecApplyConfiguration) WithDirection ¶
func (b *InterfaceSpecApplyConfiguration) WithDirection(value string) *InterfaceSpecApplyConfiguration
WithDirection sets the Direction field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Direction field is set to the value of the last call.
func (*InterfaceSpecApplyConfiguration) WithIP ¶
func (b *InterfaceSpecApplyConfiguration) WithIP(values ...**metalv1alpha4.IPAddressSpec) *InterfaceSpecApplyConfiguration
WithIP adds the given value to the IP 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 IP field.
func (*InterfaceSpecApplyConfiguration) WithMACAddress ¶
func (b *InterfaceSpecApplyConfiguration) WithMACAddress(value string) *InterfaceSpecApplyConfiguration
WithMACAddress sets the MACAddress field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MACAddress field is set to the value of the last call.
func (*InterfaceSpecApplyConfiguration) WithPeer ¶
func (b *InterfaceSpecApplyConfiguration) WithPeer(value *PeerSpecApplyConfiguration) *InterfaceSpecApplyConfiguration
WithPeer sets the Peer field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Peer field is set to the value of the last call.
func (*InterfaceSpecApplyConfiguration) WithSpeed ¶
func (b *InterfaceSpecApplyConfiguration) WithSpeed(value uint32) *InterfaceSpecApplyConfiguration
WithSpeed sets the Speed field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Speed field is set to the value of the last call.
type InterfacesSpecApplyConfiguration ¶
type InterfacesSpecApplyConfiguration struct { Defaults *PortParametersSpecApplyConfiguration `json:"defaults,omitempty"` Overrides []*metalv1alpha4.InterfaceOverridesSpec `json:"overrides,omitempty"` }
InterfacesSpecApplyConfiguration represents an declarative configuration of the InterfacesSpec type for use with apply.
func InterfacesSpec ¶
func InterfacesSpec() *InterfacesSpecApplyConfiguration
InterfacesSpecApplyConfiguration constructs an declarative configuration of the InterfacesSpec type for use with apply.
func (*InterfacesSpecApplyConfiguration) WithDefaults ¶
func (b *InterfacesSpecApplyConfiguration) WithDefaults(value *PortParametersSpecApplyConfiguration) *InterfacesSpecApplyConfiguration
WithDefaults sets the Defaults field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Defaults field is set to the value of the last call.
func (*InterfacesSpecApplyConfiguration) WithOverrides ¶
func (b *InterfacesSpecApplyConfiguration) WithOverrides(values ...**metalv1alpha4.InterfaceOverridesSpec) *InterfacesSpecApplyConfiguration
WithOverrides adds the given value to the Overrides 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 Overrides field.
type InternalApplyConfiguration ¶
type InternalApplyConfiguration struct { Name *string `json:"name,omitempty"` Value *string `json:"value,omitempty"` }
InternalApplyConfiguration represents an declarative configuration of the Internal type for use with apply.
func Internal ¶
func Internal() *InternalApplyConfiguration
InternalApplyConfiguration constructs an declarative configuration of the Internal type for use with apply.
func (*InternalApplyConfiguration) WithName ¶
func (b *InternalApplyConfiguration) WithName(value string) *InternalApplyConfiguration
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 (*InternalApplyConfiguration) WithValue ¶
func (b *InternalApplyConfiguration) WithValue(value string) *InternalApplyConfiguration
WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.
type InventoryApplyConfiguration ¶
type InventoryApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *InventorySpecApplyConfiguration `json:"spec,omitempty"` Status *InventoryStatusApplyConfiguration `json:"status,omitempty"` }
InventoryApplyConfiguration represents an declarative configuration of the Inventory type for use with apply.
func ExtractInventory ¶
func ExtractInventory(inventory *metalv1alpha4.Inventory, fieldManager string) (*InventoryApplyConfiguration, error)
ExtractInventory extracts the applied configuration owned by fieldManager from inventory. If no managedFields are found in inventory for fieldManager, a InventoryApplyConfiguration 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. inventory must be a unmodified Inventory API object that was retrieved from the Kubernetes API. ExtractInventory 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 ExtractInventoryStatus ¶
func ExtractInventoryStatus(inventory *metalv1alpha4.Inventory, fieldManager string) (*InventoryApplyConfiguration, error)
ExtractInventoryStatus is the same as ExtractInventory except that it extracts the status subresource applied configuration. Experimental!
func Inventory ¶
func Inventory(name, namespace string) *InventoryApplyConfiguration
Inventory constructs an declarative configuration of the Inventory type for use with apply.
func (*InventoryApplyConfiguration) WithAPIVersion ¶
func (b *InventoryApplyConfiguration) WithAPIVersion(value string) *InventoryApplyConfiguration
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 (*InventoryApplyConfiguration) WithAnnotations ¶
func (b *InventoryApplyConfiguration) WithAnnotations(entries map[string]string) *InventoryApplyConfiguration
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 (*InventoryApplyConfiguration) WithCreationTimestamp ¶
func (b *InventoryApplyConfiguration) WithCreationTimestamp(value metav1.Time) *InventoryApplyConfiguration
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 (*InventoryApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *InventoryApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *InventoryApplyConfiguration
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 (*InventoryApplyConfiguration) WithDeletionTimestamp ¶
func (b *InventoryApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *InventoryApplyConfiguration
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 (*InventoryApplyConfiguration) WithFinalizers ¶
func (b *InventoryApplyConfiguration) WithFinalizers(values ...string) *InventoryApplyConfiguration
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 (*InventoryApplyConfiguration) WithGenerateName ¶
func (b *InventoryApplyConfiguration) WithGenerateName(value string) *InventoryApplyConfiguration
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 (*InventoryApplyConfiguration) WithGeneration ¶
func (b *InventoryApplyConfiguration) WithGeneration(value int64) *InventoryApplyConfiguration
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 (*InventoryApplyConfiguration) WithKind ¶
func (b *InventoryApplyConfiguration) WithKind(value string) *InventoryApplyConfiguration
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 (*InventoryApplyConfiguration) WithLabels ¶
func (b *InventoryApplyConfiguration) WithLabels(entries map[string]string) *InventoryApplyConfiguration
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 (*InventoryApplyConfiguration) WithName ¶
func (b *InventoryApplyConfiguration) WithName(value string) *InventoryApplyConfiguration
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 (*InventoryApplyConfiguration) WithNamespace ¶
func (b *InventoryApplyConfiguration) WithNamespace(value string) *InventoryApplyConfiguration
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 (*InventoryApplyConfiguration) WithOwnerReferences ¶
func (b *InventoryApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *InventoryApplyConfiguration
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 (*InventoryApplyConfiguration) WithResourceVersion ¶
func (b *InventoryApplyConfiguration) WithResourceVersion(value string) *InventoryApplyConfiguration
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 (*InventoryApplyConfiguration) WithSpec ¶
func (b *InventoryApplyConfiguration) WithSpec(value *InventorySpecApplyConfiguration) *InventoryApplyConfiguration
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 (*InventoryApplyConfiguration) WithStatus ¶
func (b *InventoryApplyConfiguration) WithStatus(value *InventoryStatusApplyConfiguration) *InventoryApplyConfiguration
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 (*InventoryApplyConfiguration) WithUID ¶
func (b *InventoryApplyConfiguration) WithUID(value types.UID) *InventoryApplyConfiguration
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 InventorySpecApplyConfiguration ¶
type InventorySpecApplyConfiguration struct { System *SystemSpecApplyConfiguration `json:"system,omitempty"` IPMIs []IPMISpecApplyConfiguration `json:"ipmis,omitempty"` Blocks []BlockSpecApplyConfiguration `json:"blocks,omitempty"` Memory *MemorySpecApplyConfiguration `json:"memory,omitempty"` CPUs []CPUSpecApplyConfiguration `json:"cpus,omitempty"` NUMA []NumaSpecApplyConfiguration `json:"numa,omitempty"` PCIDevices []PCIDeviceSpecApplyConfiguration `json:"pciDevices,omitempty"` NICs []NICSpecApplyConfiguration `json:"nics,omitempty"` Virt *VirtSpecApplyConfiguration `json:"virt,omitempty"` Host *HostSpecApplyConfiguration `json:"host,omitempty"` Distro *DistroSpecApplyConfiguration `json:"distro,omitempty"` }
InventorySpecApplyConfiguration represents an declarative configuration of the InventorySpec type for use with apply.
func InventorySpec ¶
func InventorySpec() *InventorySpecApplyConfiguration
InventorySpecApplyConfiguration constructs an declarative configuration of the InventorySpec type for use with apply.
func (*InventorySpecApplyConfiguration) WithBlocks ¶
func (b *InventorySpecApplyConfiguration) WithBlocks(values ...*BlockSpecApplyConfiguration) *InventorySpecApplyConfiguration
WithBlocks adds the given value to the Blocks 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 Blocks field.
func (*InventorySpecApplyConfiguration) WithCPUs ¶
func (b *InventorySpecApplyConfiguration) WithCPUs(values ...*CPUSpecApplyConfiguration) *InventorySpecApplyConfiguration
WithCPUs adds the given value to the CPUs 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 CPUs field.
func (*InventorySpecApplyConfiguration) WithDistro ¶
func (b *InventorySpecApplyConfiguration) WithDistro(value *DistroSpecApplyConfiguration) *InventorySpecApplyConfiguration
WithDistro sets the Distro field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Distro field is set to the value of the last call.
func (*InventorySpecApplyConfiguration) WithHost ¶
func (b *InventorySpecApplyConfiguration) WithHost(value *HostSpecApplyConfiguration) *InventorySpecApplyConfiguration
WithHost sets the Host field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Host field is set to the value of the last call.
func (*InventorySpecApplyConfiguration) WithIPMIs ¶
func (b *InventorySpecApplyConfiguration) WithIPMIs(values ...*IPMISpecApplyConfiguration) *InventorySpecApplyConfiguration
WithIPMIs adds the given value to the IPMIs 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 IPMIs field.
func (*InventorySpecApplyConfiguration) WithMemory ¶
func (b *InventorySpecApplyConfiguration) WithMemory(value *MemorySpecApplyConfiguration) *InventorySpecApplyConfiguration
WithMemory sets the Memory field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Memory field is set to the value of the last call.
func (*InventorySpecApplyConfiguration) WithNICs ¶
func (b *InventorySpecApplyConfiguration) WithNICs(values ...*NICSpecApplyConfiguration) *InventorySpecApplyConfiguration
WithNICs adds the given value to the NICs 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 NICs field.
func (*InventorySpecApplyConfiguration) WithNUMA ¶
func (b *InventorySpecApplyConfiguration) WithNUMA(values ...*NumaSpecApplyConfiguration) *InventorySpecApplyConfiguration
WithNUMA adds the given value to the NUMA 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 NUMA field.
func (*InventorySpecApplyConfiguration) WithPCIDevices ¶
func (b *InventorySpecApplyConfiguration) WithPCIDevices(values ...*PCIDeviceSpecApplyConfiguration) *InventorySpecApplyConfiguration
WithPCIDevices adds the given value to the PCIDevices 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 PCIDevices field.
func (*InventorySpecApplyConfiguration) WithSystem ¶
func (b *InventorySpecApplyConfiguration) WithSystem(value *SystemSpecApplyConfiguration) *InventorySpecApplyConfiguration
WithSystem sets the System field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the System field is set to the value of the last call.
func (*InventorySpecApplyConfiguration) WithVirt ¶
func (b *InventorySpecApplyConfiguration) WithVirt(value *VirtSpecApplyConfiguration) *InventorySpecApplyConfiguration
WithVirt sets the Virt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Virt field is set to the value of the last call.
type InventoryStatusApplyConfiguration ¶
type InventoryStatusApplyConfiguration struct { Computed *v1alpha4.AggregationResults `json:"computed,omitempty"` InventoryStatuses *InventoryStatusesApplyConfiguration `json:"inventoryStatuses,omitempty"` }
InventoryStatusApplyConfiguration represents an declarative configuration of the InventoryStatus type for use with apply.
func InventoryStatus ¶
func InventoryStatus() *InventoryStatusApplyConfiguration
InventoryStatusApplyConfiguration constructs an declarative configuration of the InventoryStatus type for use with apply.
func (*InventoryStatusApplyConfiguration) WithComputed ¶
func (b *InventoryStatusApplyConfiguration) WithComputed(value v1alpha4.AggregationResults) *InventoryStatusApplyConfiguration
WithComputed sets the Computed field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Computed field is set to the value of the last call.
func (*InventoryStatusApplyConfiguration) WithInventoryStatuses ¶
func (b *InventoryStatusApplyConfiguration) WithInventoryStatuses(value *InventoryStatusesApplyConfiguration) *InventoryStatusApplyConfiguration
WithInventoryStatuses sets the InventoryStatuses field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the InventoryStatuses field is set to the value of the last call.
type InventoryStatusesApplyConfiguration ¶
type InventoryStatusesApplyConfiguration struct { Ready *bool `json:"ready,omitempty"` RequestsCount *int `json:"requestsCount,omitempty"` }
InventoryStatusesApplyConfiguration represents an declarative configuration of the InventoryStatuses type for use with apply.
func InventoryStatuses ¶
func InventoryStatuses() *InventoryStatusesApplyConfiguration
InventoryStatusesApplyConfiguration constructs an declarative configuration of the InventoryStatuses type for use with apply.
func (*InventoryStatusesApplyConfiguration) WithReady ¶
func (b *InventoryStatusesApplyConfiguration) WithReady(value bool) *InventoryStatusesApplyConfiguration
WithReady sets the Ready field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Ready field is set to the value of the last call.
func (*InventoryStatusesApplyConfiguration) WithRequestsCount ¶
func (b *InventoryStatusesApplyConfiguration) WithRequestsCount(value int) *InventoryStatusesApplyConfiguration
WithRequestsCount sets the RequestsCount field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RequestsCount field is set to the value of the last call.
type LLDPSpecApplyConfiguration ¶
type LLDPSpecApplyConfiguration struct { ChassisID *string `json:"chassisId,omitempty"` SystemName *string `json:"systemName,omitempty"` SystemDescription *string `json:"systemDescription,omitempty"` PortID *string `json:"portId,omitempty"` PortDescription *string `json:"portDescription,omitempty"` Capabilities []v1alpha4.LLDPCapabilities `json:"capabilities,omitempty"` }
LLDPSpecApplyConfiguration represents an declarative configuration of the LLDPSpec type for use with apply.
func LLDPSpec ¶
func LLDPSpec() *LLDPSpecApplyConfiguration
LLDPSpecApplyConfiguration constructs an declarative configuration of the LLDPSpec type for use with apply.
func (*LLDPSpecApplyConfiguration) WithCapabilities ¶
func (b *LLDPSpecApplyConfiguration) WithCapabilities(values ...v1alpha4.LLDPCapabilities) *LLDPSpecApplyConfiguration
WithCapabilities adds the given value to the Capabilities 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 Capabilities field.
func (*LLDPSpecApplyConfiguration) WithChassisID ¶
func (b *LLDPSpecApplyConfiguration) WithChassisID(value string) *LLDPSpecApplyConfiguration
WithChassisID sets the ChassisID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ChassisID field is set to the value of the last call.
func (*LLDPSpecApplyConfiguration) WithPortDescription ¶
func (b *LLDPSpecApplyConfiguration) WithPortDescription(value string) *LLDPSpecApplyConfiguration
WithPortDescription sets the PortDescription field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PortDescription field is set to the value of the last call.
func (*LLDPSpecApplyConfiguration) WithPortID ¶
func (b *LLDPSpecApplyConfiguration) WithPortID(value string) *LLDPSpecApplyConfiguration
WithPortID sets the PortID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PortID field is set to the value of the last call.
func (*LLDPSpecApplyConfiguration) WithSystemDescription ¶
func (b *LLDPSpecApplyConfiguration) WithSystemDescription(value string) *LLDPSpecApplyConfiguration
WithSystemDescription sets the SystemDescription field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SystemDescription field is set to the value of the last call.
func (*LLDPSpecApplyConfiguration) WithSystemName ¶
func (b *LLDPSpecApplyConfiguration) WithSystemName(value string) *LLDPSpecApplyConfiguration
WithSystemName sets the SystemName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SystemName field is set to the value of the last call.
type LoopbackAddressesApplyConfiguration ¶
type LoopbackAddressesApplyConfiguration struct { IPv4 *v1alpha4.IPAddrSpec `json:"ipv4,omitempty"` IPv6 *v1alpha4.IPAddrSpec `json:"ipv6,omitempty"` }
LoopbackAddressesApplyConfiguration represents an declarative configuration of the LoopbackAddresses type for use with apply.
func LoopbackAddresses ¶
func LoopbackAddresses() *LoopbackAddressesApplyConfiguration
LoopbackAddressesApplyConfiguration constructs an declarative configuration of the LoopbackAddresses type for use with apply.
func (*LoopbackAddressesApplyConfiguration) WithIPv4 ¶
func (b *LoopbackAddressesApplyConfiguration) WithIPv4(value v1alpha4.IPAddrSpec) *LoopbackAddressesApplyConfiguration
WithIPv4 sets the IPv4 field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPv4 field is set to the value of the last call.
func (*LoopbackAddressesApplyConfiguration) WithIPv6 ¶
func (b *LoopbackAddressesApplyConfiguration) WithIPv6(value v1alpha4.IPAddrSpec) *LoopbackAddressesApplyConfiguration
WithIPv6 sets the IPv6 field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPv6 field is set to the value of the last call.
type MachineApplyConfiguration ¶
type MachineApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *MachineSpecApplyConfiguration `json:"spec,omitempty"` Status *MachineStatusApplyConfiguration `json:"status,omitempty"` }
MachineApplyConfiguration represents an declarative configuration of the Machine type for use with apply.
func ExtractMachine ¶
func ExtractMachine(machine *metalv1alpha4.Machine, fieldManager string) (*MachineApplyConfiguration, error)
ExtractMachine extracts the applied configuration owned by fieldManager from machine. If no managedFields are found in machine for fieldManager, a MachineApplyConfiguration 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. machine must be a unmodified Machine API object that was retrieved from the Kubernetes API. ExtractMachine 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 ExtractMachineStatus ¶
func ExtractMachineStatus(machine *metalv1alpha4.Machine, fieldManager string) (*MachineApplyConfiguration, error)
ExtractMachineStatus is the same as ExtractMachine except that it extracts the status subresource applied configuration. Experimental!
func Machine ¶
func Machine(name, namespace string) *MachineApplyConfiguration
Machine constructs an declarative configuration of the Machine type for use with apply.
func (*MachineApplyConfiguration) WithAPIVersion ¶
func (b *MachineApplyConfiguration) WithAPIVersion(value string) *MachineApplyConfiguration
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 (*MachineApplyConfiguration) WithAnnotations ¶
func (b *MachineApplyConfiguration) WithAnnotations(entries map[string]string) *MachineApplyConfiguration
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 (*MachineApplyConfiguration) WithCreationTimestamp ¶
func (b *MachineApplyConfiguration) WithCreationTimestamp(value metav1.Time) *MachineApplyConfiguration
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 (*MachineApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *MachineApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *MachineApplyConfiguration
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 (*MachineApplyConfiguration) WithDeletionTimestamp ¶
func (b *MachineApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *MachineApplyConfiguration
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 (*MachineApplyConfiguration) WithFinalizers ¶
func (b *MachineApplyConfiguration) WithFinalizers(values ...string) *MachineApplyConfiguration
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 (*MachineApplyConfiguration) WithGenerateName ¶
func (b *MachineApplyConfiguration) WithGenerateName(value string) *MachineApplyConfiguration
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 (*MachineApplyConfiguration) WithGeneration ¶
func (b *MachineApplyConfiguration) WithGeneration(value int64) *MachineApplyConfiguration
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 (*MachineApplyConfiguration) WithKind ¶
func (b *MachineApplyConfiguration) WithKind(value string) *MachineApplyConfiguration
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 (*MachineApplyConfiguration) WithLabels ¶
func (b *MachineApplyConfiguration) WithLabels(entries map[string]string) *MachineApplyConfiguration
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 (*MachineApplyConfiguration) WithName ¶
func (b *MachineApplyConfiguration) WithName(value string) *MachineApplyConfiguration
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 (*MachineApplyConfiguration) WithNamespace ¶
func (b *MachineApplyConfiguration) WithNamespace(value string) *MachineApplyConfiguration
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 (*MachineApplyConfiguration) WithOwnerReferences ¶
func (b *MachineApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *MachineApplyConfiguration
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 (*MachineApplyConfiguration) WithResourceVersion ¶
func (b *MachineApplyConfiguration) WithResourceVersion(value string) *MachineApplyConfiguration
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 (*MachineApplyConfiguration) WithSpec ¶
func (b *MachineApplyConfiguration) WithSpec(value *MachineSpecApplyConfiguration) *MachineApplyConfiguration
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 (*MachineApplyConfiguration) WithStatus ¶
func (b *MachineApplyConfiguration) WithStatus(value *MachineStatusApplyConfiguration) *MachineApplyConfiguration
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 (*MachineApplyConfiguration) WithUID ¶
func (b *MachineApplyConfiguration) WithUID(value types.UID) *MachineApplyConfiguration
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 MachineSpecApplyConfiguration ¶
type MachineSpecApplyConfiguration struct { Hostname *string `json:"hostname,omitempty"` Description *string `json:"description,omitempty"` Identity *IdentityApplyConfiguration `json:"identity,omitempty"` InventoryRequested *bool `json:"inventory_requested,omitempty"` }
MachineSpecApplyConfiguration represents an declarative configuration of the MachineSpec type for use with apply.
func MachineSpec ¶
func MachineSpec() *MachineSpecApplyConfiguration
MachineSpecApplyConfiguration constructs an declarative configuration of the MachineSpec type for use with apply.
func (*MachineSpecApplyConfiguration) WithDescription ¶
func (b *MachineSpecApplyConfiguration) WithDescription(value string) *MachineSpecApplyConfiguration
WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.
func (*MachineSpecApplyConfiguration) WithHostname ¶
func (b *MachineSpecApplyConfiguration) WithHostname(value string) *MachineSpecApplyConfiguration
WithHostname sets the Hostname field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Hostname field is set to the value of the last call.
func (*MachineSpecApplyConfiguration) WithIdentity ¶
func (b *MachineSpecApplyConfiguration) WithIdentity(value *IdentityApplyConfiguration) *MachineSpecApplyConfiguration
WithIdentity sets the Identity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Identity field is set to the value of the last call.
func (*MachineSpecApplyConfiguration) WithInventoryRequested ¶
func (b *MachineSpecApplyConfiguration) WithInventoryRequested(value bool) *MachineSpecApplyConfiguration
WithInventoryRequested sets the InventoryRequested field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the InventoryRequested field is set to the value of the last call.
type MachineStatusApplyConfiguration ¶
type MachineStatusApplyConfiguration struct { Reboot *string `json:"reboot,omitempty"` Health *v1alpha4.MachineState `json:"health,omitempty"` Network *NetworkApplyConfiguration `json:"network,omitempty"` Reservation *ReservationApplyConfiguration `json:"reservation,omitempty"` Orphaned *bool `json:"orphaned,omitempty"` }
MachineStatusApplyConfiguration represents an declarative configuration of the MachineStatus type for use with apply.
func MachineStatus ¶
func MachineStatus() *MachineStatusApplyConfiguration
MachineStatusApplyConfiguration constructs an declarative configuration of the MachineStatus type for use with apply.
func (*MachineStatusApplyConfiguration) WithHealth ¶
func (b *MachineStatusApplyConfiguration) WithHealth(value v1alpha4.MachineState) *MachineStatusApplyConfiguration
WithHealth sets the Health field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Health field is set to the value of the last call.
func (*MachineStatusApplyConfiguration) WithNetwork ¶
func (b *MachineStatusApplyConfiguration) WithNetwork(value *NetworkApplyConfiguration) *MachineStatusApplyConfiguration
WithNetwork sets the Network field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Network field is set to the value of the last call.
func (*MachineStatusApplyConfiguration) WithOrphaned ¶
func (b *MachineStatusApplyConfiguration) WithOrphaned(value bool) *MachineStatusApplyConfiguration
WithOrphaned sets the Orphaned field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Orphaned field is set to the value of the last call.
func (*MachineStatusApplyConfiguration) WithReboot ¶
func (b *MachineStatusApplyConfiguration) WithReboot(value string) *MachineStatusApplyConfiguration
WithReboot sets the Reboot field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Reboot field is set to the value of the last call.
func (*MachineStatusApplyConfiguration) WithReservation ¶
func (b *MachineStatusApplyConfiguration) WithReservation(value *ReservationApplyConfiguration) *MachineStatusApplyConfiguration
WithReservation sets the Reservation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Reservation field is set to the value of the last call.
type MemorySpecApplyConfiguration ¶
type MemorySpecApplyConfiguration struct {
Total *uint64 `json:"total,omitempty"`
}
MemorySpecApplyConfiguration represents an declarative configuration of the MemorySpec type for use with apply.
func MemorySpec ¶
func MemorySpec() *MemorySpecApplyConfiguration
MemorySpecApplyConfiguration constructs an declarative configuration of the MemorySpec type for use with apply.
func (*MemorySpecApplyConfiguration) WithTotal ¶
func (b *MemorySpecApplyConfiguration) WithTotal(value uint64) *MemorySpecApplyConfiguration
WithTotal sets the Total field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Total field is set to the value of the last call.
type NDPSpecApplyConfiguration ¶
type NDPSpecApplyConfiguration struct { IPAddress *string `json:"ipAddress,omitempty"` MACAddress *string `json:"macAddress,omitempty"` State *string `json:"state,omitempty"` }
NDPSpecApplyConfiguration represents an declarative configuration of the NDPSpec type for use with apply.
func NDPSpec ¶
func NDPSpec() *NDPSpecApplyConfiguration
NDPSpecApplyConfiguration constructs an declarative configuration of the NDPSpec type for use with apply.
func (*NDPSpecApplyConfiguration) WithIPAddress ¶
func (b *NDPSpecApplyConfiguration) WithIPAddress(value string) *NDPSpecApplyConfiguration
WithIPAddress sets the IPAddress field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPAddress field is set to the value of the last call.
func (*NDPSpecApplyConfiguration) WithMACAddress ¶
func (b *NDPSpecApplyConfiguration) WithMACAddress(value string) *NDPSpecApplyConfiguration
WithMACAddress sets the MACAddress field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MACAddress field is set to the value of the last call.
func (*NDPSpecApplyConfiguration) WithState ¶
func (b *NDPSpecApplyConfiguration) WithState(value string) *NDPSpecApplyConfiguration
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 NICSpecApplyConfiguration ¶
type NICSpecApplyConfiguration struct { Name *string `json:"name,omitempty"` PCIAddress *string `json:"pciAddress,omitempty"` MACAddress *string `json:"macAddress,omitempty"` MTU *uint16 `json:"mtu,omitempty"` Speed *uint32 `json:"speed,omitempty"` Lanes *byte `json:"lanes,omitempty"` ActiveFEC *string `json:"activeFEC,omitempty"` LLDPs []LLDPSpecApplyConfiguration `json:"lldps,omitempty"` NDPs []NDPSpecApplyConfiguration `json:"ndps,omitempty"` }
NICSpecApplyConfiguration represents an declarative configuration of the NICSpec type for use with apply.
func NICSpec ¶
func NICSpec() *NICSpecApplyConfiguration
NICSpecApplyConfiguration constructs an declarative configuration of the NICSpec type for use with apply.
func (*NICSpecApplyConfiguration) WithActiveFEC ¶
func (b *NICSpecApplyConfiguration) WithActiveFEC(value string) *NICSpecApplyConfiguration
WithActiveFEC sets the ActiveFEC field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ActiveFEC field is set to the value of the last call.
func (*NICSpecApplyConfiguration) WithLLDPs ¶
func (b *NICSpecApplyConfiguration) WithLLDPs(values ...*LLDPSpecApplyConfiguration) *NICSpecApplyConfiguration
WithLLDPs adds the given value to the LLDPs 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 LLDPs field.
func (*NICSpecApplyConfiguration) WithLanes ¶
func (b *NICSpecApplyConfiguration) WithLanes(value byte) *NICSpecApplyConfiguration
WithLanes sets the Lanes field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Lanes field is set to the value of the last call.
func (*NICSpecApplyConfiguration) WithMACAddress ¶
func (b *NICSpecApplyConfiguration) WithMACAddress(value string) *NICSpecApplyConfiguration
WithMACAddress sets the MACAddress field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MACAddress field is set to the value of the last call.
func (*NICSpecApplyConfiguration) WithMTU ¶
func (b *NICSpecApplyConfiguration) WithMTU(value uint16) *NICSpecApplyConfiguration
WithMTU sets the MTU field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MTU field is set to the value of the last call.
func (*NICSpecApplyConfiguration) WithNDPs ¶
func (b *NICSpecApplyConfiguration) WithNDPs(values ...*NDPSpecApplyConfiguration) *NICSpecApplyConfiguration
WithNDPs adds the given value to the NDPs 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 NDPs field.
func (*NICSpecApplyConfiguration) WithName ¶
func (b *NICSpecApplyConfiguration) WithName(value string) *NICSpecApplyConfiguration
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 (*NICSpecApplyConfiguration) WithPCIAddress ¶
func (b *NICSpecApplyConfiguration) WithPCIAddress(value string) *NICSpecApplyConfiguration
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 (*NICSpecApplyConfiguration) WithSpeed ¶
func (b *NICSpecApplyConfiguration) WithSpeed(value uint32) *NICSpecApplyConfiguration
WithSpeed sets the Speed field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Speed field is set to the value of the last call.
type NetworkApplyConfiguration ¶
type NetworkApplyConfiguration struct { ASN *uint32 `json:"asn,omitempty"` Redundancy *string `json:"redundancy,omitempty"` Ports *int `json:"ports,omitempty"` UnknownPorts *int `json:"unknown_ports,omitempty"` Interfaces []InterfaceApplyConfiguration `json:"interfaces,omitempty"` Loopbacks *LoopbackAddressesApplyConfiguration `json:"loopback_addresses,omitempty"` }
NetworkApplyConfiguration represents an declarative configuration of the Network type for use with apply.
func Network ¶
func Network() *NetworkApplyConfiguration
NetworkApplyConfiguration constructs an declarative configuration of the Network type for use with apply.
func (*NetworkApplyConfiguration) WithASN ¶
func (b *NetworkApplyConfiguration) WithASN(value uint32) *NetworkApplyConfiguration
WithASN sets the ASN field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ASN field is set to the value of the last call.
func (*NetworkApplyConfiguration) WithInterfaces ¶
func (b *NetworkApplyConfiguration) WithInterfaces(values ...*InterfaceApplyConfiguration) *NetworkApplyConfiguration
WithInterfaces adds the given value to the Interfaces 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 Interfaces field.
func (*NetworkApplyConfiguration) WithLoopbacks ¶
func (b *NetworkApplyConfiguration) WithLoopbacks(value *LoopbackAddressesApplyConfiguration) *NetworkApplyConfiguration
WithLoopbacks sets the Loopbacks field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Loopbacks field is set to the value of the last call.
func (*NetworkApplyConfiguration) WithPorts ¶
func (b *NetworkApplyConfiguration) WithPorts(value int) *NetworkApplyConfiguration
WithPorts sets the Ports field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Ports field is set to the value of the last call.
func (*NetworkApplyConfiguration) WithRedundancy ¶
func (b *NetworkApplyConfiguration) WithRedundancy(value string) *NetworkApplyConfiguration
WithRedundancy sets the Redundancy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Redundancy field is set to the value of the last call.
func (*NetworkApplyConfiguration) WithUnknownPorts ¶
func (b *NetworkApplyConfiguration) WithUnknownPorts(value int) *NetworkApplyConfiguration
WithUnknownPorts sets the UnknownPorts field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UnknownPorts field is set to the value of the last call.
type NetworkSwitchApplyConfiguration ¶
type NetworkSwitchApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *NetworkSwitchSpecApplyConfiguration `json:"spec,omitempty"` Status *NetworkSwitchStatusApplyConfiguration `json:"status,omitempty"` }
NetworkSwitchApplyConfiguration represents an declarative configuration of the NetworkSwitch type for use with apply.
func ExtractNetworkSwitch ¶
func ExtractNetworkSwitch(networkSwitch *metalv1alpha4.NetworkSwitch, fieldManager string) (*NetworkSwitchApplyConfiguration, error)
ExtractNetworkSwitch extracts the applied configuration owned by fieldManager from networkSwitch. If no managedFields are found in networkSwitch for fieldManager, a NetworkSwitchApplyConfiguration 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. networkSwitch must be a unmodified NetworkSwitch API object that was retrieved from the Kubernetes API. ExtractNetworkSwitch 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 ExtractNetworkSwitchStatus ¶
func ExtractNetworkSwitchStatus(networkSwitch *metalv1alpha4.NetworkSwitch, fieldManager string) (*NetworkSwitchApplyConfiguration, error)
ExtractNetworkSwitchStatus is the same as ExtractNetworkSwitch except that it extracts the status subresource applied configuration. Experimental!
func NetworkSwitch ¶
func NetworkSwitch(name, namespace string) *NetworkSwitchApplyConfiguration
NetworkSwitch constructs an declarative configuration of the NetworkSwitch type for use with apply.
func (*NetworkSwitchApplyConfiguration) WithAPIVersion ¶
func (b *NetworkSwitchApplyConfiguration) WithAPIVersion(value string) *NetworkSwitchApplyConfiguration
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 (*NetworkSwitchApplyConfiguration) WithAnnotations ¶
func (b *NetworkSwitchApplyConfiguration) WithAnnotations(entries map[string]string) *NetworkSwitchApplyConfiguration
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 (*NetworkSwitchApplyConfiguration) WithCreationTimestamp ¶
func (b *NetworkSwitchApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NetworkSwitchApplyConfiguration
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 (*NetworkSwitchApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *NetworkSwitchApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NetworkSwitchApplyConfiguration
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 (*NetworkSwitchApplyConfiguration) WithDeletionTimestamp ¶
func (b *NetworkSwitchApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NetworkSwitchApplyConfiguration
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 (*NetworkSwitchApplyConfiguration) WithFinalizers ¶
func (b *NetworkSwitchApplyConfiguration) WithFinalizers(values ...string) *NetworkSwitchApplyConfiguration
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 (*NetworkSwitchApplyConfiguration) WithGenerateName ¶
func (b *NetworkSwitchApplyConfiguration) WithGenerateName(value string) *NetworkSwitchApplyConfiguration
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 (*NetworkSwitchApplyConfiguration) WithGeneration ¶
func (b *NetworkSwitchApplyConfiguration) WithGeneration(value int64) *NetworkSwitchApplyConfiguration
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 (*NetworkSwitchApplyConfiguration) WithKind ¶
func (b *NetworkSwitchApplyConfiguration) WithKind(value string) *NetworkSwitchApplyConfiguration
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 (*NetworkSwitchApplyConfiguration) WithLabels ¶
func (b *NetworkSwitchApplyConfiguration) WithLabels(entries map[string]string) *NetworkSwitchApplyConfiguration
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 (*NetworkSwitchApplyConfiguration) WithName ¶
func (b *NetworkSwitchApplyConfiguration) WithName(value string) *NetworkSwitchApplyConfiguration
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 (*NetworkSwitchApplyConfiguration) WithNamespace ¶
func (b *NetworkSwitchApplyConfiguration) WithNamespace(value string) *NetworkSwitchApplyConfiguration
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 (*NetworkSwitchApplyConfiguration) WithOwnerReferences ¶
func (b *NetworkSwitchApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NetworkSwitchApplyConfiguration
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 (*NetworkSwitchApplyConfiguration) WithResourceVersion ¶
func (b *NetworkSwitchApplyConfiguration) WithResourceVersion(value string) *NetworkSwitchApplyConfiguration
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 (*NetworkSwitchApplyConfiguration) WithSpec ¶
func (b *NetworkSwitchApplyConfiguration) WithSpec(value *NetworkSwitchSpecApplyConfiguration) *NetworkSwitchApplyConfiguration
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 (*NetworkSwitchApplyConfiguration) WithStatus ¶
func (b *NetworkSwitchApplyConfiguration) WithStatus(value *NetworkSwitchStatusApplyConfiguration) *NetworkSwitchApplyConfiguration
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 (*NetworkSwitchApplyConfiguration) WithUID ¶
func (b *NetworkSwitchApplyConfiguration) WithUID(value types.UID) *NetworkSwitchApplyConfiguration
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 NetworkSwitchSpecApplyConfiguration ¶
type NetworkSwitchSpecApplyConfiguration struct { InventoryRef *v1.LocalObjectReference `json:"inventoryRef,omitempty"` ConfigSelector *metav1.LabelSelector `json:"configSelector,omitempty"` Managed *bool `json:"managed,omitempty"` Cordon *bool `json:"cordon,omitempty"` TopSpine *bool `json:"topSpine,omitempty"` ScanPorts *bool `json:"scanPorts,omitempty"` IPAM *IPAMSpecApplyConfiguration `json:"ipam,omitempty"` Interfaces *InterfacesSpecApplyConfiguration `json:"interfaces,omitempty"` }
NetworkSwitchSpecApplyConfiguration represents an declarative configuration of the NetworkSwitchSpec type for use with apply.
func NetworkSwitchSpec ¶
func NetworkSwitchSpec() *NetworkSwitchSpecApplyConfiguration
NetworkSwitchSpecApplyConfiguration constructs an declarative configuration of the NetworkSwitchSpec type for use with apply.
func (*NetworkSwitchSpecApplyConfiguration) WithConfigSelector ¶
func (b *NetworkSwitchSpecApplyConfiguration) WithConfigSelector(value metav1.LabelSelector) *NetworkSwitchSpecApplyConfiguration
WithConfigSelector sets the ConfigSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ConfigSelector field is set to the value of the last call.
func (*NetworkSwitchSpecApplyConfiguration) WithCordon ¶
func (b *NetworkSwitchSpecApplyConfiguration) WithCordon(value bool) *NetworkSwitchSpecApplyConfiguration
WithCordon sets the Cordon field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Cordon field is set to the value of the last call.
func (*NetworkSwitchSpecApplyConfiguration) WithIPAM ¶
func (b *NetworkSwitchSpecApplyConfiguration) WithIPAM(value *IPAMSpecApplyConfiguration) *NetworkSwitchSpecApplyConfiguration
WithIPAM sets the IPAM field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPAM field is set to the value of the last call.
func (*NetworkSwitchSpecApplyConfiguration) WithInterfaces ¶
func (b *NetworkSwitchSpecApplyConfiguration) WithInterfaces(value *InterfacesSpecApplyConfiguration) *NetworkSwitchSpecApplyConfiguration
WithInterfaces sets the Interfaces field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Interfaces field is set to the value of the last call.
func (*NetworkSwitchSpecApplyConfiguration) WithInventoryRef ¶
func (b *NetworkSwitchSpecApplyConfiguration) WithInventoryRef(value v1.LocalObjectReference) *NetworkSwitchSpecApplyConfiguration
WithInventoryRef sets the InventoryRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the InventoryRef field is set to the value of the last call.
func (*NetworkSwitchSpecApplyConfiguration) WithManaged ¶
func (b *NetworkSwitchSpecApplyConfiguration) WithManaged(value bool) *NetworkSwitchSpecApplyConfiguration
WithManaged sets the Managed field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Managed field is set to the value of the last call.
func (*NetworkSwitchSpecApplyConfiguration) WithScanPorts ¶
func (b *NetworkSwitchSpecApplyConfiguration) WithScanPorts(value bool) *NetworkSwitchSpecApplyConfiguration
WithScanPorts sets the ScanPorts field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ScanPorts field is set to the value of the last call.
func (*NetworkSwitchSpecApplyConfiguration) WithTopSpine ¶
func (b *NetworkSwitchSpecApplyConfiguration) WithTopSpine(value bool) *NetworkSwitchSpecApplyConfiguration
WithTopSpine sets the TopSpine field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TopSpine field is set to the value of the last call.
type NetworkSwitchStatusApplyConfiguration ¶
type NetworkSwitchStatusApplyConfiguration struct { ConfigRef *v1.LocalObjectReference `json:"configRef,omitempty"` RoutingConfigTemplate *v1.LocalObjectReference `json:"routingConfigTemplate,omitempty"` ASN *uint32 `json:"asn,omitempty"` TotalPorts *uint32 `json:"totalPorts,omitempty"` SwitchPorts *uint32 `json:"switchPorts,omitempty"` Role *string `json:"role,omitempty"` Layer *uint32 `json:"layer,omitempty"` Interfaces map[string]*v1alpha4.InterfaceSpec `json:"interfaces,omitempty"` Subnets []*v1alpha4.SubnetSpec `json:"subnets,omitempty"` LoopbackAddresses []*v1alpha4.IPAddressSpec `json:"loopbackAddresses,omitempty"` State *string `json:"state,omitempty"` Message *string `json:"message,omitempty"` Conditions []*v1alpha4.ConditionSpec `json:"conditions,omitempty"` }
NetworkSwitchStatusApplyConfiguration represents an declarative configuration of the NetworkSwitchStatus type for use with apply.
func NetworkSwitchStatus ¶
func NetworkSwitchStatus() *NetworkSwitchStatusApplyConfiguration
NetworkSwitchStatusApplyConfiguration constructs an declarative configuration of the NetworkSwitchStatus type for use with apply.
func (*NetworkSwitchStatusApplyConfiguration) WithASN ¶
func (b *NetworkSwitchStatusApplyConfiguration) WithASN(value uint32) *NetworkSwitchStatusApplyConfiguration
WithASN sets the ASN field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ASN field is set to the value of the last call.
func (*NetworkSwitchStatusApplyConfiguration) WithConditions ¶
func (b *NetworkSwitchStatusApplyConfiguration) WithConditions(values ...**v1alpha4.ConditionSpec) *NetworkSwitchStatusApplyConfiguration
WithConditions adds the given value to the Conditions 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 Conditions field.
func (*NetworkSwitchStatusApplyConfiguration) WithConfigRef ¶
func (b *NetworkSwitchStatusApplyConfiguration) WithConfigRef(value v1.LocalObjectReference) *NetworkSwitchStatusApplyConfiguration
WithConfigRef sets the ConfigRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ConfigRef field is set to the value of the last call.
func (*NetworkSwitchStatusApplyConfiguration) WithInterfaces ¶
func (b *NetworkSwitchStatusApplyConfiguration) WithInterfaces(entries map[string]*v1alpha4.InterfaceSpec) *NetworkSwitchStatusApplyConfiguration
WithInterfaces puts the entries into the Interfaces 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 Interfaces field, overwriting an existing map entries in Interfaces field with the same key.
func (*NetworkSwitchStatusApplyConfiguration) WithLayer ¶
func (b *NetworkSwitchStatusApplyConfiguration) WithLayer(value uint32) *NetworkSwitchStatusApplyConfiguration
WithLayer sets the Layer field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Layer field is set to the value of the last call.
func (*NetworkSwitchStatusApplyConfiguration) WithLoopbackAddresses ¶
func (b *NetworkSwitchStatusApplyConfiguration) WithLoopbackAddresses(values ...**v1alpha4.IPAddressSpec) *NetworkSwitchStatusApplyConfiguration
WithLoopbackAddresses adds the given value to the LoopbackAddresses 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 LoopbackAddresses field.
func (*NetworkSwitchStatusApplyConfiguration) WithMessage ¶
func (b *NetworkSwitchStatusApplyConfiguration) WithMessage(value string) *NetworkSwitchStatusApplyConfiguration
WithMessage sets the Message field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Message field is set to the value of the last call.
func (*NetworkSwitchStatusApplyConfiguration) WithRole ¶
func (b *NetworkSwitchStatusApplyConfiguration) WithRole(value string) *NetworkSwitchStatusApplyConfiguration
WithRole sets the Role field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Role field is set to the value of the last call.
func (*NetworkSwitchStatusApplyConfiguration) WithRoutingConfigTemplate ¶
func (b *NetworkSwitchStatusApplyConfiguration) WithRoutingConfigTemplate(value v1.LocalObjectReference) *NetworkSwitchStatusApplyConfiguration
WithRoutingConfigTemplate sets the RoutingConfigTemplate field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RoutingConfigTemplate field is set to the value of the last call.
func (*NetworkSwitchStatusApplyConfiguration) WithState ¶
func (b *NetworkSwitchStatusApplyConfiguration) WithState(value string) *NetworkSwitchStatusApplyConfiguration
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.
func (*NetworkSwitchStatusApplyConfiguration) WithSubnets ¶
func (b *NetworkSwitchStatusApplyConfiguration) WithSubnets(values ...**v1alpha4.SubnetSpec) *NetworkSwitchStatusApplyConfiguration
WithSubnets adds the given value to the Subnets 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 Subnets field.
func (*NetworkSwitchStatusApplyConfiguration) WithSwitchPorts ¶
func (b *NetworkSwitchStatusApplyConfiguration) WithSwitchPorts(value uint32) *NetworkSwitchStatusApplyConfiguration
WithSwitchPorts sets the SwitchPorts field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SwitchPorts field is set to the value of the last call.
func (*NetworkSwitchStatusApplyConfiguration) WithTotalPorts ¶
func (b *NetworkSwitchStatusApplyConfiguration) WithTotalPorts(value uint32) *NetworkSwitchStatusApplyConfiguration
WithTotalPorts sets the TotalPorts field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TotalPorts field is set to the value of the last call.
type NumaSpecApplyConfiguration ¶
type NumaSpecApplyConfiguration struct { ID *int `json:"id,omitempty"` CPUs []int `json:"cpus,omitempty"` Distances []int `json:"distances,omitempty"` Memory *MemorySpecApplyConfiguration `json:"memory,omitempty"` }
NumaSpecApplyConfiguration represents an declarative configuration of the NumaSpec type for use with apply.
func NumaSpec ¶
func NumaSpec() *NumaSpecApplyConfiguration
NumaSpecApplyConfiguration constructs an declarative configuration of the NumaSpec type for use with apply.
func (*NumaSpecApplyConfiguration) WithCPUs ¶
func (b *NumaSpecApplyConfiguration) WithCPUs(values ...int) *NumaSpecApplyConfiguration
WithCPUs adds the given value to the CPUs 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 CPUs field.
func (*NumaSpecApplyConfiguration) WithDistances ¶
func (b *NumaSpecApplyConfiguration) WithDistances(values ...int) *NumaSpecApplyConfiguration
WithDistances adds the given value to the Distances 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 Distances field.
func (*NumaSpecApplyConfiguration) WithID ¶
func (b *NumaSpecApplyConfiguration) WithID(value int) *NumaSpecApplyConfiguration
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 (*NumaSpecApplyConfiguration) WithMemory ¶
func (b *NumaSpecApplyConfiguration) WithMemory(value *MemorySpecApplyConfiguration) *NumaSpecApplyConfiguration
WithMemory sets the Memory field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Memory field is set to the value of the last call.
type ObjectReferenceApplyConfiguration ¶
type ObjectReferenceApplyConfiguration struct { Name *string `json:"name,omitempty"` Namespace *string `json:"namespace,omitempty"` }
ObjectReferenceApplyConfiguration represents an declarative configuration of the ObjectReference type for use with apply.
func ObjectReference ¶
func ObjectReference() *ObjectReferenceApplyConfiguration
ObjectReferenceApplyConfiguration constructs an declarative configuration of the ObjectReference type for use with apply.
func (*ObjectReferenceApplyConfiguration) WithName ¶
func (b *ObjectReferenceApplyConfiguration) WithName(value string) *ObjectReferenceApplyConfiguration
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 (*ObjectReferenceApplyConfiguration) WithNamespace ¶
func (b *ObjectReferenceApplyConfiguration) WithNamespace(value string) *ObjectReferenceApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
type PCIDeviceDescriptionSpecApplyConfiguration ¶
type PCIDeviceDescriptionSpecApplyConfiguration struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` }
PCIDeviceDescriptionSpecApplyConfiguration represents an declarative configuration of the PCIDeviceDescriptionSpec type for use with apply.
func PCIDeviceDescriptionSpec ¶
func PCIDeviceDescriptionSpec() *PCIDeviceDescriptionSpecApplyConfiguration
PCIDeviceDescriptionSpecApplyConfiguration constructs an declarative configuration of the PCIDeviceDescriptionSpec type for use with apply.
func (*PCIDeviceDescriptionSpecApplyConfiguration) WithID ¶
func (b *PCIDeviceDescriptionSpecApplyConfiguration) WithID(value string) *PCIDeviceDescriptionSpecApplyConfiguration
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 (*PCIDeviceDescriptionSpecApplyConfiguration) WithName ¶
func (b *PCIDeviceDescriptionSpecApplyConfiguration) WithName(value string) *PCIDeviceDescriptionSpecApplyConfiguration
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 PCIDeviceSpecApplyConfiguration ¶
type PCIDeviceSpecApplyConfiguration struct { BusID *string `json:"busId,omitempty"` Address *string `json:"address,omitempty"` Vendor *PCIDeviceDescriptionSpecApplyConfiguration `json:"vendor,omitempty"` Subvendor *PCIDeviceDescriptionSpecApplyConfiguration `json:"subvendor,omitempty"` Type *PCIDeviceDescriptionSpecApplyConfiguration `json:"type,omitempty"` Subtype *PCIDeviceDescriptionSpecApplyConfiguration `json:"subtype,omitempty"` Class *PCIDeviceDescriptionSpecApplyConfiguration `json:"class,omitempty"` Subclass *PCIDeviceDescriptionSpecApplyConfiguration `json:"subclass,omitempty"` ProgrammingInterface *PCIDeviceDescriptionSpecApplyConfiguration `json:"interface,omitempty"` }
PCIDeviceSpecApplyConfiguration represents an declarative configuration of the PCIDeviceSpec type for use with apply.
func PCIDeviceSpec ¶
func PCIDeviceSpec() *PCIDeviceSpecApplyConfiguration
PCIDeviceSpecApplyConfiguration constructs an declarative configuration of the PCIDeviceSpec type for use with apply.
func (*PCIDeviceSpecApplyConfiguration) WithAddress ¶
func (b *PCIDeviceSpecApplyConfiguration) WithAddress(value string) *PCIDeviceSpecApplyConfiguration
WithAddress sets the Address field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Address field is set to the value of the last call.
func (*PCIDeviceSpecApplyConfiguration) WithBusID ¶
func (b *PCIDeviceSpecApplyConfiguration) WithBusID(value string) *PCIDeviceSpecApplyConfiguration
WithBusID sets the BusID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BusID field is set to the value of the last call.
func (*PCIDeviceSpecApplyConfiguration) WithClass ¶
func (b *PCIDeviceSpecApplyConfiguration) WithClass(value *PCIDeviceDescriptionSpecApplyConfiguration) *PCIDeviceSpecApplyConfiguration
WithClass sets the Class field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Class field is set to the value of the last call.
func (*PCIDeviceSpecApplyConfiguration) WithProgrammingInterface ¶
func (b *PCIDeviceSpecApplyConfiguration) WithProgrammingInterface(value *PCIDeviceDescriptionSpecApplyConfiguration) *PCIDeviceSpecApplyConfiguration
WithProgrammingInterface sets the ProgrammingInterface field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProgrammingInterface field is set to the value of the last call.
func (*PCIDeviceSpecApplyConfiguration) WithSubclass ¶
func (b *PCIDeviceSpecApplyConfiguration) WithSubclass(value *PCIDeviceDescriptionSpecApplyConfiguration) *PCIDeviceSpecApplyConfiguration
WithSubclass sets the Subclass field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Subclass field is set to the value of the last call.
func (*PCIDeviceSpecApplyConfiguration) WithSubtype ¶
func (b *PCIDeviceSpecApplyConfiguration) WithSubtype(value *PCIDeviceDescriptionSpecApplyConfiguration) *PCIDeviceSpecApplyConfiguration
WithSubtype sets the Subtype field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Subtype field is set to the value of the last call.
func (*PCIDeviceSpecApplyConfiguration) WithSubvendor ¶
func (b *PCIDeviceSpecApplyConfiguration) WithSubvendor(value *PCIDeviceDescriptionSpecApplyConfiguration) *PCIDeviceSpecApplyConfiguration
WithSubvendor sets the Subvendor field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Subvendor field is set to the value of the last call.
func (*PCIDeviceSpecApplyConfiguration) WithType ¶
func (b *PCIDeviceSpecApplyConfiguration) WithType(value *PCIDeviceDescriptionSpecApplyConfiguration) *PCIDeviceSpecApplyConfiguration
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.
func (*PCIDeviceSpecApplyConfiguration) WithVendor ¶
func (b *PCIDeviceSpecApplyConfiguration) WithVendor(value *PCIDeviceDescriptionSpecApplyConfiguration) *PCIDeviceSpecApplyConfiguration
WithVendor sets the Vendor field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Vendor field is set to the value of the last call.
type PartitionSpecApplyConfiguration ¶
type PartitionSpecApplyConfiguration struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Size *uint64 `json:"size,omitempty"` }
PartitionSpecApplyConfiguration represents an declarative configuration of the PartitionSpec type for use with apply.
func PartitionSpec ¶
func PartitionSpec() *PartitionSpecApplyConfiguration
PartitionSpecApplyConfiguration constructs an declarative configuration of the PartitionSpec type for use with apply.
func (*PartitionSpecApplyConfiguration) WithID ¶
func (b *PartitionSpecApplyConfiguration) WithID(value string) *PartitionSpecApplyConfiguration
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 (*PartitionSpecApplyConfiguration) WithName ¶
func (b *PartitionSpecApplyConfiguration) WithName(value string) *PartitionSpecApplyConfiguration
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 (*PartitionSpecApplyConfiguration) WithSize ¶
func (b *PartitionSpecApplyConfiguration) WithSize(value uint64) *PartitionSpecApplyConfiguration
WithSize sets the Size field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Size field is set to the value of the last call.
type PartitionTableSpecApplyConfiguration ¶
type PartitionTableSpecApplyConfiguration struct { Type *string `json:"type,omitempty"` Partitions []PartitionSpecApplyConfiguration `json:"partitions,omitempty"` }
PartitionTableSpecApplyConfiguration represents an declarative configuration of the PartitionTableSpec type for use with apply.
func PartitionTableSpec ¶
func PartitionTableSpec() *PartitionTableSpecApplyConfiguration
PartitionTableSpecApplyConfiguration constructs an declarative configuration of the PartitionTableSpec type for use with apply.
func (*PartitionTableSpecApplyConfiguration) WithPartitions ¶
func (b *PartitionTableSpecApplyConfiguration) WithPartitions(values ...*PartitionSpecApplyConfiguration) *PartitionTableSpecApplyConfiguration
WithPartitions adds the given value to the Partitions 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 Partitions field.
func (*PartitionTableSpecApplyConfiguration) WithType ¶
func (b *PartitionTableSpecApplyConfiguration) WithType(value string) *PartitionTableSpecApplyConfiguration
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 PeerApplyConfiguration ¶
type PeerApplyConfiguration struct { LLDPSystemName *string `json:"lldp_system_name,omitempty"` LLDPChassisID *string `json:"lldp_chassis_id,omitempty"` LLDPPortID *string `json:"lldp_port_id,omitempty"` LLDPPortDescription *string `json:"lldp_port_description,omitempty"` ResourceReference *ResourceReferenceApplyConfiguration `json:"resource_reference,omitempty"` }
PeerApplyConfiguration represents an declarative configuration of the Peer type for use with apply.
func Peer ¶
func Peer() *PeerApplyConfiguration
PeerApplyConfiguration constructs an declarative configuration of the Peer type for use with apply.
func (*PeerApplyConfiguration) WithLLDPChassisID ¶
func (b *PeerApplyConfiguration) WithLLDPChassisID(value string) *PeerApplyConfiguration
WithLLDPChassisID sets the LLDPChassisID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LLDPChassisID field is set to the value of the last call.
func (*PeerApplyConfiguration) WithLLDPPortDescription ¶
func (b *PeerApplyConfiguration) WithLLDPPortDescription(value string) *PeerApplyConfiguration
WithLLDPPortDescription sets the LLDPPortDescription field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LLDPPortDescription field is set to the value of the last call.
func (*PeerApplyConfiguration) WithLLDPPortID ¶
func (b *PeerApplyConfiguration) WithLLDPPortID(value string) *PeerApplyConfiguration
WithLLDPPortID sets the LLDPPortID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LLDPPortID field is set to the value of the last call.
func (*PeerApplyConfiguration) WithLLDPSystemName ¶
func (b *PeerApplyConfiguration) WithLLDPSystemName(value string) *PeerApplyConfiguration
WithLLDPSystemName sets the LLDPSystemName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LLDPSystemName field is set to the value of the last call.
func (*PeerApplyConfiguration) WithResourceReference ¶
func (b *PeerApplyConfiguration) WithResourceReference(value *ResourceReferenceApplyConfiguration) *PeerApplyConfiguration
WithResourceReference sets the ResourceReference field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceReference field is set to the value of the last call.
type PeerInfoSpecApplyConfiguration ¶
type PeerInfoSpecApplyConfiguration struct { ChassisID *string `json:"chassisId,omitempty"` SystemName *string `json:"systemName,omitempty"` PortID *string `json:"portId,omitempty"` PortDescription *string `json:"portDescription,omitempty"` Type *string `json:"type,omitempty"` }
PeerInfoSpecApplyConfiguration represents an declarative configuration of the PeerInfoSpec type for use with apply.
func PeerInfoSpec ¶
func PeerInfoSpec() *PeerInfoSpecApplyConfiguration
PeerInfoSpecApplyConfiguration constructs an declarative configuration of the PeerInfoSpec type for use with apply.
func (*PeerInfoSpecApplyConfiguration) WithChassisID ¶
func (b *PeerInfoSpecApplyConfiguration) WithChassisID(value string) *PeerInfoSpecApplyConfiguration
WithChassisID sets the ChassisID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ChassisID field is set to the value of the last call.
func (*PeerInfoSpecApplyConfiguration) WithPortDescription ¶
func (b *PeerInfoSpecApplyConfiguration) WithPortDescription(value string) *PeerInfoSpecApplyConfiguration
WithPortDescription sets the PortDescription field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PortDescription field is set to the value of the last call.
func (*PeerInfoSpecApplyConfiguration) WithPortID ¶
func (b *PeerInfoSpecApplyConfiguration) WithPortID(value string) *PeerInfoSpecApplyConfiguration
WithPortID sets the PortID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PortID field is set to the value of the last call.
func (*PeerInfoSpecApplyConfiguration) WithSystemName ¶
func (b *PeerInfoSpecApplyConfiguration) WithSystemName(value string) *PeerInfoSpecApplyConfiguration
WithSystemName sets the SystemName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SystemName field is set to the value of the last call.
func (*PeerInfoSpecApplyConfiguration) WithType ¶
func (b *PeerInfoSpecApplyConfiguration) WithType(value string) *PeerInfoSpecApplyConfiguration
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 PeerSpecApplyConfiguration ¶
type PeerSpecApplyConfiguration struct { ObjectReferenceApplyConfiguration `json:",inline"` PeerInfoSpecApplyConfiguration `json:",inline"` }
PeerSpecApplyConfiguration represents an declarative configuration of the PeerSpec type for use with apply.
func PeerSpec ¶
func PeerSpec() *PeerSpecApplyConfiguration
PeerSpecApplyConfiguration constructs an declarative configuration of the PeerSpec type for use with apply.
type PortParametersSpecApplyConfiguration ¶
type PortParametersSpecApplyConfiguration struct { Lanes *uint32 `json:"lanes,omitempty"` MTU *uint32 `json:"mtu,omitempty"` IPv4MaskLength *uint32 `json:"ipv4MaskLength,omitempty"` IPv6Prefix *uint32 `json:"ipv6Prefix,omitempty"` FEC *string `json:"fec,omitempty"` State *string `json:"state,omitempty"` }
PortParametersSpecApplyConfiguration represents an declarative configuration of the PortParametersSpec type for use with apply.
func PortParametersSpec ¶
func PortParametersSpec() *PortParametersSpecApplyConfiguration
PortParametersSpecApplyConfiguration constructs an declarative configuration of the PortParametersSpec type for use with apply.
func (*PortParametersSpecApplyConfiguration) WithFEC ¶
func (b *PortParametersSpecApplyConfiguration) WithFEC(value string) *PortParametersSpecApplyConfiguration
WithFEC sets the FEC field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FEC field is set to the value of the last call.
func (*PortParametersSpecApplyConfiguration) WithIPv4MaskLength ¶
func (b *PortParametersSpecApplyConfiguration) WithIPv4MaskLength(value uint32) *PortParametersSpecApplyConfiguration
WithIPv4MaskLength sets the IPv4MaskLength field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPv4MaskLength field is set to the value of the last call.
func (*PortParametersSpecApplyConfiguration) WithIPv6Prefix ¶
func (b *PortParametersSpecApplyConfiguration) WithIPv6Prefix(value uint32) *PortParametersSpecApplyConfiguration
WithIPv6Prefix sets the IPv6Prefix field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPv6Prefix field is set to the value of the last call.
func (*PortParametersSpecApplyConfiguration) WithLanes ¶
func (b *PortParametersSpecApplyConfiguration) WithLanes(value uint32) *PortParametersSpecApplyConfiguration
WithLanes sets the Lanes field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Lanes field is set to the value of the last call.
func (*PortParametersSpecApplyConfiguration) WithMTU ¶
func (b *PortParametersSpecApplyConfiguration) WithMTU(value uint32) *PortParametersSpecApplyConfiguration
WithMTU sets the MTU field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MTU field is set to the value of the last call.
func (*PortParametersSpecApplyConfiguration) WithState ¶
func (b *PortParametersSpecApplyConfiguration) WithState(value string) *PortParametersSpecApplyConfiguration
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 RegionSpecApplyConfiguration ¶
type RegionSpecApplyConfiguration struct { Name *string `json:"name,omitempty"` AvailabilityZone *string `json:"availabilityZone,omitempty"` }
RegionSpecApplyConfiguration represents an declarative configuration of the RegionSpec type for use with apply.
func RegionSpec ¶
func RegionSpec() *RegionSpecApplyConfiguration
RegionSpecApplyConfiguration constructs an declarative configuration of the RegionSpec type for use with apply.
func (*RegionSpecApplyConfiguration) WithAvailabilityZone ¶
func (b *RegionSpecApplyConfiguration) WithAvailabilityZone(value string) *RegionSpecApplyConfiguration
WithAvailabilityZone sets the AvailabilityZone field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AvailabilityZone field is set to the value of the last call.
func (*RegionSpecApplyConfiguration) WithName ¶
func (b *RegionSpecApplyConfiguration) WithName(value string) *RegionSpecApplyConfiguration
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 ReservationApplyConfiguration ¶
type ReservationApplyConfiguration struct { Status *string `json:"status,omitempty"` Class *string `json:"class,omitempty"` Reference *ResourceReferenceApplyConfiguration `json:"reference,omitempty"` }
ReservationApplyConfiguration represents an declarative configuration of the Reservation type for use with apply.
func Reservation ¶
func Reservation() *ReservationApplyConfiguration
ReservationApplyConfiguration constructs an declarative configuration of the Reservation type for use with apply.
func (*ReservationApplyConfiguration) WithClass ¶
func (b *ReservationApplyConfiguration) WithClass(value string) *ReservationApplyConfiguration
WithClass sets the Class field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Class field is set to the value of the last call.
func (*ReservationApplyConfiguration) WithReference ¶
func (b *ReservationApplyConfiguration) WithReference(value *ResourceReferenceApplyConfiguration) *ReservationApplyConfiguration
WithReference sets the Reference field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Reference field is set to the value of the last call.
func (*ReservationApplyConfiguration) WithStatus ¶
func (b *ReservationApplyConfiguration) WithStatus(value string) *ReservationApplyConfiguration
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.
type ResourceReferenceApplyConfiguration ¶
type ResourceReferenceApplyConfiguration struct { APIVersion *string `json:"apiVersion,omitempty"` Kind *string `json:"kind,omitempty"` Name *string `json:"name,omitempty"` Namespace *string `json:"namespace,omitempty"` }
ResourceReferenceApplyConfiguration represents an declarative configuration of the ResourceReference type for use with apply.
func ResourceReference ¶
func ResourceReference() *ResourceReferenceApplyConfiguration
ResourceReferenceApplyConfiguration constructs an declarative configuration of the ResourceReference type for use with apply.
func (*ResourceReferenceApplyConfiguration) WithAPIVersion ¶
func (b *ResourceReferenceApplyConfiguration) WithAPIVersion(value string) *ResourceReferenceApplyConfiguration
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 (*ResourceReferenceApplyConfiguration) WithKind ¶
func (b *ResourceReferenceApplyConfiguration) WithKind(value string) *ResourceReferenceApplyConfiguration
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 (*ResourceReferenceApplyConfiguration) WithName ¶
func (b *ResourceReferenceApplyConfiguration) WithName(value string) *ResourceReferenceApplyConfiguration
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 (*ResourceReferenceApplyConfiguration) WithNamespace ¶
func (b *ResourceReferenceApplyConfiguration) WithNamespace(value string) *ResourceReferenceApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
type SubnetSpecApplyConfiguration ¶
type SubnetSpecApplyConfiguration struct { Subnet *ObjectReferenceApplyConfiguration `json:"subnet,omitempty"` Network *ObjectReferenceApplyConfiguration `json:"network,omitempty"` CIDR *string `json:"cidr,omitempty"` Region *RegionSpecApplyConfiguration `json:"region,omitempty"` AddressFamily *string `json:"addressFamily,omitempty"` }
SubnetSpecApplyConfiguration represents an declarative configuration of the SubnetSpec type for use with apply.
func SubnetSpec ¶
func SubnetSpec() *SubnetSpecApplyConfiguration
SubnetSpecApplyConfiguration constructs an declarative configuration of the SubnetSpec type for use with apply.
func (*SubnetSpecApplyConfiguration) WithAddressFamily ¶
func (b *SubnetSpecApplyConfiguration) WithAddressFamily(value string) *SubnetSpecApplyConfiguration
WithAddressFamily sets the AddressFamily field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AddressFamily field is set to the value of the last call.
func (*SubnetSpecApplyConfiguration) WithCIDR ¶
func (b *SubnetSpecApplyConfiguration) WithCIDR(value string) *SubnetSpecApplyConfiguration
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 (*SubnetSpecApplyConfiguration) WithNetwork ¶
func (b *SubnetSpecApplyConfiguration) WithNetwork(value *ObjectReferenceApplyConfiguration) *SubnetSpecApplyConfiguration
WithNetwork sets the Network field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Network field is set to the value of the last call.
func (*SubnetSpecApplyConfiguration) WithRegion ¶
func (b *SubnetSpecApplyConfiguration) WithRegion(value *RegionSpecApplyConfiguration) *SubnetSpecApplyConfiguration
WithRegion sets the Region field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Region field is set to the value of the last call.
func (*SubnetSpecApplyConfiguration) WithSubnet ¶
func (b *SubnetSpecApplyConfiguration) WithSubnet(value *ObjectReferenceApplyConfiguration) *SubnetSpecApplyConfiguration
WithSubnet sets the Subnet field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Subnet field is set to the value of the last call.
type SwitchConfigApplyConfiguration ¶
type SwitchConfigApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *SwitchConfigSpecApplyConfiguration `json:"spec,omitempty"` Status *metalv1alpha4.SwitchConfigStatus `json:"status,omitempty"` }
SwitchConfigApplyConfiguration represents an declarative configuration of the SwitchConfig type for use with apply.
func ExtractSwitchConfig ¶
func ExtractSwitchConfig(switchConfig *metalv1alpha4.SwitchConfig, fieldManager string) (*SwitchConfigApplyConfiguration, error)
ExtractSwitchConfig extracts the applied configuration owned by fieldManager from switchConfig. If no managedFields are found in switchConfig for fieldManager, a SwitchConfigApplyConfiguration 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. switchConfig must be a unmodified SwitchConfig API object that was retrieved from the Kubernetes API. ExtractSwitchConfig 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 ExtractSwitchConfigStatus ¶
func ExtractSwitchConfigStatus(switchConfig *metalv1alpha4.SwitchConfig, fieldManager string) (*SwitchConfigApplyConfiguration, error)
ExtractSwitchConfigStatus is the same as ExtractSwitchConfig except that it extracts the status subresource applied configuration. Experimental!
func SwitchConfig ¶
func SwitchConfig(name, namespace string) *SwitchConfigApplyConfiguration
SwitchConfig constructs an declarative configuration of the SwitchConfig type for use with apply.
func (*SwitchConfigApplyConfiguration) WithAPIVersion ¶
func (b *SwitchConfigApplyConfiguration) WithAPIVersion(value string) *SwitchConfigApplyConfiguration
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 (*SwitchConfigApplyConfiguration) WithAnnotations ¶
func (b *SwitchConfigApplyConfiguration) WithAnnotations(entries map[string]string) *SwitchConfigApplyConfiguration
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 (*SwitchConfigApplyConfiguration) WithCreationTimestamp ¶
func (b *SwitchConfigApplyConfiguration) WithCreationTimestamp(value metav1.Time) *SwitchConfigApplyConfiguration
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 (*SwitchConfigApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *SwitchConfigApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *SwitchConfigApplyConfiguration
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 (*SwitchConfigApplyConfiguration) WithDeletionTimestamp ¶
func (b *SwitchConfigApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *SwitchConfigApplyConfiguration
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 (*SwitchConfigApplyConfiguration) WithFinalizers ¶
func (b *SwitchConfigApplyConfiguration) WithFinalizers(values ...string) *SwitchConfigApplyConfiguration
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 (*SwitchConfigApplyConfiguration) WithGenerateName ¶
func (b *SwitchConfigApplyConfiguration) WithGenerateName(value string) *SwitchConfigApplyConfiguration
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 (*SwitchConfigApplyConfiguration) WithGeneration ¶
func (b *SwitchConfigApplyConfiguration) WithGeneration(value int64) *SwitchConfigApplyConfiguration
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 (*SwitchConfigApplyConfiguration) WithKind ¶
func (b *SwitchConfigApplyConfiguration) WithKind(value string) *SwitchConfigApplyConfiguration
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 (*SwitchConfigApplyConfiguration) WithLabels ¶
func (b *SwitchConfigApplyConfiguration) WithLabels(entries map[string]string) *SwitchConfigApplyConfiguration
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 (*SwitchConfigApplyConfiguration) WithName ¶
func (b *SwitchConfigApplyConfiguration) WithName(value string) *SwitchConfigApplyConfiguration
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 (*SwitchConfigApplyConfiguration) WithNamespace ¶
func (b *SwitchConfigApplyConfiguration) WithNamespace(value string) *SwitchConfigApplyConfiguration
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 (*SwitchConfigApplyConfiguration) WithOwnerReferences ¶
func (b *SwitchConfigApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *SwitchConfigApplyConfiguration
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 (*SwitchConfigApplyConfiguration) WithResourceVersion ¶
func (b *SwitchConfigApplyConfiguration) WithResourceVersion(value string) *SwitchConfigApplyConfiguration
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 (*SwitchConfigApplyConfiguration) WithSpec ¶
func (b *SwitchConfigApplyConfiguration) WithSpec(value *SwitchConfigSpecApplyConfiguration) *SwitchConfigApplyConfiguration
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 (*SwitchConfigApplyConfiguration) WithStatus ¶
func (b *SwitchConfigApplyConfiguration) WithStatus(value metalv1alpha4.SwitchConfigStatus) *SwitchConfigApplyConfiguration
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 (*SwitchConfigApplyConfiguration) WithUID ¶
func (b *SwitchConfigApplyConfiguration) WithUID(value types.UID) *SwitchConfigApplyConfiguration
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 SwitchConfigSpecApplyConfiguration ¶
type SwitchConfigSpecApplyConfiguration struct { Switches *v1.LabelSelector `json:"switches,omitempty"` PortsDefaults *PortParametersSpecApplyConfiguration `json:"portsDefaults,omitempty"` IPAM *GeneralIPAMSpecApplyConfiguration `json:"ipam,omitempty"` RoutingConfigTemplate *corev1.LocalObjectReference `json:"routingConfigTemplate,omitempty"` }
SwitchConfigSpecApplyConfiguration represents an declarative configuration of the SwitchConfigSpec type for use with apply.
func SwitchConfigSpec ¶
func SwitchConfigSpec() *SwitchConfigSpecApplyConfiguration
SwitchConfigSpecApplyConfiguration constructs an declarative configuration of the SwitchConfigSpec type for use with apply.
func (*SwitchConfigSpecApplyConfiguration) WithIPAM ¶
func (b *SwitchConfigSpecApplyConfiguration) WithIPAM(value *GeneralIPAMSpecApplyConfiguration) *SwitchConfigSpecApplyConfiguration
WithIPAM sets the IPAM field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPAM field is set to the value of the last call.
func (*SwitchConfigSpecApplyConfiguration) WithPortsDefaults ¶
func (b *SwitchConfigSpecApplyConfiguration) WithPortsDefaults(value *PortParametersSpecApplyConfiguration) *SwitchConfigSpecApplyConfiguration
WithPortsDefaults sets the PortsDefaults field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PortsDefaults field is set to the value of the last call.
func (*SwitchConfigSpecApplyConfiguration) WithRoutingConfigTemplate ¶
func (b *SwitchConfigSpecApplyConfiguration) WithRoutingConfigTemplate(value corev1.LocalObjectReference) *SwitchConfigSpecApplyConfiguration
WithRoutingConfigTemplate sets the RoutingConfigTemplate field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RoutingConfigTemplate field is set to the value of the last call.
func (*SwitchConfigSpecApplyConfiguration) WithSwitches ¶
func (b *SwitchConfigSpecApplyConfiguration) WithSwitches(value v1.LabelSelector) *SwitchConfigSpecApplyConfiguration
WithSwitches sets the Switches field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Switches field is set to the value of the last call.
type SystemSpecApplyConfiguration ¶
type SystemSpecApplyConfiguration struct { ID *string `json:"id,omitempty"` Manufacturer *string `json:"manufacturer,omitempty"` ProductSKU *string `json:"productSku,omitempty"` SerialNumber *string `json:"serialNumber,omitempty"` }
SystemSpecApplyConfiguration represents an declarative configuration of the SystemSpec type for use with apply.
func SystemSpec ¶
func SystemSpec() *SystemSpecApplyConfiguration
SystemSpecApplyConfiguration constructs an declarative configuration of the SystemSpec type for use with apply.
func (*SystemSpecApplyConfiguration) WithID ¶
func (b *SystemSpecApplyConfiguration) WithID(value string) *SystemSpecApplyConfiguration
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 (*SystemSpecApplyConfiguration) WithManufacturer ¶
func (b *SystemSpecApplyConfiguration) WithManufacturer(value string) *SystemSpecApplyConfiguration
WithManufacturer sets the Manufacturer field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Manufacturer field is set to the value of the last call.
func (*SystemSpecApplyConfiguration) WithProductSKU ¶
func (b *SystemSpecApplyConfiguration) WithProductSKU(value string) *SystemSpecApplyConfiguration
WithProductSKU sets the ProductSKU field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProductSKU field is set to the value of the last call.
func (*SystemSpecApplyConfiguration) WithSerialNumber ¶
func (b *SystemSpecApplyConfiguration) WithSerialNumber(value string) *SystemSpecApplyConfiguration
WithSerialNumber sets the SerialNumber field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SerialNumber field is set to the value of the last call.
type VirtSpecApplyConfiguration ¶
type VirtSpecApplyConfiguration struct {
VMType *string `json:"vmType,omitempty"`
}
VirtSpecApplyConfiguration represents an declarative configuration of the VirtSpec type for use with apply.
func VirtSpec ¶
func VirtSpec() *VirtSpecApplyConfiguration
VirtSpecApplyConfiguration constructs an declarative configuration of the VirtSpec type for use with apply.
func (*VirtSpecApplyConfiguration) WithVMType ¶
func (b *VirtSpecApplyConfiguration) WithVMType(value string) *VirtSpecApplyConfiguration
WithVMType sets the VMType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VMType field is set to the value of the last call.
Source Files ¶
- additionalipspec.go
- addresses.go
- addressfamiliesmap.go
- aggregate.go
- aggregateitem.go
- aggregatespec.go
- benchmark.go
- benchmarkdeviation.go
- benchmarkresult.go
- benchmarkspec.go
- benchmarkstatus.go
- blockspec.go
- conditionspec.go
- cpuspec.go
- distrospec.go
- fieldselectorspec.go
- generalipamspec.go
- hostspec.go
- identity.go
- interface.go
- interfaceoverridesspec.go
- interfacespec.go
- interfacesspec.go
- internal.go
- inventory.go
- inventoryspec.go
- inventorystatus.go
- inventorystatuses.go
- ipaddressspec.go
- ipamselectionspec.go
- ipamspec.go
- ipmispec.go
- lldpspec.go
- loopbackaddresses.go
- machine.go
- machinespec.go
- machinestatus.go
- memoryspec.go
- ndpspec.go
- network.go
- networkswitch.go
- networkswitchspec.go
- networkswitchstatus.go
- nicspec.go
- numaspec.go
- objectreference.go
- partitionspec.go
- partitiontablespec.go
- pcidevicedescriptionspec.go
- pcidevicespec.go
- peer.go
- peerinfospec.go
- peerspec.go
- portparametersspec.go
- regionspec.go
- reservation.go
- resourcereference.go
- subnetspec.go
- switchconfig.go
- switchconfigspec.go
- systemspec.go
- virtspec.go