Documentation ¶
Index ¶
- type AvailablePackageVersionsApplyConfiguration
- type MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithAPIVersion(value string) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithAnnotations(entries map[string]string) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithCreationTimestamp(value metav1.Time) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithFinalizers(values ...string) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithGenerateName(value string) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithGeneration(value int64) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithKind(value string) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithLabels(entries map[string]string) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithName(value string) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithNamespace(value string) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithResourceVersion(value string) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithSpec(value *MachineSpecApplyConfiguration) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithStatus(value *MachineStatusApplyConfiguration) *MachineApplyConfiguration
- func (b *MachineApplyConfiguration) WithUID(value types.UID) *MachineApplyConfiguration
- type MachineGroupApplyConfiguration
- func (b *MachineGroupApplyConfiguration) WithMachineSelector(value *v1.LabelSelectorApplyConfiguration) *MachineGroupApplyConfiguration
- func (b *MachineGroupApplyConfiguration) WithName(value string) *MachineGroupApplyConfiguration
- func (b *MachineGroupApplyConfiguration) WithPackages(values ...*PackageVersionApplyConfiguration) *MachineGroupApplyConfiguration
- type MachineSpecApplyConfiguration
- func (b *MachineSpecApplyConfiguration) WithMachineTypeRef(value v1.LocalObjectReference) *MachineSpecApplyConfiguration
- func (b *MachineSpecApplyConfiguration) WithOOBMachineRef(value v1.LocalObjectReference) *MachineSpecApplyConfiguration
- func (b *MachineSpecApplyConfiguration) WithPackages(values ...*PackageVersionApplyConfiguration) *MachineSpecApplyConfiguration
- func (b *MachineSpecApplyConfiguration) WithScanPeriod(value metav1.Duration) *MachineSpecApplyConfiguration
- type MachineStatusApplyConfiguration
- func (b *MachineStatusApplyConfiguration) WithConditions(values ...*metav1.ConditionApplyConfiguration) *MachineStatusApplyConfiguration
- func (b *MachineStatusApplyConfiguration) WithInstalledPackages(values ...*PackageVersionApplyConfiguration) *MachineStatusApplyConfiguration
- func (b *MachineStatusApplyConfiguration) WithLastScanResult(value v1alpha1.ScanResult) *MachineStatusApplyConfiguration
- func (b *MachineStatusApplyConfiguration) WithLastScanTime(value v1.Time) *MachineStatusApplyConfiguration
- func (b *MachineStatusApplyConfiguration) WithMessage(value string) *MachineStatusApplyConfiguration
- type MachineTypeApplyConfiguration
- func ExtractMachineType(machineType *lifecyclev1alpha1.MachineType, fieldManager string) (*MachineTypeApplyConfiguration, error)
- func ExtractMachineTypeStatus(machineType *lifecyclev1alpha1.MachineType, fieldManager string) (*MachineTypeApplyConfiguration, error)
- func MachineType(name, namespace string) *MachineTypeApplyConfiguration
- func (b *MachineTypeApplyConfiguration) WithAPIVersion(value string) *MachineTypeApplyConfiguration
- func (b *MachineTypeApplyConfiguration) WithAnnotations(entries map[string]string) *MachineTypeApplyConfiguration
- func (b *MachineTypeApplyConfiguration) WithCreationTimestamp(value metav1.Time) *MachineTypeApplyConfiguration
- func (b *MachineTypeApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *MachineTypeApplyConfiguration
- func (b *MachineTypeApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *MachineTypeApplyConfiguration
- func (b *MachineTypeApplyConfiguration) WithFinalizers(values ...string) *MachineTypeApplyConfiguration
- func (b *MachineTypeApplyConfiguration) WithGenerateName(value string) *MachineTypeApplyConfiguration
- func (b *MachineTypeApplyConfiguration) WithGeneration(value int64) *MachineTypeApplyConfiguration
- func (b *MachineTypeApplyConfiguration) WithKind(value string) *MachineTypeApplyConfiguration
- func (b *MachineTypeApplyConfiguration) WithLabels(entries map[string]string) *MachineTypeApplyConfiguration
- func (b *MachineTypeApplyConfiguration) WithName(value string) *MachineTypeApplyConfiguration
- func (b *MachineTypeApplyConfiguration) WithNamespace(value string) *MachineTypeApplyConfiguration
- func (b *MachineTypeApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *MachineTypeApplyConfiguration
- func (b *MachineTypeApplyConfiguration) WithResourceVersion(value string) *MachineTypeApplyConfiguration
- func (b *MachineTypeApplyConfiguration) WithSpec(value *MachineTypeSpecApplyConfiguration) *MachineTypeApplyConfiguration
- func (b *MachineTypeApplyConfiguration) WithStatus(value *MachineTypeStatusApplyConfiguration) *MachineTypeApplyConfiguration
- func (b *MachineTypeApplyConfiguration) WithUID(value types.UID) *MachineTypeApplyConfiguration
- type MachineTypeSpecApplyConfiguration
- func (b *MachineTypeSpecApplyConfiguration) WithMachineGroups(values ...*MachineGroupApplyConfiguration) *MachineTypeSpecApplyConfiguration
- func (b *MachineTypeSpecApplyConfiguration) WithManufacturer(value string) *MachineTypeSpecApplyConfiguration
- func (b *MachineTypeSpecApplyConfiguration) WithScanPeriod(value v1.Duration) *MachineTypeSpecApplyConfiguration
- func (b *MachineTypeSpecApplyConfiguration) WithType(value string) *MachineTypeSpecApplyConfiguration
- type MachineTypeStatusApplyConfiguration
- func (b *MachineTypeStatusApplyConfiguration) WithAvailablePackages(values ...*AvailablePackageVersionsApplyConfiguration) *MachineTypeStatusApplyConfiguration
- func (b *MachineTypeStatusApplyConfiguration) WithLastScanResult(value v1alpha1.ScanResult) *MachineTypeStatusApplyConfiguration
- func (b *MachineTypeStatusApplyConfiguration) WithLastScanTime(value v1.Time) *MachineTypeStatusApplyConfiguration
- func (b *MachineTypeStatusApplyConfiguration) WithMessage(value string) *MachineTypeStatusApplyConfiguration
- type PackageVersionApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AvailablePackageVersionsApplyConfiguration ¶
type AvailablePackageVersionsApplyConfiguration struct { Name *string `json:"name,omitempty"` Versions []string `json:"versions,omitempty"` }
AvailablePackageVersionsApplyConfiguration represents an declarative configuration of the AvailablePackageVersions type for use with apply.
func AvailablePackageVersions ¶
func AvailablePackageVersions() *AvailablePackageVersionsApplyConfiguration
AvailablePackageVersionsApplyConfiguration constructs an declarative configuration of the AvailablePackageVersions type for use with apply.
func (*AvailablePackageVersionsApplyConfiguration) WithName ¶
func (b *AvailablePackageVersionsApplyConfiguration) WithName(value string) *AvailablePackageVersionsApplyConfiguration
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 (*AvailablePackageVersionsApplyConfiguration) WithVersions ¶
func (b *AvailablePackageVersionsApplyConfiguration) WithVersions(values ...string) *AvailablePackageVersionsApplyConfiguration
WithVersions adds the given value to the Versions 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 Versions field.
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 *lifecyclev1alpha1.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 *lifecyclev1alpha1.Machine, fieldManager string) (*MachineApplyConfiguration, error)
ExtractMachineStatus is the same as ExtractMachine except that it extracts the status subresource applied configuration. Experimental!
func Machine ¶
func Machine(name, namespace string) *MachineApplyConfiguration
Machine constructs an declarative configuration of the Machine type for use with apply.
func (*MachineApplyConfiguration) WithAPIVersion ¶
func (b *MachineApplyConfiguration) WithAPIVersion(value string) *MachineApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*MachineApplyConfiguration) WithAnnotations ¶
func (b *MachineApplyConfiguration) WithAnnotations(entries map[string]string) *MachineApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*MachineApplyConfiguration) WithCreationTimestamp ¶
func (b *MachineApplyConfiguration) WithCreationTimestamp(value metav1.Time) *MachineApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*MachineApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *MachineApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *MachineApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*MachineApplyConfiguration) WithDeletionTimestamp ¶
func (b *MachineApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *MachineApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*MachineApplyConfiguration) WithFinalizers ¶
func (b *MachineApplyConfiguration) WithFinalizers(values ...string) *MachineApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*MachineApplyConfiguration) WithGenerateName ¶
func (b *MachineApplyConfiguration) WithGenerateName(value string) *MachineApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*MachineApplyConfiguration) WithGeneration ¶
func (b *MachineApplyConfiguration) WithGeneration(value int64) *MachineApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*MachineApplyConfiguration) WithKind ¶
func (b *MachineApplyConfiguration) WithKind(value string) *MachineApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*MachineApplyConfiguration) WithLabels ¶
func (b *MachineApplyConfiguration) WithLabels(entries map[string]string) *MachineApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*MachineApplyConfiguration) WithName ¶
func (b *MachineApplyConfiguration) WithName(value string) *MachineApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*MachineApplyConfiguration) WithNamespace ¶
func (b *MachineApplyConfiguration) WithNamespace(value string) *MachineApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*MachineApplyConfiguration) WithOwnerReferences ¶
func (b *MachineApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *MachineApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*MachineApplyConfiguration) WithResourceVersion ¶
func (b *MachineApplyConfiguration) WithResourceVersion(value string) *MachineApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*MachineApplyConfiguration) WithSpec ¶
func (b *MachineApplyConfiguration) WithSpec(value *MachineSpecApplyConfiguration) *MachineApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*MachineApplyConfiguration) WithStatus ¶
func (b *MachineApplyConfiguration) WithStatus(value *MachineStatusApplyConfiguration) *MachineApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*MachineApplyConfiguration) WithUID ¶
func (b *MachineApplyConfiguration) WithUID(value types.UID) *MachineApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type MachineGroupApplyConfiguration ¶
type MachineGroupApplyConfiguration struct { Name *string `json:"name,omitempty"` MachineSelector *v1.LabelSelectorApplyConfiguration `json:"machineSelector,omitempty"` Packages []PackageVersionApplyConfiguration `json:"packages,omitempty"` }
MachineGroupApplyConfiguration represents an declarative configuration of the MachineGroup type for use with apply.
func MachineGroup ¶
func MachineGroup() *MachineGroupApplyConfiguration
MachineGroupApplyConfiguration constructs an declarative configuration of the MachineGroup type for use with apply.
func (*MachineGroupApplyConfiguration) WithMachineSelector ¶
func (b *MachineGroupApplyConfiguration) WithMachineSelector(value *v1.LabelSelectorApplyConfiguration) *MachineGroupApplyConfiguration
WithMachineSelector sets the MachineSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MachineSelector field is set to the value of the last call.
func (*MachineGroupApplyConfiguration) WithName ¶
func (b *MachineGroupApplyConfiguration) WithName(value string) *MachineGroupApplyConfiguration
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 (*MachineGroupApplyConfiguration) WithPackages ¶
func (b *MachineGroupApplyConfiguration) WithPackages(values ...*PackageVersionApplyConfiguration) *MachineGroupApplyConfiguration
WithPackages adds the given value to the Packages 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 Packages field.
type MachineSpecApplyConfiguration ¶
type MachineSpecApplyConfiguration struct { MachineTypeRef *v1.LocalObjectReference `json:"machineTypeRef,omitempty"` OOBMachineRef *v1.LocalObjectReference `json:"oobMachineRef,omitempty"` ScanPeriod *metav1.Duration `json:"scanPeriod,omitempty"` Packages []PackageVersionApplyConfiguration `json:"packages,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) WithMachineTypeRef ¶
func (b *MachineSpecApplyConfiguration) WithMachineTypeRef(value v1.LocalObjectReference) *MachineSpecApplyConfiguration
WithMachineTypeRef sets the MachineTypeRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MachineTypeRef field is set to the value of the last call.
func (*MachineSpecApplyConfiguration) WithOOBMachineRef ¶
func (b *MachineSpecApplyConfiguration) WithOOBMachineRef(value v1.LocalObjectReference) *MachineSpecApplyConfiguration
WithOOBMachineRef sets the OOBMachineRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OOBMachineRef field is set to the value of the last call.
func (*MachineSpecApplyConfiguration) WithPackages ¶
func (b *MachineSpecApplyConfiguration) WithPackages(values ...*PackageVersionApplyConfiguration) *MachineSpecApplyConfiguration
WithPackages adds the given value to the Packages 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 Packages field.
func (*MachineSpecApplyConfiguration) WithScanPeriod ¶
func (b *MachineSpecApplyConfiguration) WithScanPeriod(value metav1.Duration) *MachineSpecApplyConfiguration
WithScanPeriod sets the ScanPeriod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ScanPeriod field is set to the value of the last call.
type MachineStatusApplyConfiguration ¶
type MachineStatusApplyConfiguration struct { LastScanTime *v1.Time `json:"lastScanTime,omitempty"` LastScanResult *v1alpha1.ScanResult `json:"lastScanResult,omitempty"` InstalledPackages []PackageVersionApplyConfiguration `json:"installedPackages,omitempty"` Message *string `json:"message,omitempty"` Conditions []metav1.ConditionApplyConfiguration `json:"conditions,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) WithConditions ¶
func (b *MachineStatusApplyConfiguration) WithConditions(values ...*metav1.ConditionApplyConfiguration) *MachineStatusApplyConfiguration
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 (*MachineStatusApplyConfiguration) WithInstalledPackages ¶
func (b *MachineStatusApplyConfiguration) WithInstalledPackages(values ...*PackageVersionApplyConfiguration) *MachineStatusApplyConfiguration
WithInstalledPackages adds the given value to the InstalledPackages 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 InstalledPackages field.
func (*MachineStatusApplyConfiguration) WithLastScanResult ¶
func (b *MachineStatusApplyConfiguration) WithLastScanResult(value v1alpha1.ScanResult) *MachineStatusApplyConfiguration
WithLastScanResult sets the LastScanResult field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastScanResult field is set to the value of the last call.
func (*MachineStatusApplyConfiguration) WithLastScanTime ¶
func (b *MachineStatusApplyConfiguration) WithLastScanTime(value v1.Time) *MachineStatusApplyConfiguration
WithLastScanTime sets the LastScanTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastScanTime field is set to the value of the last call.
func (*MachineStatusApplyConfiguration) WithMessage ¶
func (b *MachineStatusApplyConfiguration) WithMessage(value string) *MachineStatusApplyConfiguration
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.
type MachineTypeApplyConfiguration ¶
type MachineTypeApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *MachineTypeSpecApplyConfiguration `json:"spec,omitempty"` Status *MachineTypeStatusApplyConfiguration `json:"status,omitempty"` }
MachineTypeApplyConfiguration represents an declarative configuration of the MachineType type for use with apply.
func ExtractMachineType ¶
func ExtractMachineType(machineType *lifecyclev1alpha1.MachineType, fieldManager string) (*MachineTypeApplyConfiguration, error)
ExtractMachineType extracts the applied configuration owned by fieldManager from machineType. If no managedFields are found in machineType for fieldManager, a MachineTypeApplyConfiguration 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. machineType must be a unmodified MachineType API object that was retrieved from the Kubernetes API. ExtractMachineType 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 ExtractMachineTypeStatus ¶
func ExtractMachineTypeStatus(machineType *lifecyclev1alpha1.MachineType, fieldManager string) (*MachineTypeApplyConfiguration, error)
ExtractMachineTypeStatus is the same as ExtractMachineType except that it extracts the status subresource applied configuration. Experimental!
func MachineType ¶
func MachineType(name, namespace string) *MachineTypeApplyConfiguration
MachineType constructs an declarative configuration of the MachineType type for use with apply.
func (*MachineTypeApplyConfiguration) WithAPIVersion ¶
func (b *MachineTypeApplyConfiguration) WithAPIVersion(value string) *MachineTypeApplyConfiguration
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 (*MachineTypeApplyConfiguration) WithAnnotations ¶
func (b *MachineTypeApplyConfiguration) WithAnnotations(entries map[string]string) *MachineTypeApplyConfiguration
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 (*MachineTypeApplyConfiguration) WithCreationTimestamp ¶
func (b *MachineTypeApplyConfiguration) WithCreationTimestamp(value metav1.Time) *MachineTypeApplyConfiguration
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 (*MachineTypeApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *MachineTypeApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *MachineTypeApplyConfiguration
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 (*MachineTypeApplyConfiguration) WithDeletionTimestamp ¶
func (b *MachineTypeApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *MachineTypeApplyConfiguration
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 (*MachineTypeApplyConfiguration) WithFinalizers ¶
func (b *MachineTypeApplyConfiguration) WithFinalizers(values ...string) *MachineTypeApplyConfiguration
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 (*MachineTypeApplyConfiguration) WithGenerateName ¶
func (b *MachineTypeApplyConfiguration) WithGenerateName(value string) *MachineTypeApplyConfiguration
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 (*MachineTypeApplyConfiguration) WithGeneration ¶
func (b *MachineTypeApplyConfiguration) WithGeneration(value int64) *MachineTypeApplyConfiguration
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 (*MachineTypeApplyConfiguration) WithKind ¶
func (b *MachineTypeApplyConfiguration) WithKind(value string) *MachineTypeApplyConfiguration
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 (*MachineTypeApplyConfiguration) WithLabels ¶
func (b *MachineTypeApplyConfiguration) WithLabels(entries map[string]string) *MachineTypeApplyConfiguration
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 (*MachineTypeApplyConfiguration) WithName ¶
func (b *MachineTypeApplyConfiguration) WithName(value string) *MachineTypeApplyConfiguration
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 (*MachineTypeApplyConfiguration) WithNamespace ¶
func (b *MachineTypeApplyConfiguration) WithNamespace(value string) *MachineTypeApplyConfiguration
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 (*MachineTypeApplyConfiguration) WithOwnerReferences ¶
func (b *MachineTypeApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *MachineTypeApplyConfiguration
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 (*MachineTypeApplyConfiguration) WithResourceVersion ¶
func (b *MachineTypeApplyConfiguration) WithResourceVersion(value string) *MachineTypeApplyConfiguration
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 (*MachineTypeApplyConfiguration) WithSpec ¶
func (b *MachineTypeApplyConfiguration) WithSpec(value *MachineTypeSpecApplyConfiguration) *MachineTypeApplyConfiguration
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 (*MachineTypeApplyConfiguration) WithStatus ¶
func (b *MachineTypeApplyConfiguration) WithStatus(value *MachineTypeStatusApplyConfiguration) *MachineTypeApplyConfiguration
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 (*MachineTypeApplyConfiguration) WithUID ¶
func (b *MachineTypeApplyConfiguration) WithUID(value types.UID) *MachineTypeApplyConfiguration
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 MachineTypeSpecApplyConfiguration ¶
type MachineTypeSpecApplyConfiguration struct { Manufacturer *string `json:"manufacturer,omitempty"` Type *string `json:"type,omitempty"` ScanPeriod *v1.Duration `json:"scanPeriod,omitempty"` MachineGroups []MachineGroupApplyConfiguration `json:"machineGroups,omitempty"` }
MachineTypeSpecApplyConfiguration represents an declarative configuration of the MachineTypeSpec type for use with apply.
func MachineTypeSpec ¶
func MachineTypeSpec() *MachineTypeSpecApplyConfiguration
MachineTypeSpecApplyConfiguration constructs an declarative configuration of the MachineTypeSpec type for use with apply.
func (*MachineTypeSpecApplyConfiguration) WithMachineGroups ¶
func (b *MachineTypeSpecApplyConfiguration) WithMachineGroups(values ...*MachineGroupApplyConfiguration) *MachineTypeSpecApplyConfiguration
WithMachineGroups adds the given value to the MachineGroups 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 MachineGroups field.
func (*MachineTypeSpecApplyConfiguration) WithManufacturer ¶
func (b *MachineTypeSpecApplyConfiguration) WithManufacturer(value string) *MachineTypeSpecApplyConfiguration
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 (*MachineTypeSpecApplyConfiguration) WithScanPeriod ¶
func (b *MachineTypeSpecApplyConfiguration) WithScanPeriod(value v1.Duration) *MachineTypeSpecApplyConfiguration
WithScanPeriod sets the ScanPeriod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ScanPeriod field is set to the value of the last call.
func (*MachineTypeSpecApplyConfiguration) WithType ¶
func (b *MachineTypeSpecApplyConfiguration) WithType(value string) *MachineTypeSpecApplyConfiguration
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 MachineTypeStatusApplyConfiguration ¶
type MachineTypeStatusApplyConfiguration struct { LastScanTime *v1.Time `json:"lastScanTime,omitempty"` LastScanResult *v1alpha1.ScanResult `json:"lastScanResult,omitempty"` AvailablePackages []AvailablePackageVersionsApplyConfiguration `json:"availablePackages,omitempty"` Message *string `json:"message,omitempty"` }
MachineTypeStatusApplyConfiguration represents an declarative configuration of the MachineTypeStatus type for use with apply.
func MachineTypeStatus ¶
func MachineTypeStatus() *MachineTypeStatusApplyConfiguration
MachineTypeStatusApplyConfiguration constructs an declarative configuration of the MachineTypeStatus type for use with apply.
func (*MachineTypeStatusApplyConfiguration) WithAvailablePackages ¶
func (b *MachineTypeStatusApplyConfiguration) WithAvailablePackages(values ...*AvailablePackageVersionsApplyConfiguration) *MachineTypeStatusApplyConfiguration
WithAvailablePackages adds the given value to the AvailablePackages 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 AvailablePackages field.
func (*MachineTypeStatusApplyConfiguration) WithLastScanResult ¶
func (b *MachineTypeStatusApplyConfiguration) WithLastScanResult(value v1alpha1.ScanResult) *MachineTypeStatusApplyConfiguration
WithLastScanResult sets the LastScanResult field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastScanResult field is set to the value of the last call.
func (*MachineTypeStatusApplyConfiguration) WithLastScanTime ¶
func (b *MachineTypeStatusApplyConfiguration) WithLastScanTime(value v1.Time) *MachineTypeStatusApplyConfiguration
WithLastScanTime sets the LastScanTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastScanTime field is set to the value of the last call.
func (*MachineTypeStatusApplyConfiguration) WithMessage ¶
func (b *MachineTypeStatusApplyConfiguration) WithMessage(value string) *MachineTypeStatusApplyConfiguration
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.
type PackageVersionApplyConfiguration ¶
type PackageVersionApplyConfiguration struct { Name *string `json:"name,omitempty"` Version *string `json:"version,omitempty"` }
PackageVersionApplyConfiguration represents an declarative configuration of the PackageVersion type for use with apply.
func PackageVersion ¶
func PackageVersion() *PackageVersionApplyConfiguration
PackageVersionApplyConfiguration constructs an declarative configuration of the PackageVersion type for use with apply.
func (*PackageVersionApplyConfiguration) WithName ¶
func (b *PackageVersionApplyConfiguration) WithName(value string) *PackageVersionApplyConfiguration
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 (*PackageVersionApplyConfiguration) WithVersion ¶
func (b *PackageVersionApplyConfiguration) WithVersion(value string) *PackageVersionApplyConfiguration
WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.