Documentation ¶
Index ¶
- type OOBApplyConfiguration
- func (b *OOBApplyConfiguration) WithAPIVersion(value string) *OOBApplyConfiguration
- func (b *OOBApplyConfiguration) WithAnnotations(entries map[string]string) *OOBApplyConfiguration
- func (b *OOBApplyConfiguration) WithCreationTimestamp(value metav1.Time) *OOBApplyConfiguration
- func (b *OOBApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *OOBApplyConfiguration
- func (b *OOBApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *OOBApplyConfiguration
- func (b *OOBApplyConfiguration) WithFinalizers(values ...string) *OOBApplyConfiguration
- func (b *OOBApplyConfiguration) WithGenerateName(value string) *OOBApplyConfiguration
- func (b *OOBApplyConfiguration) WithGeneration(value int64) *OOBApplyConfiguration
- func (b *OOBApplyConfiguration) WithKind(value string) *OOBApplyConfiguration
- func (b *OOBApplyConfiguration) WithLabels(entries map[string]string) *OOBApplyConfiguration
- func (b *OOBApplyConfiguration) WithName(value string) *OOBApplyConfiguration
- func (b *OOBApplyConfiguration) WithNamespace(value string) *OOBApplyConfiguration
- func (b *OOBApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *OOBApplyConfiguration
- func (b *OOBApplyConfiguration) WithResourceVersion(value string) *OOBApplyConfiguration
- func (b *OOBApplyConfiguration) WithSpec(value *OOBSpecApplyConfiguration) *OOBApplyConfiguration
- func (b *OOBApplyConfiguration) WithStatus(value *OOBStatusApplyConfiguration) *OOBApplyConfiguration
- func (b *OOBApplyConfiguration) WithUID(value types.UID) *OOBApplyConfiguration
- type OOBSpecApplyConfiguration
- func (b *OOBSpecApplyConfiguration) WithFiller(value int64) *OOBSpecApplyConfiguration
- func (b *OOBSpecApplyConfiguration) WithLocatorLED(value string) *OOBSpecApplyConfiguration
- func (b *OOBSpecApplyConfiguration) WithPower(value string) *OOBSpecApplyConfiguration
- func (b *OOBSpecApplyConfiguration) WithReset(value string) *OOBSpecApplyConfiguration
- type OOBStatusApplyConfiguration
- func (b *OOBStatusApplyConfiguration) WithCapabilities(values ...string) *OOBStatusApplyConfiguration
- func (b *OOBStatusApplyConfiguration) WithConditions(values ...v1.Condition) *OOBStatusApplyConfiguration
- func (b *OOBStatusApplyConfiguration) WithConsole(value string) *OOBStatusApplyConfiguration
- func (b *OOBStatusApplyConfiguration) WithFWVersion(value string) *OOBStatusApplyConfiguration
- func (b *OOBStatusApplyConfiguration) WithIP(value string) *OOBStatusApplyConfiguration
- func (b *OOBStatusApplyConfiguration) WithLocatorLED(value string) *OOBStatusApplyConfiguration
- func (b *OOBStatusApplyConfiguration) WithMac(value string) *OOBStatusApplyConfiguration
- func (b *OOBStatusApplyConfiguration) WithManufacturer(value string) *OOBStatusApplyConfiguration
- func (b *OOBStatusApplyConfiguration) WithOS(value string) *OOBStatusApplyConfiguration
- func (b *OOBStatusApplyConfiguration) WithOSReadDeadline(value v1.Time) *OOBStatusApplyConfiguration
- func (b *OOBStatusApplyConfiguration) WithOSReason(value string) *OOBStatusApplyConfiguration
- func (b *OOBStatusApplyConfiguration) WithPort(value int) *OOBStatusApplyConfiguration
- func (b *OOBStatusApplyConfiguration) WithPower(value string) *OOBStatusApplyConfiguration
- func (b *OOBStatusApplyConfiguration) WithProtocol(value string) *OOBStatusApplyConfiguration
- func (b *OOBStatusApplyConfiguration) WithSKU(value string) *OOBStatusApplyConfiguration
- func (b *OOBStatusApplyConfiguration) WithSerialNumber(value string) *OOBStatusApplyConfiguration
- func (b *OOBStatusApplyConfiguration) WithShutdownDeadline(value v1.Time) *OOBStatusApplyConfiguration
- func (b *OOBStatusApplyConfiguration) WithTags(values ...*TagSpecApplyConfiguration) *OOBStatusApplyConfiguration
- func (b *OOBStatusApplyConfiguration) WithType(value string) *OOBStatusApplyConfiguration
- func (b *OOBStatusApplyConfiguration) WithUUID(value string) *OOBStatusApplyConfiguration
- type TagSpecApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OOBApplyConfiguration ¶
type OOBApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *OOBSpecApplyConfiguration `json:"spec,omitempty"` Status *OOBStatusApplyConfiguration `json:"status,omitempty"` }
OOBApplyConfiguration represents an declarative configuration of the OOB type for use with apply.
func ExtractOOB ¶
func ExtractOOB(oOB *apiv1alpha1.OOB, fieldManager string) (*OOBApplyConfiguration, error)
ExtractOOB extracts the applied configuration owned by fieldManager from oOB. If no managedFields are found in oOB for fieldManager, a OOBApplyConfiguration 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. oOB must be a unmodified OOB API object that was retrieved from the Kubernetes API. ExtractOOB 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 ExtractOOBStatus ¶
func ExtractOOBStatus(oOB *apiv1alpha1.OOB, fieldManager string) (*OOBApplyConfiguration, error)
ExtractOOBStatus is the same as ExtractOOB except that it extracts the status subresource applied configuration. Experimental!
func OOB ¶
func OOB(name, namespace string) *OOBApplyConfiguration
OOB constructs an declarative configuration of the OOB type for use with apply.
func (*OOBApplyConfiguration) WithAPIVersion ¶
func (b *OOBApplyConfiguration) WithAPIVersion(value string) *OOBApplyConfiguration
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 (*OOBApplyConfiguration) WithAnnotations ¶
func (b *OOBApplyConfiguration) WithAnnotations(entries map[string]string) *OOBApplyConfiguration
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 (*OOBApplyConfiguration) WithCreationTimestamp ¶
func (b *OOBApplyConfiguration) WithCreationTimestamp(value metav1.Time) *OOBApplyConfiguration
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 (*OOBApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *OOBApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *OOBApplyConfiguration
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 (*OOBApplyConfiguration) WithDeletionTimestamp ¶
func (b *OOBApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *OOBApplyConfiguration
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 (*OOBApplyConfiguration) WithFinalizers ¶
func (b *OOBApplyConfiguration) WithFinalizers(values ...string) *OOBApplyConfiguration
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 (*OOBApplyConfiguration) WithGenerateName ¶
func (b *OOBApplyConfiguration) WithGenerateName(value string) *OOBApplyConfiguration
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 (*OOBApplyConfiguration) WithGeneration ¶
func (b *OOBApplyConfiguration) WithGeneration(value int64) *OOBApplyConfiguration
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 (*OOBApplyConfiguration) WithKind ¶
func (b *OOBApplyConfiguration) WithKind(value string) *OOBApplyConfiguration
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 (*OOBApplyConfiguration) WithLabels ¶
func (b *OOBApplyConfiguration) WithLabels(entries map[string]string) *OOBApplyConfiguration
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 (*OOBApplyConfiguration) WithName ¶
func (b *OOBApplyConfiguration) WithName(value string) *OOBApplyConfiguration
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 (*OOBApplyConfiguration) WithNamespace ¶
func (b *OOBApplyConfiguration) WithNamespace(value string) *OOBApplyConfiguration
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 (*OOBApplyConfiguration) WithOwnerReferences ¶
func (b *OOBApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *OOBApplyConfiguration
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 (*OOBApplyConfiguration) WithResourceVersion ¶
func (b *OOBApplyConfiguration) WithResourceVersion(value string) *OOBApplyConfiguration
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 (*OOBApplyConfiguration) WithSpec ¶
func (b *OOBApplyConfiguration) WithSpec(value *OOBSpecApplyConfiguration) *OOBApplyConfiguration
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 (*OOBApplyConfiguration) WithStatus ¶
func (b *OOBApplyConfiguration) WithStatus(value *OOBStatusApplyConfiguration) *OOBApplyConfiguration
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 (*OOBApplyConfiguration) WithUID ¶
func (b *OOBApplyConfiguration) WithUID(value types.UID) *OOBApplyConfiguration
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 OOBSpecApplyConfiguration ¶
type OOBSpecApplyConfiguration struct { LocatorLED *string `json:"locatorLED,omitempty"` Power *string `json:"power,omitempty"` Reset *string `json:"reset,omitempty"` Filler *int64 `json:"filler,omitempty"` }
OOBSpecApplyConfiguration represents an declarative configuration of the OOBSpec type for use with apply.
func OOBSpec ¶
func OOBSpec() *OOBSpecApplyConfiguration
OOBSpecApplyConfiguration constructs an declarative configuration of the OOBSpec type for use with apply.
func (*OOBSpecApplyConfiguration) WithFiller ¶
func (b *OOBSpecApplyConfiguration) WithFiller(value int64) *OOBSpecApplyConfiguration
WithFiller sets the Filler field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Filler field is set to the value of the last call.
func (*OOBSpecApplyConfiguration) WithLocatorLED ¶
func (b *OOBSpecApplyConfiguration) WithLocatorLED(value string) *OOBSpecApplyConfiguration
WithLocatorLED sets the LocatorLED field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LocatorLED field is set to the value of the last call.
func (*OOBSpecApplyConfiguration) WithPower ¶
func (b *OOBSpecApplyConfiguration) WithPower(value string) *OOBSpecApplyConfiguration
WithPower sets the Power field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Power field is set to the value of the last call.
func (*OOBSpecApplyConfiguration) WithReset ¶
func (b *OOBSpecApplyConfiguration) WithReset(value string) *OOBSpecApplyConfiguration
WithReset sets the Reset field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Reset field is set to the value of the last call.
type OOBStatusApplyConfiguration ¶
type OOBStatusApplyConfiguration struct { UUID *string `json:"uuid,omitempty"` Mac *string `json:"mac,omitempty"` IP *string `json:"ip,omitempty"` Protocol *string `json:"protocol,omitempty"` Tags []TagSpecApplyConfiguration `json:"tags,omitempty"` Port *int `json:"port,omitempty"` Type *string `json:"type,omitempty"` Capabilities []string `json:"capabilities,omitempty"` Manufacturer *string `json:"manufacturer,omitempty"` SerialNumber *string `json:"serialNumber,omitempty"` SKU *string `json:"sku,omitempty"` LocatorLED *string `json:"locatorLED,omitempty"` Power *string `json:"power,omitempty"` ShutdownDeadline *v1.Time `json:"shutdownDeadline,omitempty"` OS *string `json:"os,omitempty"` OSReason *string `json:"osReason,omitempty"` OSReadDeadline *v1.Time `json:"osReadDeadline,omitempty"` Console *string `json:"console,omitempty"` Conditions []v1.Condition `json:"conditions,omitempty"` FWVersion *string `json:"fwVersion,omitempty"` }
OOBStatusApplyConfiguration represents an declarative configuration of the OOBStatus type for use with apply.
func OOBStatus ¶
func OOBStatus() *OOBStatusApplyConfiguration
OOBStatusApplyConfiguration constructs an declarative configuration of the OOBStatus type for use with apply.
func (*OOBStatusApplyConfiguration) WithCapabilities ¶
func (b *OOBStatusApplyConfiguration) WithCapabilities(values ...string) *OOBStatusApplyConfiguration
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 (*OOBStatusApplyConfiguration) WithConditions ¶
func (b *OOBStatusApplyConfiguration) WithConditions(values ...v1.Condition) *OOBStatusApplyConfiguration
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 (*OOBStatusApplyConfiguration) WithConsole ¶
func (b *OOBStatusApplyConfiguration) WithConsole(value string) *OOBStatusApplyConfiguration
WithConsole sets the Console field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Console field is set to the value of the last call.
func (*OOBStatusApplyConfiguration) WithFWVersion ¶
func (b *OOBStatusApplyConfiguration) WithFWVersion(value string) *OOBStatusApplyConfiguration
WithFWVersion sets the FWVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FWVersion field is set to the value of the last call.
func (*OOBStatusApplyConfiguration) WithIP ¶
func (b *OOBStatusApplyConfiguration) WithIP(value string) *OOBStatusApplyConfiguration
WithIP sets the IP field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IP field is set to the value of the last call.
func (*OOBStatusApplyConfiguration) WithLocatorLED ¶
func (b *OOBStatusApplyConfiguration) WithLocatorLED(value string) *OOBStatusApplyConfiguration
WithLocatorLED sets the LocatorLED field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LocatorLED field is set to the value of the last call.
func (*OOBStatusApplyConfiguration) WithMac ¶
func (b *OOBStatusApplyConfiguration) WithMac(value string) *OOBStatusApplyConfiguration
WithMac sets the Mac field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Mac field is set to the value of the last call.
func (*OOBStatusApplyConfiguration) WithManufacturer ¶
func (b *OOBStatusApplyConfiguration) WithManufacturer(value string) *OOBStatusApplyConfiguration
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 (*OOBStatusApplyConfiguration) WithOS ¶
func (b *OOBStatusApplyConfiguration) WithOS(value string) *OOBStatusApplyConfiguration
WithOS sets the OS field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OS field is set to the value of the last call.
func (*OOBStatusApplyConfiguration) WithOSReadDeadline ¶
func (b *OOBStatusApplyConfiguration) WithOSReadDeadline(value v1.Time) *OOBStatusApplyConfiguration
WithOSReadDeadline sets the OSReadDeadline field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OSReadDeadline field is set to the value of the last call.
func (*OOBStatusApplyConfiguration) WithOSReason ¶
func (b *OOBStatusApplyConfiguration) WithOSReason(value string) *OOBStatusApplyConfiguration
WithOSReason sets the OSReason field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OSReason field is set to the value of the last call.
func (*OOBStatusApplyConfiguration) WithPort ¶
func (b *OOBStatusApplyConfiguration) WithPort(value int) *OOBStatusApplyConfiguration
WithPort sets the Port field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Port field is set to the value of the last call.
func (*OOBStatusApplyConfiguration) WithPower ¶
func (b *OOBStatusApplyConfiguration) WithPower(value string) *OOBStatusApplyConfiguration
WithPower sets the Power field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Power field is set to the value of the last call.
func (*OOBStatusApplyConfiguration) WithProtocol ¶
func (b *OOBStatusApplyConfiguration) WithProtocol(value string) *OOBStatusApplyConfiguration
WithProtocol sets the Protocol field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Protocol field is set to the value of the last call.
func (*OOBStatusApplyConfiguration) WithSKU ¶
func (b *OOBStatusApplyConfiguration) WithSKU(value string) *OOBStatusApplyConfiguration
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 (*OOBStatusApplyConfiguration) WithSerialNumber ¶
func (b *OOBStatusApplyConfiguration) WithSerialNumber(value string) *OOBStatusApplyConfiguration
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.
func (*OOBStatusApplyConfiguration) WithShutdownDeadline ¶
func (b *OOBStatusApplyConfiguration) WithShutdownDeadline(value v1.Time) *OOBStatusApplyConfiguration
WithShutdownDeadline sets the ShutdownDeadline field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ShutdownDeadline field is set to the value of the last call.
func (*OOBStatusApplyConfiguration) WithTags ¶
func (b *OOBStatusApplyConfiguration) WithTags(values ...*TagSpecApplyConfiguration) *OOBStatusApplyConfiguration
WithTags adds the given value to the Tags 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 Tags field.
func (*OOBStatusApplyConfiguration) WithType ¶
func (b *OOBStatusApplyConfiguration) WithType(value string) *OOBStatusApplyConfiguration
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 (*OOBStatusApplyConfiguration) WithUUID ¶
func (b *OOBStatusApplyConfiguration) WithUUID(value string) *OOBStatusApplyConfiguration
WithUUID sets the UUID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UUID field is set to the value of the last call.
type TagSpecApplyConfiguration ¶
type TagSpecApplyConfiguration struct { Key *string `json:"key,omitempty"` Value *string `json:"value,omitempty"` }
TagSpecApplyConfiguration represents an declarative configuration of the TagSpec type for use with apply.
func TagSpec ¶
func TagSpec() *TagSpecApplyConfiguration
TagSpecApplyConfiguration constructs an declarative configuration of the TagSpec type for use with apply.
func (*TagSpecApplyConfiguration) WithKey ¶
func (b *TagSpecApplyConfiguration) WithKey(value string) *TagSpecApplyConfiguration
WithKey sets the Key field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Key field is set to the value of the last call.
func (*TagSpecApplyConfiguration) WithValue ¶
func (b *TagSpecApplyConfiguration) WithValue(value string) *TagSpecApplyConfiguration
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.