Documentation ¶
Index ¶
- type OpenStackServerApplyConfiguration
- func ExtractOpenStackServer(openStackServer *apiv1alpha1.OpenStackServer, fieldManager string) (*OpenStackServerApplyConfiguration, error)
- func ExtractOpenStackServerStatus(openStackServer *apiv1alpha1.OpenStackServer, fieldManager string) (*OpenStackServerApplyConfiguration, error)
- func OpenStackServer(name, namespace string) *OpenStackServerApplyConfiguration
- func (b *OpenStackServerApplyConfiguration) WithAPIVersion(value string) *OpenStackServerApplyConfiguration
- func (b *OpenStackServerApplyConfiguration) WithAnnotations(entries map[string]string) *OpenStackServerApplyConfiguration
- func (b *OpenStackServerApplyConfiguration) WithCreationTimestamp(value metav1.Time) *OpenStackServerApplyConfiguration
- func (b *OpenStackServerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *OpenStackServerApplyConfiguration
- func (b *OpenStackServerApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *OpenStackServerApplyConfiguration
- func (b *OpenStackServerApplyConfiguration) WithFinalizers(values ...string) *OpenStackServerApplyConfiguration
- func (b *OpenStackServerApplyConfiguration) WithGenerateName(value string) *OpenStackServerApplyConfiguration
- func (b *OpenStackServerApplyConfiguration) WithGeneration(value int64) *OpenStackServerApplyConfiguration
- func (b *OpenStackServerApplyConfiguration) WithKind(value string) *OpenStackServerApplyConfiguration
- func (b *OpenStackServerApplyConfiguration) WithLabels(entries map[string]string) *OpenStackServerApplyConfiguration
- func (b *OpenStackServerApplyConfiguration) WithName(value string) *OpenStackServerApplyConfiguration
- func (b *OpenStackServerApplyConfiguration) WithNamespace(value string) *OpenStackServerApplyConfiguration
- func (b *OpenStackServerApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *OpenStackServerApplyConfiguration
- func (b *OpenStackServerApplyConfiguration) WithResourceVersion(value string) *OpenStackServerApplyConfiguration
- func (b *OpenStackServerApplyConfiguration) WithSpec(value *OpenStackServerSpecApplyConfiguration) *OpenStackServerApplyConfiguration
- func (b *OpenStackServerApplyConfiguration) WithStatus(value *OpenStackServerStatusApplyConfiguration) *OpenStackServerApplyConfiguration
- func (b *OpenStackServerApplyConfiguration) WithUID(value types.UID) *OpenStackServerApplyConfiguration
- type OpenStackServerSpecApplyConfiguration
- func (b *OpenStackServerSpecApplyConfiguration) WithAdditionalBlockDevices(values ...*v1beta1.AdditionalBlockDeviceApplyConfiguration) *OpenStackServerSpecApplyConfiguration
- func (b *OpenStackServerSpecApplyConfiguration) WithAvailabilityZone(value string) *OpenStackServerSpecApplyConfiguration
- func (b *OpenStackServerSpecApplyConfiguration) WithConfigDrive(value bool) *OpenStackServerSpecApplyConfiguration
- func (b *OpenStackServerSpecApplyConfiguration) WithFlavor(value string) *OpenStackServerSpecApplyConfiguration
- func (b *OpenStackServerSpecApplyConfiguration) WithFlavorID(value string) *OpenStackServerSpecApplyConfiguration
- func (b *OpenStackServerSpecApplyConfiguration) WithFloatingIPPoolRef(value v1.TypedLocalObjectReference) *OpenStackServerSpecApplyConfiguration
- func (b *OpenStackServerSpecApplyConfiguration) WithIdentityRef(value *v1beta1.OpenStackIdentityReferenceApplyConfiguration) *OpenStackServerSpecApplyConfiguration
- func (b *OpenStackServerSpecApplyConfiguration) WithImage(value *v1beta1.ImageParamApplyConfiguration) *OpenStackServerSpecApplyConfiguration
- func (b *OpenStackServerSpecApplyConfiguration) WithPorts(values ...*v1beta1.PortOptsApplyConfiguration) *OpenStackServerSpecApplyConfiguration
- func (b *OpenStackServerSpecApplyConfiguration) WithRootVolume(value *v1beta1.RootVolumeApplyConfiguration) *OpenStackServerSpecApplyConfiguration
- func (b *OpenStackServerSpecApplyConfiguration) WithSSHKeyName(value string) *OpenStackServerSpecApplyConfiguration
- func (b *OpenStackServerSpecApplyConfiguration) WithSchedulerHintAdditionalProperties(values ...*v1beta1.SchedulerHintAdditionalPropertyApplyConfiguration) *OpenStackServerSpecApplyConfiguration
- func (b *OpenStackServerSpecApplyConfiguration) WithSecurityGroups(values ...*v1beta1.SecurityGroupParamApplyConfiguration) *OpenStackServerSpecApplyConfiguration
- func (b *OpenStackServerSpecApplyConfiguration) WithServerGroup(value *v1beta1.ServerGroupParamApplyConfiguration) *OpenStackServerSpecApplyConfiguration
- func (b *OpenStackServerSpecApplyConfiguration) WithServerMetadata(values ...*v1beta1.ServerMetadataApplyConfiguration) *OpenStackServerSpecApplyConfiguration
- func (b *OpenStackServerSpecApplyConfiguration) WithTags(values ...string) *OpenStackServerSpecApplyConfiguration
- func (b *OpenStackServerSpecApplyConfiguration) WithTrunk(value bool) *OpenStackServerSpecApplyConfiguration
- func (b *OpenStackServerSpecApplyConfiguration) WithUserDataRef(value v1.LocalObjectReference) *OpenStackServerSpecApplyConfiguration
- type OpenStackServerStatusApplyConfiguration
- func (b *OpenStackServerStatusApplyConfiguration) WithAddresses(values ...v1.NodeAddress) *OpenStackServerStatusApplyConfiguration
- func (b *OpenStackServerStatusApplyConfiguration) WithConditions(value apiv1beta1.Conditions) *OpenStackServerStatusApplyConfiguration
- func (b *OpenStackServerStatusApplyConfiguration) WithInstanceID(value string) *OpenStackServerStatusApplyConfiguration
- func (b *OpenStackServerStatusApplyConfiguration) WithInstanceState(value v1beta1.InstanceState) *OpenStackServerStatusApplyConfiguration
- func (b *OpenStackServerStatusApplyConfiguration) WithReady(value bool) *OpenStackServerStatusApplyConfiguration
- func (b *OpenStackServerStatusApplyConfiguration) WithResolved(value *ResolvedServerSpecApplyConfiguration) *OpenStackServerStatusApplyConfiguration
- func (b *OpenStackServerStatusApplyConfiguration) WithResources(value *ServerResourcesApplyConfiguration) *OpenStackServerStatusApplyConfiguration
- type ResolvedServerSpecApplyConfiguration
- func (b *ResolvedServerSpecApplyConfiguration) WithFlavorID(value string) *ResolvedServerSpecApplyConfiguration
- func (b *ResolvedServerSpecApplyConfiguration) WithImageID(value string) *ResolvedServerSpecApplyConfiguration
- func (b *ResolvedServerSpecApplyConfiguration) WithPorts(values ...*v1beta1.ResolvedPortSpecApplyConfiguration) *ResolvedServerSpecApplyConfiguration
- func (b *ResolvedServerSpecApplyConfiguration) WithServerGroupID(value string) *ResolvedServerSpecApplyConfiguration
- type ServerResourcesApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenStackServerApplyConfiguration ¶
type OpenStackServerApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *OpenStackServerSpecApplyConfiguration `json:"spec,omitempty"` Status *OpenStackServerStatusApplyConfiguration `json:"status,omitempty"` }
OpenStackServerApplyConfiguration represents an declarative configuration of the OpenStackServer type for use with apply.
func ExtractOpenStackServer ¶
func ExtractOpenStackServer(openStackServer *apiv1alpha1.OpenStackServer, fieldManager string) (*OpenStackServerApplyConfiguration, error)
ExtractOpenStackServer extracts the applied configuration owned by fieldManager from openStackServer. If no managedFields are found in openStackServer for fieldManager, a OpenStackServerApplyConfiguration 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. openStackServer must be a unmodified OpenStackServer API object that was retrieved from the Kubernetes API. ExtractOpenStackServer 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 ExtractOpenStackServerStatus ¶
func ExtractOpenStackServerStatus(openStackServer *apiv1alpha1.OpenStackServer, fieldManager string) (*OpenStackServerApplyConfiguration, error)
ExtractOpenStackServerStatus is the same as ExtractOpenStackServer except that it extracts the status subresource applied configuration. Experimental!
func OpenStackServer ¶
func OpenStackServer(name, namespace string) *OpenStackServerApplyConfiguration
OpenStackServer constructs an declarative configuration of the OpenStackServer type for use with apply.
func (*OpenStackServerApplyConfiguration) WithAPIVersion ¶
func (b *OpenStackServerApplyConfiguration) WithAPIVersion(value string) *OpenStackServerApplyConfiguration
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 (*OpenStackServerApplyConfiguration) WithAnnotations ¶
func (b *OpenStackServerApplyConfiguration) WithAnnotations(entries map[string]string) *OpenStackServerApplyConfiguration
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 (*OpenStackServerApplyConfiguration) WithCreationTimestamp ¶
func (b *OpenStackServerApplyConfiguration) WithCreationTimestamp(value metav1.Time) *OpenStackServerApplyConfiguration
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 (*OpenStackServerApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *OpenStackServerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *OpenStackServerApplyConfiguration
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 (*OpenStackServerApplyConfiguration) WithDeletionTimestamp ¶
func (b *OpenStackServerApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *OpenStackServerApplyConfiguration
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 (*OpenStackServerApplyConfiguration) WithFinalizers ¶
func (b *OpenStackServerApplyConfiguration) WithFinalizers(values ...string) *OpenStackServerApplyConfiguration
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 (*OpenStackServerApplyConfiguration) WithGenerateName ¶
func (b *OpenStackServerApplyConfiguration) WithGenerateName(value string) *OpenStackServerApplyConfiguration
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 (*OpenStackServerApplyConfiguration) WithGeneration ¶
func (b *OpenStackServerApplyConfiguration) WithGeneration(value int64) *OpenStackServerApplyConfiguration
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 (*OpenStackServerApplyConfiguration) WithKind ¶
func (b *OpenStackServerApplyConfiguration) WithKind(value string) *OpenStackServerApplyConfiguration
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 (*OpenStackServerApplyConfiguration) WithLabels ¶
func (b *OpenStackServerApplyConfiguration) WithLabels(entries map[string]string) *OpenStackServerApplyConfiguration
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 (*OpenStackServerApplyConfiguration) WithName ¶
func (b *OpenStackServerApplyConfiguration) WithName(value string) *OpenStackServerApplyConfiguration
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 (*OpenStackServerApplyConfiguration) WithNamespace ¶
func (b *OpenStackServerApplyConfiguration) WithNamespace(value string) *OpenStackServerApplyConfiguration
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 (*OpenStackServerApplyConfiguration) WithOwnerReferences ¶
func (b *OpenStackServerApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *OpenStackServerApplyConfiguration
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 (*OpenStackServerApplyConfiguration) WithResourceVersion ¶
func (b *OpenStackServerApplyConfiguration) WithResourceVersion(value string) *OpenStackServerApplyConfiguration
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 (*OpenStackServerApplyConfiguration) WithSpec ¶
func (b *OpenStackServerApplyConfiguration) WithSpec(value *OpenStackServerSpecApplyConfiguration) *OpenStackServerApplyConfiguration
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 (*OpenStackServerApplyConfiguration) WithStatus ¶
func (b *OpenStackServerApplyConfiguration) WithStatus(value *OpenStackServerStatusApplyConfiguration) *OpenStackServerApplyConfiguration
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 (*OpenStackServerApplyConfiguration) WithUID ¶
func (b *OpenStackServerApplyConfiguration) WithUID(value types.UID) *OpenStackServerApplyConfiguration
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 OpenStackServerSpecApplyConfiguration ¶
type OpenStackServerSpecApplyConfiguration struct { AdditionalBlockDevices []v1beta1.AdditionalBlockDeviceApplyConfiguration `json:"additionalBlockDevices,omitempty"` AvailabilityZone *string `json:"availabilityZone,omitempty"` ConfigDrive *bool `json:"configDrive,omitempty"` Flavor *string `json:"flavor,omitempty"` FlavorID *string `json:"flavorID,omitempty"` FloatingIPPoolRef *v1.TypedLocalObjectReference `json:"floatingIPPoolRef,omitempty"` IdentityRef *v1beta1.OpenStackIdentityReferenceApplyConfiguration `json:"identityRef,omitempty"` Image *v1beta1.ImageParamApplyConfiguration `json:"image,omitempty"` Ports []v1beta1.PortOptsApplyConfiguration `json:"ports,omitempty"` RootVolume *v1beta1.RootVolumeApplyConfiguration `json:"rootVolume,omitempty"` SSHKeyName *string `json:"sshKeyName,omitempty"` SecurityGroups []v1beta1.SecurityGroupParamApplyConfiguration `json:"securityGroups,omitempty"` ServerGroup *v1beta1.ServerGroupParamApplyConfiguration `json:"serverGroup,omitempty"` ServerMetadata []v1beta1.ServerMetadataApplyConfiguration `json:"serverMetadata,omitempty"` Tags []string `json:"tags,omitempty"` Trunk *bool `json:"trunk,omitempty"` UserDataRef *v1.LocalObjectReference `json:"userDataRef,omitempty"` SchedulerHintAdditionalProperties []v1beta1.SchedulerHintAdditionalPropertyApplyConfiguration `json:"schedulerHintAdditionalProperties,omitempty"` }
OpenStackServerSpecApplyConfiguration represents an declarative configuration of the OpenStackServerSpec type for use with apply.
func OpenStackServerSpec ¶
func OpenStackServerSpec() *OpenStackServerSpecApplyConfiguration
OpenStackServerSpecApplyConfiguration constructs an declarative configuration of the OpenStackServerSpec type for use with apply.
func (*OpenStackServerSpecApplyConfiguration) WithAdditionalBlockDevices ¶
func (b *OpenStackServerSpecApplyConfiguration) WithAdditionalBlockDevices(values ...*v1beta1.AdditionalBlockDeviceApplyConfiguration) *OpenStackServerSpecApplyConfiguration
WithAdditionalBlockDevices adds the given value to the AdditionalBlockDevices 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 AdditionalBlockDevices field.
func (*OpenStackServerSpecApplyConfiguration) WithAvailabilityZone ¶
func (b *OpenStackServerSpecApplyConfiguration) WithAvailabilityZone(value string) *OpenStackServerSpecApplyConfiguration
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 (*OpenStackServerSpecApplyConfiguration) WithConfigDrive ¶
func (b *OpenStackServerSpecApplyConfiguration) WithConfigDrive(value bool) *OpenStackServerSpecApplyConfiguration
WithConfigDrive sets the ConfigDrive field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ConfigDrive field is set to the value of the last call.
func (*OpenStackServerSpecApplyConfiguration) WithFlavor ¶
func (b *OpenStackServerSpecApplyConfiguration) WithFlavor(value string) *OpenStackServerSpecApplyConfiguration
WithFlavor sets the Flavor field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Flavor field is set to the value of the last call.
func (*OpenStackServerSpecApplyConfiguration) WithFlavorID ¶
func (b *OpenStackServerSpecApplyConfiguration) WithFlavorID(value string) *OpenStackServerSpecApplyConfiguration
WithFlavorID sets the FlavorID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FlavorID field is set to the value of the last call.
func (*OpenStackServerSpecApplyConfiguration) WithFloatingIPPoolRef ¶
func (b *OpenStackServerSpecApplyConfiguration) WithFloatingIPPoolRef(value v1.TypedLocalObjectReference) *OpenStackServerSpecApplyConfiguration
WithFloatingIPPoolRef sets the FloatingIPPoolRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FloatingIPPoolRef field is set to the value of the last call.
func (*OpenStackServerSpecApplyConfiguration) WithIdentityRef ¶
func (b *OpenStackServerSpecApplyConfiguration) WithIdentityRef(value *v1beta1.OpenStackIdentityReferenceApplyConfiguration) *OpenStackServerSpecApplyConfiguration
WithIdentityRef sets the IdentityRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IdentityRef field is set to the value of the last call.
func (*OpenStackServerSpecApplyConfiguration) WithImage ¶
func (b *OpenStackServerSpecApplyConfiguration) WithImage(value *v1beta1.ImageParamApplyConfiguration) *OpenStackServerSpecApplyConfiguration
WithImage sets the Image field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Image field is set to the value of the last call.
func (*OpenStackServerSpecApplyConfiguration) WithPorts ¶
func (b *OpenStackServerSpecApplyConfiguration) WithPorts(values ...*v1beta1.PortOptsApplyConfiguration) *OpenStackServerSpecApplyConfiguration
WithPorts adds the given value to the Ports field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Ports field.
func (*OpenStackServerSpecApplyConfiguration) WithRootVolume ¶
func (b *OpenStackServerSpecApplyConfiguration) WithRootVolume(value *v1beta1.RootVolumeApplyConfiguration) *OpenStackServerSpecApplyConfiguration
WithRootVolume sets the RootVolume field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RootVolume field is set to the value of the last call.
func (*OpenStackServerSpecApplyConfiguration) WithSSHKeyName ¶
func (b *OpenStackServerSpecApplyConfiguration) WithSSHKeyName(value string) *OpenStackServerSpecApplyConfiguration
WithSSHKeyName sets the SSHKeyName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SSHKeyName field is set to the value of the last call.
func (*OpenStackServerSpecApplyConfiguration) WithSchedulerHintAdditionalProperties ¶
func (b *OpenStackServerSpecApplyConfiguration) WithSchedulerHintAdditionalProperties(values ...*v1beta1.SchedulerHintAdditionalPropertyApplyConfiguration) *OpenStackServerSpecApplyConfiguration
WithSchedulerHintAdditionalProperties adds the given value to the SchedulerHintAdditionalProperties 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 SchedulerHintAdditionalProperties field.
func (*OpenStackServerSpecApplyConfiguration) WithSecurityGroups ¶
func (b *OpenStackServerSpecApplyConfiguration) WithSecurityGroups(values ...*v1beta1.SecurityGroupParamApplyConfiguration) *OpenStackServerSpecApplyConfiguration
WithSecurityGroups adds the given value to the SecurityGroups 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 SecurityGroups field.
func (*OpenStackServerSpecApplyConfiguration) WithServerGroup ¶
func (b *OpenStackServerSpecApplyConfiguration) WithServerGroup(value *v1beta1.ServerGroupParamApplyConfiguration) *OpenStackServerSpecApplyConfiguration
WithServerGroup sets the ServerGroup field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServerGroup field is set to the value of the last call.
func (*OpenStackServerSpecApplyConfiguration) WithServerMetadata ¶
func (b *OpenStackServerSpecApplyConfiguration) WithServerMetadata(values ...*v1beta1.ServerMetadataApplyConfiguration) *OpenStackServerSpecApplyConfiguration
WithServerMetadata adds the given value to the ServerMetadata 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 ServerMetadata field.
func (*OpenStackServerSpecApplyConfiguration) WithTags ¶
func (b *OpenStackServerSpecApplyConfiguration) WithTags(values ...string) *OpenStackServerSpecApplyConfiguration
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 (*OpenStackServerSpecApplyConfiguration) WithTrunk ¶
func (b *OpenStackServerSpecApplyConfiguration) WithTrunk(value bool) *OpenStackServerSpecApplyConfiguration
WithTrunk sets the Trunk field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Trunk field is set to the value of the last call.
func (*OpenStackServerSpecApplyConfiguration) WithUserDataRef ¶
func (b *OpenStackServerSpecApplyConfiguration) WithUserDataRef(value v1.LocalObjectReference) *OpenStackServerSpecApplyConfiguration
WithUserDataRef sets the UserDataRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UserDataRef field is set to the value of the last call.
type OpenStackServerStatusApplyConfiguration ¶
type OpenStackServerStatusApplyConfiguration struct { Ready *bool `json:"ready,omitempty"` InstanceID *string `json:"instanceID,omitempty"` InstanceState *v1beta1.InstanceState `json:"instanceState,omitempty"` Addresses []v1.NodeAddress `json:"addresses,omitempty"` Resolved *ResolvedServerSpecApplyConfiguration `json:"resolved,omitempty"` Resources *ServerResourcesApplyConfiguration `json:"resources,omitempty"` Conditions *apiv1beta1.Conditions `json:"conditions,omitempty"` }
OpenStackServerStatusApplyConfiguration represents an declarative configuration of the OpenStackServerStatus type for use with apply.
func OpenStackServerStatus ¶
func OpenStackServerStatus() *OpenStackServerStatusApplyConfiguration
OpenStackServerStatusApplyConfiguration constructs an declarative configuration of the OpenStackServerStatus type for use with apply.
func (*OpenStackServerStatusApplyConfiguration) WithAddresses ¶
func (b *OpenStackServerStatusApplyConfiguration) WithAddresses(values ...v1.NodeAddress) *OpenStackServerStatusApplyConfiguration
WithAddresses adds the given value to the Addresses 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 Addresses field.
func (*OpenStackServerStatusApplyConfiguration) WithConditions ¶
func (b *OpenStackServerStatusApplyConfiguration) WithConditions(value apiv1beta1.Conditions) *OpenStackServerStatusApplyConfiguration
WithConditions sets the Conditions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Conditions field is set to the value of the last call.
func (*OpenStackServerStatusApplyConfiguration) WithInstanceID ¶
func (b *OpenStackServerStatusApplyConfiguration) WithInstanceID(value string) *OpenStackServerStatusApplyConfiguration
WithInstanceID sets the InstanceID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the InstanceID field is set to the value of the last call.
func (*OpenStackServerStatusApplyConfiguration) WithInstanceState ¶
func (b *OpenStackServerStatusApplyConfiguration) WithInstanceState(value v1beta1.InstanceState) *OpenStackServerStatusApplyConfiguration
WithInstanceState sets the InstanceState field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the InstanceState field is set to the value of the last call.
func (*OpenStackServerStatusApplyConfiguration) WithReady ¶
func (b *OpenStackServerStatusApplyConfiguration) WithReady(value bool) *OpenStackServerStatusApplyConfiguration
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 (*OpenStackServerStatusApplyConfiguration) WithResolved ¶
func (b *OpenStackServerStatusApplyConfiguration) WithResolved(value *ResolvedServerSpecApplyConfiguration) *OpenStackServerStatusApplyConfiguration
WithResolved sets the Resolved field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resolved field is set to the value of the last call.
func (*OpenStackServerStatusApplyConfiguration) WithResources ¶
func (b *OpenStackServerStatusApplyConfiguration) WithResources(value *ServerResourcesApplyConfiguration) *OpenStackServerStatusApplyConfiguration
WithResources sets the Resources field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resources field is set to the value of the last call.
type ResolvedServerSpecApplyConfiguration ¶
type ResolvedServerSpecApplyConfiguration struct { ServerGroupID *string `json:"serverGroupID,omitempty"` ImageID *string `json:"imageID,omitempty"` FlavorID *string `json:"flavorID,omitempty"` Ports []v1beta1.ResolvedPortSpecApplyConfiguration `json:"ports,omitempty"` }
ResolvedServerSpecApplyConfiguration represents an declarative configuration of the ResolvedServerSpec type for use with apply.
func ResolvedServerSpec ¶
func ResolvedServerSpec() *ResolvedServerSpecApplyConfiguration
ResolvedServerSpecApplyConfiguration constructs an declarative configuration of the ResolvedServerSpec type for use with apply.
func (*ResolvedServerSpecApplyConfiguration) WithFlavorID ¶
func (b *ResolvedServerSpecApplyConfiguration) WithFlavorID(value string) *ResolvedServerSpecApplyConfiguration
WithFlavorID sets the FlavorID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FlavorID field is set to the value of the last call.
func (*ResolvedServerSpecApplyConfiguration) WithImageID ¶
func (b *ResolvedServerSpecApplyConfiguration) WithImageID(value string) *ResolvedServerSpecApplyConfiguration
WithImageID sets the ImageID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ImageID field is set to the value of the last call.
func (*ResolvedServerSpecApplyConfiguration) WithPorts ¶
func (b *ResolvedServerSpecApplyConfiguration) WithPorts(values ...*v1beta1.ResolvedPortSpecApplyConfiguration) *ResolvedServerSpecApplyConfiguration
WithPorts adds the given value to the Ports field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Ports field.
func (*ResolvedServerSpecApplyConfiguration) WithServerGroupID ¶
func (b *ResolvedServerSpecApplyConfiguration) WithServerGroupID(value string) *ResolvedServerSpecApplyConfiguration
WithServerGroupID sets the ServerGroupID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServerGroupID field is set to the value of the last call.
type ServerResourcesApplyConfiguration ¶
type ServerResourcesApplyConfiguration struct {
Ports []v1beta1.PortStatusApplyConfiguration `json:"ports,omitempty"`
}
ServerResourcesApplyConfiguration represents an declarative configuration of the ServerResources type for use with apply.
func ServerResources ¶
func ServerResources() *ServerResourcesApplyConfiguration
ServerResourcesApplyConfiguration constructs an declarative configuration of the ServerResources type for use with apply.
func (*ServerResourcesApplyConfiguration) WithPorts ¶
func (b *ServerResourcesApplyConfiguration) WithPorts(values ...*v1beta1.PortStatusApplyConfiguration) *ServerResourcesApplyConfiguration
WithPorts adds the given value to the Ports field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Ports field.