v1alpha4

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL