v1alpha1

package
v3.0.0-pre1 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

This section is empty.

Types ¶

type AddressApplyConfiguration ¶

type AddressApplyConfiguration struct {
	IP        *apiv1alpha1.IPvAny            `json:"ip,omitempty"`
	SubnetRef *apiv1alpha1.KubernetesNameRef `json:"subnetRef,omitempty"`
}

AddressApplyConfiguration represents a declarative configuration of the Address type for use with apply.

func Address ¶

func Address() *AddressApplyConfiguration

AddressApplyConfiguration constructs a declarative configuration of the Address type for use with apply.

func (*AddressApplyConfiguration) WithIP ¶

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 (*AddressApplyConfiguration) WithSubnetRef ¶

WithSubnetRef sets the SubnetRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SubnetRef field is set to the value of the last call.

type AddressScopeApplyConfiguration ¶

type AddressScopeApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *AddressScopeSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *AddressScopeStatusApplyConfiguration `json:"status,omitempty"`
}

AddressScopeApplyConfiguration represents a declarative configuration of the AddressScope type for use with apply.

func AddressScope ¶

func AddressScope(name, namespace string) *AddressScopeApplyConfiguration

AddressScope constructs a declarative configuration of the AddressScope type for use with apply.

func ExtractAddressScope ¶

func ExtractAddressScope(addressScope *apiv1alpha1.AddressScope, fieldManager string) (*AddressScopeApplyConfiguration, error)

ExtractAddressScope extracts the applied configuration owned by fieldManager from addressScope. If no managedFields are found in addressScope for fieldManager, a AddressScopeApplyConfiguration 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. addressScope must be a unmodified AddressScope API object that was retrieved from the Kubernetes API. ExtractAddressScope 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 ExtractAddressScopeStatus ¶

func ExtractAddressScopeStatus(addressScope *apiv1alpha1.AddressScope, fieldManager string) (*AddressScopeApplyConfiguration, error)

ExtractAddressScopeStatus is the same as ExtractAddressScope except that it extracts the status subresource applied configuration. Experimental!

func (*AddressScopeApplyConfiguration) GetAPIVersion ¶

func (b *AddressScopeApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*AddressScopeApplyConfiguration) GetKind ¶

func (b *AddressScopeApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*AddressScopeApplyConfiguration) GetName ¶

func (b *AddressScopeApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*AddressScopeApplyConfiguration) GetNamespace ¶

func (b *AddressScopeApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (AddressScopeApplyConfiguration) IsApplyConfiguration ¶

func (b AddressScopeApplyConfiguration) IsApplyConfiguration()

func (*AddressScopeApplyConfiguration) WithAPIVersion ¶

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*AddressScopeApplyConfiguration) WithAnnotations ¶

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*AddressScopeApplyConfiguration) WithCreationTimestamp ¶

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*AddressScopeApplyConfiguration) WithDeletionGracePeriodSeconds ¶

func (b *AddressScopeApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *AddressScopeApplyConfiguration

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 (*AddressScopeApplyConfiguration) WithDeletionTimestamp ¶

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*AddressScopeApplyConfiguration) WithFinalizers ¶

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*AddressScopeApplyConfiguration) WithGenerateName ¶

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*AddressScopeApplyConfiguration) WithGeneration ¶

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*AddressScopeApplyConfiguration) WithKind ¶

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*AddressScopeApplyConfiguration) WithLabels ¶

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*AddressScopeApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*AddressScopeApplyConfiguration) WithNamespace ¶

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*AddressScopeApplyConfiguration) WithOwnerReferences ¶

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*AddressScopeApplyConfiguration) WithResourceVersion ¶

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*AddressScopeApplyConfiguration) WithSpec ¶

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*AddressScopeApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*AddressScopeApplyConfiguration) WithUID ¶

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type AddressScopeFilterApplyConfiguration ¶

type AddressScopeFilterApplyConfiguration struct {
	Name       *apiv1alpha1.OpenStackName     `json:"name,omitempty"`
	ProjectRef *apiv1alpha1.KubernetesNameRef `json:"projectRef,omitempty"`
	IPVersion  *apiv1alpha1.IPVersion         `json:"ipVersion,omitempty"`
	Shared     *bool                          `json:"shared,omitempty"`
}

AddressScopeFilterApplyConfiguration represents a declarative configuration of the AddressScopeFilter type for use with apply.

func AddressScopeFilter ¶

func AddressScopeFilter() *AddressScopeFilterApplyConfiguration

AddressScopeFilterApplyConfiguration constructs a declarative configuration of the AddressScopeFilter type for use with apply.

func (*AddressScopeFilterApplyConfiguration) WithIPVersion ¶

WithIPVersion sets the IPVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPVersion field is set to the value of the last call.

func (*AddressScopeFilterApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*AddressScopeFilterApplyConfiguration) WithProjectRef ¶

WithProjectRef sets the ProjectRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectRef field is set to the value of the last call.

func (*AddressScopeFilterApplyConfiguration) WithShared ¶

WithShared sets the Shared field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Shared field is set to the value of the last call.

type AddressScopeImportApplyConfiguration ¶

type AddressScopeImportApplyConfiguration struct {
	ID     *string                               `json:"id,omitempty"`
	Filter *AddressScopeFilterApplyConfiguration `json:"filter,omitempty"`
}

AddressScopeImportApplyConfiguration represents a declarative configuration of the AddressScopeImport type for use with apply.

func AddressScopeImport ¶

func AddressScopeImport() *AddressScopeImportApplyConfiguration

AddressScopeImportApplyConfiguration constructs a declarative configuration of the AddressScopeImport type for use with apply.

func (*AddressScopeImportApplyConfiguration) WithFilter ¶

WithFilter sets the Filter field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Filter field is set to the value of the last call.

func (*AddressScopeImportApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

type AddressScopeResourceSpecApplyConfiguration ¶

type AddressScopeResourceSpecApplyConfiguration struct {
	Name       *apiv1alpha1.OpenStackName     `json:"name,omitempty"`
	ProjectRef *apiv1alpha1.KubernetesNameRef `json:"projectRef,omitempty"`
	IPVersion  *apiv1alpha1.IPVersion         `json:"ipVersion,omitempty"`
	Shared     *bool                          `json:"shared,omitempty"`
}

AddressScopeResourceSpecApplyConfiguration represents a declarative configuration of the AddressScopeResourceSpec type for use with apply.

func AddressScopeResourceSpec ¶

func AddressScopeResourceSpec() *AddressScopeResourceSpecApplyConfiguration

AddressScopeResourceSpecApplyConfiguration constructs a declarative configuration of the AddressScopeResourceSpec type for use with apply.

func (*AddressScopeResourceSpecApplyConfiguration) WithIPVersion ¶

WithIPVersion sets the IPVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPVersion field is set to the value of the last call.

func (*AddressScopeResourceSpecApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*AddressScopeResourceSpecApplyConfiguration) WithProjectRef ¶

WithProjectRef sets the ProjectRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectRef field is set to the value of the last call.

func (*AddressScopeResourceSpecApplyConfiguration) WithShared ¶

WithShared sets the Shared field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Shared field is set to the value of the last call.

type AddressScopeResourceStatusApplyConfiguration ¶

type AddressScopeResourceStatusApplyConfiguration struct {
	Name      *string `json:"name,omitempty"`
	ProjectID *string `json:"projectID,omitempty"`
	IPVersion *int32  `json:"ipVersion,omitempty"`
	Shared    *bool   `json:"shared,omitempty"`
}

AddressScopeResourceStatusApplyConfiguration represents a declarative configuration of the AddressScopeResourceStatus type for use with apply.

func AddressScopeResourceStatus ¶

func AddressScopeResourceStatus() *AddressScopeResourceStatusApplyConfiguration

AddressScopeResourceStatusApplyConfiguration constructs a declarative configuration of the AddressScopeResourceStatus type for use with apply.

func (*AddressScopeResourceStatusApplyConfiguration) WithIPVersion ¶

WithIPVersion sets the IPVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPVersion field is set to the value of the last call.

func (*AddressScopeResourceStatusApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*AddressScopeResourceStatusApplyConfiguration) WithProjectID ¶

WithProjectID sets the ProjectID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectID field is set to the value of the last call.

func (*AddressScopeResourceStatusApplyConfiguration) WithShared ¶

WithShared sets the Shared field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Shared field is set to the value of the last call.

type AddressScopeSpecApplyConfiguration ¶

type AddressScopeSpecApplyConfiguration struct {
	Import              *AddressScopeImportApplyConfiguration        `json:"import,omitempty"`
	Resource            *AddressScopeResourceSpecApplyConfiguration  `json:"resource,omitempty"`
	ManagementPolicy    *apiv1alpha1.ManagementPolicy                `json:"managementPolicy,omitempty"`
	ManagedOptions      *ManagedOptionsApplyConfiguration            `json:"managedOptions,omitempty"`
	ResyncPeriod        *v1.Duration                                 `json:"resyncPeriod,omitempty"`
	CloudCredentialsRef *CloudCredentialsReferenceApplyConfiguration `json:"cloudCredentialsRef,omitempty"`
}

AddressScopeSpecApplyConfiguration represents a declarative configuration of the AddressScopeSpec type for use with apply.

func AddressScopeSpec ¶

func AddressScopeSpec() *AddressScopeSpecApplyConfiguration

AddressScopeSpecApplyConfiguration constructs a declarative configuration of the AddressScopeSpec type for use with apply.

func (*AddressScopeSpecApplyConfiguration) WithCloudCredentialsRef ¶

WithCloudCredentialsRef sets the CloudCredentialsRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CloudCredentialsRef field is set to the value of the last call.

func (*AddressScopeSpecApplyConfiguration) WithImport ¶

WithImport sets the Import field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Import field is set to the value of the last call.

func (*AddressScopeSpecApplyConfiguration) WithManagedOptions ¶

WithManagedOptions sets the ManagedOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagedOptions field is set to the value of the last call.

func (*AddressScopeSpecApplyConfiguration) WithManagementPolicy ¶

WithManagementPolicy sets the ManagementPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementPolicy field is set to the value of the last call.

func (*AddressScopeSpecApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

func (*AddressScopeSpecApplyConfiguration) WithResyncPeriod ¶

WithResyncPeriod sets the ResyncPeriod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResyncPeriod field is set to the value of the last call.

type AddressScopeStatusApplyConfiguration ¶

type AddressScopeStatusApplyConfiguration struct {
	Conditions   []v1.ConditionApplyConfiguration              `json:"conditions,omitempty"`
	ID           *string                                       `json:"id,omitempty"`
	Resource     *AddressScopeResourceStatusApplyConfiguration `json:"resource,omitempty"`
	LastSyncTime *metav1.Time                                  `json:"lastSyncTime,omitempty"`
}

AddressScopeStatusApplyConfiguration represents a declarative configuration of the AddressScopeStatus type for use with apply.

func AddressScopeStatus ¶

func AddressScopeStatus() *AddressScopeStatusApplyConfiguration

AddressScopeStatusApplyConfiguration constructs a declarative configuration of the AddressScopeStatus type for use with apply.

func (*AddressScopeStatusApplyConfiguration) WithConditions ¶

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*AddressScopeStatusApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*AddressScopeStatusApplyConfiguration) WithLastSyncTime ¶

WithLastSyncTime sets the LastSyncTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastSyncTime field is set to the value of the last call.

func (*AddressScopeStatusApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

type AllocationPoolApplyConfiguration ¶

type AllocationPoolApplyConfiguration struct {
	Start *apiv1alpha1.IPvAny `json:"start,omitempty"`
	End   *apiv1alpha1.IPvAny `json:"end,omitempty"`
}

AllocationPoolApplyConfiguration represents a declarative configuration of the AllocationPool type for use with apply.

func AllocationPool ¶

func AllocationPool() *AllocationPoolApplyConfiguration

AllocationPoolApplyConfiguration constructs a declarative configuration of the AllocationPool type for use with apply.

func (*AllocationPoolApplyConfiguration) WithEnd ¶

WithEnd sets the End field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the End field is set to the value of the last call.

func (*AllocationPoolApplyConfiguration) WithStart ¶

WithStart sets the Start field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Start field is set to the value of the last call.

type AllocationPoolStatusApplyConfiguration ¶

type AllocationPoolStatusApplyConfiguration struct {
	Start *string `json:"start,omitempty"`
	End   *string `json:"end,omitempty"`
}

AllocationPoolStatusApplyConfiguration represents a declarative configuration of the AllocationPoolStatus type for use with apply.

func AllocationPoolStatus ¶

func AllocationPoolStatus() *AllocationPoolStatusApplyConfiguration

AllocationPoolStatusApplyConfiguration constructs a declarative configuration of the AllocationPoolStatus type for use with apply.

func (*AllocationPoolStatusApplyConfiguration) WithEnd ¶

WithEnd sets the End field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the End field is set to the value of the last call.

func (*AllocationPoolStatusApplyConfiguration) WithStart ¶

WithStart sets the Start field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Start field is set to the value of the last call.

type AllowedAddressPairApplyConfiguration ¶

type AllowedAddressPairApplyConfiguration struct {
	IP  *apiv1alpha1.IPvAny `json:"ip,omitempty"`
	MAC *apiv1alpha1.MAC    `json:"mac,omitempty"`
}

AllowedAddressPairApplyConfiguration represents a declarative configuration of the AllowedAddressPair type for use with apply.

func AllowedAddressPair ¶

func AllowedAddressPair() *AllowedAddressPairApplyConfiguration

AllowedAddressPairApplyConfiguration constructs a declarative configuration of the AllowedAddressPair type for use with apply.

func (*AllowedAddressPairApplyConfiguration) WithIP ¶

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 (*AllowedAddressPairApplyConfiguration) WithMAC ¶

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.

type AllowedAddressPairStatusApplyConfiguration ¶

type AllowedAddressPairStatusApplyConfiguration struct {
	IP  *string `json:"ip,omitempty"`
	MAC *string `json:"mac,omitempty"`
}

AllowedAddressPairStatusApplyConfiguration represents a declarative configuration of the AllowedAddressPairStatus type for use with apply.

func AllowedAddressPairStatus ¶

func AllowedAddressPairStatus() *AllowedAddressPairStatusApplyConfiguration

AllowedAddressPairStatusApplyConfiguration constructs a declarative configuration of the AllowedAddressPairStatus type for use with apply.

func (*AllowedAddressPairStatusApplyConfiguration) WithIP ¶

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 (*AllowedAddressPairStatusApplyConfiguration) WithMAC ¶

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.

type ApplicationCredentialAccessRuleApplyConfiguration ¶

type ApplicationCredentialAccessRuleApplyConfiguration struct {
	Path       *string                        `json:"path,omitempty"`
	Method     *apiv1alpha1.HTTPMethod        `json:"method,omitempty"`
	ServiceRef *apiv1alpha1.KubernetesNameRef `json:"serviceRef,omitempty"`
}

ApplicationCredentialAccessRuleApplyConfiguration represents a declarative configuration of the ApplicationCredentialAccessRule type for use with apply.

func ApplicationCredentialAccessRule ¶

func ApplicationCredentialAccessRule() *ApplicationCredentialAccessRuleApplyConfiguration

ApplicationCredentialAccessRuleApplyConfiguration constructs a declarative configuration of the ApplicationCredentialAccessRule type for use with apply.

func (*ApplicationCredentialAccessRuleApplyConfiguration) WithMethod ¶

WithMethod sets the Method field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Method field is set to the value of the last call.

func (*ApplicationCredentialAccessRuleApplyConfiguration) WithPath ¶

WithPath sets the Path field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Path field is set to the value of the last call.

func (*ApplicationCredentialAccessRuleApplyConfiguration) WithServiceRef ¶

WithServiceRef sets the ServiceRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServiceRef field is set to the value of the last call.

type ApplicationCredentialAccessRuleStatusApplyConfiguration ¶

type ApplicationCredentialAccessRuleStatusApplyConfiguration struct {
	ID      *string `json:"id,omitempty"`
	Path    *string `json:"path,omitempty"`
	Method  *string `json:"method,omitempty"`
	Service *string `json:"service,omitempty"`
}

ApplicationCredentialAccessRuleStatusApplyConfiguration represents a declarative configuration of the ApplicationCredentialAccessRuleStatus type for use with apply.

func ApplicationCredentialAccessRuleStatus ¶

func ApplicationCredentialAccessRuleStatus() *ApplicationCredentialAccessRuleStatusApplyConfiguration

ApplicationCredentialAccessRuleStatusApplyConfiguration constructs a declarative configuration of the ApplicationCredentialAccessRuleStatus type for use with apply.

func (*ApplicationCredentialAccessRuleStatusApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*ApplicationCredentialAccessRuleStatusApplyConfiguration) WithMethod ¶

WithMethod sets the Method field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Method field is set to the value of the last call.

func (*ApplicationCredentialAccessRuleStatusApplyConfiguration) WithPath ¶

WithPath sets the Path field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Path field is set to the value of the last call.

func (*ApplicationCredentialAccessRuleStatusApplyConfiguration) WithService ¶

WithService sets the Service field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Service field is set to the value of the last call.

type ApplicationCredentialApplyConfiguration ¶

type ApplicationCredentialApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *ApplicationCredentialSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *ApplicationCredentialStatusApplyConfiguration `json:"status,omitempty"`
}

ApplicationCredentialApplyConfiguration represents a declarative configuration of the ApplicationCredential type for use with apply.

func ApplicationCredential ¶

func ApplicationCredential(name, namespace string) *ApplicationCredentialApplyConfiguration

ApplicationCredential constructs a declarative configuration of the ApplicationCredential type for use with apply.

func ExtractApplicationCredential ¶

func ExtractApplicationCredential(applicationCredential *apiv1alpha1.ApplicationCredential, fieldManager string) (*ApplicationCredentialApplyConfiguration, error)

ExtractApplicationCredential extracts the applied configuration owned by fieldManager from applicationCredential. If no managedFields are found in applicationCredential for fieldManager, a ApplicationCredentialApplyConfiguration 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. applicationCredential must be a unmodified ApplicationCredential API object that was retrieved from the Kubernetes API. ExtractApplicationCredential 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 ExtractApplicationCredentialStatus ¶

func ExtractApplicationCredentialStatus(applicationCredential *apiv1alpha1.ApplicationCredential, fieldManager string) (*ApplicationCredentialApplyConfiguration, error)

ExtractApplicationCredentialStatus is the same as ExtractApplicationCredential except that it extracts the status subresource applied configuration. Experimental!

func (*ApplicationCredentialApplyConfiguration) GetAPIVersion ¶

func (b *ApplicationCredentialApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*ApplicationCredentialApplyConfiguration) GetKind ¶

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*ApplicationCredentialApplyConfiguration) GetName ¶

GetName retrieves the value of the Name field in the declarative configuration.

func (*ApplicationCredentialApplyConfiguration) GetNamespace ¶

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (ApplicationCredentialApplyConfiguration) IsApplyConfiguration ¶

func (b ApplicationCredentialApplyConfiguration) IsApplyConfiguration()

func (*ApplicationCredentialApplyConfiguration) WithAPIVersion ¶

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*ApplicationCredentialApplyConfiguration) WithAnnotations ¶

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*ApplicationCredentialApplyConfiguration) WithCreationTimestamp ¶

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*ApplicationCredentialApplyConfiguration) WithDeletionGracePeriodSeconds ¶

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 (*ApplicationCredentialApplyConfiguration) WithDeletionTimestamp ¶

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*ApplicationCredentialApplyConfiguration) WithFinalizers ¶

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*ApplicationCredentialApplyConfiguration) WithGenerateName ¶

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*ApplicationCredentialApplyConfiguration) WithGeneration ¶

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*ApplicationCredentialApplyConfiguration) WithKind ¶

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*ApplicationCredentialApplyConfiguration) WithLabels ¶

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*ApplicationCredentialApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*ApplicationCredentialApplyConfiguration) WithNamespace ¶

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*ApplicationCredentialApplyConfiguration) WithOwnerReferences ¶

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*ApplicationCredentialApplyConfiguration) WithResourceVersion ¶

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*ApplicationCredentialApplyConfiguration) WithSpec ¶

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*ApplicationCredentialApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*ApplicationCredentialApplyConfiguration) WithUID ¶

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type ApplicationCredentialFilterApplyConfiguration ¶

type ApplicationCredentialFilterApplyConfiguration struct {
	UserRef     *apiv1alpha1.KubernetesNameRef `json:"userRef,omitempty"`
	Name        *apiv1alpha1.OpenStackName     `json:"name,omitempty"`
	Description *string                        `json:"description,omitempty"`
}

ApplicationCredentialFilterApplyConfiguration represents a declarative configuration of the ApplicationCredentialFilter type for use with apply.

func ApplicationCredentialFilter ¶

func ApplicationCredentialFilter() *ApplicationCredentialFilterApplyConfiguration

ApplicationCredentialFilterApplyConfiguration constructs a declarative configuration of the ApplicationCredentialFilter type for use with apply.

func (*ApplicationCredentialFilterApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*ApplicationCredentialFilterApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*ApplicationCredentialFilterApplyConfiguration) WithUserRef ¶

WithUserRef sets the UserRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UserRef field is set to the value of the last call.

type ApplicationCredentialImportApplyConfiguration ¶

type ApplicationCredentialImportApplyConfiguration struct {
	ID     *string                                        `json:"id,omitempty"`
	Filter *ApplicationCredentialFilterApplyConfiguration `json:"filter,omitempty"`
}

ApplicationCredentialImportApplyConfiguration represents a declarative configuration of the ApplicationCredentialImport type for use with apply.

func ApplicationCredentialImport ¶

func ApplicationCredentialImport() *ApplicationCredentialImportApplyConfiguration

ApplicationCredentialImportApplyConfiguration constructs a declarative configuration of the ApplicationCredentialImport type for use with apply.

func (*ApplicationCredentialImportApplyConfiguration) WithFilter ¶

WithFilter sets the Filter field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Filter field is set to the value of the last call.

func (*ApplicationCredentialImportApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

type ApplicationCredentialResourceSpecApplyConfiguration ¶

type ApplicationCredentialResourceSpecApplyConfiguration struct {
	Name         *apiv1alpha1.OpenStackName                          `json:"name,omitempty"`
	Description  *string                                             `json:"description,omitempty"`
	UserRef      *apiv1alpha1.KubernetesNameRef                      `json:"userRef,omitempty"`
	Unrestricted *bool                                               `json:"unrestricted,omitempty"`
	SecretRef    *apiv1alpha1.KubernetesNameRef                      `json:"secretRef,omitempty"`
	RoleRefs     []apiv1alpha1.KubernetesNameRef                     `json:"roleRefs,omitempty"`
	AccessRules  []ApplicationCredentialAccessRuleApplyConfiguration `json:"accessRules,omitempty"`
	ExpiresAt    *v1.Time                                            `json:"expiresAt,omitempty"`
}

ApplicationCredentialResourceSpecApplyConfiguration represents a declarative configuration of the ApplicationCredentialResourceSpec type for use with apply.

func ApplicationCredentialResourceSpec ¶

func ApplicationCredentialResourceSpec() *ApplicationCredentialResourceSpecApplyConfiguration

ApplicationCredentialResourceSpecApplyConfiguration constructs a declarative configuration of the ApplicationCredentialResourceSpec type for use with apply.

func (*ApplicationCredentialResourceSpecApplyConfiguration) WithAccessRules ¶

WithAccessRules adds the given value to the AccessRules 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 AccessRules field.

func (*ApplicationCredentialResourceSpecApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*ApplicationCredentialResourceSpecApplyConfiguration) WithExpiresAt ¶

WithExpiresAt sets the ExpiresAt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ExpiresAt field is set to the value of the last call.

func (*ApplicationCredentialResourceSpecApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*ApplicationCredentialResourceSpecApplyConfiguration) WithRoleRefs ¶

WithRoleRefs adds the given value to the RoleRefs 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 RoleRefs field.

func (*ApplicationCredentialResourceSpecApplyConfiguration) WithSecretRef ¶

WithSecretRef sets the SecretRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SecretRef field is set to the value of the last call.

func (*ApplicationCredentialResourceSpecApplyConfiguration) WithUnrestricted ¶

WithUnrestricted sets the Unrestricted field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Unrestricted field is set to the value of the last call.

func (*ApplicationCredentialResourceSpecApplyConfiguration) WithUserRef ¶

WithUserRef sets the UserRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UserRef field is set to the value of the last call.

type ApplicationCredentialResourceStatusApplyConfiguration ¶

type ApplicationCredentialResourceStatusApplyConfiguration struct {
	Name         *string                                                   `json:"name,omitempty"`
	Description  *string                                                   `json:"description,omitempty"`
	Unrestricted *bool                                                     `json:"unrestricted,omitempty"`
	ProjectID    *string                                                   `json:"projectID,omitempty"`
	Roles        []ApplicationCredentialRoleStatusApplyConfiguration       `json:"roles,omitempty"`
	ExpiresAt    *v1.Time                                                  `json:"expiresAt,omitempty"`
	AccessRules  []ApplicationCredentialAccessRuleStatusApplyConfiguration `json:"accessRules,omitempty"`
}

ApplicationCredentialResourceStatusApplyConfiguration represents a declarative configuration of the ApplicationCredentialResourceStatus type for use with apply.

func ApplicationCredentialResourceStatus ¶

func ApplicationCredentialResourceStatus() *ApplicationCredentialResourceStatusApplyConfiguration

ApplicationCredentialResourceStatusApplyConfiguration constructs a declarative configuration of the ApplicationCredentialResourceStatus type for use with apply.

func (*ApplicationCredentialResourceStatusApplyConfiguration) WithAccessRules ¶

WithAccessRules adds the given value to the AccessRules 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 AccessRules field.

func (*ApplicationCredentialResourceStatusApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*ApplicationCredentialResourceStatusApplyConfiguration) WithExpiresAt ¶

WithExpiresAt sets the ExpiresAt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ExpiresAt field is set to the value of the last call.

func (*ApplicationCredentialResourceStatusApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*ApplicationCredentialResourceStatusApplyConfiguration) WithProjectID ¶

WithProjectID sets the ProjectID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectID field is set to the value of the last call.

func (*ApplicationCredentialResourceStatusApplyConfiguration) WithRoles ¶

WithRoles adds the given value to the Roles 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 Roles field.

func (*ApplicationCredentialResourceStatusApplyConfiguration) WithUnrestricted ¶

WithUnrestricted sets the Unrestricted field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Unrestricted field is set to the value of the last call.

type ApplicationCredentialRoleStatusApplyConfiguration ¶

type ApplicationCredentialRoleStatusApplyConfiguration struct {
	Name     *string `json:"name,omitempty"`
	ID       *string `json:"id,omitempty"`
	DomainID *string `json:"domainID,omitempty"`
}

ApplicationCredentialRoleStatusApplyConfiguration represents a declarative configuration of the ApplicationCredentialRoleStatus type for use with apply.

func ApplicationCredentialRoleStatus ¶

func ApplicationCredentialRoleStatus() *ApplicationCredentialRoleStatusApplyConfiguration

ApplicationCredentialRoleStatusApplyConfiguration constructs a declarative configuration of the ApplicationCredentialRoleStatus type for use with apply.

func (*ApplicationCredentialRoleStatusApplyConfiguration) WithDomainID ¶

WithDomainID sets the DomainID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DomainID field is set to the value of the last call.

func (*ApplicationCredentialRoleStatusApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*ApplicationCredentialRoleStatusApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

type ApplicationCredentialSpecApplyConfiguration ¶

type ApplicationCredentialSpecApplyConfiguration struct {
	Import              *ApplicationCredentialImportApplyConfiguration       `json:"import,omitempty"`
	Resource            *ApplicationCredentialResourceSpecApplyConfiguration `json:"resource,omitempty"`
	ManagementPolicy    *apiv1alpha1.ManagementPolicy                        `json:"managementPolicy,omitempty"`
	ManagedOptions      *ManagedOptionsApplyConfiguration                    `json:"managedOptions,omitempty"`
	ResyncPeriod        *v1.Duration                                         `json:"resyncPeriod,omitempty"`
	CloudCredentialsRef *CloudCredentialsReferenceApplyConfiguration         `json:"cloudCredentialsRef,omitempty"`
}

ApplicationCredentialSpecApplyConfiguration represents a declarative configuration of the ApplicationCredentialSpec type for use with apply.

func ApplicationCredentialSpec ¶

func ApplicationCredentialSpec() *ApplicationCredentialSpecApplyConfiguration

ApplicationCredentialSpecApplyConfiguration constructs a declarative configuration of the ApplicationCredentialSpec type for use with apply.

func (*ApplicationCredentialSpecApplyConfiguration) WithCloudCredentialsRef ¶

WithCloudCredentialsRef sets the CloudCredentialsRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CloudCredentialsRef field is set to the value of the last call.

func (*ApplicationCredentialSpecApplyConfiguration) WithImport ¶

WithImport sets the Import field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Import field is set to the value of the last call.

func (*ApplicationCredentialSpecApplyConfiguration) WithManagedOptions ¶

WithManagedOptions sets the ManagedOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagedOptions field is set to the value of the last call.

func (*ApplicationCredentialSpecApplyConfiguration) WithManagementPolicy ¶

WithManagementPolicy sets the ManagementPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementPolicy field is set to the value of the last call.

func (*ApplicationCredentialSpecApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

func (*ApplicationCredentialSpecApplyConfiguration) WithResyncPeriod ¶

WithResyncPeriod sets the ResyncPeriod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResyncPeriod field is set to the value of the last call.

type ApplicationCredentialStatusApplyConfiguration ¶

type ApplicationCredentialStatusApplyConfiguration struct {
	Conditions   []v1.ConditionApplyConfiguration                       `json:"conditions,omitempty"`
	ID           *string                                                `json:"id,omitempty"`
	Resource     *ApplicationCredentialResourceStatusApplyConfiguration `json:"resource,omitempty"`
	LastSyncTime *metav1.Time                                           `json:"lastSyncTime,omitempty"`
}

ApplicationCredentialStatusApplyConfiguration represents a declarative configuration of the ApplicationCredentialStatus type for use with apply.

func ApplicationCredentialStatus ¶

func ApplicationCredentialStatus() *ApplicationCredentialStatusApplyConfiguration

ApplicationCredentialStatusApplyConfiguration constructs a declarative configuration of the ApplicationCredentialStatus type for use with apply.

func (*ApplicationCredentialStatusApplyConfiguration) WithConditions ¶

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*ApplicationCredentialStatusApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*ApplicationCredentialStatusApplyConfiguration) WithLastSyncTime ¶

WithLastSyncTime sets the LastSyncTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastSyncTime field is set to the value of the last call.

func (*ApplicationCredentialStatusApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

type CloudCredentialsReferenceApplyConfiguration ¶

type CloudCredentialsReferenceApplyConfiguration struct {
	SecretName *string `json:"secretName,omitempty"`
	CloudName  *string `json:"cloudName,omitempty"`
}

CloudCredentialsReferenceApplyConfiguration represents a declarative configuration of the CloudCredentialsReference type for use with apply.

func CloudCredentialsReference ¶

func CloudCredentialsReference() *CloudCredentialsReferenceApplyConfiguration

CloudCredentialsReferenceApplyConfiguration constructs a declarative configuration of the CloudCredentialsReference type for use with apply.

func (*CloudCredentialsReferenceApplyConfiguration) WithCloudName ¶

WithCloudName sets the CloudName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CloudName field is set to the value of the last call.

func (*CloudCredentialsReferenceApplyConfiguration) WithSecretName ¶

WithSecretName sets the SecretName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SecretName field is set to the value of the last call.

type DNSZoneApplyConfiguration ¶

type DNSZoneApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *DNSZoneSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *DNSZoneStatusApplyConfiguration `json:"status,omitempty"`
}

DNSZoneApplyConfiguration represents a declarative configuration of the DNSZone type for use with apply.

func DNSZone ¶

func DNSZone(name, namespace string) *DNSZoneApplyConfiguration

DNSZone constructs a declarative configuration of the DNSZone type for use with apply.

func ExtractDNSZone ¶

func ExtractDNSZone(dNSZone *apiv1alpha1.DNSZone, fieldManager string) (*DNSZoneApplyConfiguration, error)

ExtractDNSZone extracts the applied configuration owned by fieldManager from dNSZone. If no managedFields are found in dNSZone for fieldManager, a DNSZoneApplyConfiguration 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. dNSZone must be a unmodified DNSZone API object that was retrieved from the Kubernetes API. ExtractDNSZone 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 ExtractDNSZoneStatus ¶

func ExtractDNSZoneStatus(dNSZone *apiv1alpha1.DNSZone, fieldManager string) (*DNSZoneApplyConfiguration, error)

ExtractDNSZoneStatus is the same as ExtractDNSZone except that it extracts the status subresource applied configuration. Experimental!

func (*DNSZoneApplyConfiguration) GetAPIVersion ¶

func (b *DNSZoneApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*DNSZoneApplyConfiguration) GetKind ¶

func (b *DNSZoneApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*DNSZoneApplyConfiguration) GetName ¶

func (b *DNSZoneApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*DNSZoneApplyConfiguration) GetNamespace ¶

func (b *DNSZoneApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (DNSZoneApplyConfiguration) IsApplyConfiguration ¶

func (b DNSZoneApplyConfiguration) IsApplyConfiguration()

func (*DNSZoneApplyConfiguration) WithAPIVersion ¶

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*DNSZoneApplyConfiguration) WithAnnotations ¶

func (b *DNSZoneApplyConfiguration) WithAnnotations(entries map[string]string) *DNSZoneApplyConfiguration

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 (*DNSZoneApplyConfiguration) WithCreationTimestamp ¶

func (b *DNSZoneApplyConfiguration) WithCreationTimestamp(value metav1.Time) *DNSZoneApplyConfiguration

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 (*DNSZoneApplyConfiguration) WithDeletionGracePeriodSeconds ¶

func (b *DNSZoneApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *DNSZoneApplyConfiguration

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 (*DNSZoneApplyConfiguration) WithDeletionTimestamp ¶

func (b *DNSZoneApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *DNSZoneApplyConfiguration

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 (*DNSZoneApplyConfiguration) WithFinalizers ¶

func (b *DNSZoneApplyConfiguration) WithFinalizers(values ...string) *DNSZoneApplyConfiguration

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 (*DNSZoneApplyConfiguration) WithGenerateName ¶

func (b *DNSZoneApplyConfiguration) WithGenerateName(value string) *DNSZoneApplyConfiguration

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 (*DNSZoneApplyConfiguration) WithGeneration ¶

func (b *DNSZoneApplyConfiguration) WithGeneration(value int64) *DNSZoneApplyConfiguration

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 (*DNSZoneApplyConfiguration) WithKind ¶

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*DNSZoneApplyConfiguration) WithLabels ¶

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*DNSZoneApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*DNSZoneApplyConfiguration) WithNamespace ¶

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*DNSZoneApplyConfiguration) WithOwnerReferences ¶

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*DNSZoneApplyConfiguration) WithResourceVersion ¶

func (b *DNSZoneApplyConfiguration) WithResourceVersion(value string) *DNSZoneApplyConfiguration

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 (*DNSZoneApplyConfiguration) WithSpec ¶

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*DNSZoneApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*DNSZoneApplyConfiguration) WithUID ¶

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type DNSZoneFilterApplyConfiguration ¶

type DNSZoneFilterApplyConfiguration struct {
	Name        *apiv1alpha1.DesignateFQDN `json:"name,omitempty"`
	Email       *string                    `json:"email,omitempty"`
	Description *string                    `json:"description,omitempty"`
	Type        *apiv1alpha1.DNSZoneType   `json:"type,omitempty"`
}

DNSZoneFilterApplyConfiguration represents a declarative configuration of the DNSZoneFilter type for use with apply.

func DNSZoneFilter ¶

func DNSZoneFilter() *DNSZoneFilterApplyConfiguration

DNSZoneFilterApplyConfiguration constructs a declarative configuration of the DNSZoneFilter type for use with apply.

func (*DNSZoneFilterApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*DNSZoneFilterApplyConfiguration) WithEmail ¶

WithEmail sets the Email field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Email field is set to the value of the last call.

func (*DNSZoneFilterApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*DNSZoneFilterApplyConfiguration) WithType ¶

WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.

type DNSZoneImportApplyConfiguration ¶

type DNSZoneImportApplyConfiguration struct {
	ID     *string                          `json:"id,omitempty"`
	Filter *DNSZoneFilterApplyConfiguration `json:"filter,omitempty"`
}

DNSZoneImportApplyConfiguration represents a declarative configuration of the DNSZoneImport type for use with apply.

func DNSZoneImport ¶

func DNSZoneImport() *DNSZoneImportApplyConfiguration

DNSZoneImportApplyConfiguration constructs a declarative configuration of the DNSZoneImport type for use with apply.

func (*DNSZoneImportApplyConfiguration) WithFilter ¶

WithFilter sets the Filter field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Filter field is set to the value of the last call.

func (*DNSZoneImportApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

type DNSZoneResourceSpecApplyConfiguration ¶

type DNSZoneResourceSpecApplyConfiguration struct {
	Name        *apiv1alpha1.DesignateFQDN `json:"name,omitempty"`
	Email       *string                    `json:"email,omitempty"`
	Description *string                    `json:"description,omitempty"`
	TTL         *int32                     `json:"ttl,omitempty"`
	Type        *apiv1alpha1.DNSZoneType   `json:"type,omitempty"`
	Masters     []apiv1alpha1.IPvAny       `json:"masters,omitempty"`
}

DNSZoneResourceSpecApplyConfiguration represents a declarative configuration of the DNSZoneResourceSpec type for use with apply.

func DNSZoneResourceSpec ¶

func DNSZoneResourceSpec() *DNSZoneResourceSpecApplyConfiguration

DNSZoneResourceSpecApplyConfiguration constructs a declarative configuration of the DNSZoneResourceSpec type for use with apply.

func (*DNSZoneResourceSpecApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*DNSZoneResourceSpecApplyConfiguration) WithEmail ¶

WithEmail sets the Email field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Email field is set to the value of the last call.

func (*DNSZoneResourceSpecApplyConfiguration) WithMasters ¶

WithMasters adds the given value to the Masters 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 Masters field.

func (*DNSZoneResourceSpecApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*DNSZoneResourceSpecApplyConfiguration) WithTTL ¶

WithTTL sets the TTL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TTL field is set to the value of the last call.

func (*DNSZoneResourceSpecApplyConfiguration) WithType ¶

WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.

type DNSZoneResourceStatusApplyConfiguration ¶

type DNSZoneResourceStatusApplyConfiguration struct {
	Name          *string  `json:"name,omitempty"`
	Email         *string  `json:"email,omitempty"`
	Description   *string  `json:"description,omitempty"`
	TTL           *int32   `json:"ttl,omitempty"`
	Type          *string  `json:"type,omitempty"`
	Masters       []string `json:"masters,omitempty"`
	Serial        *int64   `json:"serial,omitempty"`
	TransferredAt *v1.Time `json:"transferredAt,omitempty"`
	ProjectID     *string  `json:"projectID,omitempty"`
}

DNSZoneResourceStatusApplyConfiguration represents a declarative configuration of the DNSZoneResourceStatus type for use with apply.

func DNSZoneResourceStatus ¶

func DNSZoneResourceStatus() *DNSZoneResourceStatusApplyConfiguration

DNSZoneResourceStatusApplyConfiguration constructs a declarative configuration of the DNSZoneResourceStatus type for use with apply.

func (*DNSZoneResourceStatusApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*DNSZoneResourceStatusApplyConfiguration) WithEmail ¶

WithEmail sets the Email field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Email field is set to the value of the last call.

func (*DNSZoneResourceStatusApplyConfiguration) WithMasters ¶

WithMasters adds the given value to the Masters 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 Masters field.

func (*DNSZoneResourceStatusApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*DNSZoneResourceStatusApplyConfiguration) WithProjectID ¶

WithProjectID sets the ProjectID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectID field is set to the value of the last call.

func (*DNSZoneResourceStatusApplyConfiguration) WithSerial ¶

WithSerial sets the Serial field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Serial field is set to the value of the last call.

func (*DNSZoneResourceStatusApplyConfiguration) WithTTL ¶

WithTTL sets the TTL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TTL field is set to the value of the last call.

func (*DNSZoneResourceStatusApplyConfiguration) WithTransferredAt ¶

WithTransferredAt sets the TransferredAt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TransferredAt field is set to the value of the last call.

func (*DNSZoneResourceStatusApplyConfiguration) WithType ¶

WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.

type DNSZoneSpecApplyConfiguration ¶

type DNSZoneSpecApplyConfiguration struct {
	Import              *DNSZoneImportApplyConfiguration             `json:"import,omitempty"`
	Resource            *DNSZoneResourceSpecApplyConfiguration       `json:"resource,omitempty"`
	ManagementPolicy    *apiv1alpha1.ManagementPolicy                `json:"managementPolicy,omitempty"`
	ManagedOptions      *ManagedOptionsApplyConfiguration            `json:"managedOptions,omitempty"`
	ResyncPeriod        *v1.Duration                                 `json:"resyncPeriod,omitempty"`
	CloudCredentialsRef *CloudCredentialsReferenceApplyConfiguration `json:"cloudCredentialsRef,omitempty"`
}

DNSZoneSpecApplyConfiguration represents a declarative configuration of the DNSZoneSpec type for use with apply.

func DNSZoneSpec ¶

func DNSZoneSpec() *DNSZoneSpecApplyConfiguration

DNSZoneSpecApplyConfiguration constructs a declarative configuration of the DNSZoneSpec type for use with apply.

func (*DNSZoneSpecApplyConfiguration) WithCloudCredentialsRef ¶

WithCloudCredentialsRef sets the CloudCredentialsRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CloudCredentialsRef field is set to the value of the last call.

func (*DNSZoneSpecApplyConfiguration) WithImport ¶

WithImport sets the Import field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Import field is set to the value of the last call.

func (*DNSZoneSpecApplyConfiguration) WithManagedOptions ¶

WithManagedOptions sets the ManagedOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagedOptions field is set to the value of the last call.

func (*DNSZoneSpecApplyConfiguration) WithManagementPolicy ¶

WithManagementPolicy sets the ManagementPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementPolicy field is set to the value of the last call.

func (*DNSZoneSpecApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

func (*DNSZoneSpecApplyConfiguration) WithResyncPeriod ¶

WithResyncPeriod sets the ResyncPeriod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResyncPeriod field is set to the value of the last call.

type DNSZoneStatusApplyConfiguration ¶

type DNSZoneStatusApplyConfiguration struct {
	Conditions   []v1.ConditionApplyConfiguration         `json:"conditions,omitempty"`
	ID           *string                                  `json:"id,omitempty"`
	Resource     *DNSZoneResourceStatusApplyConfiguration `json:"resource,omitempty"`
	LastSyncTime *metav1.Time                             `json:"lastSyncTime,omitempty"`
}

DNSZoneStatusApplyConfiguration represents a declarative configuration of the DNSZoneStatus type for use with apply.

func DNSZoneStatus ¶

func DNSZoneStatus() *DNSZoneStatusApplyConfiguration

DNSZoneStatusApplyConfiguration constructs a declarative configuration of the DNSZoneStatus type for use with apply.

func (*DNSZoneStatusApplyConfiguration) WithConditions ¶

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*DNSZoneStatusApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*DNSZoneStatusApplyConfiguration) WithLastSyncTime ¶

WithLastSyncTime sets the LastSyncTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastSyncTime field is set to the value of the last call.

func (*DNSZoneStatusApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

type DomainApplyConfiguration ¶

type DomainApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *DomainSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *DomainStatusApplyConfiguration `json:"status,omitempty"`
}

DomainApplyConfiguration represents a declarative configuration of the Domain type for use with apply.

func Domain ¶

func Domain(name, namespace string) *DomainApplyConfiguration

Domain constructs a declarative configuration of the Domain type for use with apply.

func ExtractDomain ¶

func ExtractDomain(domain *apiv1alpha1.Domain, fieldManager string) (*DomainApplyConfiguration, error)

ExtractDomain extracts the applied configuration owned by fieldManager from domain. If no managedFields are found in domain for fieldManager, a DomainApplyConfiguration 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. domain must be a unmodified Domain API object that was retrieved from the Kubernetes API. ExtractDomain 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 ExtractDomainStatus ¶

func ExtractDomainStatus(domain *apiv1alpha1.Domain, fieldManager string) (*DomainApplyConfiguration, error)

ExtractDomainStatus is the same as ExtractDomain except that it extracts the status subresource applied configuration. Experimental!

func (*DomainApplyConfiguration) GetAPIVersion ¶

func (b *DomainApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*DomainApplyConfiguration) GetKind ¶

func (b *DomainApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*DomainApplyConfiguration) GetName ¶

func (b *DomainApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*DomainApplyConfiguration) GetNamespace ¶

func (b *DomainApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (DomainApplyConfiguration) IsApplyConfiguration ¶

func (b DomainApplyConfiguration) IsApplyConfiguration()

func (*DomainApplyConfiguration) WithAPIVersion ¶

func (b *DomainApplyConfiguration) WithAPIVersion(value string) *DomainApplyConfiguration

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 (*DomainApplyConfiguration) WithAnnotations ¶

func (b *DomainApplyConfiguration) WithAnnotations(entries map[string]string) *DomainApplyConfiguration

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 (*DomainApplyConfiguration) WithCreationTimestamp ¶

func (b *DomainApplyConfiguration) WithCreationTimestamp(value metav1.Time) *DomainApplyConfiguration

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 (*DomainApplyConfiguration) WithDeletionGracePeriodSeconds ¶

func (b *DomainApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *DomainApplyConfiguration

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 (*DomainApplyConfiguration) WithDeletionTimestamp ¶

func (b *DomainApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *DomainApplyConfiguration

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 (*DomainApplyConfiguration) WithFinalizers ¶

func (b *DomainApplyConfiguration) WithFinalizers(values ...string) *DomainApplyConfiguration

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 (*DomainApplyConfiguration) WithGenerateName ¶

func (b *DomainApplyConfiguration) WithGenerateName(value string) *DomainApplyConfiguration

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 (*DomainApplyConfiguration) WithGeneration ¶

func (b *DomainApplyConfiguration) WithGeneration(value int64) *DomainApplyConfiguration

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 (*DomainApplyConfiguration) WithKind ¶

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*DomainApplyConfiguration) WithLabels ¶

func (b *DomainApplyConfiguration) WithLabels(entries map[string]string) *DomainApplyConfiguration

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 (*DomainApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*DomainApplyConfiguration) WithNamespace ¶

func (b *DomainApplyConfiguration) WithNamespace(value string) *DomainApplyConfiguration

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 (*DomainApplyConfiguration) WithOwnerReferences ¶

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*DomainApplyConfiguration) WithResourceVersion ¶

func (b *DomainApplyConfiguration) WithResourceVersion(value string) *DomainApplyConfiguration

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 (*DomainApplyConfiguration) WithSpec ¶

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*DomainApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*DomainApplyConfiguration) WithUID ¶

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type DomainFilterApplyConfiguration ¶

type DomainFilterApplyConfiguration struct {
	Name    *apiv1alpha1.KeystoneName `json:"name,omitempty"`
	Enabled *bool                     `json:"enabled,omitempty"`
}

DomainFilterApplyConfiguration represents a declarative configuration of the DomainFilter type for use with apply.

func DomainFilter ¶

func DomainFilter() *DomainFilterApplyConfiguration

DomainFilterApplyConfiguration constructs a declarative configuration of the DomainFilter type for use with apply.

func (*DomainFilterApplyConfiguration) WithEnabled ¶

WithEnabled sets the Enabled field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Enabled field is set to the value of the last call.

func (*DomainFilterApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

type DomainImportApplyConfiguration ¶

type DomainImportApplyConfiguration struct {
	ID     *string                         `json:"id,omitempty"`
	Filter *DomainFilterApplyConfiguration `json:"filter,omitempty"`
}

DomainImportApplyConfiguration represents a declarative configuration of the DomainImport type for use with apply.

func DomainImport ¶

func DomainImport() *DomainImportApplyConfiguration

DomainImportApplyConfiguration constructs a declarative configuration of the DomainImport type for use with apply.

func (*DomainImportApplyConfiguration) WithFilter ¶

WithFilter sets the Filter field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Filter field is set to the value of the last call.

func (*DomainImportApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

type DomainResourceSpecApplyConfiguration ¶

type DomainResourceSpecApplyConfiguration struct {
	Name        *apiv1alpha1.KeystoneName `json:"name,omitempty"`
	Description *string                   `json:"description,omitempty"`
	Enabled     *bool                     `json:"enabled,omitempty"`
}

DomainResourceSpecApplyConfiguration represents a declarative configuration of the DomainResourceSpec type for use with apply.

func DomainResourceSpec ¶

func DomainResourceSpec() *DomainResourceSpecApplyConfiguration

DomainResourceSpecApplyConfiguration constructs a declarative configuration of the DomainResourceSpec type for use with apply.

func (*DomainResourceSpecApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*DomainResourceSpecApplyConfiguration) WithEnabled ¶

WithEnabled sets the Enabled field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Enabled field is set to the value of the last call.

func (*DomainResourceSpecApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

type DomainResourceStatusApplyConfiguration ¶

type DomainResourceStatusApplyConfiguration struct {
	Name        *string `json:"name,omitempty"`
	Description *string `json:"description,omitempty"`
	Enabled     *bool   `json:"enabled,omitempty"`
}

DomainResourceStatusApplyConfiguration represents a declarative configuration of the DomainResourceStatus type for use with apply.

func DomainResourceStatus ¶

func DomainResourceStatus() *DomainResourceStatusApplyConfiguration

DomainResourceStatusApplyConfiguration constructs a declarative configuration of the DomainResourceStatus type for use with apply.

func (*DomainResourceStatusApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*DomainResourceStatusApplyConfiguration) WithEnabled ¶

WithEnabled sets the Enabled field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Enabled field is set to the value of the last call.

func (*DomainResourceStatusApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

type DomainSpecApplyConfiguration ¶

type DomainSpecApplyConfiguration struct {
	Import              *DomainImportApplyConfiguration              `json:"import,omitempty"`
	Resource            *DomainResourceSpecApplyConfiguration        `json:"resource,omitempty"`
	ManagementPolicy    *apiv1alpha1.ManagementPolicy                `json:"managementPolicy,omitempty"`
	ManagedOptions      *ManagedOptionsApplyConfiguration            `json:"managedOptions,omitempty"`
	ResyncPeriod        *v1.Duration                                 `json:"resyncPeriod,omitempty"`
	CloudCredentialsRef *CloudCredentialsReferenceApplyConfiguration `json:"cloudCredentialsRef,omitempty"`
}

DomainSpecApplyConfiguration represents a declarative configuration of the DomainSpec type for use with apply.

func DomainSpec ¶

func DomainSpec() *DomainSpecApplyConfiguration

DomainSpecApplyConfiguration constructs a declarative configuration of the DomainSpec type for use with apply.

func (*DomainSpecApplyConfiguration) WithCloudCredentialsRef ¶

WithCloudCredentialsRef sets the CloudCredentialsRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CloudCredentialsRef field is set to the value of the last call.

func (*DomainSpecApplyConfiguration) WithImport ¶

WithImport sets the Import field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Import field is set to the value of the last call.

func (*DomainSpecApplyConfiguration) WithManagedOptions ¶

WithManagedOptions sets the ManagedOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagedOptions field is set to the value of the last call.

func (*DomainSpecApplyConfiguration) WithManagementPolicy ¶

WithManagementPolicy sets the ManagementPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementPolicy field is set to the value of the last call.

func (*DomainSpecApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

func (*DomainSpecApplyConfiguration) WithResyncPeriod ¶

WithResyncPeriod sets the ResyncPeriod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResyncPeriod field is set to the value of the last call.

type DomainStatusApplyConfiguration ¶

type DomainStatusApplyConfiguration struct {
	Conditions   []v1.ConditionApplyConfiguration        `json:"conditions,omitempty"`
	ID           *string                                 `json:"id,omitempty"`
	Resource     *DomainResourceStatusApplyConfiguration `json:"resource,omitempty"`
	LastSyncTime *metav1.Time                            `json:"lastSyncTime,omitempty"`
}

DomainStatusApplyConfiguration represents a declarative configuration of the DomainStatus type for use with apply.

func DomainStatus ¶

func DomainStatus() *DomainStatusApplyConfiguration

DomainStatusApplyConfiguration constructs a declarative configuration of the DomainStatus type for use with apply.

func (*DomainStatusApplyConfiguration) WithConditions ¶

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*DomainStatusApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*DomainStatusApplyConfiguration) WithLastSyncTime ¶

WithLastSyncTime sets the LastSyncTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastSyncTime field is set to the value of the last call.

func (*DomainStatusApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

type EndpointApplyConfiguration ¶

type EndpointApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *EndpointSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *EndpointStatusApplyConfiguration `json:"status,omitempty"`
}

EndpointApplyConfiguration represents a declarative configuration of the Endpoint type for use with apply.

func Endpoint ¶

func Endpoint(name, namespace string) *EndpointApplyConfiguration

Endpoint constructs a declarative configuration of the Endpoint type for use with apply.

func ExtractEndpoint ¶

func ExtractEndpoint(endpoint *apiv1alpha1.Endpoint, fieldManager string) (*EndpointApplyConfiguration, error)

ExtractEndpoint extracts the applied configuration owned by fieldManager from endpoint. If no managedFields are found in endpoint for fieldManager, a EndpointApplyConfiguration 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. endpoint must be a unmodified Endpoint API object that was retrieved from the Kubernetes API. ExtractEndpoint 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 ExtractEndpointStatus ¶

func ExtractEndpointStatus(endpoint *apiv1alpha1.Endpoint, fieldManager string) (*EndpointApplyConfiguration, error)

ExtractEndpointStatus is the same as ExtractEndpoint except that it extracts the status subresource applied configuration. Experimental!

func (*EndpointApplyConfiguration) GetAPIVersion ¶

func (b *EndpointApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*EndpointApplyConfiguration) GetKind ¶

func (b *EndpointApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*EndpointApplyConfiguration) GetName ¶

func (b *EndpointApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*EndpointApplyConfiguration) GetNamespace ¶

func (b *EndpointApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (EndpointApplyConfiguration) IsApplyConfiguration ¶

func (b EndpointApplyConfiguration) IsApplyConfiguration()

func (*EndpointApplyConfiguration) WithAPIVersion ¶

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*EndpointApplyConfiguration) WithAnnotations ¶

func (b *EndpointApplyConfiguration) WithAnnotations(entries map[string]string) *EndpointApplyConfiguration

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 (*EndpointApplyConfiguration) WithCreationTimestamp ¶

func (b *EndpointApplyConfiguration) WithCreationTimestamp(value metav1.Time) *EndpointApplyConfiguration

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 (*EndpointApplyConfiguration) WithDeletionGracePeriodSeconds ¶

func (b *EndpointApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *EndpointApplyConfiguration

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 (*EndpointApplyConfiguration) WithDeletionTimestamp ¶

func (b *EndpointApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *EndpointApplyConfiguration

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 (*EndpointApplyConfiguration) WithFinalizers ¶

func (b *EndpointApplyConfiguration) WithFinalizers(values ...string) *EndpointApplyConfiguration

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 (*EndpointApplyConfiguration) WithGenerateName ¶

func (b *EndpointApplyConfiguration) WithGenerateName(value string) *EndpointApplyConfiguration

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 (*EndpointApplyConfiguration) WithGeneration ¶

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*EndpointApplyConfiguration) WithKind ¶

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*EndpointApplyConfiguration) WithLabels ¶

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*EndpointApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*EndpointApplyConfiguration) WithNamespace ¶

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*EndpointApplyConfiguration) WithOwnerReferences ¶

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*EndpointApplyConfiguration) WithResourceVersion ¶

func (b *EndpointApplyConfiguration) WithResourceVersion(value string) *EndpointApplyConfiguration

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 (*EndpointApplyConfiguration) WithSpec ¶

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*EndpointApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*EndpointApplyConfiguration) WithUID ¶

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type EndpointFilterApplyConfiguration ¶

type EndpointFilterApplyConfiguration struct {
	Interface  *string                        `json:"interface,omitempty"`
	ServiceRef *apiv1alpha1.KubernetesNameRef `json:"serviceRef,omitempty"`
	RegionRef  *apiv1alpha1.KubernetesNameRef `json:"regionRef,omitempty"`
	URL        *string                        `json:"url,omitempty"`
}

EndpointFilterApplyConfiguration represents a declarative configuration of the EndpointFilter type for use with apply.

func EndpointFilter ¶

func EndpointFilter() *EndpointFilterApplyConfiguration

EndpointFilterApplyConfiguration constructs a declarative configuration of the EndpointFilter type for use with apply.

func (*EndpointFilterApplyConfiguration) WithInterface ¶

WithInterface sets the Interface field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Interface field is set to the value of the last call.

func (*EndpointFilterApplyConfiguration) WithRegionRef ¶

WithRegionRef sets the RegionRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RegionRef field is set to the value of the last call.

func (*EndpointFilterApplyConfiguration) WithServiceRef ¶

WithServiceRef sets the ServiceRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServiceRef field is set to the value of the last call.

func (*EndpointFilterApplyConfiguration) WithURL ¶

WithURL sets the URL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the URL field is set to the value of the last call.

type EndpointImportApplyConfiguration ¶

type EndpointImportApplyConfiguration struct {
	ID     *string                           `json:"id,omitempty"`
	Filter *EndpointFilterApplyConfiguration `json:"filter,omitempty"`
}

EndpointImportApplyConfiguration represents a declarative configuration of the EndpointImport type for use with apply.

func EndpointImport ¶

func EndpointImport() *EndpointImportApplyConfiguration

EndpointImportApplyConfiguration constructs a declarative configuration of the EndpointImport type for use with apply.

func (*EndpointImportApplyConfiguration) WithFilter ¶

WithFilter sets the Filter field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Filter field is set to the value of the last call.

func (*EndpointImportApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

type EndpointResourceSpecApplyConfiguration ¶

type EndpointResourceSpecApplyConfiguration struct {
	Description *string                        `json:"description,omitempty"`
	Enabled     *bool                          `json:"enabled,omitempty"`
	Interface   *string                        `json:"interface,omitempty"`
	URL         *string                        `json:"url,omitempty"`
	ServiceRef  *apiv1alpha1.KubernetesNameRef `json:"serviceRef,omitempty"`
	RegionRef   *apiv1alpha1.KubernetesNameRef `json:"regionRef,omitempty"`
}

EndpointResourceSpecApplyConfiguration represents a declarative configuration of the EndpointResourceSpec type for use with apply.

func EndpointResourceSpec ¶

func EndpointResourceSpec() *EndpointResourceSpecApplyConfiguration

EndpointResourceSpecApplyConfiguration constructs a declarative configuration of the EndpointResourceSpec type for use with apply.

func (*EndpointResourceSpecApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*EndpointResourceSpecApplyConfiguration) WithEnabled ¶

WithEnabled sets the Enabled field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Enabled field is set to the value of the last call.

func (*EndpointResourceSpecApplyConfiguration) WithInterface ¶

WithInterface sets the Interface field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Interface field is set to the value of the last call.

func (*EndpointResourceSpecApplyConfiguration) WithRegionRef ¶

WithRegionRef sets the RegionRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RegionRef field is set to the value of the last call.

func (*EndpointResourceSpecApplyConfiguration) WithServiceRef ¶

WithServiceRef sets the ServiceRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServiceRef field is set to the value of the last call.

func (*EndpointResourceSpecApplyConfiguration) WithURL ¶

WithURL sets the URL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the URL field is set to the value of the last call.

type EndpointResourceStatusApplyConfiguration ¶

type EndpointResourceStatusApplyConfiguration struct {
	Description *string `json:"description,omitempty"`
	Enabled     *bool   `json:"enabled,omitempty"`
	Interface   *string `json:"interface,omitempty"`
	URL         *string `json:"url,omitempty"`
	ServiceID   *string `json:"serviceID,omitempty"`
	RegionID    *string `json:"regionID,omitempty"`
}

EndpointResourceStatusApplyConfiguration represents a declarative configuration of the EndpointResourceStatus type for use with apply.

func EndpointResourceStatus ¶

func EndpointResourceStatus() *EndpointResourceStatusApplyConfiguration

EndpointResourceStatusApplyConfiguration constructs a declarative configuration of the EndpointResourceStatus type for use with apply.

func (*EndpointResourceStatusApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*EndpointResourceStatusApplyConfiguration) WithEnabled ¶

WithEnabled sets the Enabled field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Enabled field is set to the value of the last call.

func (*EndpointResourceStatusApplyConfiguration) WithInterface ¶

WithInterface sets the Interface field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Interface field is set to the value of the last call.

func (*EndpointResourceStatusApplyConfiguration) WithRegionID ¶

WithRegionID sets the RegionID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RegionID field is set to the value of the last call.

func (*EndpointResourceStatusApplyConfiguration) WithServiceID ¶

WithServiceID sets the ServiceID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServiceID field is set to the value of the last call.

func (*EndpointResourceStatusApplyConfiguration) WithURL ¶

WithURL sets the URL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the URL field is set to the value of the last call.

type EndpointSpecApplyConfiguration ¶

type EndpointSpecApplyConfiguration struct {
	Import              *EndpointImportApplyConfiguration            `json:"import,omitempty"`
	Resource            *EndpointResourceSpecApplyConfiguration      `json:"resource,omitempty"`
	ManagementPolicy    *apiv1alpha1.ManagementPolicy                `json:"managementPolicy,omitempty"`
	ManagedOptions      *ManagedOptionsApplyConfiguration            `json:"managedOptions,omitempty"`
	ResyncPeriod        *v1.Duration                                 `json:"resyncPeriod,omitempty"`
	CloudCredentialsRef *CloudCredentialsReferenceApplyConfiguration `json:"cloudCredentialsRef,omitempty"`
}

EndpointSpecApplyConfiguration represents a declarative configuration of the EndpointSpec type for use with apply.

func EndpointSpec ¶

func EndpointSpec() *EndpointSpecApplyConfiguration

EndpointSpecApplyConfiguration constructs a declarative configuration of the EndpointSpec type for use with apply.

func (*EndpointSpecApplyConfiguration) WithCloudCredentialsRef ¶

WithCloudCredentialsRef sets the CloudCredentialsRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CloudCredentialsRef field is set to the value of the last call.

func (*EndpointSpecApplyConfiguration) WithImport ¶

WithImport sets the Import field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Import field is set to the value of the last call.

func (*EndpointSpecApplyConfiguration) WithManagedOptions ¶

WithManagedOptions sets the ManagedOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagedOptions field is set to the value of the last call.

func (*EndpointSpecApplyConfiguration) WithManagementPolicy ¶

WithManagementPolicy sets the ManagementPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementPolicy field is set to the value of the last call.

func (*EndpointSpecApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

func (*EndpointSpecApplyConfiguration) WithResyncPeriod ¶

WithResyncPeriod sets the ResyncPeriod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResyncPeriod field is set to the value of the last call.

type EndpointStatusApplyConfiguration ¶

type EndpointStatusApplyConfiguration struct {
	Conditions   []v1.ConditionApplyConfiguration          `json:"conditions,omitempty"`
	ID           *string                                   `json:"id,omitempty"`
	Resource     *EndpointResourceStatusApplyConfiguration `json:"resource,omitempty"`
	LastSyncTime *metav1.Time                              `json:"lastSyncTime,omitempty"`
}

EndpointStatusApplyConfiguration represents a declarative configuration of the EndpointStatus type for use with apply.

func EndpointStatus ¶

func EndpointStatus() *EndpointStatusApplyConfiguration

EndpointStatusApplyConfiguration constructs a declarative configuration of the EndpointStatus type for use with apply.

func (*EndpointStatusApplyConfiguration) WithConditions ¶

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*EndpointStatusApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*EndpointStatusApplyConfiguration) WithLastSyncTime ¶

WithLastSyncTime sets the LastSyncTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastSyncTime field is set to the value of the last call.

func (*EndpointStatusApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

type ExternalGatewayApplyConfiguration ¶

type ExternalGatewayApplyConfiguration struct {
	NetworkRef *apiv1alpha1.KubernetesNameRef `json:"networkRef,omitempty"`
}

ExternalGatewayApplyConfiguration represents a declarative configuration of the ExternalGateway type for use with apply.

func ExternalGateway ¶

func ExternalGateway() *ExternalGatewayApplyConfiguration

ExternalGatewayApplyConfiguration constructs a declarative configuration of the ExternalGateway type for use with apply.

func (*ExternalGatewayApplyConfiguration) WithNetworkRef ¶

WithNetworkRef sets the NetworkRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NetworkRef field is set to the value of the last call.

type ExternalGatewayStatusApplyConfiguration ¶

type ExternalGatewayStatusApplyConfiguration struct {
	NetworkID *string `json:"networkID,omitempty"`
}

ExternalGatewayStatusApplyConfiguration represents a declarative configuration of the ExternalGatewayStatus type for use with apply.

func ExternalGatewayStatus ¶

func ExternalGatewayStatus() *ExternalGatewayStatusApplyConfiguration

ExternalGatewayStatusApplyConfiguration constructs a declarative configuration of the ExternalGatewayStatus type for use with apply.

func (*ExternalGatewayStatusApplyConfiguration) WithNetworkID ¶

WithNetworkID sets the NetworkID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NetworkID field is set to the value of the last call.

type FilterByKeystoneTagsApplyConfiguration ¶

type FilterByKeystoneTagsApplyConfiguration struct {
	Tags       []apiv1alpha1.KeystoneTag `json:"tags,omitempty"`
	TagsAny    []apiv1alpha1.KeystoneTag `json:"tagsAny,omitempty"`
	NotTags    []apiv1alpha1.KeystoneTag `json:"notTags,omitempty"`
	NotTagsAny []apiv1alpha1.KeystoneTag `json:"notTagsAny,omitempty"`
}

FilterByKeystoneTagsApplyConfiguration represents a declarative configuration of the FilterByKeystoneTags type for use with apply.

func FilterByKeystoneTags ¶

func FilterByKeystoneTags() *FilterByKeystoneTagsApplyConfiguration

FilterByKeystoneTagsApplyConfiguration constructs a declarative configuration of the FilterByKeystoneTags type for use with apply.

func (*FilterByKeystoneTagsApplyConfiguration) WithNotTags ¶

WithNotTags adds the given value to the NotTags 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 NotTags field.

func (*FilterByKeystoneTagsApplyConfiguration) WithNotTagsAny ¶

WithNotTagsAny adds the given value to the NotTagsAny 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 NotTagsAny field.

func (*FilterByKeystoneTagsApplyConfiguration) WithTags ¶

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 (*FilterByKeystoneTagsApplyConfiguration) WithTagsAny ¶

WithTagsAny adds the given value to the TagsAny 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 TagsAny field.

type FilterByNeutronTagsApplyConfiguration ¶

type FilterByNeutronTagsApplyConfiguration struct {
	Tags       []apiv1alpha1.NeutronTag `json:"tags,omitempty"`
	TagsAny    []apiv1alpha1.NeutronTag `json:"tagsAny,omitempty"`
	NotTags    []apiv1alpha1.NeutronTag `json:"notTags,omitempty"`
	NotTagsAny []apiv1alpha1.NeutronTag `json:"notTagsAny,omitempty"`
}

FilterByNeutronTagsApplyConfiguration represents a declarative configuration of the FilterByNeutronTags type for use with apply.

func FilterByNeutronTags ¶

func FilterByNeutronTags() *FilterByNeutronTagsApplyConfiguration

FilterByNeutronTagsApplyConfiguration constructs a declarative configuration of the FilterByNeutronTags type for use with apply.

func (*FilterByNeutronTagsApplyConfiguration) WithNotTags ¶

WithNotTags adds the given value to the NotTags 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 NotTags field.

func (*FilterByNeutronTagsApplyConfiguration) WithNotTagsAny ¶

WithNotTagsAny adds the given value to the NotTagsAny 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 NotTagsAny field.

func (*FilterByNeutronTagsApplyConfiguration) WithTags ¶

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 (*FilterByNeutronTagsApplyConfiguration) WithTagsAny ¶

WithTagsAny adds the given value to the TagsAny 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 TagsAny field.

type FilterByServerTagsApplyConfiguration ¶

type FilterByServerTagsApplyConfiguration struct {
	Tags       []apiv1alpha1.ServerTag `json:"tags,omitempty"`
	TagsAny    []apiv1alpha1.ServerTag `json:"tagsAny,omitempty"`
	NotTags    []apiv1alpha1.ServerTag `json:"notTags,omitempty"`
	NotTagsAny []apiv1alpha1.ServerTag `json:"notTagsAny,omitempty"`
}

FilterByServerTagsApplyConfiguration represents a declarative configuration of the FilterByServerTags type for use with apply.

func FilterByServerTags ¶

func FilterByServerTags() *FilterByServerTagsApplyConfiguration

FilterByServerTagsApplyConfiguration constructs a declarative configuration of the FilterByServerTags type for use with apply.

func (*FilterByServerTagsApplyConfiguration) WithNotTags ¶

WithNotTags adds the given value to the NotTags 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 NotTags field.

func (*FilterByServerTagsApplyConfiguration) WithNotTagsAny ¶

WithNotTagsAny adds the given value to the NotTagsAny 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 NotTagsAny field.

func (*FilterByServerTagsApplyConfiguration) WithTags ¶

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 (*FilterByServerTagsApplyConfiguration) WithTagsAny ¶

WithTagsAny adds the given value to the TagsAny 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 TagsAny field.

type FixedIPStatusApplyConfiguration ¶

type FixedIPStatusApplyConfiguration struct {
	IP       *string `json:"ip,omitempty"`
	SubnetID *string `json:"subnetID,omitempty"`
}

FixedIPStatusApplyConfiguration represents a declarative configuration of the FixedIPStatus type for use with apply.

func FixedIPStatus ¶

func FixedIPStatus() *FixedIPStatusApplyConfiguration

FixedIPStatusApplyConfiguration constructs a declarative configuration of the FixedIPStatus type for use with apply.

func (*FixedIPStatusApplyConfiguration) WithIP ¶

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 (*FixedIPStatusApplyConfiguration) WithSubnetID ¶

WithSubnetID sets the SubnetID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SubnetID field is set to the value of the last call.

type FlavorApplyConfiguration ¶

type FlavorApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *FlavorSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *FlavorStatusApplyConfiguration `json:"status,omitempty"`
}

FlavorApplyConfiguration represents a declarative configuration of the Flavor type for use with apply.

func ExtractFlavor ¶

func ExtractFlavor(flavor *apiv1alpha1.Flavor, fieldManager string) (*FlavorApplyConfiguration, error)

ExtractFlavor extracts the applied configuration owned by fieldManager from flavor. If no managedFields are found in flavor for fieldManager, a FlavorApplyConfiguration 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. flavor must be a unmodified Flavor API object that was retrieved from the Kubernetes API. ExtractFlavor 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 ExtractFlavorStatus ¶

func ExtractFlavorStatus(flavor *apiv1alpha1.Flavor, fieldManager string) (*FlavorApplyConfiguration, error)

ExtractFlavorStatus is the same as ExtractFlavor except that it extracts the status subresource applied configuration. Experimental!

func Flavor ¶

func Flavor(name, namespace string) *FlavorApplyConfiguration

Flavor constructs a declarative configuration of the Flavor type for use with apply.

func (*FlavorApplyConfiguration) GetAPIVersion ¶

func (b *FlavorApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*FlavorApplyConfiguration) GetKind ¶

func (b *FlavorApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*FlavorApplyConfiguration) GetName ¶

func (b *FlavorApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*FlavorApplyConfiguration) GetNamespace ¶

func (b *FlavorApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (FlavorApplyConfiguration) IsApplyConfiguration ¶

func (b FlavorApplyConfiguration) IsApplyConfiguration()

func (*FlavorApplyConfiguration) WithAPIVersion ¶

func (b *FlavorApplyConfiguration) WithAPIVersion(value string) *FlavorApplyConfiguration

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 (*FlavorApplyConfiguration) WithAnnotations ¶

func (b *FlavorApplyConfiguration) WithAnnotations(entries map[string]string) *FlavorApplyConfiguration

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 (*FlavorApplyConfiguration) WithCreationTimestamp ¶

func (b *FlavorApplyConfiguration) WithCreationTimestamp(value metav1.Time) *FlavorApplyConfiguration

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 (*FlavorApplyConfiguration) WithDeletionGracePeriodSeconds ¶

func (b *FlavorApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *FlavorApplyConfiguration

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 (*FlavorApplyConfiguration) WithDeletionTimestamp ¶

func (b *FlavorApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *FlavorApplyConfiguration

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 (*FlavorApplyConfiguration) WithFinalizers ¶

func (b *FlavorApplyConfiguration) WithFinalizers(values ...string) *FlavorApplyConfiguration

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 (*FlavorApplyConfiguration) WithGenerateName ¶

func (b *FlavorApplyConfiguration) WithGenerateName(value string) *FlavorApplyConfiguration

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 (*FlavorApplyConfiguration) WithGeneration ¶

func (b *FlavorApplyConfiguration) WithGeneration(value int64) *FlavorApplyConfiguration

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 (*FlavorApplyConfiguration) WithKind ¶

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*FlavorApplyConfiguration) WithLabels ¶

func (b *FlavorApplyConfiguration) WithLabels(entries map[string]string) *FlavorApplyConfiguration

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 (*FlavorApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*FlavorApplyConfiguration) WithNamespace ¶

func (b *FlavorApplyConfiguration) WithNamespace(value string) *FlavorApplyConfiguration

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 (*FlavorApplyConfiguration) WithOwnerReferences ¶

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*FlavorApplyConfiguration) WithResourceVersion ¶

func (b *FlavorApplyConfiguration) WithResourceVersion(value string) *FlavorApplyConfiguration

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 (*FlavorApplyConfiguration) WithSpec ¶

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*FlavorApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*FlavorApplyConfiguration) WithUID ¶

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type FlavorExtraSpecApplyConfiguration ¶

type FlavorExtraSpecApplyConfiguration struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

FlavorExtraSpecApplyConfiguration represents a declarative configuration of the FlavorExtraSpec type for use with apply.

func FlavorExtraSpec ¶

func FlavorExtraSpec() *FlavorExtraSpecApplyConfiguration

FlavorExtraSpecApplyConfiguration constructs a declarative configuration of the FlavorExtraSpec type for use with apply.

func (*FlavorExtraSpecApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*FlavorExtraSpecApplyConfiguration) WithValue ¶

WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.

type FlavorExtraSpecStatusApplyConfiguration ¶

type FlavorExtraSpecStatusApplyConfiguration struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

FlavorExtraSpecStatusApplyConfiguration represents a declarative configuration of the FlavorExtraSpecStatus type for use with apply.

func FlavorExtraSpecStatus ¶

func FlavorExtraSpecStatus() *FlavorExtraSpecStatusApplyConfiguration

FlavorExtraSpecStatusApplyConfiguration constructs a declarative configuration of the FlavorExtraSpecStatus type for use with apply.

func (*FlavorExtraSpecStatusApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*FlavorExtraSpecStatusApplyConfiguration) WithValue ¶

WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.

type FlavorFilterApplyConfiguration ¶

type FlavorFilterApplyConfiguration struct {
	Name  *apiv1alpha1.OpenStackName `json:"name,omitempty"`
	RAM   *int32                     `json:"ram,omitempty"`
	Vcpus *int32                     `json:"vcpus,omitempty"`
	Disk  *int32                     `json:"disk,omitempty"`
}

FlavorFilterApplyConfiguration represents a declarative configuration of the FlavorFilter type for use with apply.

func FlavorFilter ¶

func FlavorFilter() *FlavorFilterApplyConfiguration

FlavorFilterApplyConfiguration constructs a declarative configuration of the FlavorFilter type for use with apply.

func (*FlavorFilterApplyConfiguration) WithDisk ¶

WithDisk sets the Disk field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Disk field is set to the value of the last call.

func (*FlavorFilterApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*FlavorFilterApplyConfiguration) WithRAM ¶

WithRAM sets the RAM field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RAM field is set to the value of the last call.

func (*FlavorFilterApplyConfiguration) WithVcpus ¶

WithVcpus sets the Vcpus field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Vcpus field is set to the value of the last call.

type FlavorImportApplyConfiguration ¶

type FlavorImportApplyConfiguration struct {
	ID     *string                         `json:"id,omitempty"`
	Filter *FlavorFilterApplyConfiguration `json:"filter,omitempty"`
}

FlavorImportApplyConfiguration represents a declarative configuration of the FlavorImport type for use with apply.

func FlavorImport ¶

func FlavorImport() *FlavorImportApplyConfiguration

FlavorImportApplyConfiguration constructs a declarative configuration of the FlavorImport type for use with apply.

func (*FlavorImportApplyConfiguration) WithFilter ¶

WithFilter sets the Filter field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Filter field is set to the value of the last call.

func (*FlavorImportApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

type FlavorResourceSpecApplyConfiguration ¶

type FlavorResourceSpecApplyConfiguration struct {
	Name        *apiv1alpha1.OpenStackName          `json:"name,omitempty"`
	ID          *string                             `json:"id,omitempty"`
	Description *string                             `json:"description,omitempty"`
	RAM         *int32                              `json:"ram,omitempty"`
	Vcpus       *int32                              `json:"vcpus,omitempty"`
	Disk        *int32                              `json:"disk,omitempty"`
	Swap        *int32                              `json:"swap,omitempty"`
	ExtraSpecs  []FlavorExtraSpecApplyConfiguration `json:"extraSpecs,omitempty"`
	IsPublic    *bool                               `json:"isPublic,omitempty"`
	Ephemeral   *int32                              `json:"ephemeral,omitempty"`
}

FlavorResourceSpecApplyConfiguration represents a declarative configuration of the FlavorResourceSpec type for use with apply.

func FlavorResourceSpec ¶

func FlavorResourceSpec() *FlavorResourceSpecApplyConfiguration

FlavorResourceSpecApplyConfiguration constructs a declarative configuration of the FlavorResourceSpec type for use with apply.

func (*FlavorResourceSpecApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*FlavorResourceSpecApplyConfiguration) WithDisk ¶

WithDisk sets the Disk field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Disk field is set to the value of the last call.

func (*FlavorResourceSpecApplyConfiguration) WithEphemeral ¶

WithEphemeral sets the Ephemeral field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Ephemeral field is set to the value of the last call.

func (*FlavorResourceSpecApplyConfiguration) WithExtraSpecs ¶

WithExtraSpecs adds the given value to the ExtraSpecs 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 ExtraSpecs field.

func (*FlavorResourceSpecApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*FlavorResourceSpecApplyConfiguration) WithIsPublic ¶

WithIsPublic sets the IsPublic field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IsPublic field is set to the value of the last call.

func (*FlavorResourceSpecApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*FlavorResourceSpecApplyConfiguration) WithRAM ¶

WithRAM sets the RAM field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RAM field is set to the value of the last call.

func (*FlavorResourceSpecApplyConfiguration) WithSwap ¶

WithSwap sets the Swap field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Swap field is set to the value of the last call.

func (*FlavorResourceSpecApplyConfiguration) WithVcpus ¶

WithVcpus sets the Vcpus field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Vcpus field is set to the value of the last call.

type FlavorResourceStatusApplyConfiguration ¶

type FlavorResourceStatusApplyConfiguration struct {
	Name        *string                                   `json:"name,omitempty"`
	Description *string                                   `json:"description,omitempty"`
	RAM         *int32                                    `json:"ram,omitempty"`
	Vcpus       *int32                                    `json:"vcpus,omitempty"`
	Disk        *int32                                    `json:"disk,omitempty"`
	Swap        *int32                                    `json:"swap,omitempty"`
	ExtraSpecs  []FlavorExtraSpecStatusApplyConfiguration `json:"extraSpecs,omitempty"`
	IsPublic    *bool                                     `json:"isPublic,omitempty"`
	Ephemeral   *int32                                    `json:"ephemeral,omitempty"`
}

FlavorResourceStatusApplyConfiguration represents a declarative configuration of the FlavorResourceStatus type for use with apply.

func FlavorResourceStatus ¶

func FlavorResourceStatus() *FlavorResourceStatusApplyConfiguration

FlavorResourceStatusApplyConfiguration constructs a declarative configuration of the FlavorResourceStatus type for use with apply.

func (*FlavorResourceStatusApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*FlavorResourceStatusApplyConfiguration) WithDisk ¶

WithDisk sets the Disk field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Disk field is set to the value of the last call.

func (*FlavorResourceStatusApplyConfiguration) WithEphemeral ¶

WithEphemeral sets the Ephemeral field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Ephemeral field is set to the value of the last call.

func (*FlavorResourceStatusApplyConfiguration) WithExtraSpecs ¶

WithExtraSpecs adds the given value to the ExtraSpecs 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 ExtraSpecs field.

func (*FlavorResourceStatusApplyConfiguration) WithIsPublic ¶

WithIsPublic sets the IsPublic field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IsPublic field is set to the value of the last call.

func (*FlavorResourceStatusApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*FlavorResourceStatusApplyConfiguration) WithRAM ¶

WithRAM sets the RAM field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RAM field is set to the value of the last call.

func (*FlavorResourceStatusApplyConfiguration) WithSwap ¶

WithSwap sets the Swap field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Swap field is set to the value of the last call.

func (*FlavorResourceStatusApplyConfiguration) WithVcpus ¶

WithVcpus sets the Vcpus field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Vcpus field is set to the value of the last call.

type FlavorSpecApplyConfiguration ¶

type FlavorSpecApplyConfiguration struct {
	Import              *FlavorImportApplyConfiguration              `json:"import,omitempty"`
	Resource            *FlavorResourceSpecApplyConfiguration        `json:"resource,omitempty"`
	ManagementPolicy    *apiv1alpha1.ManagementPolicy                `json:"managementPolicy,omitempty"`
	ManagedOptions      *ManagedOptionsApplyConfiguration            `json:"managedOptions,omitempty"`
	ResyncPeriod        *v1.Duration                                 `json:"resyncPeriod,omitempty"`
	CloudCredentialsRef *CloudCredentialsReferenceApplyConfiguration `json:"cloudCredentialsRef,omitempty"`
}

FlavorSpecApplyConfiguration represents a declarative configuration of the FlavorSpec type for use with apply.

func FlavorSpec ¶

func FlavorSpec() *FlavorSpecApplyConfiguration

FlavorSpecApplyConfiguration constructs a declarative configuration of the FlavorSpec type for use with apply.

func (*FlavorSpecApplyConfiguration) WithCloudCredentialsRef ¶

WithCloudCredentialsRef sets the CloudCredentialsRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CloudCredentialsRef field is set to the value of the last call.

func (*FlavorSpecApplyConfiguration) WithImport ¶

WithImport sets the Import field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Import field is set to the value of the last call.

func (*FlavorSpecApplyConfiguration) WithManagedOptions ¶

WithManagedOptions sets the ManagedOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagedOptions field is set to the value of the last call.

func (*FlavorSpecApplyConfiguration) WithManagementPolicy ¶

WithManagementPolicy sets the ManagementPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementPolicy field is set to the value of the last call.

func (*FlavorSpecApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

func (*FlavorSpecApplyConfiguration) WithResyncPeriod ¶

WithResyncPeriod sets the ResyncPeriod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResyncPeriod field is set to the value of the last call.

type FlavorStatusApplyConfiguration ¶

type FlavorStatusApplyConfiguration struct {
	Conditions   []v1.ConditionApplyConfiguration        `json:"conditions,omitempty"`
	ID           *string                                 `json:"id,omitempty"`
	Resource     *FlavorResourceStatusApplyConfiguration `json:"resource,omitempty"`
	LastSyncTime *metav1.Time                            `json:"lastSyncTime,omitempty"`
}

FlavorStatusApplyConfiguration represents a declarative configuration of the FlavorStatus type for use with apply.

func FlavorStatus ¶

func FlavorStatus() *FlavorStatusApplyConfiguration

FlavorStatusApplyConfiguration constructs a declarative configuration of the FlavorStatus type for use with apply.

func (*FlavorStatusApplyConfiguration) WithConditions ¶

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*FlavorStatusApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*FlavorStatusApplyConfiguration) WithLastSyncTime ¶

WithLastSyncTime sets the LastSyncTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastSyncTime field is set to the value of the last call.

func (*FlavorStatusApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

type FloatingIPApplyConfiguration ¶

type FloatingIPApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *FloatingIPSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *FloatingIPStatusApplyConfiguration `json:"status,omitempty"`
}

FloatingIPApplyConfiguration represents a declarative configuration of the FloatingIP type for use with apply.

func ExtractFloatingIP ¶

func ExtractFloatingIP(floatingIP *apiv1alpha1.FloatingIP, fieldManager string) (*FloatingIPApplyConfiguration, error)

ExtractFloatingIP extracts the applied configuration owned by fieldManager from floatingIP. If no managedFields are found in floatingIP for fieldManager, a FloatingIPApplyConfiguration 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. floatingIP must be a unmodified FloatingIP API object that was retrieved from the Kubernetes API. ExtractFloatingIP 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 ExtractFloatingIPStatus ¶

func ExtractFloatingIPStatus(floatingIP *apiv1alpha1.FloatingIP, fieldManager string) (*FloatingIPApplyConfiguration, error)

ExtractFloatingIPStatus is the same as ExtractFloatingIP except that it extracts the status subresource applied configuration. Experimental!

func FloatingIP ¶

func FloatingIP(name, namespace string) *FloatingIPApplyConfiguration

FloatingIP constructs a declarative configuration of the FloatingIP type for use with apply.

func (*FloatingIPApplyConfiguration) GetAPIVersion ¶

func (b *FloatingIPApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*FloatingIPApplyConfiguration) GetKind ¶

func (b *FloatingIPApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*FloatingIPApplyConfiguration) GetName ¶

func (b *FloatingIPApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*FloatingIPApplyConfiguration) GetNamespace ¶

func (b *FloatingIPApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (FloatingIPApplyConfiguration) IsApplyConfiguration ¶

func (b FloatingIPApplyConfiguration) IsApplyConfiguration()

func (*FloatingIPApplyConfiguration) WithAPIVersion ¶

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*FloatingIPApplyConfiguration) WithAnnotations ¶

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*FloatingIPApplyConfiguration) WithCreationTimestamp ¶

func (b *FloatingIPApplyConfiguration) WithCreationTimestamp(value metav1.Time) *FloatingIPApplyConfiguration

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 (*FloatingIPApplyConfiguration) WithDeletionGracePeriodSeconds ¶

func (b *FloatingIPApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *FloatingIPApplyConfiguration

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 (*FloatingIPApplyConfiguration) WithDeletionTimestamp ¶

func (b *FloatingIPApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *FloatingIPApplyConfiguration

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 (*FloatingIPApplyConfiguration) WithFinalizers ¶

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*FloatingIPApplyConfiguration) WithGenerateName ¶

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*FloatingIPApplyConfiguration) WithGeneration ¶

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*FloatingIPApplyConfiguration) WithKind ¶

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*FloatingIPApplyConfiguration) WithLabels ¶

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*FloatingIPApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*FloatingIPApplyConfiguration) WithNamespace ¶

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*FloatingIPApplyConfiguration) WithOwnerReferences ¶

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*FloatingIPApplyConfiguration) WithResourceVersion ¶

func (b *FloatingIPApplyConfiguration) WithResourceVersion(value string) *FloatingIPApplyConfiguration

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 (*FloatingIPApplyConfiguration) WithSpec ¶

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*FloatingIPApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*FloatingIPApplyConfiguration) WithUID ¶

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type FloatingIPFilterApplyConfiguration ¶

type FloatingIPFilterApplyConfiguration struct {
	FloatingIP                            *apiv1alpha1.IPvAny             `json:"floatingIP,omitempty"`
	Description                           *apiv1alpha1.NeutronDescription `json:"description,omitempty"`
	FloatingNetworkRef                    *apiv1alpha1.KubernetesNameRef  `json:"floatingNetworkRef,omitempty"`
	PortRef                               *apiv1alpha1.KubernetesNameRef  `json:"portRef,omitempty"`
	ProjectRef                            *apiv1alpha1.KubernetesNameRef  `json:"projectRef,omitempty"`
	Status                                *string                         `json:"status,omitempty"`
	FilterByNeutronTagsApplyConfiguration `json:",inline"`
}

FloatingIPFilterApplyConfiguration represents a declarative configuration of the FloatingIPFilter type for use with apply.

func FloatingIPFilter ¶

func FloatingIPFilter() *FloatingIPFilterApplyConfiguration

FloatingIPFilterApplyConfiguration constructs a declarative configuration of the FloatingIPFilter type for use with apply.

func (*FloatingIPFilterApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*FloatingIPFilterApplyConfiguration) WithFloatingIP ¶

WithFloatingIP sets the FloatingIP field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FloatingIP field is set to the value of the last call.

func (*FloatingIPFilterApplyConfiguration) WithFloatingNetworkRef ¶

WithFloatingNetworkRef sets the FloatingNetworkRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FloatingNetworkRef field is set to the value of the last call.

func (*FloatingIPFilterApplyConfiguration) WithNotTags ¶

WithNotTags adds the given value to the NotTags 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 NotTags field.

func (*FloatingIPFilterApplyConfiguration) WithNotTagsAny ¶

WithNotTagsAny adds the given value to the NotTagsAny 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 NotTagsAny field.

func (*FloatingIPFilterApplyConfiguration) WithPortRef ¶

WithPortRef sets the PortRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PortRef field is set to the value of the last call.

func (*FloatingIPFilterApplyConfiguration) WithProjectRef ¶

WithProjectRef sets the ProjectRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectRef field is set to the value of the last call.

func (*FloatingIPFilterApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*FloatingIPFilterApplyConfiguration) WithTags ¶

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 (*FloatingIPFilterApplyConfiguration) WithTagsAny ¶

WithTagsAny adds the given value to the TagsAny 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 TagsAny field.

type FloatingIPImportApplyConfiguration ¶

type FloatingIPImportApplyConfiguration struct {
	ID     *string                             `json:"id,omitempty"`
	Filter *FloatingIPFilterApplyConfiguration `json:"filter,omitempty"`
}

FloatingIPImportApplyConfiguration represents a declarative configuration of the FloatingIPImport type for use with apply.

func FloatingIPImport ¶

func FloatingIPImport() *FloatingIPImportApplyConfiguration

FloatingIPImportApplyConfiguration constructs a declarative configuration of the FloatingIPImport type for use with apply.

func (*FloatingIPImportApplyConfiguration) WithFilter ¶

WithFilter sets the Filter field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Filter field is set to the value of the last call.

func (*FloatingIPImportApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

type FloatingIPResourceSpecApplyConfiguration ¶

type FloatingIPResourceSpecApplyConfiguration struct {
	Description        *apiv1alpha1.NeutronDescription `json:"description,omitempty"`
	Tags               []apiv1alpha1.NeutronTag        `json:"tags,omitempty"`
	FloatingNetworkRef *apiv1alpha1.KubernetesNameRef  `json:"floatingNetworkRef,omitempty"`
	FloatingSubnetRef  *apiv1alpha1.KubernetesNameRef  `json:"floatingSubnetRef,omitempty"`
	FloatingIP         *apiv1alpha1.IPvAny             `json:"floatingIP,omitempty"`
	PortRef            *apiv1alpha1.KubernetesNameRef  `json:"portRef,omitempty"`
	FixedIP            *apiv1alpha1.IPvAny             `json:"fixedIP,omitempty"`
	ProjectRef         *apiv1alpha1.KubernetesNameRef  `json:"projectRef,omitempty"`
}

FloatingIPResourceSpecApplyConfiguration represents a declarative configuration of the FloatingIPResourceSpec type for use with apply.

func FloatingIPResourceSpec ¶

func FloatingIPResourceSpec() *FloatingIPResourceSpecApplyConfiguration

FloatingIPResourceSpecApplyConfiguration constructs a declarative configuration of the FloatingIPResourceSpec type for use with apply.

func (*FloatingIPResourceSpecApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*FloatingIPResourceSpecApplyConfiguration) WithFixedIP ¶

WithFixedIP sets the FixedIP field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FixedIP field is set to the value of the last call.

func (*FloatingIPResourceSpecApplyConfiguration) WithFloatingIP ¶

WithFloatingIP sets the FloatingIP field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FloatingIP field is set to the value of the last call.

func (*FloatingIPResourceSpecApplyConfiguration) WithFloatingNetworkRef ¶

WithFloatingNetworkRef sets the FloatingNetworkRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FloatingNetworkRef field is set to the value of the last call.

func (*FloatingIPResourceSpecApplyConfiguration) WithFloatingSubnetRef ¶

WithFloatingSubnetRef sets the FloatingSubnetRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FloatingSubnetRef field is set to the value of the last call.

func (*FloatingIPResourceSpecApplyConfiguration) WithPortRef ¶

WithPortRef sets the PortRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PortRef field is set to the value of the last call.

func (*FloatingIPResourceSpecApplyConfiguration) WithProjectRef ¶

WithProjectRef sets the ProjectRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectRef field is set to the value of the last call.

func (*FloatingIPResourceSpecApplyConfiguration) WithTags ¶

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.

type FloatingIPResourceStatusApplyConfiguration ¶

type FloatingIPResourceStatusApplyConfiguration struct {
	Description                             *string  `json:"description,omitempty"`
	FloatingNetworkID                       *string  `json:"floatingNetworkID,omitempty"`
	FloatingIP                              *string  `json:"floatingIP,omitempty"`
	PortID                                  *string  `json:"portID,omitempty"`
	FixedIP                                 *string  `json:"fixedIP,omitempty"`
	TenantID                                *string  `json:"tenantID,omitempty"`
	ProjectID                               *string  `json:"projectID,omitempty"`
	Status                                  *string  `json:"status,omitempty"`
	RouterID                                *string  `json:"routerID,omitempty"`
	Tags                                    []string `json:"tags,omitempty"`
	NeutronStatusMetadataApplyConfiguration `json:",inline"`
}

FloatingIPResourceStatusApplyConfiguration represents a declarative configuration of the FloatingIPResourceStatus type for use with apply.

func FloatingIPResourceStatus ¶

func FloatingIPResourceStatus() *FloatingIPResourceStatusApplyConfiguration

FloatingIPResourceStatusApplyConfiguration constructs a declarative configuration of the FloatingIPResourceStatus type for use with apply.

func (*FloatingIPResourceStatusApplyConfiguration) WithCreatedAt ¶

WithCreatedAt sets the CreatedAt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreatedAt field is set to the value of the last call.

func (*FloatingIPResourceStatusApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*FloatingIPResourceStatusApplyConfiguration) WithFixedIP ¶

WithFixedIP sets the FixedIP field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FixedIP field is set to the value of the last call.

func (*FloatingIPResourceStatusApplyConfiguration) WithFloatingIP ¶

WithFloatingIP sets the FloatingIP field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FloatingIP field is set to the value of the last call.

func (*FloatingIPResourceStatusApplyConfiguration) WithFloatingNetworkID ¶

WithFloatingNetworkID sets the FloatingNetworkID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FloatingNetworkID field is set to the value of the last call.

func (*FloatingIPResourceStatusApplyConfiguration) WithPortID ¶

WithPortID sets the PortID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PortID field is set to the value of the last call.

func (*FloatingIPResourceStatusApplyConfiguration) WithProjectID ¶

WithProjectID sets the ProjectID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectID field is set to the value of the last call.

func (*FloatingIPResourceStatusApplyConfiguration) WithRevisionNumber ¶

WithRevisionNumber sets the RevisionNumber field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RevisionNumber field is set to the value of the last call.

func (*FloatingIPResourceStatusApplyConfiguration) WithRouterID ¶

WithRouterID sets the RouterID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RouterID field is set to the value of the last call.

func (*FloatingIPResourceStatusApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*FloatingIPResourceStatusApplyConfiguration) WithTags ¶

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 (*FloatingIPResourceStatusApplyConfiguration) WithTenantID ¶

WithTenantID sets the TenantID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TenantID field is set to the value of the last call.

func (*FloatingIPResourceStatusApplyConfiguration) WithUpdatedAt ¶

WithUpdatedAt sets the UpdatedAt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UpdatedAt field is set to the value of the last call.

type FloatingIPSpecApplyConfiguration ¶

type FloatingIPSpecApplyConfiguration struct {
	Import              *FloatingIPImportApplyConfiguration          `json:"import,omitempty"`
	Resource            *FloatingIPResourceSpecApplyConfiguration    `json:"resource,omitempty"`
	ManagementPolicy    *apiv1alpha1.ManagementPolicy                `json:"managementPolicy,omitempty"`
	ManagedOptions      *ManagedOptionsApplyConfiguration            `json:"managedOptions,omitempty"`
	ResyncPeriod        *v1.Duration                                 `json:"resyncPeriod,omitempty"`
	CloudCredentialsRef *CloudCredentialsReferenceApplyConfiguration `json:"cloudCredentialsRef,omitempty"`
}

FloatingIPSpecApplyConfiguration represents a declarative configuration of the FloatingIPSpec type for use with apply.

func FloatingIPSpec ¶

func FloatingIPSpec() *FloatingIPSpecApplyConfiguration

FloatingIPSpecApplyConfiguration constructs a declarative configuration of the FloatingIPSpec type for use with apply.

func (*FloatingIPSpecApplyConfiguration) WithCloudCredentialsRef ¶

WithCloudCredentialsRef sets the CloudCredentialsRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CloudCredentialsRef field is set to the value of the last call.

func (*FloatingIPSpecApplyConfiguration) WithImport ¶

WithImport sets the Import field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Import field is set to the value of the last call.

func (*FloatingIPSpecApplyConfiguration) WithManagedOptions ¶

WithManagedOptions sets the ManagedOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagedOptions field is set to the value of the last call.

func (*FloatingIPSpecApplyConfiguration) WithManagementPolicy ¶

WithManagementPolicy sets the ManagementPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementPolicy field is set to the value of the last call.

func (*FloatingIPSpecApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

func (*FloatingIPSpecApplyConfiguration) WithResyncPeriod ¶

WithResyncPeriod sets the ResyncPeriod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResyncPeriod field is set to the value of the last call.

type FloatingIPStatusApplyConfiguration ¶

type FloatingIPStatusApplyConfiguration struct {
	Conditions   []v1.ConditionApplyConfiguration            `json:"conditions,omitempty"`
	ID           *string                                     `json:"id,omitempty"`
	Resource     *FloatingIPResourceStatusApplyConfiguration `json:"resource,omitempty"`
	LastSyncTime *metav1.Time                                `json:"lastSyncTime,omitempty"`
}

FloatingIPStatusApplyConfiguration represents a declarative configuration of the FloatingIPStatus type for use with apply.

func FloatingIPStatus ¶

func FloatingIPStatus() *FloatingIPStatusApplyConfiguration

FloatingIPStatusApplyConfiguration constructs a declarative configuration of the FloatingIPStatus type for use with apply.

func (*FloatingIPStatusApplyConfiguration) WithConditions ¶

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*FloatingIPStatusApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*FloatingIPStatusApplyConfiguration) WithLastSyncTime ¶

WithLastSyncTime sets the LastSyncTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastSyncTime field is set to the value of the last call.

func (*FloatingIPStatusApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

type GroupApplyConfiguration ¶

type GroupApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *GroupSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *GroupStatusApplyConfiguration `json:"status,omitempty"`
}

GroupApplyConfiguration represents a declarative configuration of the Group type for use with apply.

func ExtractGroup ¶

func ExtractGroup(group *apiv1alpha1.Group, fieldManager string) (*GroupApplyConfiguration, error)

ExtractGroup extracts the applied configuration owned by fieldManager from group. If no managedFields are found in group for fieldManager, a GroupApplyConfiguration 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. group must be a unmodified Group API object that was retrieved from the Kubernetes API. ExtractGroup 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 ExtractGroupStatus ¶

func ExtractGroupStatus(group *apiv1alpha1.Group, fieldManager string) (*GroupApplyConfiguration, error)

ExtractGroupStatus is the same as ExtractGroup except that it extracts the status subresource applied configuration. Experimental!

func Group ¶

func Group(name, namespace string) *GroupApplyConfiguration

Group constructs a declarative configuration of the Group type for use with apply.

func (*GroupApplyConfiguration) GetAPIVersion ¶

func (b *GroupApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*GroupApplyConfiguration) GetKind ¶

func (b *GroupApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*GroupApplyConfiguration) GetName ¶

func (b *GroupApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*GroupApplyConfiguration) GetNamespace ¶

func (b *GroupApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (GroupApplyConfiguration) IsApplyConfiguration ¶

func (b GroupApplyConfiguration) IsApplyConfiguration()

func (*GroupApplyConfiguration) WithAPIVersion ¶

func (b *GroupApplyConfiguration) WithAPIVersion(value string) *GroupApplyConfiguration

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 (*GroupApplyConfiguration) WithAnnotations ¶

func (b *GroupApplyConfiguration) WithAnnotations(entries map[string]string) *GroupApplyConfiguration

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 (*GroupApplyConfiguration) WithCreationTimestamp ¶

func (b *GroupApplyConfiguration) WithCreationTimestamp(value metav1.Time) *GroupApplyConfiguration

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 (*GroupApplyConfiguration) WithDeletionGracePeriodSeconds ¶

func (b *GroupApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *GroupApplyConfiguration

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 (*GroupApplyConfiguration) WithDeletionTimestamp ¶

func (b *GroupApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *GroupApplyConfiguration

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 (*GroupApplyConfiguration) WithFinalizers ¶

func (b *GroupApplyConfiguration) WithFinalizers(values ...string) *GroupApplyConfiguration

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 (*GroupApplyConfiguration) WithGenerateName ¶

func (b *GroupApplyConfiguration) WithGenerateName(value string) *GroupApplyConfiguration

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 (*GroupApplyConfiguration) WithGeneration ¶

func (b *GroupApplyConfiguration) WithGeneration(value int64) *GroupApplyConfiguration

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 (*GroupApplyConfiguration) WithKind ¶

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*GroupApplyConfiguration) WithLabels ¶

func (b *GroupApplyConfiguration) WithLabels(entries map[string]string) *GroupApplyConfiguration

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 (*GroupApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*GroupApplyConfiguration) WithNamespace ¶

func (b *GroupApplyConfiguration) WithNamespace(value string) *GroupApplyConfiguration

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 (*GroupApplyConfiguration) WithOwnerReferences ¶

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*GroupApplyConfiguration) WithResourceVersion ¶

func (b *GroupApplyConfiguration) WithResourceVersion(value string) *GroupApplyConfiguration

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 (*GroupApplyConfiguration) WithSpec ¶

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*GroupApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*GroupApplyConfiguration) WithUID ¶

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type GroupFilterApplyConfiguration ¶

type GroupFilterApplyConfiguration struct {
	Name      *apiv1alpha1.KeystoneName      `json:"name,omitempty"`
	DomainRef *apiv1alpha1.KubernetesNameRef `json:"domainRef,omitempty"`
}

GroupFilterApplyConfiguration represents a declarative configuration of the GroupFilter type for use with apply.

func GroupFilter ¶

func GroupFilter() *GroupFilterApplyConfiguration

GroupFilterApplyConfiguration constructs a declarative configuration of the GroupFilter type for use with apply.

func (*GroupFilterApplyConfiguration) WithDomainRef ¶

WithDomainRef sets the DomainRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DomainRef field is set to the value of the last call.

func (*GroupFilterApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

type GroupImportApplyConfiguration ¶

type GroupImportApplyConfiguration struct {
	ID     *string                        `json:"id,omitempty"`
	Filter *GroupFilterApplyConfiguration `json:"filter,omitempty"`
}

GroupImportApplyConfiguration represents a declarative configuration of the GroupImport type for use with apply.

func GroupImport ¶

func GroupImport() *GroupImportApplyConfiguration

GroupImportApplyConfiguration constructs a declarative configuration of the GroupImport type for use with apply.

func (*GroupImportApplyConfiguration) WithFilter ¶

WithFilter sets the Filter field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Filter field is set to the value of the last call.

func (*GroupImportApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

type GroupResourceSpecApplyConfiguration ¶

type GroupResourceSpecApplyConfiguration struct {
	Name        *apiv1alpha1.KeystoneName      `json:"name,omitempty"`
	Description *string                        `json:"description,omitempty"`
	DomainRef   *apiv1alpha1.KubernetesNameRef `json:"domainRef,omitempty"`
}

GroupResourceSpecApplyConfiguration represents a declarative configuration of the GroupResourceSpec type for use with apply.

func GroupResourceSpec ¶

func GroupResourceSpec() *GroupResourceSpecApplyConfiguration

GroupResourceSpecApplyConfiguration constructs a declarative configuration of the GroupResourceSpec type for use with apply.

func (*GroupResourceSpecApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*GroupResourceSpecApplyConfiguration) WithDomainRef ¶

WithDomainRef sets the DomainRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DomainRef field is set to the value of the last call.

func (*GroupResourceSpecApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

type GroupResourceStatusApplyConfiguration ¶

type GroupResourceStatusApplyConfiguration struct {
	Name        *string `json:"name,omitempty"`
	Description *string `json:"description,omitempty"`
	DomainID    *string `json:"domainID,omitempty"`
}

GroupResourceStatusApplyConfiguration represents a declarative configuration of the GroupResourceStatus type for use with apply.

func GroupResourceStatus ¶

func GroupResourceStatus() *GroupResourceStatusApplyConfiguration

GroupResourceStatusApplyConfiguration constructs a declarative configuration of the GroupResourceStatus type for use with apply.

func (*GroupResourceStatusApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*GroupResourceStatusApplyConfiguration) WithDomainID ¶

WithDomainID sets the DomainID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DomainID field is set to the value of the last call.

func (*GroupResourceStatusApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

type GroupSpecApplyConfiguration ¶

type GroupSpecApplyConfiguration struct {
	Import              *GroupImportApplyConfiguration               `json:"import,omitempty"`
	Resource            *GroupResourceSpecApplyConfiguration         `json:"resource,omitempty"`
	ManagementPolicy    *apiv1alpha1.ManagementPolicy                `json:"managementPolicy,omitempty"`
	ManagedOptions      *ManagedOptionsApplyConfiguration            `json:"managedOptions,omitempty"`
	ResyncPeriod        *v1.Duration                                 `json:"resyncPeriod,omitempty"`
	CloudCredentialsRef *CloudCredentialsReferenceApplyConfiguration `json:"cloudCredentialsRef,omitempty"`
}

GroupSpecApplyConfiguration represents a declarative configuration of the GroupSpec type for use with apply.

func GroupSpec ¶

func GroupSpec() *GroupSpecApplyConfiguration

GroupSpecApplyConfiguration constructs a declarative configuration of the GroupSpec type for use with apply.

func (*GroupSpecApplyConfiguration) WithCloudCredentialsRef ¶

WithCloudCredentialsRef sets the CloudCredentialsRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CloudCredentialsRef field is set to the value of the last call.

func (*GroupSpecApplyConfiguration) WithImport ¶

WithImport sets the Import field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Import field is set to the value of the last call.

func (*GroupSpecApplyConfiguration) WithManagedOptions ¶

WithManagedOptions sets the ManagedOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagedOptions field is set to the value of the last call.

func (*GroupSpecApplyConfiguration) WithManagementPolicy ¶

WithManagementPolicy sets the ManagementPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementPolicy field is set to the value of the last call.

func (*GroupSpecApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

func (*GroupSpecApplyConfiguration) WithResyncPeriod ¶

WithResyncPeriod sets the ResyncPeriod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResyncPeriod field is set to the value of the last call.

type GroupStatusApplyConfiguration ¶

type GroupStatusApplyConfiguration struct {
	Conditions   []v1.ConditionApplyConfiguration       `json:"conditions,omitempty"`
	ID           *string                                `json:"id,omitempty"`
	Resource     *GroupResourceStatusApplyConfiguration `json:"resource,omitempty"`
	LastSyncTime *metav1.Time                           `json:"lastSyncTime,omitempty"`
}

GroupStatusApplyConfiguration represents a declarative configuration of the GroupStatus type for use with apply.

func GroupStatus ¶

func GroupStatus() *GroupStatusApplyConfiguration

GroupStatusApplyConfiguration constructs a declarative configuration of the GroupStatus type for use with apply.

func (*GroupStatusApplyConfiguration) WithConditions ¶

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*GroupStatusApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*GroupStatusApplyConfiguration) WithLastSyncTime ¶

WithLastSyncTime sets the LastSyncTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastSyncTime field is set to the value of the last call.

func (*GroupStatusApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

type HostIDApplyConfiguration ¶

type HostIDApplyConfiguration struct {
	ID        *string                        `json:"id,omitempty"`
	ServerRef *apiv1alpha1.KubernetesNameRef `json:"serverRef,omitempty"`
}

HostIDApplyConfiguration represents a declarative configuration of the HostID type for use with apply.

func HostID ¶

func HostID() *HostIDApplyConfiguration

HostIDApplyConfiguration constructs a declarative configuration of the HostID type for use with apply.

func (*HostIDApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*HostIDApplyConfiguration) WithServerRef ¶

WithServerRef sets the ServerRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServerRef field is set to the value of the last call.

type HostRouteApplyConfiguration ¶

type HostRouteApplyConfiguration struct {
	Destination *apiv1alpha1.CIDR   `json:"destination,omitempty"`
	NextHop     *apiv1alpha1.IPvAny `json:"nextHop,omitempty"`
}

HostRouteApplyConfiguration represents a declarative configuration of the HostRoute type for use with apply.

func HostRoute ¶

func HostRoute() *HostRouteApplyConfiguration

HostRouteApplyConfiguration constructs a declarative configuration of the HostRoute type for use with apply.

func (*HostRouteApplyConfiguration) WithDestination ¶

WithDestination sets the Destination field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Destination field is set to the value of the last call.

func (*HostRouteApplyConfiguration) WithNextHop ¶

WithNextHop sets the NextHop field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NextHop field is set to the value of the last call.

type HostRouteStatusApplyConfiguration ¶

type HostRouteStatusApplyConfiguration struct {
	Destination *string `json:"destination,omitempty"`
	NextHop     *string `json:"nextHop,omitempty"`
}

HostRouteStatusApplyConfiguration represents a declarative configuration of the HostRouteStatus type for use with apply.

func HostRouteStatus ¶

func HostRouteStatus() *HostRouteStatusApplyConfiguration

HostRouteStatusApplyConfiguration constructs a declarative configuration of the HostRouteStatus type for use with apply.

func (*HostRouteStatusApplyConfiguration) WithDestination ¶

WithDestination sets the Destination field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Destination field is set to the value of the last call.

func (*HostRouteStatusApplyConfiguration) WithNextHop ¶

WithNextHop sets the NextHop field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NextHop field is set to the value of the last call.

type IPv6OptionsApplyConfiguration ¶

type IPv6OptionsApplyConfiguration struct {
	AddressMode *apiv1alpha1.IPv6AddressMode `json:"addressMode,omitempty"`
	RAMode      *apiv1alpha1.IPv6RAMode      `json:"raMode,omitempty"`
}

IPv6OptionsApplyConfiguration represents a declarative configuration of the IPv6Options type for use with apply.

func IPv6Options ¶

func IPv6Options() *IPv6OptionsApplyConfiguration

IPv6OptionsApplyConfiguration constructs a declarative configuration of the IPv6Options type for use with apply.

func (*IPv6OptionsApplyConfiguration) WithAddressMode ¶

WithAddressMode sets the AddressMode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AddressMode field is set to the value of the last call.

func (*IPv6OptionsApplyConfiguration) WithRAMode ¶

WithRAMode sets the RAMode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RAMode field is set to the value of the last call.

type ImageApplyConfiguration ¶

type ImageApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *ImageSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *ImageStatusApplyConfiguration `json:"status,omitempty"`
}

ImageApplyConfiguration represents a declarative configuration of the Image type for use with apply.

func ExtractImage ¶

func ExtractImage(image *apiv1alpha1.Image, fieldManager string) (*ImageApplyConfiguration, error)

ExtractImage extracts the applied configuration owned by fieldManager from image. If no managedFields are found in image for fieldManager, a ImageApplyConfiguration 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. image must be a unmodified Image API object that was retrieved from the Kubernetes API. ExtractImage 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 ExtractImageStatus ¶

func ExtractImageStatus(image *apiv1alpha1.Image, fieldManager string) (*ImageApplyConfiguration, error)

ExtractImageStatus is the same as ExtractImage except that it extracts the status subresource applied configuration. Experimental!

func Image ¶

func Image(name, namespace string) *ImageApplyConfiguration

Image constructs a declarative configuration of the Image type for use with apply.

func (*ImageApplyConfiguration) GetAPIVersion ¶

func (b *ImageApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*ImageApplyConfiguration) GetKind ¶

func (b *ImageApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*ImageApplyConfiguration) GetName ¶

func (b *ImageApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*ImageApplyConfiguration) GetNamespace ¶

func (b *ImageApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (ImageApplyConfiguration) IsApplyConfiguration ¶

func (b ImageApplyConfiguration) IsApplyConfiguration()

func (*ImageApplyConfiguration) WithAPIVersion ¶

func (b *ImageApplyConfiguration) WithAPIVersion(value string) *ImageApplyConfiguration

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 (*ImageApplyConfiguration) WithAnnotations ¶

func (b *ImageApplyConfiguration) WithAnnotations(entries map[string]string) *ImageApplyConfiguration

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 (*ImageApplyConfiguration) WithCreationTimestamp ¶

func (b *ImageApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ImageApplyConfiguration

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 (*ImageApplyConfiguration) WithDeletionGracePeriodSeconds ¶

func (b *ImageApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ImageApplyConfiguration

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 (*ImageApplyConfiguration) WithDeletionTimestamp ¶

func (b *ImageApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ImageApplyConfiguration

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 (*ImageApplyConfiguration) WithFinalizers ¶

func (b *ImageApplyConfiguration) WithFinalizers(values ...string) *ImageApplyConfiguration

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 (*ImageApplyConfiguration) WithGenerateName ¶

func (b *ImageApplyConfiguration) WithGenerateName(value string) *ImageApplyConfiguration

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 (*ImageApplyConfiguration) WithGeneration ¶

func (b *ImageApplyConfiguration) WithGeneration(value int64) *ImageApplyConfiguration

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 (*ImageApplyConfiguration) WithKind ¶

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*ImageApplyConfiguration) WithLabels ¶

func (b *ImageApplyConfiguration) WithLabels(entries map[string]string) *ImageApplyConfiguration

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 (*ImageApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*ImageApplyConfiguration) WithNamespace ¶

func (b *ImageApplyConfiguration) WithNamespace(value string) *ImageApplyConfiguration

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 (*ImageApplyConfiguration) WithOwnerReferences ¶

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*ImageApplyConfiguration) WithResourceVersion ¶

func (b *ImageApplyConfiguration) WithResourceVersion(value string) *ImageApplyConfiguration

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 (*ImageApplyConfiguration) WithSpec ¶

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*ImageApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*ImageApplyConfiguration) WithUID ¶

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type ImageContentApplyConfiguration ¶

type ImageContentApplyConfiguration struct {
	ContainerFormat *apiv1alpha1.ImageContainerFormat             `json:"containerFormat,omitempty"`
	DiskFormat      *apiv1alpha1.ImageDiskFormat                  `json:"diskFormat,omitempty"`
	Download        *ImageContentSourceDownloadApplyConfiguration `json:"download,omitempty"`
}

ImageContentApplyConfiguration represents a declarative configuration of the ImageContent type for use with apply.

func ImageContent ¶

func ImageContent() *ImageContentApplyConfiguration

ImageContentApplyConfiguration constructs a declarative configuration of the ImageContent type for use with apply.

func (*ImageContentApplyConfiguration) WithContainerFormat ¶

WithContainerFormat sets the ContainerFormat field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ContainerFormat field is set to the value of the last call.

func (*ImageContentApplyConfiguration) WithDiskFormat ¶

WithDiskFormat sets the DiskFormat field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DiskFormat field is set to the value of the last call.

func (*ImageContentApplyConfiguration) WithDownload ¶

WithDownload sets the Download field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Download field is set to the value of the last call.

type ImageContentSourceDownloadApplyConfiguration ¶

type ImageContentSourceDownloadApplyConfiguration struct {
	URL        *string                       `json:"url,omitempty"`
	Decompress *apiv1alpha1.ImageCompression `json:"decompress,omitempty"`
	Hash       *ImageHashApplyConfiguration  `json:"hash,omitempty"`
}

ImageContentSourceDownloadApplyConfiguration represents a declarative configuration of the ImageContentSourceDownload type for use with apply.

func ImageContentSourceDownload ¶

func ImageContentSourceDownload() *ImageContentSourceDownloadApplyConfiguration

ImageContentSourceDownloadApplyConfiguration constructs a declarative configuration of the ImageContentSourceDownload type for use with apply.

func (*ImageContentSourceDownloadApplyConfiguration) WithDecompress ¶

WithDecompress sets the Decompress field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Decompress field is set to the value of the last call.

func (*ImageContentSourceDownloadApplyConfiguration) WithHash ¶

WithHash sets the Hash field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Hash field is set to the value of the last call.

func (*ImageContentSourceDownloadApplyConfiguration) WithURL ¶

WithURL sets the URL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the URL field is set to the value of the last call.

type ImageFilterApplyConfiguration ¶

type ImageFilterApplyConfiguration struct {
	Name       *apiv1alpha1.OpenStackName   `json:"name,omitempty"`
	Visibility *apiv1alpha1.ImageVisibility `json:"visibility,omitempty"`
	Tags       []apiv1alpha1.ImageTag       `json:"tags,omitempty"`
}

ImageFilterApplyConfiguration represents a declarative configuration of the ImageFilter type for use with apply.

func ImageFilter ¶

func ImageFilter() *ImageFilterApplyConfiguration

ImageFilterApplyConfiguration constructs a declarative configuration of the ImageFilter type for use with apply.

func (*ImageFilterApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*ImageFilterApplyConfiguration) WithTags ¶

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 (*ImageFilterApplyConfiguration) WithVisibility ¶

WithVisibility sets the Visibility field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Visibility field is set to the value of the last call.

type ImageHashApplyConfiguration ¶

type ImageHashApplyConfiguration struct {
	Algorithm *apiv1alpha1.ImageHashAlgorithm `json:"algorithm,omitempty"`
	Value     *string                         `json:"value,omitempty"`
}

ImageHashApplyConfiguration represents a declarative configuration of the ImageHash type for use with apply.

func ImageHash ¶

func ImageHash() *ImageHashApplyConfiguration

ImageHashApplyConfiguration constructs a declarative configuration of the ImageHash type for use with apply.

func (*ImageHashApplyConfiguration) WithAlgorithm ¶

WithAlgorithm sets the Algorithm field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Algorithm field is set to the value of the last call.

func (*ImageHashApplyConfiguration) WithValue ¶

WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.

type ImageImportApplyConfiguration ¶

type ImageImportApplyConfiguration struct {
	ID     *string                        `json:"id,omitempty"`
	Filter *ImageFilterApplyConfiguration `json:"filter,omitempty"`
}

ImageImportApplyConfiguration represents a declarative configuration of the ImageImport type for use with apply.

func ImageImport ¶

func ImageImport() *ImageImportApplyConfiguration

ImageImportApplyConfiguration constructs a declarative configuration of the ImageImport type for use with apply.

func (*ImageImportApplyConfiguration) WithFilter ¶

WithFilter sets the Filter field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Filter field is set to the value of the last call.

func (*ImageImportApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

type ImagePropertiesApplyConfiguration ¶

type ImagePropertiesApplyConfiguration struct {
	Architecture    *string                                           `json:"architecture,omitempty"`
	HypervisorType  *string                                           `json:"hypervisorType,omitempty"`
	MinDiskGB       *int32                                            `json:"minDiskGB,omitempty"`
	MinMemoryMB     *int32                                            `json:"minMemoryMB,omitempty"`
	Hardware        *ImagePropertiesHardwareApplyConfiguration        `json:"hardware,omitempty"`
	OperatingSystem *ImagePropertiesOperatingSystemApplyConfiguration `json:"operatingSystem,omitempty"`
}

ImagePropertiesApplyConfiguration represents a declarative configuration of the ImageProperties type for use with apply.

func ImageProperties ¶

func ImageProperties() *ImagePropertiesApplyConfiguration

ImagePropertiesApplyConfiguration constructs a declarative configuration of the ImageProperties type for use with apply.

func (*ImagePropertiesApplyConfiguration) WithArchitecture ¶

WithArchitecture sets the Architecture field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Architecture field is set to the value of the last call.

func (*ImagePropertiesApplyConfiguration) WithHardware ¶

WithHardware sets the Hardware field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Hardware field is set to the value of the last call.

func (*ImagePropertiesApplyConfiguration) WithHypervisorType ¶

WithHypervisorType sets the HypervisorType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HypervisorType field is set to the value of the last call.

func (*ImagePropertiesApplyConfiguration) WithMinDiskGB ¶

WithMinDiskGB sets the MinDiskGB field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MinDiskGB field is set to the value of the last call.

func (*ImagePropertiesApplyConfiguration) WithMinMemoryMB ¶

WithMinMemoryMB sets the MinMemoryMB field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MinMemoryMB field is set to the value of the last call.

func (*ImagePropertiesApplyConfiguration) WithOperatingSystem ¶

WithOperatingSystem sets the OperatingSystem field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OperatingSystem field is set to the value of the last call.

type ImagePropertiesHardwareApplyConfiguration ¶

type ImagePropertiesHardwareApplyConfiguration struct {
	CPUSockets      *int32                  `json:"cpuSockets,omitempty"`
	CPUCores        *int32                  `json:"cpuCores,omitempty"`
	CPUThreads      *int32                  `json:"cpuThreads,omitempty"`
	CPUPolicy       *string                 `json:"cpuPolicy,omitempty"`
	CPUThreadPolicy *string                 `json:"cpuThreadPolicy,omitempty"`
	CDROMBus        *apiv1alpha1.ImageHWBus `json:"cdromBus,omitempty"`
	DiskBus         *apiv1alpha1.ImageHWBus `json:"diskBus,omitempty"`
	FirmwareType    *string                 `json:"firmwareType,omitempty"`
	SCSIModel       *string                 `json:"scsiModel,omitempty"`
	VIFModel        *string                 `json:"vifModel,omitempty"`
	RngModel        *string                 `json:"rngModel,omitempty"`
	QemuGuestAgent  *bool                   `json:"qemuGuestAgent,omitempty"`
}

ImagePropertiesHardwareApplyConfiguration represents a declarative configuration of the ImagePropertiesHardware type for use with apply.

func ImagePropertiesHardware ¶

func ImagePropertiesHardware() *ImagePropertiesHardwareApplyConfiguration

ImagePropertiesHardwareApplyConfiguration constructs a declarative configuration of the ImagePropertiesHardware type for use with apply.

func (*ImagePropertiesHardwareApplyConfiguration) WithCDROMBus ¶

WithCDROMBus sets the CDROMBus field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CDROMBus field is set to the value of the last call.

func (*ImagePropertiesHardwareApplyConfiguration) WithCPUCores ¶

WithCPUCores sets the CPUCores field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CPUCores field is set to the value of the last call.

func (*ImagePropertiesHardwareApplyConfiguration) WithCPUPolicy ¶

WithCPUPolicy sets the CPUPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CPUPolicy field is set to the value of the last call.

func (*ImagePropertiesHardwareApplyConfiguration) WithCPUSockets ¶

WithCPUSockets sets the CPUSockets field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CPUSockets field is set to the value of the last call.

func (*ImagePropertiesHardwareApplyConfiguration) WithCPUThreadPolicy ¶

WithCPUThreadPolicy sets the CPUThreadPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CPUThreadPolicy field is set to the value of the last call.

func (*ImagePropertiesHardwareApplyConfiguration) WithCPUThreads ¶

WithCPUThreads sets the CPUThreads field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CPUThreads field is set to the value of the last call.

func (*ImagePropertiesHardwareApplyConfiguration) WithDiskBus ¶

WithDiskBus sets the DiskBus field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DiskBus field is set to the value of the last call.

func (*ImagePropertiesHardwareApplyConfiguration) WithFirmwareType ¶

WithFirmwareType sets the FirmwareType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FirmwareType field is set to the value of the last call.

func (*ImagePropertiesHardwareApplyConfiguration) WithQemuGuestAgent ¶

WithQemuGuestAgent sets the QemuGuestAgent field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the QemuGuestAgent field is set to the value of the last call.

func (*ImagePropertiesHardwareApplyConfiguration) WithRngModel ¶

WithRngModel sets the RngModel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RngModel field is set to the value of the last call.

func (*ImagePropertiesHardwareApplyConfiguration) WithSCSIModel ¶

WithSCSIModel sets the SCSIModel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SCSIModel field is set to the value of the last call.

func (*ImagePropertiesHardwareApplyConfiguration) WithVIFModel ¶

WithVIFModel sets the VIFModel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VIFModel field is set to the value of the last call.

type ImagePropertiesOperatingSystemApplyConfiguration ¶

type ImagePropertiesOperatingSystemApplyConfiguration struct {
	Distro  *string `json:"distro,omitempty"`
	Version *string `json:"version,omitempty"`
}

ImagePropertiesOperatingSystemApplyConfiguration represents a declarative configuration of the ImagePropertiesOperatingSystem type for use with apply.

func ImagePropertiesOperatingSystem ¶

func ImagePropertiesOperatingSystem() *ImagePropertiesOperatingSystemApplyConfiguration

ImagePropertiesOperatingSystemApplyConfiguration constructs a declarative configuration of the ImagePropertiesOperatingSystem type for use with apply.

func (*ImagePropertiesOperatingSystemApplyConfiguration) WithDistro ¶

WithDistro sets the Distro field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Distro field is set to the value of the last call.

func (*ImagePropertiesOperatingSystemApplyConfiguration) WithVersion ¶

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.

type ImageResourceSpecApplyConfiguration ¶

type ImageResourceSpecApplyConfiguration struct {
	Name       *apiv1alpha1.OpenStackName         `json:"name,omitempty"`
	Protected  *bool                              `json:"protected,omitempty"`
	Tags       []apiv1alpha1.ImageTag             `json:"tags,omitempty"`
	Visibility *apiv1alpha1.ImageVisibility       `json:"visibility,omitempty"`
	Properties *ImagePropertiesApplyConfiguration `json:"properties,omitempty"`
	Content    *ImageContentApplyConfiguration    `json:"content,omitempty"`
}

ImageResourceSpecApplyConfiguration represents a declarative configuration of the ImageResourceSpec type for use with apply.

func ImageResourceSpec ¶

func ImageResourceSpec() *ImageResourceSpecApplyConfiguration

ImageResourceSpecApplyConfiguration constructs a declarative configuration of the ImageResourceSpec type for use with apply.

func (*ImageResourceSpecApplyConfiguration) WithContent ¶

WithContent sets the Content field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Content field is set to the value of the last call.

func (*ImageResourceSpecApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*ImageResourceSpecApplyConfiguration) WithProperties ¶

WithProperties sets the Properties field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Properties field is set to the value of the last call.

func (*ImageResourceSpecApplyConfiguration) WithProtected ¶

WithProtected sets the Protected field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Protected field is set to the value of the last call.

func (*ImageResourceSpecApplyConfiguration) WithTags ¶

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 (*ImageResourceSpecApplyConfiguration) WithVisibility ¶

WithVisibility sets the Visibility field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Visibility field is set to the value of the last call.

type ImageResourceStatusApplyConfiguration ¶

type ImageResourceStatusApplyConfiguration struct {
	Name         *string                      `json:"name,omitempty"`
	Status       *string                      `json:"status,omitempty"`
	Protected    *bool                        `json:"protected,omitempty"`
	Visibility   *string                      `json:"visibility,omitempty"`
	Hash         *ImageHashApplyConfiguration `json:"hash,omitempty"`
	SizeB        *int64                       `json:"sizeB,omitempty"`
	VirtualSizeB *int64                       `json:"virtualSizeB,omitempty"`
	Tags         []string                     `json:"tags,omitempty"`
}

ImageResourceStatusApplyConfiguration represents a declarative configuration of the ImageResourceStatus type for use with apply.

func ImageResourceStatus ¶

func ImageResourceStatus() *ImageResourceStatusApplyConfiguration

ImageResourceStatusApplyConfiguration constructs a declarative configuration of the ImageResourceStatus type for use with apply.

func (*ImageResourceStatusApplyConfiguration) WithHash ¶

WithHash sets the Hash field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Hash field is set to the value of the last call.

func (*ImageResourceStatusApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*ImageResourceStatusApplyConfiguration) WithProtected ¶

WithProtected sets the Protected field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Protected field is set to the value of the last call.

func (*ImageResourceStatusApplyConfiguration) WithSizeB ¶

WithSizeB sets the SizeB field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SizeB field is set to the value of the last call.

func (*ImageResourceStatusApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*ImageResourceStatusApplyConfiguration) WithTags ¶

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 (*ImageResourceStatusApplyConfiguration) WithVirtualSizeB ¶

WithVirtualSizeB sets the VirtualSizeB field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VirtualSizeB field is set to the value of the last call.

func (*ImageResourceStatusApplyConfiguration) WithVisibility ¶

WithVisibility sets the Visibility field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Visibility field is set to the value of the last call.

type ImageSpecApplyConfiguration ¶

type ImageSpecApplyConfiguration struct {
	Import              *ImageImportApplyConfiguration               `json:"import,omitempty"`
	Resource            *ImageResourceSpecApplyConfiguration         `json:"resource,omitempty"`
	ManagementPolicy    *apiv1alpha1.ManagementPolicy                `json:"managementPolicy,omitempty"`
	ManagedOptions      *ManagedOptionsApplyConfiguration            `json:"managedOptions,omitempty"`
	ResyncPeriod        *v1.Duration                                 `json:"resyncPeriod,omitempty"`
	CloudCredentialsRef *CloudCredentialsReferenceApplyConfiguration `json:"cloudCredentialsRef,omitempty"`
}

ImageSpecApplyConfiguration represents a declarative configuration of the ImageSpec type for use with apply.

func ImageSpec ¶

func ImageSpec() *ImageSpecApplyConfiguration

ImageSpecApplyConfiguration constructs a declarative configuration of the ImageSpec type for use with apply.

func (*ImageSpecApplyConfiguration) WithCloudCredentialsRef ¶

WithCloudCredentialsRef sets the CloudCredentialsRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CloudCredentialsRef field is set to the value of the last call.

func (*ImageSpecApplyConfiguration) WithImport ¶

WithImport sets the Import field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Import field is set to the value of the last call.

func (*ImageSpecApplyConfiguration) WithManagedOptions ¶

WithManagedOptions sets the ManagedOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagedOptions field is set to the value of the last call.

func (*ImageSpecApplyConfiguration) WithManagementPolicy ¶

WithManagementPolicy sets the ManagementPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementPolicy field is set to the value of the last call.

func (*ImageSpecApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

func (*ImageSpecApplyConfiguration) WithResyncPeriod ¶

WithResyncPeriod sets the ResyncPeriod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResyncPeriod field is set to the value of the last call.

type ImageStatusApplyConfiguration ¶

type ImageStatusApplyConfiguration struct {
	Conditions                         []v1.ConditionApplyConfiguration       `json:"conditions,omitempty"`
	ID                                 *string                                `json:"id,omitempty"`
	Resource                           *ImageResourceStatusApplyConfiguration `json:"resource,omitempty"`
	LastSyncTime                       *metav1.Time                           `json:"lastSyncTime,omitempty"`
	ImageStatusExtraApplyConfiguration `json:",inline"`
}

ImageStatusApplyConfiguration represents a declarative configuration of the ImageStatus type for use with apply.

func ImageStatus ¶

func ImageStatus() *ImageStatusApplyConfiguration

ImageStatusApplyConfiguration constructs a declarative configuration of the ImageStatus type for use with apply.

func (*ImageStatusApplyConfiguration) WithConditions ¶

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*ImageStatusApplyConfiguration) WithDownloadAttempts ¶

func (b *ImageStatusApplyConfiguration) WithDownloadAttempts(value int32) *ImageStatusApplyConfiguration

WithDownloadAttempts sets the DownloadAttempts field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DownloadAttempts field is set to the value of the last call.

func (*ImageStatusApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*ImageStatusApplyConfiguration) WithLastSyncTime ¶

WithLastSyncTime sets the LastSyncTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastSyncTime field is set to the value of the last call.

func (*ImageStatusApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

type ImageStatusExtraApplyConfiguration ¶

type ImageStatusExtraApplyConfiguration struct {
	DownloadAttempts *int32 `json:"downloadAttempts,omitempty"`
}

ImageStatusExtraApplyConfiguration represents a declarative configuration of the ImageStatusExtra type for use with apply.

func ImageStatusExtra ¶

func ImageStatusExtra() *ImageStatusExtraApplyConfiguration

ImageStatusExtraApplyConfiguration constructs a declarative configuration of the ImageStatusExtra type for use with apply.

func (*ImageStatusExtraApplyConfiguration) WithDownloadAttempts ¶

WithDownloadAttempts sets the DownloadAttempts field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DownloadAttempts field is set to the value of the last call.

type KeyPairApplyConfiguration ¶

type KeyPairApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *KeyPairSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *KeyPairStatusApplyConfiguration `json:"status,omitempty"`
}

KeyPairApplyConfiguration represents a declarative configuration of the KeyPair type for use with apply.

func ExtractKeyPair ¶

func ExtractKeyPair(keyPair *apiv1alpha1.KeyPair, fieldManager string) (*KeyPairApplyConfiguration, error)

ExtractKeyPair extracts the applied configuration owned by fieldManager from keyPair. If no managedFields are found in keyPair for fieldManager, a KeyPairApplyConfiguration 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. keyPair must be a unmodified KeyPair API object that was retrieved from the Kubernetes API. ExtractKeyPair 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 ExtractKeyPairStatus ¶

func ExtractKeyPairStatus(keyPair *apiv1alpha1.KeyPair, fieldManager string) (*KeyPairApplyConfiguration, error)

ExtractKeyPairStatus is the same as ExtractKeyPair except that it extracts the status subresource applied configuration. Experimental!

func KeyPair ¶

func KeyPair(name, namespace string) *KeyPairApplyConfiguration

KeyPair constructs a declarative configuration of the KeyPair type for use with apply.

func (*KeyPairApplyConfiguration) GetAPIVersion ¶

func (b *KeyPairApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*KeyPairApplyConfiguration) GetKind ¶

func (b *KeyPairApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*KeyPairApplyConfiguration) GetName ¶

func (b *KeyPairApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*KeyPairApplyConfiguration) GetNamespace ¶

func (b *KeyPairApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (KeyPairApplyConfiguration) IsApplyConfiguration ¶

func (b KeyPairApplyConfiguration) IsApplyConfiguration()

func (*KeyPairApplyConfiguration) WithAPIVersion ¶

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*KeyPairApplyConfiguration) WithAnnotations ¶

func (b *KeyPairApplyConfiguration) WithAnnotations(entries map[string]string) *KeyPairApplyConfiguration

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 (*KeyPairApplyConfiguration) WithCreationTimestamp ¶

func (b *KeyPairApplyConfiguration) WithCreationTimestamp(value metav1.Time) *KeyPairApplyConfiguration

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 (*KeyPairApplyConfiguration) WithDeletionGracePeriodSeconds ¶

func (b *KeyPairApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *KeyPairApplyConfiguration

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 (*KeyPairApplyConfiguration) WithDeletionTimestamp ¶

func (b *KeyPairApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *KeyPairApplyConfiguration

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 (*KeyPairApplyConfiguration) WithFinalizers ¶

func (b *KeyPairApplyConfiguration) WithFinalizers(values ...string) *KeyPairApplyConfiguration

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 (*KeyPairApplyConfiguration) WithGenerateName ¶

func (b *KeyPairApplyConfiguration) WithGenerateName(value string) *KeyPairApplyConfiguration

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 (*KeyPairApplyConfiguration) WithGeneration ¶

func (b *KeyPairApplyConfiguration) WithGeneration(value int64) *KeyPairApplyConfiguration

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 (*KeyPairApplyConfiguration) WithKind ¶

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*KeyPairApplyConfiguration) WithLabels ¶

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*KeyPairApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*KeyPairApplyConfiguration) WithNamespace ¶

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*KeyPairApplyConfiguration) WithOwnerReferences ¶

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*KeyPairApplyConfiguration) WithResourceVersion ¶

func (b *KeyPairApplyConfiguration) WithResourceVersion(value string) *KeyPairApplyConfiguration

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 (*KeyPairApplyConfiguration) WithSpec ¶

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*KeyPairApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*KeyPairApplyConfiguration) WithUID ¶

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type KeyPairFilterApplyConfiguration ¶

type KeyPairFilterApplyConfiguration struct {
	Name *apiv1alpha1.OpenStackName `json:"name,omitempty"`
}

KeyPairFilterApplyConfiguration represents a declarative configuration of the KeyPairFilter type for use with apply.

func KeyPairFilter ¶

func KeyPairFilter() *KeyPairFilterApplyConfiguration

KeyPairFilterApplyConfiguration constructs a declarative configuration of the KeyPairFilter type for use with apply.

func (*KeyPairFilterApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

type KeyPairImportApplyConfiguration ¶

type KeyPairImportApplyConfiguration struct {
	ID     *string                          `json:"id,omitempty"`
	Filter *KeyPairFilterApplyConfiguration `json:"filter,omitempty"`
}

KeyPairImportApplyConfiguration represents a declarative configuration of the KeyPairImport type for use with apply.

func KeyPairImport ¶

func KeyPairImport() *KeyPairImportApplyConfiguration

KeyPairImportApplyConfiguration constructs a declarative configuration of the KeyPairImport type for use with apply.

func (*KeyPairImportApplyConfiguration) WithFilter ¶

WithFilter sets the Filter field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Filter field is set to the value of the last call.

func (*KeyPairImportApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

type KeyPairResourceSpecApplyConfiguration ¶

type KeyPairResourceSpecApplyConfiguration struct {
	Name      *apiv1alpha1.OpenStackName `json:"name,omitempty"`
	Type      *string                    `json:"type,omitempty"`
	PublicKey *string                    `json:"publicKey,omitempty"`
}

KeyPairResourceSpecApplyConfiguration represents a declarative configuration of the KeyPairResourceSpec type for use with apply.

func KeyPairResourceSpec ¶

func KeyPairResourceSpec() *KeyPairResourceSpecApplyConfiguration

KeyPairResourceSpecApplyConfiguration constructs a declarative configuration of the KeyPairResourceSpec type for use with apply.

func (*KeyPairResourceSpecApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*KeyPairResourceSpecApplyConfiguration) WithPublicKey ¶

WithPublicKey sets the PublicKey field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PublicKey field is set to the value of the last call.

func (*KeyPairResourceSpecApplyConfiguration) WithType ¶

WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.

type KeyPairResourceStatusApplyConfiguration ¶

type KeyPairResourceStatusApplyConfiguration struct {
	Name        *string `json:"name,omitempty"`
	Fingerprint *string `json:"fingerprint,omitempty"`
	PublicKey   *string `json:"publicKey,omitempty"`
	Type        *string `json:"type,omitempty"`
}

KeyPairResourceStatusApplyConfiguration represents a declarative configuration of the KeyPairResourceStatus type for use with apply.

func KeyPairResourceStatus ¶

func KeyPairResourceStatus() *KeyPairResourceStatusApplyConfiguration

KeyPairResourceStatusApplyConfiguration constructs a declarative configuration of the KeyPairResourceStatus type for use with apply.

func (*KeyPairResourceStatusApplyConfiguration) WithFingerprint ¶

WithFingerprint sets the Fingerprint field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Fingerprint field is set to the value of the last call.

func (*KeyPairResourceStatusApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*KeyPairResourceStatusApplyConfiguration) WithPublicKey ¶

WithPublicKey sets the PublicKey field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PublicKey field is set to the value of the last call.

func (*KeyPairResourceStatusApplyConfiguration) WithType ¶

WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.

type KeyPairSpecApplyConfiguration ¶

type KeyPairSpecApplyConfiguration struct {
	Import              *KeyPairImportApplyConfiguration             `json:"import,omitempty"`
	Resource            *KeyPairResourceSpecApplyConfiguration       `json:"resource,omitempty"`
	ManagementPolicy    *apiv1alpha1.ManagementPolicy                `json:"managementPolicy,omitempty"`
	ManagedOptions      *ManagedOptionsApplyConfiguration            `json:"managedOptions,omitempty"`
	ResyncPeriod        *v1.Duration                                 `json:"resyncPeriod,omitempty"`
	CloudCredentialsRef *CloudCredentialsReferenceApplyConfiguration `json:"cloudCredentialsRef,omitempty"`
}

KeyPairSpecApplyConfiguration represents a declarative configuration of the KeyPairSpec type for use with apply.

func KeyPairSpec ¶

func KeyPairSpec() *KeyPairSpecApplyConfiguration

KeyPairSpecApplyConfiguration constructs a declarative configuration of the KeyPairSpec type for use with apply.

func (*KeyPairSpecApplyConfiguration) WithCloudCredentialsRef ¶

WithCloudCredentialsRef sets the CloudCredentialsRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CloudCredentialsRef field is set to the value of the last call.

func (*KeyPairSpecApplyConfiguration) WithImport ¶

WithImport sets the Import field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Import field is set to the value of the last call.

func (*KeyPairSpecApplyConfiguration) WithManagedOptions ¶

WithManagedOptions sets the ManagedOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagedOptions field is set to the value of the last call.

func (*KeyPairSpecApplyConfiguration) WithManagementPolicy ¶

WithManagementPolicy sets the ManagementPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementPolicy field is set to the value of the last call.

func (*KeyPairSpecApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

func (*KeyPairSpecApplyConfiguration) WithResyncPeriod ¶

WithResyncPeriod sets the ResyncPeriod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResyncPeriod field is set to the value of the last call.

type KeyPairStatusApplyConfiguration ¶

type KeyPairStatusApplyConfiguration struct {
	Conditions   []v1.ConditionApplyConfiguration         `json:"conditions,omitempty"`
	ID           *string                                  `json:"id,omitempty"`
	Resource     *KeyPairResourceStatusApplyConfiguration `json:"resource,omitempty"`
	LastSyncTime *metav1.Time                             `json:"lastSyncTime,omitempty"`
}

KeyPairStatusApplyConfiguration represents a declarative configuration of the KeyPairStatus type for use with apply.

func KeyPairStatus ¶

func KeyPairStatus() *KeyPairStatusApplyConfiguration

KeyPairStatusApplyConfiguration constructs a declarative configuration of the KeyPairStatus type for use with apply.

func (*KeyPairStatusApplyConfiguration) WithConditions ¶

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*KeyPairStatusApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*KeyPairStatusApplyConfiguration) WithLastSyncTime ¶

WithLastSyncTime sets the LastSyncTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastSyncTime field is set to the value of the last call.

func (*KeyPairStatusApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

type LimitApplyConfiguration ¶

type LimitApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *LimitSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *LimitStatusApplyConfiguration `json:"status,omitempty"`
}

LimitApplyConfiguration represents a declarative configuration of the Limit type for use with apply.

func ExtractLimit ¶

func ExtractLimit(limit *apiv1alpha1.Limit, fieldManager string) (*LimitApplyConfiguration, error)

ExtractLimit extracts the applied configuration owned by fieldManager from limit. If no managedFields are found in limit for fieldManager, a LimitApplyConfiguration 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. limit must be a unmodified Limit API object that was retrieved from the Kubernetes API. ExtractLimit 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 ExtractLimitStatus ¶

func ExtractLimitStatus(limit *apiv1alpha1.Limit, fieldManager string) (*LimitApplyConfiguration, error)

ExtractLimitStatus is the same as ExtractLimit except that it extracts the status subresource applied configuration. Experimental!

func Limit ¶

func Limit(name, namespace string) *LimitApplyConfiguration

Limit constructs a declarative configuration of the Limit type for use with apply.

func (*LimitApplyConfiguration) GetAPIVersion ¶

func (b *LimitApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*LimitApplyConfiguration) GetKind ¶

func (b *LimitApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*LimitApplyConfiguration) GetName ¶

func (b *LimitApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*LimitApplyConfiguration) GetNamespace ¶

func (b *LimitApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (LimitApplyConfiguration) IsApplyConfiguration ¶

func (b LimitApplyConfiguration) IsApplyConfiguration()

func (*LimitApplyConfiguration) WithAPIVersion ¶

func (b *LimitApplyConfiguration) WithAPIVersion(value string) *LimitApplyConfiguration

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 (*LimitApplyConfiguration) WithAnnotations ¶

func (b *LimitApplyConfiguration) WithAnnotations(entries map[string]string) *LimitApplyConfiguration

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 (*LimitApplyConfiguration) WithCreationTimestamp ¶

func (b *LimitApplyConfiguration) WithCreationTimestamp(value metav1.Time) *LimitApplyConfiguration

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 (*LimitApplyConfiguration) WithDeletionGracePeriodSeconds ¶

func (b *LimitApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *LimitApplyConfiguration

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 (*LimitApplyConfiguration) WithDeletionTimestamp ¶

func (b *LimitApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *LimitApplyConfiguration

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 (*LimitApplyConfiguration) WithFinalizers ¶

func (b *LimitApplyConfiguration) WithFinalizers(values ...string) *LimitApplyConfiguration

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 (*LimitApplyConfiguration) WithGenerateName ¶

func (b *LimitApplyConfiguration) WithGenerateName(value string) *LimitApplyConfiguration

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 (*LimitApplyConfiguration) WithGeneration ¶

func (b *LimitApplyConfiguration) WithGeneration(value int64) *LimitApplyConfiguration

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 (*LimitApplyConfiguration) WithKind ¶

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*LimitApplyConfiguration) WithLabels ¶

func (b *LimitApplyConfiguration) WithLabels(entries map[string]string) *LimitApplyConfiguration

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 (*LimitApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*LimitApplyConfiguration) WithNamespace ¶

func (b *LimitApplyConfiguration) WithNamespace(value string) *LimitApplyConfiguration

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 (*LimitApplyConfiguration) WithOwnerReferences ¶

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*LimitApplyConfiguration) WithResourceVersion ¶

func (b *LimitApplyConfiguration) WithResourceVersion(value string) *LimitApplyConfiguration

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 (*LimitApplyConfiguration) WithSpec ¶

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*LimitApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*LimitApplyConfiguration) WithUID ¶

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type LimitFilterApplyConfiguration ¶

type LimitFilterApplyConfiguration struct {
	Description  *string                        `json:"description,omitempty"`
	ServiceRef   *apiv1alpha1.KubernetesNameRef `json:"serviceRef,omitempty"`
	ProjectRef   *apiv1alpha1.KubernetesNameRef `json:"projectRef,omitempty"`
	DomainRef    *apiv1alpha1.KubernetesNameRef `json:"domainRef,omitempty"`
	ResourceName *string                        `json:"resourceName,omitempty"`
	RegionRef    *apiv1alpha1.KubernetesNameRef `json:"regionRef,omitempty"`
}

LimitFilterApplyConfiguration represents a declarative configuration of the LimitFilter type for use with apply.

func LimitFilter ¶

func LimitFilter() *LimitFilterApplyConfiguration

LimitFilterApplyConfiguration constructs a declarative configuration of the LimitFilter type for use with apply.

func (*LimitFilterApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*LimitFilterApplyConfiguration) WithDomainRef ¶

WithDomainRef sets the DomainRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DomainRef field is set to the value of the last call.

func (*LimitFilterApplyConfiguration) WithProjectRef ¶

WithProjectRef sets the ProjectRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectRef field is set to the value of the last call.

func (*LimitFilterApplyConfiguration) WithRegionRef ¶

WithRegionRef sets the RegionRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RegionRef field is set to the value of the last call.

func (*LimitFilterApplyConfiguration) WithResourceName ¶

WithResourceName sets the ResourceName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceName field is set to the value of the last call.

func (*LimitFilterApplyConfiguration) WithServiceRef ¶

WithServiceRef sets the ServiceRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServiceRef field is set to the value of the last call.

type LimitImportApplyConfiguration ¶

type LimitImportApplyConfiguration struct {
	ID     *string                        `json:"id,omitempty"`
	Filter *LimitFilterApplyConfiguration `json:"filter,omitempty"`
}

LimitImportApplyConfiguration represents a declarative configuration of the LimitImport type for use with apply.

func LimitImport ¶

func LimitImport() *LimitImportApplyConfiguration

LimitImportApplyConfiguration constructs a declarative configuration of the LimitImport type for use with apply.

func (*LimitImportApplyConfiguration) WithFilter ¶

WithFilter sets the Filter field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Filter field is set to the value of the last call.

func (*LimitImportApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

type LimitResourceSpecApplyConfiguration ¶

type LimitResourceSpecApplyConfiguration struct {
	Description   *string                        `json:"description,omitempty"`
	ServiceRef    *apiv1alpha1.KubernetesNameRef `json:"serviceRef,omitempty"`
	ProjectRef    *apiv1alpha1.KubernetesNameRef `json:"projectRef,omitempty"`
	DomainRef     *apiv1alpha1.KubernetesNameRef `json:"domainRef,omitempty"`
	ResourceName  *string                        `json:"resourceName,omitempty"`
	ResourceLimit *int32                         `json:"resourceLimit,omitempty"`
	RegionRef     *apiv1alpha1.KubernetesNameRef `json:"regionRef,omitempty"`
}

LimitResourceSpecApplyConfiguration represents a declarative configuration of the LimitResourceSpec type for use with apply.

func LimitResourceSpec ¶

func LimitResourceSpec() *LimitResourceSpecApplyConfiguration

LimitResourceSpecApplyConfiguration constructs a declarative configuration of the LimitResourceSpec type for use with apply.

func (*LimitResourceSpecApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*LimitResourceSpecApplyConfiguration) WithDomainRef ¶

WithDomainRef sets the DomainRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DomainRef field is set to the value of the last call.

func (*LimitResourceSpecApplyConfiguration) WithProjectRef ¶

WithProjectRef sets the ProjectRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectRef field is set to the value of the last call.

func (*LimitResourceSpecApplyConfiguration) WithRegionRef ¶

WithRegionRef sets the RegionRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RegionRef field is set to the value of the last call.

func (*LimitResourceSpecApplyConfiguration) WithResourceLimit ¶

WithResourceLimit sets the ResourceLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceLimit field is set to the value of the last call.

func (*LimitResourceSpecApplyConfiguration) WithResourceName ¶

WithResourceName sets the ResourceName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceName field is set to the value of the last call.

func (*LimitResourceSpecApplyConfiguration) WithServiceRef ¶

WithServiceRef sets the ServiceRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServiceRef field is set to the value of the last call.

type LimitResourceStatusApplyConfiguration ¶

type LimitResourceStatusApplyConfiguration struct {
	Description   *string `json:"description,omitempty"`
	ServiceID     *string `json:"serviceID,omitempty"`
	ProjectID     *string `json:"projectID,omitempty"`
	DomainID      *string `json:"domainID,omitempty"`
	ResourceLimit *int32  `json:"resourceLimit,omitempty"`
	ResourceName  *string `json:"resourceName,omitempty"`
	RegionID      *string `json:"regionID,omitempty"`
}

LimitResourceStatusApplyConfiguration represents a declarative configuration of the LimitResourceStatus type for use with apply.

func LimitResourceStatus ¶

func LimitResourceStatus() *LimitResourceStatusApplyConfiguration

LimitResourceStatusApplyConfiguration constructs a declarative configuration of the LimitResourceStatus type for use with apply.

func (*LimitResourceStatusApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*LimitResourceStatusApplyConfiguration) WithDomainID ¶

WithDomainID sets the DomainID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DomainID field is set to the value of the last call.

func (*LimitResourceStatusApplyConfiguration) WithProjectID ¶

WithProjectID sets the ProjectID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectID field is set to the value of the last call.

func (*LimitResourceStatusApplyConfiguration) WithRegionID ¶

WithRegionID sets the RegionID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RegionID field is set to the value of the last call.

func (*LimitResourceStatusApplyConfiguration) WithResourceLimit ¶

WithResourceLimit sets the ResourceLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceLimit field is set to the value of the last call.

func (*LimitResourceStatusApplyConfiguration) WithResourceName ¶

WithResourceName sets the ResourceName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceName field is set to the value of the last call.

func (*LimitResourceStatusApplyConfiguration) WithServiceID ¶

WithServiceID sets the ServiceID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServiceID field is set to the value of the last call.

type LimitSpecApplyConfiguration ¶

type LimitSpecApplyConfiguration struct {
	Import              *LimitImportApplyConfiguration               `json:"import,omitempty"`
	Resource            *LimitResourceSpecApplyConfiguration         `json:"resource,omitempty"`
	ManagementPolicy    *apiv1alpha1.ManagementPolicy                `json:"managementPolicy,omitempty"`
	ManagedOptions      *ManagedOptionsApplyConfiguration            `json:"managedOptions,omitempty"`
	ResyncPeriod        *v1.Duration                                 `json:"resyncPeriod,omitempty"`
	CloudCredentialsRef *CloudCredentialsReferenceApplyConfiguration `json:"cloudCredentialsRef,omitempty"`
}

LimitSpecApplyConfiguration represents a declarative configuration of the LimitSpec type for use with apply.

func LimitSpec ¶

func LimitSpec() *LimitSpecApplyConfiguration

LimitSpecApplyConfiguration constructs a declarative configuration of the LimitSpec type for use with apply.

func (*LimitSpecApplyConfiguration) WithCloudCredentialsRef ¶

WithCloudCredentialsRef sets the CloudCredentialsRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CloudCredentialsRef field is set to the value of the last call.

func (*LimitSpecApplyConfiguration) WithImport ¶

WithImport sets the Import field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Import field is set to the value of the last call.

func (*LimitSpecApplyConfiguration) WithManagedOptions ¶

WithManagedOptions sets the ManagedOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagedOptions field is set to the value of the last call.

func (*LimitSpecApplyConfiguration) WithManagementPolicy ¶

WithManagementPolicy sets the ManagementPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementPolicy field is set to the value of the last call.

func (*LimitSpecApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

func (*LimitSpecApplyConfiguration) WithResyncPeriod ¶

WithResyncPeriod sets the ResyncPeriod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResyncPeriod field is set to the value of the last call.

type LimitStatusApplyConfiguration ¶

type LimitStatusApplyConfiguration struct {
	Conditions   []v1.ConditionApplyConfiguration       `json:"conditions,omitempty"`
	ID           *string                                `json:"id,omitempty"`
	Resource     *LimitResourceStatusApplyConfiguration `json:"resource,omitempty"`
	LastSyncTime *metav1.Time                           `json:"lastSyncTime,omitempty"`
}

LimitStatusApplyConfiguration represents a declarative configuration of the LimitStatus type for use with apply.

func LimitStatus ¶

func LimitStatus() *LimitStatusApplyConfiguration

LimitStatusApplyConfiguration constructs a declarative configuration of the LimitStatus type for use with apply.

func (*LimitStatusApplyConfiguration) WithConditions ¶

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*LimitStatusApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*LimitStatusApplyConfiguration) WithLastSyncTime ¶

WithLastSyncTime sets the LastSyncTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastSyncTime field is set to the value of the last call.

func (*LimitStatusApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

type ManagedOptionsApplyConfiguration ¶

type ManagedOptionsApplyConfiguration struct {
	OnDelete *apiv1alpha1.OnDelete `json:"onDelete,omitempty"`
}

ManagedOptionsApplyConfiguration represents a declarative configuration of the ManagedOptions type for use with apply.

func ManagedOptions ¶

func ManagedOptions() *ManagedOptionsApplyConfiguration

ManagedOptionsApplyConfiguration constructs a declarative configuration of the ManagedOptions type for use with apply.

func (*ManagedOptionsApplyConfiguration) WithOnDelete ¶

WithOnDelete sets the OnDelete field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OnDelete field is set to the value of the last call.

type NetworkApplyConfiguration ¶

type NetworkApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *NetworkSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *NetworkStatusApplyConfiguration `json:"status,omitempty"`
}

NetworkApplyConfiguration represents a declarative configuration of the Network type for use with apply.

func ExtractNetwork ¶

func ExtractNetwork(network *apiv1alpha1.Network, fieldManager string) (*NetworkApplyConfiguration, error)

ExtractNetwork extracts the applied configuration owned by fieldManager from network. If no managedFields are found in network for fieldManager, a NetworkApplyConfiguration 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. network must be a unmodified Network API object that was retrieved from the Kubernetes API. ExtractNetwork 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 ExtractNetworkStatus ¶

func ExtractNetworkStatus(network *apiv1alpha1.Network, fieldManager string) (*NetworkApplyConfiguration, error)

ExtractNetworkStatus is the same as ExtractNetwork except that it extracts the status subresource applied configuration. Experimental!

func Network ¶

func Network(name, namespace string) *NetworkApplyConfiguration

Network constructs a declarative configuration of the Network type for use with apply.

func (*NetworkApplyConfiguration) GetAPIVersion ¶

func (b *NetworkApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*NetworkApplyConfiguration) GetKind ¶

func (b *NetworkApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*NetworkApplyConfiguration) GetName ¶

func (b *NetworkApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*NetworkApplyConfiguration) GetNamespace ¶

func (b *NetworkApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (NetworkApplyConfiguration) IsApplyConfiguration ¶

func (b NetworkApplyConfiguration) IsApplyConfiguration()

func (*NetworkApplyConfiguration) WithAPIVersion ¶

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*NetworkApplyConfiguration) WithAnnotations ¶

func (b *NetworkApplyConfiguration) WithAnnotations(entries map[string]string) *NetworkApplyConfiguration

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 (*NetworkApplyConfiguration) WithCreationTimestamp ¶

func (b *NetworkApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NetworkApplyConfiguration

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 (*NetworkApplyConfiguration) WithDeletionGracePeriodSeconds ¶

func (b *NetworkApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NetworkApplyConfiguration

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 (*NetworkApplyConfiguration) WithDeletionTimestamp ¶

func (b *NetworkApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NetworkApplyConfiguration

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 (*NetworkApplyConfiguration) WithFinalizers ¶

func (b *NetworkApplyConfiguration) WithFinalizers(values ...string) *NetworkApplyConfiguration

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 (*NetworkApplyConfiguration) WithGenerateName ¶

func (b *NetworkApplyConfiguration) WithGenerateName(value string) *NetworkApplyConfiguration

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 (*NetworkApplyConfiguration) WithGeneration ¶

func (b *NetworkApplyConfiguration) WithGeneration(value int64) *NetworkApplyConfiguration

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 (*NetworkApplyConfiguration) WithKind ¶

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*NetworkApplyConfiguration) WithLabels ¶

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*NetworkApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*NetworkApplyConfiguration) WithNamespace ¶

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*NetworkApplyConfiguration) WithOwnerReferences ¶

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*NetworkApplyConfiguration) WithResourceVersion ¶

func (b *NetworkApplyConfiguration) WithResourceVersion(value string) *NetworkApplyConfiguration

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 (*NetworkApplyConfiguration) WithSpec ¶

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*NetworkApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*NetworkApplyConfiguration) WithUID ¶

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type NetworkFilterApplyConfiguration ¶

type NetworkFilterApplyConfiguration struct {
	Name                                  *apiv1alpha1.OpenStackName      `json:"name,omitempty"`
	Description                           *apiv1alpha1.NeutronDescription `json:"description,omitempty"`
	External                              *bool                           `json:"external,omitempty"`
	ProjectRef                            *apiv1alpha1.KubernetesNameRef  `json:"projectRef,omitempty"`
	FilterByNeutronTagsApplyConfiguration `json:",inline"`
}

NetworkFilterApplyConfiguration represents a declarative configuration of the NetworkFilter type for use with apply.

func NetworkFilter ¶

func NetworkFilter() *NetworkFilterApplyConfiguration

NetworkFilterApplyConfiguration constructs a declarative configuration of the NetworkFilter type for use with apply.

func (*NetworkFilterApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*NetworkFilterApplyConfiguration) WithExternal ¶

WithExternal sets the External field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the External field is set to the value of the last call.

func (*NetworkFilterApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*NetworkFilterApplyConfiguration) WithNotTags ¶

WithNotTags adds the given value to the NotTags 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 NotTags field.

func (*NetworkFilterApplyConfiguration) WithNotTagsAny ¶

WithNotTagsAny adds the given value to the NotTagsAny 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 NotTagsAny field.

func (*NetworkFilterApplyConfiguration) WithProjectRef ¶

WithProjectRef sets the ProjectRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectRef field is set to the value of the last call.

func (*NetworkFilterApplyConfiguration) WithTags ¶

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 (*NetworkFilterApplyConfiguration) WithTagsAny ¶

WithTagsAny adds the given value to the TagsAny 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 TagsAny field.

type NetworkImportApplyConfiguration ¶

type NetworkImportApplyConfiguration struct {
	ID     *string                          `json:"id,omitempty"`
	Filter *NetworkFilterApplyConfiguration `json:"filter,omitempty"`
}

NetworkImportApplyConfiguration represents a declarative configuration of the NetworkImport type for use with apply.

func NetworkImport ¶

func NetworkImport() *NetworkImportApplyConfiguration

NetworkImportApplyConfiguration constructs a declarative configuration of the NetworkImport type for use with apply.

func (*NetworkImportApplyConfiguration) WithFilter ¶

WithFilter sets the Filter field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Filter field is set to the value of the last call.

func (*NetworkImportApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

type NetworkResourceSpecApplyConfiguration ¶

type NetworkResourceSpecApplyConfiguration struct {
	Name                  *apiv1alpha1.OpenStackName              `json:"name,omitempty"`
	Description           *apiv1alpha1.NeutronDescription         `json:"description,omitempty"`
	Tags                  []apiv1alpha1.NeutronTag                `json:"tags,omitempty"`
	AdminStateUp          *bool                                   `json:"adminStateUp,omitempty"`
	DNSDomain             *apiv1alpha1.DNSDomain                  `json:"dnsDomain,omitempty"`
	MTU                   *apiv1alpha1.MTU                        `json:"mtu,omitempty"`
	PortSecurityEnabled   *bool                                   `json:"portSecurityEnabled,omitempty"`
	External              *bool                                   `json:"external,omitempty"`
	Shared                *bool                                   `json:"shared,omitempty"`
	AvailabilityZoneHints []apiv1alpha1.AvailabilityZoneHint      `json:"availabilityZoneHints,omitempty"`
	ProjectRef            *apiv1alpha1.KubernetesNameRef          `json:"projectRef,omitempty"`
	Segments              []ProviderSegmentSpecApplyConfiguration `json:"segments,omitempty"`
}

NetworkResourceSpecApplyConfiguration represents a declarative configuration of the NetworkResourceSpec type for use with apply.

func NetworkResourceSpec ¶

func NetworkResourceSpec() *NetworkResourceSpecApplyConfiguration

NetworkResourceSpecApplyConfiguration constructs a declarative configuration of the NetworkResourceSpec type for use with apply.

func (*NetworkResourceSpecApplyConfiguration) WithAdminStateUp ¶

WithAdminStateUp sets the AdminStateUp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AdminStateUp field is set to the value of the last call.

func (*NetworkResourceSpecApplyConfiguration) WithAvailabilityZoneHints ¶

WithAvailabilityZoneHints adds the given value to the AvailabilityZoneHints 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 AvailabilityZoneHints field.

func (*NetworkResourceSpecApplyConfiguration) WithDNSDomain ¶

WithDNSDomain sets the DNSDomain field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DNSDomain field is set to the value of the last call.

func (*NetworkResourceSpecApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*NetworkResourceSpecApplyConfiguration) WithExternal ¶

WithExternal sets the External field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the External field is set to the value of the last call.

func (*NetworkResourceSpecApplyConfiguration) WithMTU ¶

WithMTU sets the MTU field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MTU field is set to the value of the last call.

func (*NetworkResourceSpecApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*NetworkResourceSpecApplyConfiguration) WithPortSecurityEnabled ¶

WithPortSecurityEnabled sets the PortSecurityEnabled field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PortSecurityEnabled field is set to the value of the last call.

func (*NetworkResourceSpecApplyConfiguration) WithProjectRef ¶

WithProjectRef sets the ProjectRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectRef field is set to the value of the last call.

func (*NetworkResourceSpecApplyConfiguration) WithSegments ¶

WithSegments adds the given value to the Segments 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 Segments field.

func (*NetworkResourceSpecApplyConfiguration) WithShared ¶

WithShared sets the Shared field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Shared field is set to the value of the last call.

func (*NetworkResourceSpecApplyConfiguration) WithTags ¶

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.

type NetworkResourceStatusApplyConfiguration ¶

type NetworkResourceStatusApplyConfiguration struct {
	Name                                    *string  `json:"name,omitempty"`
	Description                             *string  `json:"description,omitempty"`
	ProjectID                               *string  `json:"projectID,omitempty"`
	Status                                  *string  `json:"status,omitempty"`
	Tags                                    []string `json:"tags,omitempty"`
	NeutronStatusMetadataApplyConfiguration `json:",inline"`
	AdminStateUp                            *bool                                        `json:"adminStateUp,omitempty"`
	AvailabilityZoneHints                   []string                                     `json:"availabilityZoneHints,omitempty"`
	DNSDomain                               *string                                      `json:"dnsDomain,omitempty"`
	MTU                                     *int32                                       `json:"mtu,omitempty"`
	PortSecurityEnabled                     *bool                                        `json:"portSecurityEnabled,omitempty"`
	External                                *bool                                        `json:"external,omitempty"`
	Shared                                  *bool                                        `json:"shared,omitempty"`
	Subnets                                 []string                                     `json:"subnets,omitempty"`
	Segments                                []ProviderPropertiesStatusApplyConfiguration `json:"segments,omitempty"`
}

NetworkResourceStatusApplyConfiguration represents a declarative configuration of the NetworkResourceStatus type for use with apply.

func NetworkResourceStatus ¶

func NetworkResourceStatus() *NetworkResourceStatusApplyConfiguration

NetworkResourceStatusApplyConfiguration constructs a declarative configuration of the NetworkResourceStatus type for use with apply.

func (*NetworkResourceStatusApplyConfiguration) WithAdminStateUp ¶

WithAdminStateUp sets the AdminStateUp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AdminStateUp field is set to the value of the last call.

func (*NetworkResourceStatusApplyConfiguration) WithAvailabilityZoneHints ¶

WithAvailabilityZoneHints adds the given value to the AvailabilityZoneHints 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 AvailabilityZoneHints field.

func (*NetworkResourceStatusApplyConfiguration) WithCreatedAt ¶

WithCreatedAt sets the CreatedAt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreatedAt field is set to the value of the last call.

func (*NetworkResourceStatusApplyConfiguration) WithDNSDomain ¶

WithDNSDomain sets the DNSDomain field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DNSDomain field is set to the value of the last call.

func (*NetworkResourceStatusApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*NetworkResourceStatusApplyConfiguration) WithExternal ¶

WithExternal sets the External field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the External field is set to the value of the last call.

func (*NetworkResourceStatusApplyConfiguration) WithMTU ¶

WithMTU sets the MTU field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MTU field is set to the value of the last call.

func (*NetworkResourceStatusApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*NetworkResourceStatusApplyConfiguration) WithPortSecurityEnabled ¶

WithPortSecurityEnabled sets the PortSecurityEnabled field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PortSecurityEnabled field is set to the value of the last call.

func (*NetworkResourceStatusApplyConfiguration) WithProjectID ¶

WithProjectID sets the ProjectID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectID field is set to the value of the last call.

func (*NetworkResourceStatusApplyConfiguration) WithRevisionNumber ¶

WithRevisionNumber sets the RevisionNumber field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RevisionNumber field is set to the value of the last call.

func (*NetworkResourceStatusApplyConfiguration) WithSegments ¶

WithSegments adds the given value to the Segments 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 Segments field.

func (*NetworkResourceStatusApplyConfiguration) WithShared ¶

WithShared sets the Shared field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Shared field is set to the value of the last call.

func (*NetworkResourceStatusApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*NetworkResourceStatusApplyConfiguration) WithSubnets ¶

WithSubnets adds the given value to the Subnets field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Subnets field.

func (*NetworkResourceStatusApplyConfiguration) WithTags ¶

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 (*NetworkResourceStatusApplyConfiguration) WithUpdatedAt ¶

WithUpdatedAt sets the UpdatedAt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UpdatedAt field is set to the value of the last call.

type NetworkSpecApplyConfiguration ¶

type NetworkSpecApplyConfiguration struct {
	Import              *NetworkImportApplyConfiguration             `json:"import,omitempty"`
	Resource            *NetworkResourceSpecApplyConfiguration       `json:"resource,omitempty"`
	ManagementPolicy    *apiv1alpha1.ManagementPolicy                `json:"managementPolicy,omitempty"`
	ManagedOptions      *ManagedOptionsApplyConfiguration            `json:"managedOptions,omitempty"`
	ResyncPeriod        *v1.Duration                                 `json:"resyncPeriod,omitempty"`
	CloudCredentialsRef *CloudCredentialsReferenceApplyConfiguration `json:"cloudCredentialsRef,omitempty"`
}

NetworkSpecApplyConfiguration represents a declarative configuration of the NetworkSpec type for use with apply.

func NetworkSpec ¶

func NetworkSpec() *NetworkSpecApplyConfiguration

NetworkSpecApplyConfiguration constructs a declarative configuration of the NetworkSpec type for use with apply.

func (*NetworkSpecApplyConfiguration) WithCloudCredentialsRef ¶

WithCloudCredentialsRef sets the CloudCredentialsRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CloudCredentialsRef field is set to the value of the last call.

func (*NetworkSpecApplyConfiguration) WithImport ¶

WithImport sets the Import field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Import field is set to the value of the last call.

func (*NetworkSpecApplyConfiguration) WithManagedOptions ¶

WithManagedOptions sets the ManagedOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagedOptions field is set to the value of the last call.

func (*NetworkSpecApplyConfiguration) WithManagementPolicy ¶

WithManagementPolicy sets the ManagementPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementPolicy field is set to the value of the last call.

func (*NetworkSpecApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

func (*NetworkSpecApplyConfiguration) WithResyncPeriod ¶

WithResyncPeriod sets the ResyncPeriod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResyncPeriod field is set to the value of the last call.

type NetworkStatusApplyConfiguration ¶

type NetworkStatusApplyConfiguration struct {
	Conditions   []v1.ConditionApplyConfiguration         `json:"conditions,omitempty"`
	ID           *string                                  `json:"id,omitempty"`
	Resource     *NetworkResourceStatusApplyConfiguration `json:"resource,omitempty"`
	LastSyncTime *metav1.Time                             `json:"lastSyncTime,omitempty"`
}

NetworkStatusApplyConfiguration represents a declarative configuration of the NetworkStatus type for use with apply.

func NetworkStatus ¶

func NetworkStatus() *NetworkStatusApplyConfiguration

NetworkStatusApplyConfiguration constructs a declarative configuration of the NetworkStatus type for use with apply.

func (*NetworkStatusApplyConfiguration) WithConditions ¶

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*NetworkStatusApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*NetworkStatusApplyConfiguration) WithLastSyncTime ¶

WithLastSyncTime sets the LastSyncTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastSyncTime field is set to the value of the last call.

func (*NetworkStatusApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

type NeutronStatusMetadataApplyConfiguration ¶

type NeutronStatusMetadataApplyConfiguration struct {
	CreatedAt      *v1.Time `json:"createdAt,omitempty"`
	UpdatedAt      *v1.Time `json:"updatedAt,omitempty"`
	RevisionNumber *int64   `json:"revisionNumber,omitempty"`
}

NeutronStatusMetadataApplyConfiguration represents a declarative configuration of the NeutronStatusMetadata type for use with apply.

func NeutronStatusMetadata ¶

func NeutronStatusMetadata() *NeutronStatusMetadataApplyConfiguration

NeutronStatusMetadataApplyConfiguration constructs a declarative configuration of the NeutronStatusMetadata type for use with apply.

func (*NeutronStatusMetadataApplyConfiguration) WithCreatedAt ¶

WithCreatedAt sets the CreatedAt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreatedAt field is set to the value of the last call.

func (*NeutronStatusMetadataApplyConfiguration) WithRevisionNumber ¶

WithRevisionNumber sets the RevisionNumber field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RevisionNumber field is set to the value of the last call.

func (*NeutronStatusMetadataApplyConfiguration) WithUpdatedAt ¶

WithUpdatedAt sets the UpdatedAt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UpdatedAt field is set to the value of the last call.

type PortApplyConfiguration ¶

type PortApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *PortSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *PortStatusApplyConfiguration `json:"status,omitempty"`
}

PortApplyConfiguration represents a declarative configuration of the Port type for use with apply.

func ExtractPort ¶

func ExtractPort(port *apiv1alpha1.Port, fieldManager string) (*PortApplyConfiguration, error)

ExtractPort extracts the applied configuration owned by fieldManager from port. If no managedFields are found in port for fieldManager, a PortApplyConfiguration 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. port must be a unmodified Port API object that was retrieved from the Kubernetes API. ExtractPort 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 ExtractPortStatus ¶

func ExtractPortStatus(port *apiv1alpha1.Port, fieldManager string) (*PortApplyConfiguration, error)

ExtractPortStatus is the same as ExtractPort except that it extracts the status subresource applied configuration. Experimental!

func Port ¶

func Port(name, namespace string) *PortApplyConfiguration

Port constructs a declarative configuration of the Port type for use with apply.

func (*PortApplyConfiguration) GetAPIVersion ¶

func (b *PortApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*PortApplyConfiguration) GetKind ¶

func (b *PortApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*PortApplyConfiguration) GetName ¶

func (b *PortApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*PortApplyConfiguration) GetNamespace ¶

func (b *PortApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (PortApplyConfiguration) IsApplyConfiguration ¶

func (b PortApplyConfiguration) IsApplyConfiguration()

func (*PortApplyConfiguration) WithAPIVersion ¶

func (b *PortApplyConfiguration) WithAPIVersion(value string) *PortApplyConfiguration

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 (*PortApplyConfiguration) WithAnnotations ¶

func (b *PortApplyConfiguration) WithAnnotations(entries map[string]string) *PortApplyConfiguration

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 (*PortApplyConfiguration) WithCreationTimestamp ¶

func (b *PortApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PortApplyConfiguration

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 (*PortApplyConfiguration) WithDeletionGracePeriodSeconds ¶

func (b *PortApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PortApplyConfiguration

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 (*PortApplyConfiguration) WithDeletionTimestamp ¶

func (b *PortApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PortApplyConfiguration

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 (*PortApplyConfiguration) WithFinalizers ¶

func (b *PortApplyConfiguration) WithFinalizers(values ...string) *PortApplyConfiguration

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 (*PortApplyConfiguration) WithGenerateName ¶

func (b *PortApplyConfiguration) WithGenerateName(value string) *PortApplyConfiguration

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 (*PortApplyConfiguration) WithGeneration ¶

func (b *PortApplyConfiguration) WithGeneration(value int64) *PortApplyConfiguration

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 (*PortApplyConfiguration) WithKind ¶

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*PortApplyConfiguration) WithLabels ¶

func (b *PortApplyConfiguration) WithLabels(entries map[string]string) *PortApplyConfiguration

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 (*PortApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*PortApplyConfiguration) WithNamespace ¶

func (b *PortApplyConfiguration) WithNamespace(value string) *PortApplyConfiguration

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 (*PortApplyConfiguration) WithOwnerReferences ¶

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*PortApplyConfiguration) WithResourceVersion ¶

func (b *PortApplyConfiguration) WithResourceVersion(value string) *PortApplyConfiguration

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 (*PortApplyConfiguration) WithSpec ¶

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*PortApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*PortApplyConfiguration) WithUID ¶

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type PortFilterApplyConfiguration ¶

type PortFilterApplyConfiguration struct {
	Name                                  *apiv1alpha1.OpenStackName      `json:"name,omitempty"`
	Description                           *apiv1alpha1.NeutronDescription `json:"description,omitempty"`
	NetworkRef                            *apiv1alpha1.KubernetesNameRef  `json:"networkRef,omitempty"`
	ProjectRef                            *apiv1alpha1.KubernetesNameRef  `json:"projectRef,omitempty"`
	AdminStateUp                          *bool                           `json:"adminStateUp,omitempty"`
	MACAddress                            *string                         `json:"macAddress,omitempty"`
	FilterByNeutronTagsApplyConfiguration `json:",inline"`
}

PortFilterApplyConfiguration represents a declarative configuration of the PortFilter type for use with apply.

func PortFilter ¶

func PortFilter() *PortFilterApplyConfiguration

PortFilterApplyConfiguration constructs a declarative configuration of the PortFilter type for use with apply.

func (*PortFilterApplyConfiguration) WithAdminStateUp ¶

WithAdminStateUp sets the AdminStateUp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AdminStateUp field is set to the value of the last call.

func (*PortFilterApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*PortFilterApplyConfiguration) WithMACAddress ¶

WithMACAddress sets the MACAddress field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MACAddress field is set to the value of the last call.

func (*PortFilterApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*PortFilterApplyConfiguration) WithNetworkRef ¶

WithNetworkRef sets the NetworkRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NetworkRef field is set to the value of the last call.

func (*PortFilterApplyConfiguration) WithNotTags ¶

WithNotTags adds the given value to the NotTags 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 NotTags field.

func (*PortFilterApplyConfiguration) WithNotTagsAny ¶

WithNotTagsAny adds the given value to the NotTagsAny 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 NotTagsAny field.

func (*PortFilterApplyConfiguration) WithProjectRef ¶

WithProjectRef sets the ProjectRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectRef field is set to the value of the last call.

func (*PortFilterApplyConfiguration) WithTags ¶

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 (*PortFilterApplyConfiguration) WithTagsAny ¶

WithTagsAny adds the given value to the TagsAny 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 TagsAny field.

type PortImportApplyConfiguration ¶

type PortImportApplyConfiguration struct {
	ID     *string                       `json:"id,omitempty"`
	Filter *PortFilterApplyConfiguration `json:"filter,omitempty"`
}

PortImportApplyConfiguration represents a declarative configuration of the PortImport type for use with apply.

func PortImport ¶

func PortImport() *PortImportApplyConfiguration

PortImportApplyConfiguration constructs a declarative configuration of the PortImport type for use with apply.

func (*PortImportApplyConfiguration) WithFilter ¶

WithFilter sets the Filter field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Filter field is set to the value of the last call.

func (*PortImportApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

type PortRangeSpecApplyConfiguration ¶

type PortRangeSpecApplyConfiguration struct {
	Min *apiv1alpha1.PortNumber `json:"min,omitempty"`
	Max *apiv1alpha1.PortNumber `json:"max,omitempty"`
}

PortRangeSpecApplyConfiguration represents a declarative configuration of the PortRangeSpec type for use with apply.

func PortRangeSpec ¶

func PortRangeSpec() *PortRangeSpecApplyConfiguration

PortRangeSpecApplyConfiguration constructs a declarative configuration of the PortRangeSpec type for use with apply.

func (*PortRangeSpecApplyConfiguration) WithMax ¶

WithMax sets the Max field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Max field is set to the value of the last call.

func (*PortRangeSpecApplyConfiguration) WithMin ¶

WithMin sets the Min field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Min field is set to the value of the last call.

type PortRangeStatusApplyConfiguration ¶

type PortRangeStatusApplyConfiguration struct {
	Min *int32 `json:"min,omitempty"`
	Max *int32 `json:"max,omitempty"`
}

PortRangeStatusApplyConfiguration represents a declarative configuration of the PortRangeStatus type for use with apply.

func PortRangeStatus ¶

func PortRangeStatus() *PortRangeStatusApplyConfiguration

PortRangeStatusApplyConfiguration constructs a declarative configuration of the PortRangeStatus type for use with apply.

func (*PortRangeStatusApplyConfiguration) WithMax ¶

WithMax sets the Max field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Max field is set to the value of the last call.

func (*PortRangeStatusApplyConfiguration) WithMin ¶

WithMin sets the Min field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Min field is set to the value of the last call.

type PortResourceSpecApplyConfiguration ¶

type PortResourceSpecApplyConfiguration struct {
	Name                  *apiv1alpha1.OpenStackName             `json:"name,omitempty"`
	Description           *apiv1alpha1.NeutronDescription        `json:"description,omitempty"`
	NetworkRef            *apiv1alpha1.KubernetesNameRef         `json:"networkRef,omitempty"`
	Tags                  []apiv1alpha1.NeutronTag               `json:"tags,omitempty"`
	AllowedAddressPairs   []AllowedAddressPairApplyConfiguration `json:"allowedAddressPairs,omitempty"`
	Addresses             []AddressApplyConfiguration            `json:"addresses,omitempty"`
	AdminStateUp          *bool                                  `json:"adminStateUp,omitempty"`
	SecurityGroupRefs     []apiv1alpha1.KubernetesNameRef        `json:"securityGroupRefs,omitempty"`
	VNICType              *string                                `json:"vnicType,omitempty"`
	PortSecurity          *apiv1alpha1.PortSecurityState         `json:"portSecurity,omitempty"`
	ProjectRef            *apiv1alpha1.KubernetesNameRef         `json:"projectRef,omitempty"`
	MACAddress            *string                                `json:"macAddress,omitempty"`
	HostID                *HostIDApplyConfiguration              `json:"hostID,omitempty"`
	TrustedVIF            *bool                                  `json:"trustedVIF,omitempty"`
	ValueSpecs            []PortValueSpecApplyConfiguration      `json:"valueSpecs,omitempty"`
	PropagateUplinkStatus *bool                                  `json:"propagateUplinkStatus,omitempty"`
}

PortResourceSpecApplyConfiguration represents a declarative configuration of the PortResourceSpec type for use with apply.

func PortResourceSpec ¶

func PortResourceSpec() *PortResourceSpecApplyConfiguration

PortResourceSpecApplyConfiguration constructs a declarative configuration of the PortResourceSpec type for use with apply.

func (*PortResourceSpecApplyConfiguration) WithAddresses ¶

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 (*PortResourceSpecApplyConfiguration) WithAdminStateUp ¶

WithAdminStateUp sets the AdminStateUp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AdminStateUp field is set to the value of the last call.

func (*PortResourceSpecApplyConfiguration) WithAllowedAddressPairs ¶

WithAllowedAddressPairs adds the given value to the AllowedAddressPairs 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 AllowedAddressPairs field.

func (*PortResourceSpecApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*PortResourceSpecApplyConfiguration) WithHostID ¶

WithHostID sets the HostID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HostID field is set to the value of the last call.

func (*PortResourceSpecApplyConfiguration) WithMACAddress ¶

WithMACAddress sets the MACAddress field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MACAddress field is set to the value of the last call.

func (*PortResourceSpecApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*PortResourceSpecApplyConfiguration) WithNetworkRef ¶

WithNetworkRef sets the NetworkRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NetworkRef field is set to the value of the last call.

func (*PortResourceSpecApplyConfiguration) WithPortSecurity ¶

WithPortSecurity sets the PortSecurity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PortSecurity field is set to the value of the last call.

func (*PortResourceSpecApplyConfiguration) WithProjectRef ¶

WithProjectRef sets the ProjectRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectRef field is set to the value of the last call.

func (*PortResourceSpecApplyConfiguration) WithPropagateUplinkStatus ¶

func (b *PortResourceSpecApplyConfiguration) WithPropagateUplinkStatus(value bool) *PortResourceSpecApplyConfiguration

WithPropagateUplinkStatus sets the PropagateUplinkStatus field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PropagateUplinkStatus field is set to the value of the last call.

func (*PortResourceSpecApplyConfiguration) WithSecurityGroupRefs ¶

WithSecurityGroupRefs adds the given value to the SecurityGroupRefs 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 SecurityGroupRefs field.

func (*PortResourceSpecApplyConfiguration) WithTags ¶

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 (*PortResourceSpecApplyConfiguration) WithTrustedVIF ¶

WithTrustedVIF sets the TrustedVIF field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TrustedVIF field is set to the value of the last call.

func (*PortResourceSpecApplyConfiguration) WithVNICType ¶

WithVNICType sets the VNICType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VNICType field is set to the value of the last call.

func (*PortResourceSpecApplyConfiguration) WithValueSpecs ¶

WithValueSpecs adds the given value to the ValueSpecs 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 ValueSpecs field.

type PortResourceStatusApplyConfiguration ¶

type PortResourceStatusApplyConfiguration struct {
	Name                                    *string                                      `json:"name,omitempty"`
	Description                             *string                                      `json:"description,omitempty"`
	NetworkID                               *string                                      `json:"networkID,omitempty"`
	ProjectID                               *string                                      `json:"projectID,omitempty"`
	Status                                  *string                                      `json:"status,omitempty"`
	Tags                                    []string                                     `json:"tags,omitempty"`
	AdminStateUp                            *bool                                        `json:"adminStateUp,omitempty"`
	MACAddress                              *string                                      `json:"macAddress,omitempty"`
	DeviceID                                *string                                      `json:"deviceID,omitempty"`
	DeviceOwner                             *string                                      `json:"deviceOwner,omitempty"`
	AllowedAddressPairs                     []AllowedAddressPairStatusApplyConfiguration `json:"allowedAddressPairs,omitempty"`
	FixedIPs                                []FixedIPStatusApplyConfiguration            `json:"fixedIPs,omitempty"`
	SecurityGroups                          []string                                     `json:"securityGroups,omitempty"`
	PropagateUplinkStatus                   *bool                                        `json:"propagateUplinkStatus,omitempty"`
	VNICType                                *string                                      `json:"vnicType,omitempty"`
	PortSecurityEnabled                     *bool                                        `json:"portSecurityEnabled,omitempty"`
	HostID                                  *string                                      `json:"hostID,omitempty"`
	TrustedVIF                              *bool                                        `json:"trustedVIF,omitempty"`
	NeutronStatusMetadataApplyConfiguration `json:",inline"`
}

PortResourceStatusApplyConfiguration represents a declarative configuration of the PortResourceStatus type for use with apply.

func PortResourceStatus ¶

func PortResourceStatus() *PortResourceStatusApplyConfiguration

PortResourceStatusApplyConfiguration constructs a declarative configuration of the PortResourceStatus type for use with apply.

func (*PortResourceStatusApplyConfiguration) WithAdminStateUp ¶

WithAdminStateUp sets the AdminStateUp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AdminStateUp field is set to the value of the last call.

func (*PortResourceStatusApplyConfiguration) WithAllowedAddressPairs ¶

WithAllowedAddressPairs adds the given value to the AllowedAddressPairs 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 AllowedAddressPairs field.

func (*PortResourceStatusApplyConfiguration) WithCreatedAt ¶

WithCreatedAt sets the CreatedAt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreatedAt field is set to the value of the last call.

func (*PortResourceStatusApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*PortResourceStatusApplyConfiguration) WithDeviceID ¶

WithDeviceID sets the DeviceID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeviceID field is set to the value of the last call.

func (*PortResourceStatusApplyConfiguration) WithDeviceOwner ¶

WithDeviceOwner sets the DeviceOwner field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeviceOwner field is set to the value of the last call.

func (*PortResourceStatusApplyConfiguration) WithFixedIPs ¶

WithFixedIPs adds the given value to the FixedIPs 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 FixedIPs field.

func (*PortResourceStatusApplyConfiguration) WithHostID ¶

WithHostID sets the HostID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HostID field is set to the value of the last call.

func (*PortResourceStatusApplyConfiguration) WithMACAddress ¶

WithMACAddress sets the MACAddress field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MACAddress field is set to the value of the last call.

func (*PortResourceStatusApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*PortResourceStatusApplyConfiguration) WithNetworkID ¶

WithNetworkID sets the NetworkID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NetworkID field is set to the value of the last call.

func (*PortResourceStatusApplyConfiguration) WithPortSecurityEnabled ¶

WithPortSecurityEnabled sets the PortSecurityEnabled field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PortSecurityEnabled field is set to the value of the last call.

func (*PortResourceStatusApplyConfiguration) WithProjectID ¶

WithProjectID sets the ProjectID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectID field is set to the value of the last call.

func (*PortResourceStatusApplyConfiguration) WithPropagateUplinkStatus ¶

WithPropagateUplinkStatus sets the PropagateUplinkStatus field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PropagateUplinkStatus field is set to the value of the last call.

func (*PortResourceStatusApplyConfiguration) WithRevisionNumber ¶

WithRevisionNumber sets the RevisionNumber field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RevisionNumber field is set to the value of the last call.

func (*PortResourceStatusApplyConfiguration) WithSecurityGroups ¶

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 (*PortResourceStatusApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*PortResourceStatusApplyConfiguration) WithTags ¶

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 (*PortResourceStatusApplyConfiguration) WithTrustedVIF ¶

WithTrustedVIF sets the TrustedVIF field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TrustedVIF field is set to the value of the last call.

func (*PortResourceStatusApplyConfiguration) WithUpdatedAt ¶

WithUpdatedAt sets the UpdatedAt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UpdatedAt field is set to the value of the last call.

func (*PortResourceStatusApplyConfiguration) WithVNICType ¶

WithVNICType sets the VNICType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VNICType field is set to the value of the last call.

type PortSpecApplyConfiguration ¶

type PortSpecApplyConfiguration struct {
	Import              *PortImportApplyConfiguration                `json:"import,omitempty"`
	Resource            *PortResourceSpecApplyConfiguration          `json:"resource,omitempty"`
	ManagementPolicy    *apiv1alpha1.ManagementPolicy                `json:"managementPolicy,omitempty"`
	ManagedOptions      *ManagedOptionsApplyConfiguration            `json:"managedOptions,omitempty"`
	ResyncPeriod        *v1.Duration                                 `json:"resyncPeriod,omitempty"`
	CloudCredentialsRef *CloudCredentialsReferenceApplyConfiguration `json:"cloudCredentialsRef,omitempty"`
}

PortSpecApplyConfiguration represents a declarative configuration of the PortSpec type for use with apply.

func PortSpec ¶

func PortSpec() *PortSpecApplyConfiguration

PortSpecApplyConfiguration constructs a declarative configuration of the PortSpec type for use with apply.

func (*PortSpecApplyConfiguration) WithCloudCredentialsRef ¶

WithCloudCredentialsRef sets the CloudCredentialsRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CloudCredentialsRef field is set to the value of the last call.

func (*PortSpecApplyConfiguration) WithImport ¶

WithImport sets the Import field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Import field is set to the value of the last call.

func (*PortSpecApplyConfiguration) WithManagedOptions ¶

WithManagedOptions sets the ManagedOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagedOptions field is set to the value of the last call.

func (*PortSpecApplyConfiguration) WithManagementPolicy ¶

WithManagementPolicy sets the ManagementPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementPolicy field is set to the value of the last call.

func (*PortSpecApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

func (*PortSpecApplyConfiguration) WithResyncPeriod ¶

WithResyncPeriod sets the ResyncPeriod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResyncPeriod field is set to the value of the last call.

type PortStatusApplyConfiguration ¶

type PortStatusApplyConfiguration struct {
	Conditions   []v1.ConditionApplyConfiguration      `json:"conditions,omitempty"`
	ID           *string                               `json:"id,omitempty"`
	Resource     *PortResourceStatusApplyConfiguration `json:"resource,omitempty"`
	LastSyncTime *metav1.Time                          `json:"lastSyncTime,omitempty"`
}

PortStatusApplyConfiguration represents a declarative configuration of the PortStatus type for use with apply.

func PortStatus ¶

func PortStatus() *PortStatusApplyConfiguration

PortStatusApplyConfiguration constructs a declarative configuration of the PortStatus type for use with apply.

func (*PortStatusApplyConfiguration) WithConditions ¶

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*PortStatusApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*PortStatusApplyConfiguration) WithLastSyncTime ¶

WithLastSyncTime sets the LastSyncTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastSyncTime field is set to the value of the last call.

func (*PortStatusApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

type PortValueSpecApplyConfiguration ¶

type PortValueSpecApplyConfiguration struct {
	Key   *string `json:"key,omitempty"`
	Value *string `json:"value,omitempty"`
}

PortValueSpecApplyConfiguration represents a declarative configuration of the PortValueSpec type for use with apply.

func PortValueSpec ¶

func PortValueSpec() *PortValueSpecApplyConfiguration

PortValueSpecApplyConfiguration constructs a declarative configuration of the PortValueSpec type for use with apply.

func (*PortValueSpecApplyConfiguration) WithKey ¶

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 (*PortValueSpecApplyConfiguration) WithValue ¶

WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.

type ProjectApplyConfiguration ¶

type ProjectApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *ProjectSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *ProjectStatusApplyConfiguration `json:"status,omitempty"`
}

ProjectApplyConfiguration represents a declarative configuration of the Project type for use with apply.

func ExtractProject ¶

func ExtractProject(project *apiv1alpha1.Project, fieldManager string) (*ProjectApplyConfiguration, error)

ExtractProject extracts the applied configuration owned by fieldManager from project. If no managedFields are found in project for fieldManager, a ProjectApplyConfiguration 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. project must be a unmodified Project API object that was retrieved from the Kubernetes API. ExtractProject 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 ExtractProjectStatus ¶

func ExtractProjectStatus(project *apiv1alpha1.Project, fieldManager string) (*ProjectApplyConfiguration, error)

ExtractProjectStatus is the same as ExtractProject except that it extracts the status subresource applied configuration. Experimental!

func Project ¶

func Project(name, namespace string) *ProjectApplyConfiguration

Project constructs a declarative configuration of the Project type for use with apply.

func (*ProjectApplyConfiguration) GetAPIVersion ¶

func (b *ProjectApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*ProjectApplyConfiguration) GetKind ¶

func (b *ProjectApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*ProjectApplyConfiguration) GetName ¶

func (b *ProjectApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*ProjectApplyConfiguration) GetNamespace ¶

func (b *ProjectApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (ProjectApplyConfiguration) IsApplyConfiguration ¶

func (b ProjectApplyConfiguration) IsApplyConfiguration()

func (*ProjectApplyConfiguration) WithAPIVersion ¶

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*ProjectApplyConfiguration) WithAnnotations ¶

func (b *ProjectApplyConfiguration) WithAnnotations(entries map[string]string) *ProjectApplyConfiguration

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 (*ProjectApplyConfiguration) WithCreationTimestamp ¶

func (b *ProjectApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ProjectApplyConfiguration

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 (*ProjectApplyConfiguration) WithDeletionGracePeriodSeconds ¶

func (b *ProjectApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ProjectApplyConfiguration

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 (*ProjectApplyConfiguration) WithDeletionTimestamp ¶

func (b *ProjectApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ProjectApplyConfiguration

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 (*ProjectApplyConfiguration) WithFinalizers ¶

func (b *ProjectApplyConfiguration) WithFinalizers(values ...string) *ProjectApplyConfiguration

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 (*ProjectApplyConfiguration) WithGenerateName ¶

func (b *ProjectApplyConfiguration) WithGenerateName(value string) *ProjectApplyConfiguration

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 (*ProjectApplyConfiguration) WithGeneration ¶

func (b *ProjectApplyConfiguration) WithGeneration(value int64) *ProjectApplyConfiguration

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 (*ProjectApplyConfiguration) WithKind ¶

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*ProjectApplyConfiguration) WithLabels ¶

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*ProjectApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*ProjectApplyConfiguration) WithNamespace ¶

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*ProjectApplyConfiguration) WithOwnerReferences ¶

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*ProjectApplyConfiguration) WithResourceVersion ¶

func (b *ProjectApplyConfiguration) WithResourceVersion(value string) *ProjectApplyConfiguration

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 (*ProjectApplyConfiguration) WithSpec ¶

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*ProjectApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*ProjectApplyConfiguration) WithUID ¶

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type ProjectFilterApplyConfiguration ¶

type ProjectFilterApplyConfiguration struct {
	Name                                   *apiv1alpha1.KeystoneName      `json:"name,omitempty"`
	DomainRef                              *apiv1alpha1.KubernetesNameRef `json:"domainRef,omitempty"`
	FilterByKeystoneTagsApplyConfiguration `json:",inline"`
}

ProjectFilterApplyConfiguration represents a declarative configuration of the ProjectFilter type for use with apply.

func ProjectFilter ¶

func ProjectFilter() *ProjectFilterApplyConfiguration

ProjectFilterApplyConfiguration constructs a declarative configuration of the ProjectFilter type for use with apply.

func (*ProjectFilterApplyConfiguration) WithDomainRef ¶

WithDomainRef sets the DomainRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DomainRef field is set to the value of the last call.

func (*ProjectFilterApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*ProjectFilterApplyConfiguration) WithNotTags ¶

WithNotTags adds the given value to the NotTags 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 NotTags field.

func (*ProjectFilterApplyConfiguration) WithNotTagsAny ¶

WithNotTagsAny adds the given value to the NotTagsAny 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 NotTagsAny field.

func (*ProjectFilterApplyConfiguration) WithTags ¶

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 (*ProjectFilterApplyConfiguration) WithTagsAny ¶

WithTagsAny adds the given value to the TagsAny 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 TagsAny field.

type ProjectImportApplyConfiguration ¶

type ProjectImportApplyConfiguration struct {
	ID     *string                          `json:"id,omitempty"`
	Filter *ProjectFilterApplyConfiguration `json:"filter,omitempty"`
}

ProjectImportApplyConfiguration represents a declarative configuration of the ProjectImport type for use with apply.

func ProjectImport ¶

func ProjectImport() *ProjectImportApplyConfiguration

ProjectImportApplyConfiguration constructs a declarative configuration of the ProjectImport type for use with apply.

func (*ProjectImportApplyConfiguration) WithFilter ¶

WithFilter sets the Filter field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Filter field is set to the value of the last call.

func (*ProjectImportApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

type ProjectResourceSpecApplyConfiguration ¶

type ProjectResourceSpecApplyConfiguration struct {
	Name        *apiv1alpha1.KeystoneName      `json:"name,omitempty"`
	Description *string                        `json:"description,omitempty"`
	DomainRef   *apiv1alpha1.KubernetesNameRef `json:"domainRef,omitempty"`
	Enabled     *bool                          `json:"enabled,omitempty"`
	Tags        []apiv1alpha1.KeystoneTag      `json:"tags,omitempty"`
}

ProjectResourceSpecApplyConfiguration represents a declarative configuration of the ProjectResourceSpec type for use with apply.

func ProjectResourceSpec ¶

func ProjectResourceSpec() *ProjectResourceSpecApplyConfiguration

ProjectResourceSpecApplyConfiguration constructs a declarative configuration of the ProjectResourceSpec type for use with apply.

func (*ProjectResourceSpecApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*ProjectResourceSpecApplyConfiguration) WithDomainRef ¶

WithDomainRef sets the DomainRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DomainRef field is set to the value of the last call.

func (*ProjectResourceSpecApplyConfiguration) WithEnabled ¶

WithEnabled sets the Enabled field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Enabled field is set to the value of the last call.

func (*ProjectResourceSpecApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*ProjectResourceSpecApplyConfiguration) WithTags ¶

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.

type ProjectResourceStatusApplyConfiguration ¶

type ProjectResourceStatusApplyConfiguration struct {
	Name        *string  `json:"name,omitempty"`
	Description *string  `json:"description,omitempty"`
	DomainID    *string  `json:"domainID,omitempty"`
	Enabled     *bool    `json:"enabled,omitempty"`
	Tags        []string `json:"tags,omitempty"`
}

ProjectResourceStatusApplyConfiguration represents a declarative configuration of the ProjectResourceStatus type for use with apply.

func ProjectResourceStatus ¶

func ProjectResourceStatus() *ProjectResourceStatusApplyConfiguration

ProjectResourceStatusApplyConfiguration constructs a declarative configuration of the ProjectResourceStatus type for use with apply.

func (*ProjectResourceStatusApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*ProjectResourceStatusApplyConfiguration) WithDomainID ¶

WithDomainID sets the DomainID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DomainID field is set to the value of the last call.

func (*ProjectResourceStatusApplyConfiguration) WithEnabled ¶

WithEnabled sets the Enabled field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Enabled field is set to the value of the last call.

func (*ProjectResourceStatusApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*ProjectResourceStatusApplyConfiguration) WithTags ¶

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.

type ProjectSpecApplyConfiguration ¶

type ProjectSpecApplyConfiguration struct {
	Import              *ProjectImportApplyConfiguration             `json:"import,omitempty"`
	Resource            *ProjectResourceSpecApplyConfiguration       `json:"resource,omitempty"`
	ManagementPolicy    *apiv1alpha1.ManagementPolicy                `json:"managementPolicy,omitempty"`
	ManagedOptions      *ManagedOptionsApplyConfiguration            `json:"managedOptions,omitempty"`
	ResyncPeriod        *v1.Duration                                 `json:"resyncPeriod,omitempty"`
	CloudCredentialsRef *CloudCredentialsReferenceApplyConfiguration `json:"cloudCredentialsRef,omitempty"`
}

ProjectSpecApplyConfiguration represents a declarative configuration of the ProjectSpec type for use with apply.

func ProjectSpec ¶

func ProjectSpec() *ProjectSpecApplyConfiguration

ProjectSpecApplyConfiguration constructs a declarative configuration of the ProjectSpec type for use with apply.

func (*ProjectSpecApplyConfiguration) WithCloudCredentialsRef ¶

WithCloudCredentialsRef sets the CloudCredentialsRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CloudCredentialsRef field is set to the value of the last call.

func (*ProjectSpecApplyConfiguration) WithImport ¶

WithImport sets the Import field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Import field is set to the value of the last call.

func (*ProjectSpecApplyConfiguration) WithManagedOptions ¶

WithManagedOptions sets the ManagedOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagedOptions field is set to the value of the last call.

func (*ProjectSpecApplyConfiguration) WithManagementPolicy ¶

WithManagementPolicy sets the ManagementPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementPolicy field is set to the value of the last call.

func (*ProjectSpecApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

func (*ProjectSpecApplyConfiguration) WithResyncPeriod ¶

WithResyncPeriod sets the ResyncPeriod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResyncPeriod field is set to the value of the last call.

type ProjectStatusApplyConfiguration ¶

type ProjectStatusApplyConfiguration struct {
	Conditions   []v1.ConditionApplyConfiguration         `json:"conditions,omitempty"`
	ID           *string                                  `json:"id,omitempty"`
	Resource     *ProjectResourceStatusApplyConfiguration `json:"resource,omitempty"`
	LastSyncTime *metav1.Time                             `json:"lastSyncTime,omitempty"`
}

ProjectStatusApplyConfiguration represents a declarative configuration of the ProjectStatus type for use with apply.

func ProjectStatus ¶

func ProjectStatus() *ProjectStatusApplyConfiguration

ProjectStatusApplyConfiguration constructs a declarative configuration of the ProjectStatus type for use with apply.

func (*ProjectStatusApplyConfiguration) WithConditions ¶

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*ProjectStatusApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*ProjectStatusApplyConfiguration) WithLastSyncTime ¶

WithLastSyncTime sets the LastSyncTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastSyncTime field is set to the value of the last call.

func (*ProjectStatusApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

type ProviderPropertiesStatusApplyConfiguration ¶

type ProviderPropertiesStatusApplyConfiguration struct {
	NetworkType     *string `json:"networkType,omitempty"`
	PhysicalNetwork *string `json:"physicalNetwork,omitempty"`
	SegmentationID  *int32  `json:"segmentationID,omitempty"`
}

ProviderPropertiesStatusApplyConfiguration represents a declarative configuration of the ProviderPropertiesStatus type for use with apply.

func ProviderPropertiesStatus ¶

func ProviderPropertiesStatus() *ProviderPropertiesStatusApplyConfiguration

ProviderPropertiesStatusApplyConfiguration constructs a declarative configuration of the ProviderPropertiesStatus type for use with apply.

func (*ProviderPropertiesStatusApplyConfiguration) WithNetworkType ¶

WithNetworkType sets the NetworkType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NetworkType field is set to the value of the last call.

func (*ProviderPropertiesStatusApplyConfiguration) WithPhysicalNetwork ¶

WithPhysicalNetwork sets the PhysicalNetwork field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PhysicalNetwork field is set to the value of the last call.

func (*ProviderPropertiesStatusApplyConfiguration) WithSegmentationID ¶

WithSegmentationID sets the SegmentationID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SegmentationID field is set to the value of the last call.

type ProviderSegmentSpecApplyConfiguration ¶

type ProviderSegmentSpecApplyConfiguration struct {
	NetworkType     *apiv1alpha1.ProviderNetworkType `json:"networkType,omitempty"`
	PhysicalNetwork *string                          `json:"physicalNetwork,omitempty"`
	SegmentationID  *int32                           `json:"segmentationID,omitempty"`
}

ProviderSegmentSpecApplyConfiguration represents a declarative configuration of the ProviderSegmentSpec type for use with apply.

func ProviderSegmentSpec ¶

func ProviderSegmentSpec() *ProviderSegmentSpecApplyConfiguration

ProviderSegmentSpecApplyConfiguration constructs a declarative configuration of the ProviderSegmentSpec type for use with apply.

func (*ProviderSegmentSpecApplyConfiguration) WithNetworkType ¶

WithNetworkType sets the NetworkType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NetworkType field is set to the value of the last call.

func (*ProviderSegmentSpecApplyConfiguration) WithPhysicalNetwork ¶

WithPhysicalNetwork sets the PhysicalNetwork field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PhysicalNetwork field is set to the value of the last call.

func (*ProviderSegmentSpecApplyConfiguration) WithSegmentationID ¶

WithSegmentationID sets the SegmentationID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SegmentationID field is set to the value of the last call.

type RegionApplyConfiguration ¶

type RegionApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *RegionSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *RegionStatusApplyConfiguration `json:"status,omitempty"`
}

RegionApplyConfiguration represents a declarative configuration of the Region type for use with apply.

func ExtractRegion ¶

func ExtractRegion(region *apiv1alpha1.Region, fieldManager string) (*RegionApplyConfiguration, error)

ExtractRegion extracts the applied configuration owned by fieldManager from region. If no managedFields are found in region for fieldManager, a RegionApplyConfiguration 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. region must be a unmodified Region API object that was retrieved from the Kubernetes API. ExtractRegion 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 ExtractRegionStatus ¶

func ExtractRegionStatus(region *apiv1alpha1.Region, fieldManager string) (*RegionApplyConfiguration, error)

ExtractRegionStatus is the same as ExtractRegion except that it extracts the status subresource applied configuration. Experimental!

func Region ¶

func Region(name, namespace string) *RegionApplyConfiguration

Region constructs a declarative configuration of the Region type for use with apply.

func (*RegionApplyConfiguration) GetAPIVersion ¶

func (b *RegionApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*RegionApplyConfiguration) GetKind ¶

func (b *RegionApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*RegionApplyConfiguration) GetName ¶

func (b *RegionApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*RegionApplyConfiguration) GetNamespace ¶

func (b *RegionApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (RegionApplyConfiguration) IsApplyConfiguration ¶

func (b RegionApplyConfiguration) IsApplyConfiguration()

func (*RegionApplyConfiguration) WithAPIVersion ¶

func (b *RegionApplyConfiguration) WithAPIVersion(value string) *RegionApplyConfiguration

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 (*RegionApplyConfiguration) WithAnnotations ¶

func (b *RegionApplyConfiguration) WithAnnotations(entries map[string]string) *RegionApplyConfiguration

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 (*RegionApplyConfiguration) WithCreationTimestamp ¶

func (b *RegionApplyConfiguration) WithCreationTimestamp(value metav1.Time) *RegionApplyConfiguration

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 (*RegionApplyConfiguration) WithDeletionGracePeriodSeconds ¶

func (b *RegionApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *RegionApplyConfiguration

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 (*RegionApplyConfiguration) WithDeletionTimestamp ¶

func (b *RegionApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *RegionApplyConfiguration

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 (*RegionApplyConfiguration) WithFinalizers ¶

func (b *RegionApplyConfiguration) WithFinalizers(values ...string) *RegionApplyConfiguration

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 (*RegionApplyConfiguration) WithGenerateName ¶

func (b *RegionApplyConfiguration) WithGenerateName(value string) *RegionApplyConfiguration

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 (*RegionApplyConfiguration) WithGeneration ¶

func (b *RegionApplyConfiguration) WithGeneration(value int64) *RegionApplyConfiguration

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 (*RegionApplyConfiguration) WithKind ¶

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*RegionApplyConfiguration) WithLabels ¶

func (b *RegionApplyConfiguration) WithLabels(entries map[string]string) *RegionApplyConfiguration

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 (*RegionApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*RegionApplyConfiguration) WithNamespace ¶

func (b *RegionApplyConfiguration) WithNamespace(value string) *RegionApplyConfiguration

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 (*RegionApplyConfiguration) WithOwnerReferences ¶

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*RegionApplyConfiguration) WithResourceVersion ¶

func (b *RegionApplyConfiguration) WithResourceVersion(value string) *RegionApplyConfiguration

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 (*RegionApplyConfiguration) WithSpec ¶

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*RegionApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*RegionApplyConfiguration) WithUID ¶

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type RegionFilterApplyConfiguration ¶

type RegionFilterApplyConfiguration struct {
	Name        *apiv1alpha1.OpenStackName `json:"name,omitempty"`
	Description *string                    `json:"description,omitempty"`
}

RegionFilterApplyConfiguration represents a declarative configuration of the RegionFilter type for use with apply.

func RegionFilter ¶

func RegionFilter() *RegionFilterApplyConfiguration

RegionFilterApplyConfiguration constructs a declarative configuration of the RegionFilter type for use with apply.

func (*RegionFilterApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*RegionFilterApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

type RegionImportApplyConfiguration ¶

type RegionImportApplyConfiguration struct {
	ID     *string                         `json:"id,omitempty"`
	Filter *RegionFilterApplyConfiguration `json:"filter,omitempty"`
}

RegionImportApplyConfiguration represents a declarative configuration of the RegionImport type for use with apply.

func RegionImport ¶

func RegionImport() *RegionImportApplyConfiguration

RegionImportApplyConfiguration constructs a declarative configuration of the RegionImport type for use with apply.

func (*RegionImportApplyConfiguration) WithFilter ¶

WithFilter sets the Filter field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Filter field is set to the value of the last call.

func (*RegionImportApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

type RegionResourceSpecApplyConfiguration ¶

type RegionResourceSpecApplyConfiguration struct {
	Name        *apiv1alpha1.OpenStackName `json:"name,omitempty"`
	Description *string                    `json:"description,omitempty"`
}

RegionResourceSpecApplyConfiguration represents a declarative configuration of the RegionResourceSpec type for use with apply.

func RegionResourceSpec ¶

func RegionResourceSpec() *RegionResourceSpecApplyConfiguration

RegionResourceSpecApplyConfiguration constructs a declarative configuration of the RegionResourceSpec type for use with apply.

func (*RegionResourceSpecApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*RegionResourceSpecApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

type RegionResourceStatusApplyConfiguration ¶

type RegionResourceStatusApplyConfiguration struct {
	Name        *string `json:"name,omitempty"`
	Description *string `json:"description,omitempty"`
}

RegionResourceStatusApplyConfiguration represents a declarative configuration of the RegionResourceStatus type for use with apply.

func RegionResourceStatus ¶

func RegionResourceStatus() *RegionResourceStatusApplyConfiguration

RegionResourceStatusApplyConfiguration constructs a declarative configuration of the RegionResourceStatus type for use with apply.

func (*RegionResourceStatusApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*RegionResourceStatusApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

type RegionSpecApplyConfiguration ¶

type RegionSpecApplyConfiguration struct {
	Import              *RegionImportApplyConfiguration              `json:"import,omitempty"`
	Resource            *RegionResourceSpecApplyConfiguration        `json:"resource,omitempty"`
	ManagementPolicy    *apiv1alpha1.ManagementPolicy                `json:"managementPolicy,omitempty"`
	ManagedOptions      *ManagedOptionsApplyConfiguration            `json:"managedOptions,omitempty"`
	ResyncPeriod        *v1.Duration                                 `json:"resyncPeriod,omitempty"`
	CloudCredentialsRef *CloudCredentialsReferenceApplyConfiguration `json:"cloudCredentialsRef,omitempty"`
}

RegionSpecApplyConfiguration represents a declarative configuration of the RegionSpec type for use with apply.

func RegionSpec ¶

func RegionSpec() *RegionSpecApplyConfiguration

RegionSpecApplyConfiguration constructs a declarative configuration of the RegionSpec type for use with apply.

func (*RegionSpecApplyConfiguration) WithCloudCredentialsRef ¶

WithCloudCredentialsRef sets the CloudCredentialsRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CloudCredentialsRef field is set to the value of the last call.

func (*RegionSpecApplyConfiguration) WithImport ¶

WithImport sets the Import field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Import field is set to the value of the last call.

func (*RegionSpecApplyConfiguration) WithManagedOptions ¶

WithManagedOptions sets the ManagedOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagedOptions field is set to the value of the last call.

func (*RegionSpecApplyConfiguration) WithManagementPolicy ¶

WithManagementPolicy sets the ManagementPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementPolicy field is set to the value of the last call.

func (*RegionSpecApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

func (*RegionSpecApplyConfiguration) WithResyncPeriod ¶

WithResyncPeriod sets the ResyncPeriod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResyncPeriod field is set to the value of the last call.

type RegionStatusApplyConfiguration ¶

type RegionStatusApplyConfiguration struct {
	Conditions   []v1.ConditionApplyConfiguration        `json:"conditions,omitempty"`
	ID           *string                                 `json:"id,omitempty"`
	Resource     *RegionResourceStatusApplyConfiguration `json:"resource,omitempty"`
	LastSyncTime *metav1.Time                            `json:"lastSyncTime,omitempty"`
}

RegionStatusApplyConfiguration represents a declarative configuration of the RegionStatus type for use with apply.

func RegionStatus ¶

func RegionStatus() *RegionStatusApplyConfiguration

RegionStatusApplyConfiguration constructs a declarative configuration of the RegionStatus type for use with apply.

func (*RegionStatusApplyConfiguration) WithConditions ¶

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*RegionStatusApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*RegionStatusApplyConfiguration) WithLastSyncTime ¶

WithLastSyncTime sets the LastSyncTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastSyncTime field is set to the value of the last call.

func (*RegionStatusApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

type RegisteredLimitApplyConfiguration ¶

type RegisteredLimitApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *RegisteredLimitSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *RegisteredLimitStatusApplyConfiguration `json:"status,omitempty"`
}

RegisteredLimitApplyConfiguration represents a declarative configuration of the RegisteredLimit type for use with apply.

func ExtractRegisteredLimit ¶

func ExtractRegisteredLimit(registeredLimit *apiv1alpha1.RegisteredLimit, fieldManager string) (*RegisteredLimitApplyConfiguration, error)

ExtractRegisteredLimit extracts the applied configuration owned by fieldManager from registeredLimit. If no managedFields are found in registeredLimit for fieldManager, a RegisteredLimitApplyConfiguration 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. registeredLimit must be a unmodified RegisteredLimit API object that was retrieved from the Kubernetes API. ExtractRegisteredLimit 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 ExtractRegisteredLimitStatus ¶

func ExtractRegisteredLimitStatus(registeredLimit *apiv1alpha1.RegisteredLimit, fieldManager string) (*RegisteredLimitApplyConfiguration, error)

ExtractRegisteredLimitStatus is the same as ExtractRegisteredLimit except that it extracts the status subresource applied configuration. Experimental!

func RegisteredLimit ¶

func RegisteredLimit(name, namespace string) *RegisteredLimitApplyConfiguration

RegisteredLimit constructs a declarative configuration of the RegisteredLimit type for use with apply.

func (*RegisteredLimitApplyConfiguration) GetAPIVersion ¶

func (b *RegisteredLimitApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*RegisteredLimitApplyConfiguration) GetKind ¶

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*RegisteredLimitApplyConfiguration) GetName ¶

GetName retrieves the value of the Name field in the declarative configuration.

func (*RegisteredLimitApplyConfiguration) GetNamespace ¶

func (b *RegisteredLimitApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (RegisteredLimitApplyConfiguration) IsApplyConfiguration ¶

func (b RegisteredLimitApplyConfiguration) IsApplyConfiguration()

func (*RegisteredLimitApplyConfiguration) WithAPIVersion ¶

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*RegisteredLimitApplyConfiguration) WithAnnotations ¶

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*RegisteredLimitApplyConfiguration) WithCreationTimestamp ¶

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*RegisteredLimitApplyConfiguration) WithDeletionGracePeriodSeconds ¶

func (b *RegisteredLimitApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *RegisteredLimitApplyConfiguration

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 (*RegisteredLimitApplyConfiguration) WithDeletionTimestamp ¶

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*RegisteredLimitApplyConfiguration) WithFinalizers ¶

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*RegisteredLimitApplyConfiguration) WithGenerateName ¶

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*RegisteredLimitApplyConfiguration) WithGeneration ¶

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*RegisteredLimitApplyConfiguration) WithKind ¶

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*RegisteredLimitApplyConfiguration) WithLabels ¶

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*RegisteredLimitApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*RegisteredLimitApplyConfiguration) WithNamespace ¶

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*RegisteredLimitApplyConfiguration) WithOwnerReferences ¶

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*RegisteredLimitApplyConfiguration) WithResourceVersion ¶

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*RegisteredLimitApplyConfiguration) WithSpec ¶

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*RegisteredLimitApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*RegisteredLimitApplyConfiguration) WithUID ¶

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type RegisteredLimitFilterApplyConfiguration ¶

type RegisteredLimitFilterApplyConfiguration struct {
	Description  *string                        `json:"description,omitempty"`
	ServiceRef   *apiv1alpha1.KubernetesNameRef `json:"serviceRef,omitempty"`
	ResourceName *string                        `json:"resourceName,omitempty"`
	RegionRef    *apiv1alpha1.KubernetesNameRef `json:"regionRef,omitempty"`
}

RegisteredLimitFilterApplyConfiguration represents a declarative configuration of the RegisteredLimitFilter type for use with apply.

func RegisteredLimitFilter ¶

func RegisteredLimitFilter() *RegisteredLimitFilterApplyConfiguration

RegisteredLimitFilterApplyConfiguration constructs a declarative configuration of the RegisteredLimitFilter type for use with apply.

func (*RegisteredLimitFilterApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*RegisteredLimitFilterApplyConfiguration) WithRegionRef ¶

WithRegionRef sets the RegionRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RegionRef field is set to the value of the last call.

func (*RegisteredLimitFilterApplyConfiguration) WithResourceName ¶

WithResourceName sets the ResourceName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceName field is set to the value of the last call.

func (*RegisteredLimitFilterApplyConfiguration) WithServiceRef ¶

WithServiceRef sets the ServiceRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServiceRef field is set to the value of the last call.

type RegisteredLimitImportApplyConfiguration ¶

type RegisteredLimitImportApplyConfiguration struct {
	ID     *string                                  `json:"id,omitempty"`
	Filter *RegisteredLimitFilterApplyConfiguration `json:"filter,omitempty"`
}

RegisteredLimitImportApplyConfiguration represents a declarative configuration of the RegisteredLimitImport type for use with apply.

func RegisteredLimitImport ¶

func RegisteredLimitImport() *RegisteredLimitImportApplyConfiguration

RegisteredLimitImportApplyConfiguration constructs a declarative configuration of the RegisteredLimitImport type for use with apply.

func (*RegisteredLimitImportApplyConfiguration) WithFilter ¶

WithFilter sets the Filter field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Filter field is set to the value of the last call.

func (*RegisteredLimitImportApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

type RegisteredLimitResourceSpecApplyConfiguration ¶

type RegisteredLimitResourceSpecApplyConfiguration struct {
	Description  *string                        `json:"description,omitempty"`
	ServiceRef   *apiv1alpha1.KubernetesNameRef `json:"serviceRef,omitempty"`
	ResourceName *string                        `json:"resourceName,omitempty"`
	DefaultLimit *int32                         `json:"defaultLimit,omitempty"`
	RegionRef    *apiv1alpha1.KubernetesNameRef `json:"regionRef,omitempty"`
}

RegisteredLimitResourceSpecApplyConfiguration represents a declarative configuration of the RegisteredLimitResourceSpec type for use with apply.

func RegisteredLimitResourceSpec ¶

func RegisteredLimitResourceSpec() *RegisteredLimitResourceSpecApplyConfiguration

RegisteredLimitResourceSpecApplyConfiguration constructs a declarative configuration of the RegisteredLimitResourceSpec type for use with apply.

func (*RegisteredLimitResourceSpecApplyConfiguration) WithDefaultLimit ¶

WithDefaultLimit sets the DefaultLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DefaultLimit field is set to the value of the last call.

func (*RegisteredLimitResourceSpecApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*RegisteredLimitResourceSpecApplyConfiguration) WithRegionRef ¶

WithRegionRef sets the RegionRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RegionRef field is set to the value of the last call.

func (*RegisteredLimitResourceSpecApplyConfiguration) WithResourceName ¶

WithResourceName sets the ResourceName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceName field is set to the value of the last call.

func (*RegisteredLimitResourceSpecApplyConfiguration) WithServiceRef ¶

WithServiceRef sets the ServiceRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServiceRef field is set to the value of the last call.

type RegisteredLimitResourceStatusApplyConfiguration ¶

type RegisteredLimitResourceStatusApplyConfiguration struct {
	Description  *string `json:"description,omitempty"`
	ResourceName *string `json:"resourceName,omitempty"`
	RegionID     *string `json:"regionID,omitempty"`
	ServiceID    *string `json:"serviceID,omitempty"`
	DefaultLimit *int32  `json:"defaultLimit,omitempty"`
}

RegisteredLimitResourceStatusApplyConfiguration represents a declarative configuration of the RegisteredLimitResourceStatus type for use with apply.

func RegisteredLimitResourceStatus ¶

func RegisteredLimitResourceStatus() *RegisteredLimitResourceStatusApplyConfiguration

RegisteredLimitResourceStatusApplyConfiguration constructs a declarative configuration of the RegisteredLimitResourceStatus type for use with apply.

func (*RegisteredLimitResourceStatusApplyConfiguration) WithDefaultLimit ¶

WithDefaultLimit sets the DefaultLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DefaultLimit field is set to the value of the last call.

func (*RegisteredLimitResourceStatusApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*RegisteredLimitResourceStatusApplyConfiguration) WithRegionID ¶

WithRegionID sets the RegionID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RegionID field is set to the value of the last call.

func (*RegisteredLimitResourceStatusApplyConfiguration) WithResourceName ¶

WithResourceName sets the ResourceName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceName field is set to the value of the last call.

func (*RegisteredLimitResourceStatusApplyConfiguration) WithServiceID ¶

WithServiceID sets the ServiceID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServiceID field is set to the value of the last call.

type RegisteredLimitSpecApplyConfiguration ¶

type RegisteredLimitSpecApplyConfiguration struct {
	Import              *RegisteredLimitImportApplyConfiguration       `json:"import,omitempty"`
	Resource            *RegisteredLimitResourceSpecApplyConfiguration `json:"resource,omitempty"`
	ManagementPolicy    *apiv1alpha1.ManagementPolicy                  `json:"managementPolicy,omitempty"`
	ManagedOptions      *ManagedOptionsApplyConfiguration              `json:"managedOptions,omitempty"`
	ResyncPeriod        *v1.Duration                                   `json:"resyncPeriod,omitempty"`
	CloudCredentialsRef *CloudCredentialsReferenceApplyConfiguration   `json:"cloudCredentialsRef,omitempty"`
}

RegisteredLimitSpecApplyConfiguration represents a declarative configuration of the RegisteredLimitSpec type for use with apply.

func RegisteredLimitSpec ¶

func RegisteredLimitSpec() *RegisteredLimitSpecApplyConfiguration

RegisteredLimitSpecApplyConfiguration constructs a declarative configuration of the RegisteredLimitSpec type for use with apply.

func (*RegisteredLimitSpecApplyConfiguration) WithCloudCredentialsRef ¶

WithCloudCredentialsRef sets the CloudCredentialsRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CloudCredentialsRef field is set to the value of the last call.

func (*RegisteredLimitSpecApplyConfiguration) WithImport ¶

WithImport sets the Import field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Import field is set to the value of the last call.

func (*RegisteredLimitSpecApplyConfiguration) WithManagedOptions ¶

WithManagedOptions sets the ManagedOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagedOptions field is set to the value of the last call.

func (*RegisteredLimitSpecApplyConfiguration) WithManagementPolicy ¶

WithManagementPolicy sets the ManagementPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementPolicy field is set to the value of the last call.

func (*RegisteredLimitSpecApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

func (*RegisteredLimitSpecApplyConfiguration) WithResyncPeriod ¶

WithResyncPeriod sets the ResyncPeriod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResyncPeriod field is set to the value of the last call.

type RegisteredLimitStatusApplyConfiguration ¶

type RegisteredLimitStatusApplyConfiguration struct {
	Conditions   []v1.ConditionApplyConfiguration                 `json:"conditions,omitempty"`
	ID           *string                                          `json:"id,omitempty"`
	Resource     *RegisteredLimitResourceStatusApplyConfiguration `json:"resource,omitempty"`
	LastSyncTime *metav1.Time                                     `json:"lastSyncTime,omitempty"`
}

RegisteredLimitStatusApplyConfiguration represents a declarative configuration of the RegisteredLimitStatus type for use with apply.

func RegisteredLimitStatus ¶

func RegisteredLimitStatus() *RegisteredLimitStatusApplyConfiguration

RegisteredLimitStatusApplyConfiguration constructs a declarative configuration of the RegisteredLimitStatus type for use with apply.

func (*RegisteredLimitStatusApplyConfiguration) WithConditions ¶

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*RegisteredLimitStatusApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*RegisteredLimitStatusApplyConfiguration) WithLastSyncTime ¶

WithLastSyncTime sets the LastSyncTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastSyncTime field is set to the value of the last call.

func (*RegisteredLimitStatusApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

type RoleApplyConfiguration ¶

type RoleApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *RoleSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *RoleStatusApplyConfiguration `json:"status,omitempty"`
}

RoleApplyConfiguration represents a declarative configuration of the Role type for use with apply.

func ExtractRole ¶

func ExtractRole(role *apiv1alpha1.Role, fieldManager string) (*RoleApplyConfiguration, error)

ExtractRole extracts the applied configuration owned by fieldManager from role. If no managedFields are found in role for fieldManager, a RoleApplyConfiguration 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. role must be a unmodified Role API object that was retrieved from the Kubernetes API. ExtractRole 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 ExtractRoleStatus ¶

func ExtractRoleStatus(role *apiv1alpha1.Role, fieldManager string) (*RoleApplyConfiguration, error)

ExtractRoleStatus is the same as ExtractRole except that it extracts the status subresource applied configuration. Experimental!

func Role ¶

func Role(name, namespace string) *RoleApplyConfiguration

Role constructs a declarative configuration of the Role type for use with apply.

func (*RoleApplyConfiguration) GetAPIVersion ¶

func (b *RoleApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*RoleApplyConfiguration) GetKind ¶

func (b *RoleApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*RoleApplyConfiguration) GetName ¶

func (b *RoleApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*RoleApplyConfiguration) GetNamespace ¶

func (b *RoleApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (RoleApplyConfiguration) IsApplyConfiguration ¶

func (b RoleApplyConfiguration) IsApplyConfiguration()

func (*RoleApplyConfiguration) WithAPIVersion ¶

func (b *RoleApplyConfiguration) WithAPIVersion(value string) *RoleApplyConfiguration

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 (*RoleApplyConfiguration) WithAnnotations ¶

func (b *RoleApplyConfiguration) WithAnnotations(entries map[string]string) *RoleApplyConfiguration

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 (*RoleApplyConfiguration) WithCreationTimestamp ¶

func (b *RoleApplyConfiguration) WithCreationTimestamp(value metav1.Time) *RoleApplyConfiguration

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 (*RoleApplyConfiguration) WithDeletionGracePeriodSeconds ¶

func (b *RoleApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *RoleApplyConfiguration

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 (*RoleApplyConfiguration) WithDeletionTimestamp ¶

func (b *RoleApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *RoleApplyConfiguration

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 (*RoleApplyConfiguration) WithFinalizers ¶

func (b *RoleApplyConfiguration) WithFinalizers(values ...string) *RoleApplyConfiguration

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 (*RoleApplyConfiguration) WithGenerateName ¶

func (b *RoleApplyConfiguration) WithGenerateName(value string) *RoleApplyConfiguration

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 (*RoleApplyConfiguration) WithGeneration ¶

func (b *RoleApplyConfiguration) WithGeneration(value int64) *RoleApplyConfiguration

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 (*RoleApplyConfiguration) WithKind ¶

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*RoleApplyConfiguration) WithLabels ¶

func (b *RoleApplyConfiguration) WithLabels(entries map[string]string) *RoleApplyConfiguration

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 (*RoleApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*RoleApplyConfiguration) WithNamespace ¶

func (b *RoleApplyConfiguration) WithNamespace(value string) *RoleApplyConfiguration

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 (*RoleApplyConfiguration) WithOwnerReferences ¶

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*RoleApplyConfiguration) WithResourceVersion ¶

func (b *RoleApplyConfiguration) WithResourceVersion(value string) *RoleApplyConfiguration

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 (*RoleApplyConfiguration) WithSpec ¶

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*RoleApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*RoleApplyConfiguration) WithUID ¶

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type RoleAssignmentApplyConfiguration ¶

type RoleAssignmentApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *RoleAssignmentSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *RoleAssignmentStatusApplyConfiguration `json:"status,omitempty"`
}

RoleAssignmentApplyConfiguration represents a declarative configuration of the RoleAssignment type for use with apply.

func ExtractRoleAssignment ¶

func ExtractRoleAssignment(roleAssignment *apiv1alpha1.RoleAssignment, fieldManager string) (*RoleAssignmentApplyConfiguration, error)

ExtractRoleAssignment extracts the applied configuration owned by fieldManager from roleAssignment. If no managedFields are found in roleAssignment for fieldManager, a RoleAssignmentApplyConfiguration 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. roleAssignment must be a unmodified RoleAssignment API object that was retrieved from the Kubernetes API. ExtractRoleAssignment 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 ExtractRoleAssignmentStatus ¶

func ExtractRoleAssignmentStatus(roleAssignment *apiv1alpha1.RoleAssignment, fieldManager string) (*RoleAssignmentApplyConfiguration, error)

ExtractRoleAssignmentStatus is the same as ExtractRoleAssignment except that it extracts the status subresource applied configuration. Experimental!

func RoleAssignment ¶

func RoleAssignment(name, namespace string) *RoleAssignmentApplyConfiguration

RoleAssignment constructs a declarative configuration of the RoleAssignment type for use with apply.

func (*RoleAssignmentApplyConfiguration) GetAPIVersion ¶

func (b *RoleAssignmentApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*RoleAssignmentApplyConfiguration) GetKind ¶

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*RoleAssignmentApplyConfiguration) GetName ¶

GetName retrieves the value of the Name field in the declarative configuration.

func (*RoleAssignmentApplyConfiguration) GetNamespace ¶

func (b *RoleAssignmentApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (RoleAssignmentApplyConfiguration) IsApplyConfiguration ¶

func (b RoleAssignmentApplyConfiguration) IsApplyConfiguration()

func (*RoleAssignmentApplyConfiguration) WithAPIVersion ¶

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*RoleAssignmentApplyConfiguration) WithAnnotations ¶

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*RoleAssignmentApplyConfiguration) WithCreationTimestamp ¶

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*RoleAssignmentApplyConfiguration) WithDeletionGracePeriodSeconds ¶

func (b *RoleAssignmentApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *RoleAssignmentApplyConfiguration

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 (*RoleAssignmentApplyConfiguration) WithDeletionTimestamp ¶

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*RoleAssignmentApplyConfiguration) WithFinalizers ¶

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*RoleAssignmentApplyConfiguration) WithGenerateName ¶

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*RoleAssignmentApplyConfiguration) WithGeneration ¶

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*RoleAssignmentApplyConfiguration) WithKind ¶

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*RoleAssignmentApplyConfiguration) WithLabels ¶

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*RoleAssignmentApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*RoleAssignmentApplyConfiguration) WithNamespace ¶

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*RoleAssignmentApplyConfiguration) WithOwnerReferences ¶

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*RoleAssignmentApplyConfiguration) WithResourceVersion ¶

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*RoleAssignmentApplyConfiguration) WithSpec ¶

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*RoleAssignmentApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*RoleAssignmentApplyConfiguration) WithUID ¶

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type RoleAssignmentFilterApplyConfiguration ¶

type RoleAssignmentFilterApplyConfiguration struct {
	RoleRef    *apiv1alpha1.KubernetesNameRef `json:"roleRef,omitempty"`
	UserRef    *apiv1alpha1.KubernetesNameRef `json:"userRef,omitempty"`
	GroupRef   *apiv1alpha1.KubernetesNameRef `json:"groupRef,omitempty"`
	ProjectRef *apiv1alpha1.KubernetesNameRef `json:"projectRef,omitempty"`
	DomainRef  *apiv1alpha1.KubernetesNameRef `json:"domainRef,omitempty"`
}

RoleAssignmentFilterApplyConfiguration represents a declarative configuration of the RoleAssignmentFilter type for use with apply.

func RoleAssignmentFilter ¶

func RoleAssignmentFilter() *RoleAssignmentFilterApplyConfiguration

RoleAssignmentFilterApplyConfiguration constructs a declarative configuration of the RoleAssignmentFilter type for use with apply.

func (*RoleAssignmentFilterApplyConfiguration) WithDomainRef ¶

WithDomainRef sets the DomainRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DomainRef field is set to the value of the last call.

func (*RoleAssignmentFilterApplyConfiguration) WithGroupRef ¶

WithGroupRef sets the GroupRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GroupRef field is set to the value of the last call.

func (*RoleAssignmentFilterApplyConfiguration) WithProjectRef ¶

WithProjectRef sets the ProjectRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectRef field is set to the value of the last call.

func (*RoleAssignmentFilterApplyConfiguration) WithRoleRef ¶

WithRoleRef sets the RoleRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RoleRef field is set to the value of the last call.

func (*RoleAssignmentFilterApplyConfiguration) WithUserRef ¶

WithUserRef sets the UserRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UserRef field is set to the value of the last call.

type RoleAssignmentImportApplyConfiguration ¶

type RoleAssignmentImportApplyConfiguration struct {
	Filter *RoleAssignmentFilterApplyConfiguration `json:"filter,omitempty"`
}

RoleAssignmentImportApplyConfiguration represents a declarative configuration of the RoleAssignmentImport type for use with apply.

func RoleAssignmentImport ¶

func RoleAssignmentImport() *RoleAssignmentImportApplyConfiguration

RoleAssignmentImportApplyConfiguration constructs a declarative configuration of the RoleAssignmentImport type for use with apply.

func (*RoleAssignmentImportApplyConfiguration) WithFilter ¶

WithFilter sets the Filter field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Filter field is set to the value of the last call.

type RoleAssignmentResourceSpecApplyConfiguration ¶

type RoleAssignmentResourceSpecApplyConfiguration struct {
	RoleRef    *apiv1alpha1.KubernetesNameRef `json:"roleRef,omitempty"`
	UserRef    *apiv1alpha1.KubernetesNameRef `json:"userRef,omitempty"`
	GroupRef   *apiv1alpha1.KubernetesNameRef `json:"groupRef,omitempty"`
	ProjectRef *apiv1alpha1.KubernetesNameRef `json:"projectRef,omitempty"`
	DomainRef  *apiv1alpha1.KubernetesNameRef `json:"domainRef,omitempty"`
}

RoleAssignmentResourceSpecApplyConfiguration represents a declarative configuration of the RoleAssignmentResourceSpec type for use with apply.

func RoleAssignmentResourceSpec ¶

func RoleAssignmentResourceSpec() *RoleAssignmentResourceSpecApplyConfiguration

RoleAssignmentResourceSpecApplyConfiguration constructs a declarative configuration of the RoleAssignmentResourceSpec type for use with apply.

func (*RoleAssignmentResourceSpecApplyConfiguration) WithDomainRef ¶

WithDomainRef sets the DomainRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DomainRef field is set to the value of the last call.

func (*RoleAssignmentResourceSpecApplyConfiguration) WithGroupRef ¶

WithGroupRef sets the GroupRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GroupRef field is set to the value of the last call.

func (*RoleAssignmentResourceSpecApplyConfiguration) WithProjectRef ¶

WithProjectRef sets the ProjectRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectRef field is set to the value of the last call.

func (*RoleAssignmentResourceSpecApplyConfiguration) WithRoleRef ¶

WithRoleRef sets the RoleRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RoleRef field is set to the value of the last call.

func (*RoleAssignmentResourceSpecApplyConfiguration) WithUserRef ¶

WithUserRef sets the UserRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UserRef field is set to the value of the last call.

type RoleAssignmentResourceStatusApplyConfiguration ¶

type RoleAssignmentResourceStatusApplyConfiguration struct {
	RoleID    *string `json:"roleID,omitempty"`
	UserID    *string `json:"userID,omitempty"`
	GroupID   *string `json:"groupID,omitempty"`
	ProjectID *string `json:"projectID,omitempty"`
	DomainID  *string `json:"domainID,omitempty"`
}

RoleAssignmentResourceStatusApplyConfiguration represents a declarative configuration of the RoleAssignmentResourceStatus type for use with apply.

func RoleAssignmentResourceStatus ¶

func RoleAssignmentResourceStatus() *RoleAssignmentResourceStatusApplyConfiguration

RoleAssignmentResourceStatusApplyConfiguration constructs a declarative configuration of the RoleAssignmentResourceStatus type for use with apply.

func (*RoleAssignmentResourceStatusApplyConfiguration) WithDomainID ¶

WithDomainID sets the DomainID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DomainID field is set to the value of the last call.

func (*RoleAssignmentResourceStatusApplyConfiguration) WithGroupID ¶

WithGroupID sets the GroupID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GroupID field is set to the value of the last call.

func (*RoleAssignmentResourceStatusApplyConfiguration) WithProjectID ¶

WithProjectID sets the ProjectID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectID field is set to the value of the last call.

func (*RoleAssignmentResourceStatusApplyConfiguration) WithRoleID ¶

WithRoleID sets the RoleID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RoleID field is set to the value of the last call.

func (*RoleAssignmentResourceStatusApplyConfiguration) WithUserID ¶

WithUserID sets the UserID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UserID field is set to the value of the last call.

type RoleAssignmentSpecApplyConfiguration ¶

type RoleAssignmentSpecApplyConfiguration struct {
	Import              *RoleAssignmentImportApplyConfiguration       `json:"import,omitempty"`
	Resource            *RoleAssignmentResourceSpecApplyConfiguration `json:"resource,omitempty"`
	ManagementPolicy    *apiv1alpha1.ManagementPolicy                 `json:"managementPolicy,omitempty"`
	ManagedOptions      *ManagedOptionsApplyConfiguration             `json:"managedOptions,omitempty"`
	ResyncPeriod        *v1.Duration                                  `json:"resyncPeriod,omitempty"`
	CloudCredentialsRef *CloudCredentialsReferenceApplyConfiguration  `json:"cloudCredentialsRef,omitempty"`
}

RoleAssignmentSpecApplyConfiguration represents a declarative configuration of the RoleAssignmentSpec type for use with apply.

func RoleAssignmentSpec ¶

func RoleAssignmentSpec() *RoleAssignmentSpecApplyConfiguration

RoleAssignmentSpecApplyConfiguration constructs a declarative configuration of the RoleAssignmentSpec type for use with apply.

func (*RoleAssignmentSpecApplyConfiguration) WithCloudCredentialsRef ¶

WithCloudCredentialsRef sets the CloudCredentialsRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CloudCredentialsRef field is set to the value of the last call.

func (*RoleAssignmentSpecApplyConfiguration) WithImport ¶

WithImport sets the Import field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Import field is set to the value of the last call.

func (*RoleAssignmentSpecApplyConfiguration) WithManagedOptions ¶

WithManagedOptions sets the ManagedOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagedOptions field is set to the value of the last call.

func (*RoleAssignmentSpecApplyConfiguration) WithManagementPolicy ¶

WithManagementPolicy sets the ManagementPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementPolicy field is set to the value of the last call.

func (*RoleAssignmentSpecApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

func (*RoleAssignmentSpecApplyConfiguration) WithResyncPeriod ¶

WithResyncPeriod sets the ResyncPeriod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResyncPeriod field is set to the value of the last call.

type RoleAssignmentStatusApplyConfiguration ¶

type RoleAssignmentStatusApplyConfiguration struct {
	Conditions   []v1.ConditionApplyConfiguration                `json:"conditions,omitempty"`
	Resource     *RoleAssignmentResourceStatusApplyConfiguration `json:"resource,omitempty"`
	LastSyncTime *metav1.Time                                    `json:"lastSyncTime,omitempty"`
}

RoleAssignmentStatusApplyConfiguration represents a declarative configuration of the RoleAssignmentStatus type for use with apply.

func RoleAssignmentStatus ¶

func RoleAssignmentStatus() *RoleAssignmentStatusApplyConfiguration

RoleAssignmentStatusApplyConfiguration constructs a declarative configuration of the RoleAssignmentStatus type for use with apply.

func (*RoleAssignmentStatusApplyConfiguration) WithConditions ¶

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*RoleAssignmentStatusApplyConfiguration) WithLastSyncTime ¶

WithLastSyncTime sets the LastSyncTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastSyncTime field is set to the value of the last call.

func (*RoleAssignmentStatusApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

type RoleFilterApplyConfiguration ¶

type RoleFilterApplyConfiguration struct {
	Name      *apiv1alpha1.KeystoneName      `json:"name,omitempty"`
	DomainRef *apiv1alpha1.KubernetesNameRef `json:"domainRef,omitempty"`
}

RoleFilterApplyConfiguration represents a declarative configuration of the RoleFilter type for use with apply.

func RoleFilter ¶

func RoleFilter() *RoleFilterApplyConfiguration

RoleFilterApplyConfiguration constructs a declarative configuration of the RoleFilter type for use with apply.

func (*RoleFilterApplyConfiguration) WithDomainRef ¶

WithDomainRef sets the DomainRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DomainRef field is set to the value of the last call.

func (*RoleFilterApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

type RoleImportApplyConfiguration ¶

type RoleImportApplyConfiguration struct {
	ID     *string                       `json:"id,omitempty"`
	Filter *RoleFilterApplyConfiguration `json:"filter,omitempty"`
}

RoleImportApplyConfiguration represents a declarative configuration of the RoleImport type for use with apply.

func RoleImport ¶

func RoleImport() *RoleImportApplyConfiguration

RoleImportApplyConfiguration constructs a declarative configuration of the RoleImport type for use with apply.

func (*RoleImportApplyConfiguration) WithFilter ¶

WithFilter sets the Filter field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Filter field is set to the value of the last call.

func (*RoleImportApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

type RoleResourceSpecApplyConfiguration ¶

type RoleResourceSpecApplyConfiguration struct {
	Name        *apiv1alpha1.KeystoneName      `json:"name,omitempty"`
	Description *string                        `json:"description,omitempty"`
	DomainRef   *apiv1alpha1.KubernetesNameRef `json:"domainRef,omitempty"`
}

RoleResourceSpecApplyConfiguration represents a declarative configuration of the RoleResourceSpec type for use with apply.

func RoleResourceSpec ¶

func RoleResourceSpec() *RoleResourceSpecApplyConfiguration

RoleResourceSpecApplyConfiguration constructs a declarative configuration of the RoleResourceSpec type for use with apply.

func (*RoleResourceSpecApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*RoleResourceSpecApplyConfiguration) WithDomainRef ¶

WithDomainRef sets the DomainRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DomainRef field is set to the value of the last call.

func (*RoleResourceSpecApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

type RoleResourceStatusApplyConfiguration ¶

type RoleResourceStatusApplyConfiguration struct {
	Name        *string `json:"name,omitempty"`
	Description *string `json:"description,omitempty"`
	DomainID    *string `json:"domainID,omitempty"`
}

RoleResourceStatusApplyConfiguration represents a declarative configuration of the RoleResourceStatus type for use with apply.

func RoleResourceStatus ¶

func RoleResourceStatus() *RoleResourceStatusApplyConfiguration

RoleResourceStatusApplyConfiguration constructs a declarative configuration of the RoleResourceStatus type for use with apply.

func (*RoleResourceStatusApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*RoleResourceStatusApplyConfiguration) WithDomainID ¶

WithDomainID sets the DomainID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DomainID field is set to the value of the last call.

func (*RoleResourceStatusApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

type RoleSpecApplyConfiguration ¶

type RoleSpecApplyConfiguration struct {
	Import              *RoleImportApplyConfiguration                `json:"import,omitempty"`
	Resource            *RoleResourceSpecApplyConfiguration          `json:"resource,omitempty"`
	ManagementPolicy    *apiv1alpha1.ManagementPolicy                `json:"managementPolicy,omitempty"`
	ManagedOptions      *ManagedOptionsApplyConfiguration            `json:"managedOptions,omitempty"`
	ResyncPeriod        *v1.Duration                                 `json:"resyncPeriod,omitempty"`
	CloudCredentialsRef *CloudCredentialsReferenceApplyConfiguration `json:"cloudCredentialsRef,omitempty"`
}

RoleSpecApplyConfiguration represents a declarative configuration of the RoleSpec type for use with apply.

func RoleSpec ¶

func RoleSpec() *RoleSpecApplyConfiguration

RoleSpecApplyConfiguration constructs a declarative configuration of the RoleSpec type for use with apply.

func (*RoleSpecApplyConfiguration) WithCloudCredentialsRef ¶

WithCloudCredentialsRef sets the CloudCredentialsRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CloudCredentialsRef field is set to the value of the last call.

func (*RoleSpecApplyConfiguration) WithImport ¶

WithImport sets the Import field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Import field is set to the value of the last call.

func (*RoleSpecApplyConfiguration) WithManagedOptions ¶

WithManagedOptions sets the ManagedOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagedOptions field is set to the value of the last call.

func (*RoleSpecApplyConfiguration) WithManagementPolicy ¶

WithManagementPolicy sets the ManagementPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementPolicy field is set to the value of the last call.

func (*RoleSpecApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

func (*RoleSpecApplyConfiguration) WithResyncPeriod ¶

WithResyncPeriod sets the ResyncPeriod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResyncPeriod field is set to the value of the last call.

type RoleStatusApplyConfiguration ¶

type RoleStatusApplyConfiguration struct {
	Conditions   []v1.ConditionApplyConfiguration      `json:"conditions,omitempty"`
	ID           *string                               `json:"id,omitempty"`
	Resource     *RoleResourceStatusApplyConfiguration `json:"resource,omitempty"`
	LastSyncTime *metav1.Time                          `json:"lastSyncTime,omitempty"`
}

RoleStatusApplyConfiguration represents a declarative configuration of the RoleStatus type for use with apply.

func RoleStatus ¶

func RoleStatus() *RoleStatusApplyConfiguration

RoleStatusApplyConfiguration constructs a declarative configuration of the RoleStatus type for use with apply.

func (*RoleStatusApplyConfiguration) WithConditions ¶

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*RoleStatusApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*RoleStatusApplyConfiguration) WithLastSyncTime ¶

WithLastSyncTime sets the LastSyncTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastSyncTime field is set to the value of the last call.

func (*RoleStatusApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

type RouterApplyConfiguration ¶

type RouterApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *RouterSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *RouterStatusApplyConfiguration `json:"status,omitempty"`
}

RouterApplyConfiguration represents a declarative configuration of the Router type for use with apply.

func ExtractRouter ¶

func ExtractRouter(router *apiv1alpha1.Router, fieldManager string) (*RouterApplyConfiguration, error)

ExtractRouter extracts the applied configuration owned by fieldManager from router. If no managedFields are found in router for fieldManager, a RouterApplyConfiguration 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. router must be a unmodified Router API object that was retrieved from the Kubernetes API. ExtractRouter 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 ExtractRouterStatus ¶

func ExtractRouterStatus(router *apiv1alpha1.Router, fieldManager string) (*RouterApplyConfiguration, error)

ExtractRouterStatus is the same as ExtractRouter except that it extracts the status subresource applied configuration. Experimental!

func Router ¶

func Router(name, namespace string) *RouterApplyConfiguration

Router constructs a declarative configuration of the Router type for use with apply.

func (*RouterApplyConfiguration) GetAPIVersion ¶

func (b *RouterApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*RouterApplyConfiguration) GetKind ¶

func (b *RouterApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*RouterApplyConfiguration) GetName ¶

func (b *RouterApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*RouterApplyConfiguration) GetNamespace ¶

func (b *RouterApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (RouterApplyConfiguration) IsApplyConfiguration ¶

func (b RouterApplyConfiguration) IsApplyConfiguration()

func (*RouterApplyConfiguration) WithAPIVersion ¶

func (b *RouterApplyConfiguration) WithAPIVersion(value string) *RouterApplyConfiguration

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 (*RouterApplyConfiguration) WithAnnotations ¶

func (b *RouterApplyConfiguration) WithAnnotations(entries map[string]string) *RouterApplyConfiguration

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 (*RouterApplyConfiguration) WithCreationTimestamp ¶

func (b *RouterApplyConfiguration) WithCreationTimestamp(value metav1.Time) *RouterApplyConfiguration

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 (*RouterApplyConfiguration) WithDeletionGracePeriodSeconds ¶

func (b *RouterApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *RouterApplyConfiguration

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 (*RouterApplyConfiguration) WithDeletionTimestamp ¶

func (b *RouterApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *RouterApplyConfiguration

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 (*RouterApplyConfiguration) WithFinalizers ¶

func (b *RouterApplyConfiguration) WithFinalizers(values ...string) *RouterApplyConfiguration

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 (*RouterApplyConfiguration) WithGenerateName ¶

func (b *RouterApplyConfiguration) WithGenerateName(value string) *RouterApplyConfiguration

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 (*RouterApplyConfiguration) WithGeneration ¶

func (b *RouterApplyConfiguration) WithGeneration(value int64) *RouterApplyConfiguration

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 (*RouterApplyConfiguration) WithKind ¶

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*RouterApplyConfiguration) WithLabels ¶

func (b *RouterApplyConfiguration) WithLabels(entries map[string]string) *RouterApplyConfiguration

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 (*RouterApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*RouterApplyConfiguration) WithNamespace ¶

func (b *RouterApplyConfiguration) WithNamespace(value string) *RouterApplyConfiguration

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 (*RouterApplyConfiguration) WithOwnerReferences ¶

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*RouterApplyConfiguration) WithResourceVersion ¶

func (b *RouterApplyConfiguration) WithResourceVersion(value string) *RouterApplyConfiguration

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 (*RouterApplyConfiguration) WithSpec ¶

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*RouterApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*RouterApplyConfiguration) WithUID ¶

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type RouterFilterApplyConfiguration ¶

type RouterFilterApplyConfiguration struct {
	Name                                  *apiv1alpha1.OpenStackName      `json:"name,omitempty"`
	Description                           *apiv1alpha1.NeutronDescription `json:"description,omitempty"`
	ProjectRef                            *apiv1alpha1.KubernetesNameRef  `json:"projectRef,omitempty"`
	FilterByNeutronTagsApplyConfiguration `json:",inline"`
}

RouterFilterApplyConfiguration represents a declarative configuration of the RouterFilter type for use with apply.

func RouterFilter ¶

func RouterFilter() *RouterFilterApplyConfiguration

RouterFilterApplyConfiguration constructs a declarative configuration of the RouterFilter type for use with apply.

func (*RouterFilterApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*RouterFilterApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*RouterFilterApplyConfiguration) WithNotTags ¶

WithNotTags adds the given value to the NotTags 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 NotTags field.

func (*RouterFilterApplyConfiguration) WithNotTagsAny ¶

WithNotTagsAny adds the given value to the NotTagsAny 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 NotTagsAny field.

func (*RouterFilterApplyConfiguration) WithProjectRef ¶

WithProjectRef sets the ProjectRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectRef field is set to the value of the last call.

func (*RouterFilterApplyConfiguration) WithTags ¶

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 (*RouterFilterApplyConfiguration) WithTagsAny ¶

WithTagsAny adds the given value to the TagsAny 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 TagsAny field.

type RouterImportApplyConfiguration ¶

type RouterImportApplyConfiguration struct {
	ID     *string                         `json:"id,omitempty"`
	Filter *RouterFilterApplyConfiguration `json:"filter,omitempty"`
}

RouterImportApplyConfiguration represents a declarative configuration of the RouterImport type for use with apply.

func RouterImport ¶

func RouterImport() *RouterImportApplyConfiguration

RouterImportApplyConfiguration constructs a declarative configuration of the RouterImport type for use with apply.

func (*RouterImportApplyConfiguration) WithFilter ¶

WithFilter sets the Filter field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Filter field is set to the value of the last call.

func (*RouterImportApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

type RouterInterfaceApplyConfiguration ¶

type RouterInterfaceApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *RouterInterfaceSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *RouterInterfaceStatusApplyConfiguration `json:"status,omitempty"`
}

RouterInterfaceApplyConfiguration represents a declarative configuration of the RouterInterface type for use with apply.

func ExtractRouterInterface ¶

func ExtractRouterInterface(routerInterface *apiv1alpha1.RouterInterface, fieldManager string) (*RouterInterfaceApplyConfiguration, error)

ExtractRouterInterface extracts the applied configuration owned by fieldManager from routerInterface. If no managedFields are found in routerInterface for fieldManager, a RouterInterfaceApplyConfiguration 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. routerInterface must be a unmodified RouterInterface API object that was retrieved from the Kubernetes API. ExtractRouterInterface 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 ExtractRouterInterfaceStatus ¶

func ExtractRouterInterfaceStatus(routerInterface *apiv1alpha1.RouterInterface, fieldManager string) (*RouterInterfaceApplyConfiguration, error)

ExtractRouterInterfaceStatus is the same as ExtractRouterInterface except that it extracts the status subresource applied configuration. Experimental!

func RouterInterface ¶

func RouterInterface(name, namespace string) *RouterInterfaceApplyConfiguration

RouterInterface constructs a declarative configuration of the RouterInterface type for use with apply.

func (*RouterInterfaceApplyConfiguration) GetAPIVersion ¶

func (b *RouterInterfaceApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*RouterInterfaceApplyConfiguration) GetKind ¶

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*RouterInterfaceApplyConfiguration) GetName ¶

GetName retrieves the value of the Name field in the declarative configuration.

func (*RouterInterfaceApplyConfiguration) GetNamespace ¶

func (b *RouterInterfaceApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (RouterInterfaceApplyConfiguration) IsApplyConfiguration ¶

func (b RouterInterfaceApplyConfiguration) IsApplyConfiguration()

func (*RouterInterfaceApplyConfiguration) WithAPIVersion ¶

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*RouterInterfaceApplyConfiguration) WithAnnotations ¶

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*RouterInterfaceApplyConfiguration) WithCreationTimestamp ¶

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*RouterInterfaceApplyConfiguration) WithDeletionGracePeriodSeconds ¶

func (b *RouterInterfaceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *RouterInterfaceApplyConfiguration

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 (*RouterInterfaceApplyConfiguration) WithDeletionTimestamp ¶

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*RouterInterfaceApplyConfiguration) WithFinalizers ¶

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*RouterInterfaceApplyConfiguration) WithGenerateName ¶

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*RouterInterfaceApplyConfiguration) WithGeneration ¶

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*RouterInterfaceApplyConfiguration) WithKind ¶

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*RouterInterfaceApplyConfiguration) WithLabels ¶

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*RouterInterfaceApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*RouterInterfaceApplyConfiguration) WithNamespace ¶

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*RouterInterfaceApplyConfiguration) WithOwnerReferences ¶

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*RouterInterfaceApplyConfiguration) WithResourceVersion ¶

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*RouterInterfaceApplyConfiguration) WithSpec ¶

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*RouterInterfaceApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*RouterInterfaceApplyConfiguration) WithUID ¶

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type RouterInterfaceSpecApplyConfiguration ¶

type RouterInterfaceSpecApplyConfiguration struct {
	Type         *apiv1alpha1.RouterInterfaceType `json:"type,omitempty"`
	RouterRef    *apiv1alpha1.KubernetesNameRef   `json:"routerRef,omitempty"`
	SubnetRef    *apiv1alpha1.KubernetesNameRef   `json:"subnetRef,omitempty"`
	PortRef      *apiv1alpha1.KubernetesNameRef   `json:"portRef,omitempty"`
	ResyncPeriod *v1.Duration                     `json:"resyncPeriod,omitempty"`
}

RouterInterfaceSpecApplyConfiguration represents a declarative configuration of the RouterInterfaceSpec type for use with apply.

func RouterInterfaceSpec ¶

func RouterInterfaceSpec() *RouterInterfaceSpecApplyConfiguration

RouterInterfaceSpecApplyConfiguration constructs a declarative configuration of the RouterInterfaceSpec type for use with apply.

func (*RouterInterfaceSpecApplyConfiguration) WithPortRef ¶

WithPortRef sets the PortRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PortRef field is set to the value of the last call.

func (*RouterInterfaceSpecApplyConfiguration) WithResyncPeriod ¶

WithResyncPeriod sets the ResyncPeriod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResyncPeriod field is set to the value of the last call.

func (*RouterInterfaceSpecApplyConfiguration) WithRouterRef ¶

WithRouterRef sets the RouterRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RouterRef field is set to the value of the last call.

func (*RouterInterfaceSpecApplyConfiguration) WithSubnetRef ¶

WithSubnetRef sets the SubnetRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SubnetRef field is set to the value of the last call.

func (*RouterInterfaceSpecApplyConfiguration) WithType ¶

WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.

type RouterInterfaceStatusApplyConfiguration ¶

type RouterInterfaceStatusApplyConfiguration struct {
	Conditions   []v1.ConditionApplyConfiguration `json:"conditions,omitempty"`
	ID           *string                          `json:"id,omitempty"`
	LastSyncTime *metav1.Time                     `json:"lastSyncTime,omitempty"`
}

RouterInterfaceStatusApplyConfiguration represents a declarative configuration of the RouterInterfaceStatus type for use with apply.

func RouterInterfaceStatus ¶

func RouterInterfaceStatus() *RouterInterfaceStatusApplyConfiguration

RouterInterfaceStatusApplyConfiguration constructs a declarative configuration of the RouterInterfaceStatus type for use with apply.

func (*RouterInterfaceStatusApplyConfiguration) WithConditions ¶

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*RouterInterfaceStatusApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*RouterInterfaceStatusApplyConfiguration) WithLastSyncTime ¶

WithLastSyncTime sets the LastSyncTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastSyncTime field is set to the value of the last call.

type RouterResourceSpecApplyConfiguration ¶

type RouterResourceSpecApplyConfiguration struct {
	Name                  *apiv1alpha1.OpenStackName          `json:"name,omitempty"`
	Description           *apiv1alpha1.NeutronDescription     `json:"description,omitempty"`
	Tags                  []apiv1alpha1.NeutronTag            `json:"tags,omitempty"`
	AdminStateUp          *bool                               `json:"adminStateUp,omitempty"`
	ExternalGateways      []ExternalGatewayApplyConfiguration `json:"externalGateways,omitempty"`
	Distributed           *bool                               `json:"distributed,omitempty"`
	AvailabilityZoneHints []apiv1alpha1.AvailabilityZoneHint  `json:"availabilityZoneHints,omitempty"`
	ProjectRef            *apiv1alpha1.KubernetesNameRef      `json:"projectRef,omitempty"`
	Routes                []RouterRouteApplyConfiguration     `json:"routes,omitempty"`
}

RouterResourceSpecApplyConfiguration represents a declarative configuration of the RouterResourceSpec type for use with apply.

func RouterResourceSpec ¶

func RouterResourceSpec() *RouterResourceSpecApplyConfiguration

RouterResourceSpecApplyConfiguration constructs a declarative configuration of the RouterResourceSpec type for use with apply.

func (*RouterResourceSpecApplyConfiguration) WithAdminStateUp ¶

WithAdminStateUp sets the AdminStateUp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AdminStateUp field is set to the value of the last call.

func (*RouterResourceSpecApplyConfiguration) WithAvailabilityZoneHints ¶

WithAvailabilityZoneHints adds the given value to the AvailabilityZoneHints 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 AvailabilityZoneHints field.

func (*RouterResourceSpecApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*RouterResourceSpecApplyConfiguration) WithDistributed ¶

WithDistributed sets the Distributed field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Distributed field is set to the value of the last call.

func (*RouterResourceSpecApplyConfiguration) WithExternalGateways ¶

WithExternalGateways adds the given value to the ExternalGateways 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 ExternalGateways field.

func (*RouterResourceSpecApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*RouterResourceSpecApplyConfiguration) WithProjectRef ¶

WithProjectRef sets the ProjectRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectRef field is set to the value of the last call.

func (*RouterResourceSpecApplyConfiguration) WithRoutes ¶

WithRoutes adds the given value to the Routes 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 Routes field.

func (*RouterResourceSpecApplyConfiguration) WithTags ¶

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.

type RouterResourceStatusApplyConfiguration ¶

type RouterResourceStatusApplyConfiguration struct {
	Name                  *string                                   `json:"name,omitempty"`
	Description           *string                                   `json:"description,omitempty"`
	ProjectID             *string                                   `json:"projectID,omitempty"`
	Status                *string                                   `json:"status,omitempty"`
	Tags                  []string                                  `json:"tags,omitempty"`
	AdminStateUp          *bool                                     `json:"adminStateUp,omitempty"`
	ExternalGateways      []ExternalGatewayStatusApplyConfiguration `json:"externalGateways,omitempty"`
	AvailabilityZoneHints []string                                  `json:"availabilityZoneHints,omitempty"`
	Routes                []RouterRouteStatusApplyConfiguration     `json:"routes,omitempty"`
}

RouterResourceStatusApplyConfiguration represents a declarative configuration of the RouterResourceStatus type for use with apply.

func RouterResourceStatus ¶

func RouterResourceStatus() *RouterResourceStatusApplyConfiguration

RouterResourceStatusApplyConfiguration constructs a declarative configuration of the RouterResourceStatus type for use with apply.

func (*RouterResourceStatusApplyConfiguration) WithAdminStateUp ¶

WithAdminStateUp sets the AdminStateUp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AdminStateUp field is set to the value of the last call.

func (*RouterResourceStatusApplyConfiguration) WithAvailabilityZoneHints ¶

WithAvailabilityZoneHints adds the given value to the AvailabilityZoneHints 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 AvailabilityZoneHints field.

func (*RouterResourceStatusApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*RouterResourceStatusApplyConfiguration) WithExternalGateways ¶

WithExternalGateways adds the given value to the ExternalGateways 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 ExternalGateways field.

func (*RouterResourceStatusApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*RouterResourceStatusApplyConfiguration) WithProjectID ¶

WithProjectID sets the ProjectID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectID field is set to the value of the last call.

func (*RouterResourceStatusApplyConfiguration) WithRoutes ¶

WithRoutes adds the given value to the Routes 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 Routes field.

func (*RouterResourceStatusApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*RouterResourceStatusApplyConfiguration) WithTags ¶

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.

type RouterRouteApplyConfiguration ¶

type RouterRouteApplyConfiguration struct {
	Destination *apiv1alpha1.CIDR   `json:"destination,omitempty"`
	NextHop     *apiv1alpha1.IPvAny `json:"nextHop,omitempty"`
}

RouterRouteApplyConfiguration represents a declarative configuration of the RouterRoute type for use with apply.

func RouterRoute ¶

func RouterRoute() *RouterRouteApplyConfiguration

RouterRouteApplyConfiguration constructs a declarative configuration of the RouterRoute type for use with apply.

func (*RouterRouteApplyConfiguration) WithDestination ¶

WithDestination sets the Destination field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Destination field is set to the value of the last call.

func (*RouterRouteApplyConfiguration) WithNextHop ¶

WithNextHop sets the NextHop field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NextHop field is set to the value of the last call.

type RouterRouteStatusApplyConfiguration ¶

type RouterRouteStatusApplyConfiguration struct {
	Destination *string `json:"destination,omitempty"`
	NextHop     *string `json:"nextHop,omitempty"`
}

RouterRouteStatusApplyConfiguration represents a declarative configuration of the RouterRouteStatus type for use with apply.

func RouterRouteStatus ¶

func RouterRouteStatus() *RouterRouteStatusApplyConfiguration

RouterRouteStatusApplyConfiguration constructs a declarative configuration of the RouterRouteStatus type for use with apply.

func (*RouterRouteStatusApplyConfiguration) WithDestination ¶

WithDestination sets the Destination field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Destination field is set to the value of the last call.

func (*RouterRouteStatusApplyConfiguration) WithNextHop ¶

WithNextHop sets the NextHop field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NextHop field is set to the value of the last call.

type RouterSpecApplyConfiguration ¶

type RouterSpecApplyConfiguration struct {
	Import              *RouterImportApplyConfiguration              `json:"import,omitempty"`
	Resource            *RouterResourceSpecApplyConfiguration        `json:"resource,omitempty"`
	ManagementPolicy    *apiv1alpha1.ManagementPolicy                `json:"managementPolicy,omitempty"`
	ManagedOptions      *ManagedOptionsApplyConfiguration            `json:"managedOptions,omitempty"`
	ResyncPeriod        *v1.Duration                                 `json:"resyncPeriod,omitempty"`
	CloudCredentialsRef *CloudCredentialsReferenceApplyConfiguration `json:"cloudCredentialsRef,omitempty"`
}

RouterSpecApplyConfiguration represents a declarative configuration of the RouterSpec type for use with apply.

func RouterSpec ¶

func RouterSpec() *RouterSpecApplyConfiguration

RouterSpecApplyConfiguration constructs a declarative configuration of the RouterSpec type for use with apply.

func (*RouterSpecApplyConfiguration) WithCloudCredentialsRef ¶

WithCloudCredentialsRef sets the CloudCredentialsRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CloudCredentialsRef field is set to the value of the last call.

func (*RouterSpecApplyConfiguration) WithImport ¶

WithImport sets the Import field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Import field is set to the value of the last call.

func (*RouterSpecApplyConfiguration) WithManagedOptions ¶

WithManagedOptions sets the ManagedOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagedOptions field is set to the value of the last call.

func (*RouterSpecApplyConfiguration) WithManagementPolicy ¶

WithManagementPolicy sets the ManagementPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementPolicy field is set to the value of the last call.

func (*RouterSpecApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

func (*RouterSpecApplyConfiguration) WithResyncPeriod ¶

WithResyncPeriod sets the ResyncPeriod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResyncPeriod field is set to the value of the last call.

type RouterStatusApplyConfiguration ¶

type RouterStatusApplyConfiguration struct {
	Conditions   []v1.ConditionApplyConfiguration        `json:"conditions,omitempty"`
	ID           *string                                 `json:"id,omitempty"`
	Resource     *RouterResourceStatusApplyConfiguration `json:"resource,omitempty"`
	LastSyncTime *metav1.Time                            `json:"lastSyncTime,omitempty"`
}

RouterStatusApplyConfiguration represents a declarative configuration of the RouterStatus type for use with apply.

func RouterStatus ¶

func RouterStatus() *RouterStatusApplyConfiguration

RouterStatusApplyConfiguration constructs a declarative configuration of the RouterStatus type for use with apply.

func (*RouterStatusApplyConfiguration) WithConditions ¶

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*RouterStatusApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*RouterStatusApplyConfiguration) WithLastSyncTime ¶

WithLastSyncTime sets the LastSyncTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastSyncTime field is set to the value of the last call.

func (*RouterStatusApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

type SecurityGroupApplyConfiguration ¶

type SecurityGroupApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *SecurityGroupSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *SecurityGroupStatusApplyConfiguration `json:"status,omitempty"`
}

SecurityGroupApplyConfiguration represents a declarative configuration of the SecurityGroup type for use with apply.

func ExtractSecurityGroup ¶

func ExtractSecurityGroup(securityGroup *apiv1alpha1.SecurityGroup, fieldManager string) (*SecurityGroupApplyConfiguration, error)

ExtractSecurityGroup extracts the applied configuration owned by fieldManager from securityGroup. If no managedFields are found in securityGroup for fieldManager, a SecurityGroupApplyConfiguration 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. securityGroup must be a unmodified SecurityGroup API object that was retrieved from the Kubernetes API. ExtractSecurityGroup 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 ExtractSecurityGroupStatus ¶

func ExtractSecurityGroupStatus(securityGroup *apiv1alpha1.SecurityGroup, fieldManager string) (*SecurityGroupApplyConfiguration, error)

ExtractSecurityGroupStatus is the same as ExtractSecurityGroup except that it extracts the status subresource applied configuration. Experimental!

func SecurityGroup ¶

func SecurityGroup(name, namespace string) *SecurityGroupApplyConfiguration

SecurityGroup constructs a declarative configuration of the SecurityGroup type for use with apply.

func (*SecurityGroupApplyConfiguration) GetAPIVersion ¶

func (b *SecurityGroupApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*SecurityGroupApplyConfiguration) GetKind ¶

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*SecurityGroupApplyConfiguration) GetName ¶

GetName retrieves the value of the Name field in the declarative configuration.

func (*SecurityGroupApplyConfiguration) GetNamespace ¶

func (b *SecurityGroupApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (SecurityGroupApplyConfiguration) IsApplyConfiguration ¶

func (b SecurityGroupApplyConfiguration) IsApplyConfiguration()

func (*SecurityGroupApplyConfiguration) WithAPIVersion ¶

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*SecurityGroupApplyConfiguration) WithAnnotations ¶

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*SecurityGroupApplyConfiguration) WithCreationTimestamp ¶

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*SecurityGroupApplyConfiguration) WithDeletionGracePeriodSeconds ¶

func (b *SecurityGroupApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *SecurityGroupApplyConfiguration

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 (*SecurityGroupApplyConfiguration) WithDeletionTimestamp ¶

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*SecurityGroupApplyConfiguration) WithFinalizers ¶

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*SecurityGroupApplyConfiguration) WithGenerateName ¶

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*SecurityGroupApplyConfiguration) WithGeneration ¶

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*SecurityGroupApplyConfiguration) WithKind ¶

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*SecurityGroupApplyConfiguration) WithLabels ¶

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*SecurityGroupApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*SecurityGroupApplyConfiguration) WithNamespace ¶

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*SecurityGroupApplyConfiguration) WithOwnerReferences ¶

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*SecurityGroupApplyConfiguration) WithResourceVersion ¶

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*SecurityGroupApplyConfiguration) WithSpec ¶

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*SecurityGroupApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*SecurityGroupApplyConfiguration) WithUID ¶

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type SecurityGroupFilterApplyConfiguration ¶

type SecurityGroupFilterApplyConfiguration struct {
	Name                                  *apiv1alpha1.OpenStackName      `json:"name,omitempty"`
	Description                           *apiv1alpha1.NeutronDescription `json:"description,omitempty"`
	ProjectRef                            *apiv1alpha1.KubernetesNameRef  `json:"projectRef,omitempty"`
	FilterByNeutronTagsApplyConfiguration `json:",inline"`
}

SecurityGroupFilterApplyConfiguration represents a declarative configuration of the SecurityGroupFilter type for use with apply.

func SecurityGroupFilter ¶

func SecurityGroupFilter() *SecurityGroupFilterApplyConfiguration

SecurityGroupFilterApplyConfiguration constructs a declarative configuration of the SecurityGroupFilter type for use with apply.

func (*SecurityGroupFilterApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*SecurityGroupFilterApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*SecurityGroupFilterApplyConfiguration) WithNotTags ¶

WithNotTags adds the given value to the NotTags 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 NotTags field.

func (*SecurityGroupFilterApplyConfiguration) WithNotTagsAny ¶

WithNotTagsAny adds the given value to the NotTagsAny 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 NotTagsAny field.

func (*SecurityGroupFilterApplyConfiguration) WithProjectRef ¶

WithProjectRef sets the ProjectRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectRef field is set to the value of the last call.

func (*SecurityGroupFilterApplyConfiguration) WithTags ¶

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 (*SecurityGroupFilterApplyConfiguration) WithTagsAny ¶

WithTagsAny adds the given value to the TagsAny 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 TagsAny field.

type SecurityGroupImportApplyConfiguration ¶

type SecurityGroupImportApplyConfiguration struct {
	ID     *string                                `json:"id,omitempty"`
	Filter *SecurityGroupFilterApplyConfiguration `json:"filter,omitempty"`
}

SecurityGroupImportApplyConfiguration represents a declarative configuration of the SecurityGroupImport type for use with apply.

func SecurityGroupImport ¶

func SecurityGroupImport() *SecurityGroupImportApplyConfiguration

SecurityGroupImportApplyConfiguration constructs a declarative configuration of the SecurityGroupImport type for use with apply.

func (*SecurityGroupImportApplyConfiguration) WithFilter ¶

WithFilter sets the Filter field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Filter field is set to the value of the last call.

func (*SecurityGroupImportApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

type SecurityGroupResourceSpecApplyConfiguration ¶

type SecurityGroupResourceSpecApplyConfiguration struct {
	Name        *apiv1alpha1.OpenStackName            `json:"name,omitempty"`
	Description *apiv1alpha1.NeutronDescription       `json:"description,omitempty"`
	Tags        []apiv1alpha1.NeutronTag              `json:"tags,omitempty"`
	Stateful    *bool                                 `json:"stateful,omitempty"`
	Rules       []SecurityGroupRuleApplyConfiguration `json:"rules,omitempty"`
	ProjectRef  *apiv1alpha1.KubernetesNameRef        `json:"projectRef,omitempty"`
}

SecurityGroupResourceSpecApplyConfiguration represents a declarative configuration of the SecurityGroupResourceSpec type for use with apply.

func SecurityGroupResourceSpec ¶

func SecurityGroupResourceSpec() *SecurityGroupResourceSpecApplyConfiguration

SecurityGroupResourceSpecApplyConfiguration constructs a declarative configuration of the SecurityGroupResourceSpec type for use with apply.

func (*SecurityGroupResourceSpecApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*SecurityGroupResourceSpecApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*SecurityGroupResourceSpecApplyConfiguration) WithProjectRef ¶

WithProjectRef sets the ProjectRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectRef field is set to the value of the last call.

func (*SecurityGroupResourceSpecApplyConfiguration) WithRules ¶

WithRules adds the given value to the Rules 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 Rules field.

func (*SecurityGroupResourceSpecApplyConfiguration) WithStateful ¶

WithStateful sets the Stateful field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Stateful field is set to the value of the last call.

func (*SecurityGroupResourceSpecApplyConfiguration) WithTags ¶

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.

type SecurityGroupResourceStatusApplyConfiguration ¶

type SecurityGroupResourceStatusApplyConfiguration struct {
	Name                                    *string                                     `json:"name,omitempty"`
	Description                             *string                                     `json:"description,omitempty"`
	ProjectID                               *string                                     `json:"projectID,omitempty"`
	Tags                                    []string                                    `json:"tags,omitempty"`
	Stateful                                *bool                                       `json:"stateful,omitempty"`
	Rules                                   []SecurityGroupRuleStatusApplyConfiguration `json:"rules,omitempty"`
	NeutronStatusMetadataApplyConfiguration `json:",inline"`
}

SecurityGroupResourceStatusApplyConfiguration represents a declarative configuration of the SecurityGroupResourceStatus type for use with apply.

func SecurityGroupResourceStatus ¶

func SecurityGroupResourceStatus() *SecurityGroupResourceStatusApplyConfiguration

SecurityGroupResourceStatusApplyConfiguration constructs a declarative configuration of the SecurityGroupResourceStatus type for use with apply.

func (*SecurityGroupResourceStatusApplyConfiguration) WithCreatedAt ¶

WithCreatedAt sets the CreatedAt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreatedAt field is set to the value of the last call.

func (*SecurityGroupResourceStatusApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*SecurityGroupResourceStatusApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*SecurityGroupResourceStatusApplyConfiguration) WithProjectID ¶

WithProjectID sets the ProjectID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectID field is set to the value of the last call.

func (*SecurityGroupResourceStatusApplyConfiguration) WithRevisionNumber ¶

WithRevisionNumber sets the RevisionNumber field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RevisionNumber field is set to the value of the last call.

func (*SecurityGroupResourceStatusApplyConfiguration) WithRules ¶

WithRules adds the given value to the Rules 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 Rules field.

func (*SecurityGroupResourceStatusApplyConfiguration) WithStateful ¶

WithStateful sets the Stateful field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Stateful field is set to the value of the last call.

func (*SecurityGroupResourceStatusApplyConfiguration) WithTags ¶

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 (*SecurityGroupResourceStatusApplyConfiguration) WithUpdatedAt ¶

WithUpdatedAt sets the UpdatedAt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UpdatedAt field is set to the value of the last call.

type SecurityGroupRuleApplyConfiguration ¶

type SecurityGroupRuleApplyConfiguration struct {
	Description    *apiv1alpha1.NeutronDescription  `json:"description,omitempty"`
	Direction      *apiv1alpha1.RuleDirection       `json:"direction,omitempty"`
	RemoteIPPrefix *apiv1alpha1.CIDR                `json:"remoteIPPrefix,omitempty"`
	Protocol       *apiv1alpha1.Protocol            `json:"protocol,omitempty"`
	Ethertype      *apiv1alpha1.Ethertype           `json:"ethertype,omitempty"`
	PortRange      *PortRangeSpecApplyConfiguration `json:"portRange,omitempty"`
}

SecurityGroupRuleApplyConfiguration represents a declarative configuration of the SecurityGroupRule type for use with apply.

func SecurityGroupRule ¶

func SecurityGroupRule() *SecurityGroupRuleApplyConfiguration

SecurityGroupRuleApplyConfiguration constructs a declarative configuration of the SecurityGroupRule type for use with apply.

func (*SecurityGroupRuleApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*SecurityGroupRuleApplyConfiguration) WithDirection ¶

WithDirection sets the Direction field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Direction field is set to the value of the last call.

func (*SecurityGroupRuleApplyConfiguration) WithEthertype ¶

WithEthertype sets the Ethertype field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Ethertype field is set to the value of the last call.

func (*SecurityGroupRuleApplyConfiguration) WithPortRange ¶

WithPortRange sets the PortRange field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PortRange field is set to the value of the last call.

func (*SecurityGroupRuleApplyConfiguration) WithProtocol ¶

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 (*SecurityGroupRuleApplyConfiguration) WithRemoteIPPrefix ¶

WithRemoteIPPrefix sets the RemoteIPPrefix field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RemoteIPPrefix field is set to the value of the last call.

type SecurityGroupRuleStatusApplyConfiguration ¶

type SecurityGroupRuleStatusApplyConfiguration struct {
	ID             *string                            `json:"id,omitempty"`
	Description    *string                            `json:"description,omitempty"`
	Direction      *string                            `json:"direction,omitempty"`
	RemoteGroupID  *string                            `json:"remoteGroupID,omitempty"`
	RemoteIPPrefix *string                            `json:"remoteIPPrefix,omitempty"`
	Protocol       *string                            `json:"protocol,omitempty"`
	Ethertype      *string                            `json:"ethertype,omitempty"`
	PortRange      *PortRangeStatusApplyConfiguration `json:"portRange,omitempty"`
}

SecurityGroupRuleStatusApplyConfiguration represents a declarative configuration of the SecurityGroupRuleStatus type for use with apply.

func SecurityGroupRuleStatus ¶

func SecurityGroupRuleStatus() *SecurityGroupRuleStatusApplyConfiguration

SecurityGroupRuleStatusApplyConfiguration constructs a declarative configuration of the SecurityGroupRuleStatus type for use with apply.

func (*SecurityGroupRuleStatusApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*SecurityGroupRuleStatusApplyConfiguration) WithDirection ¶

WithDirection sets the Direction field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Direction field is set to the value of the last call.

func (*SecurityGroupRuleStatusApplyConfiguration) WithEthertype ¶

WithEthertype sets the Ethertype field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Ethertype field is set to the value of the last call.

func (*SecurityGroupRuleStatusApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*SecurityGroupRuleStatusApplyConfiguration) WithPortRange ¶

WithPortRange sets the PortRange field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PortRange field is set to the value of the last call.

func (*SecurityGroupRuleStatusApplyConfiguration) WithProtocol ¶

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 (*SecurityGroupRuleStatusApplyConfiguration) WithRemoteGroupID ¶

WithRemoteGroupID sets the RemoteGroupID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RemoteGroupID field is set to the value of the last call.

func (*SecurityGroupRuleStatusApplyConfiguration) WithRemoteIPPrefix ¶

WithRemoteIPPrefix sets the RemoteIPPrefix field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RemoteIPPrefix field is set to the value of the last call.

type SecurityGroupSpecApplyConfiguration ¶

type SecurityGroupSpecApplyConfiguration struct {
	Import              *SecurityGroupImportApplyConfiguration       `json:"import,omitempty"`
	Resource            *SecurityGroupResourceSpecApplyConfiguration `json:"resource,omitempty"`
	ManagementPolicy    *apiv1alpha1.ManagementPolicy                `json:"managementPolicy,omitempty"`
	ManagedOptions      *ManagedOptionsApplyConfiguration            `json:"managedOptions,omitempty"`
	ResyncPeriod        *v1.Duration                                 `json:"resyncPeriod,omitempty"`
	CloudCredentialsRef *CloudCredentialsReferenceApplyConfiguration `json:"cloudCredentialsRef,omitempty"`
}

SecurityGroupSpecApplyConfiguration represents a declarative configuration of the SecurityGroupSpec type for use with apply.

func SecurityGroupSpec ¶

func SecurityGroupSpec() *SecurityGroupSpecApplyConfiguration

SecurityGroupSpecApplyConfiguration constructs a declarative configuration of the SecurityGroupSpec type for use with apply.

func (*SecurityGroupSpecApplyConfiguration) WithCloudCredentialsRef ¶

WithCloudCredentialsRef sets the CloudCredentialsRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CloudCredentialsRef field is set to the value of the last call.

func (*SecurityGroupSpecApplyConfiguration) WithImport ¶

WithImport sets the Import field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Import field is set to the value of the last call.

func (*SecurityGroupSpecApplyConfiguration) WithManagedOptions ¶

WithManagedOptions sets the ManagedOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagedOptions field is set to the value of the last call.

func (*SecurityGroupSpecApplyConfiguration) WithManagementPolicy ¶

WithManagementPolicy sets the ManagementPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementPolicy field is set to the value of the last call.

func (*SecurityGroupSpecApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

func (*SecurityGroupSpecApplyConfiguration) WithResyncPeriod ¶

WithResyncPeriod sets the ResyncPeriod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResyncPeriod field is set to the value of the last call.

type SecurityGroupStatusApplyConfiguration ¶

type SecurityGroupStatusApplyConfiguration struct {
	Conditions   []v1.ConditionApplyConfiguration               `json:"conditions,omitempty"`
	ID           *string                                        `json:"id,omitempty"`
	Resource     *SecurityGroupResourceStatusApplyConfiguration `json:"resource,omitempty"`
	LastSyncTime *metav1.Time                                   `json:"lastSyncTime,omitempty"`
}

SecurityGroupStatusApplyConfiguration represents a declarative configuration of the SecurityGroupStatus type for use with apply.

func SecurityGroupStatus ¶

func SecurityGroupStatus() *SecurityGroupStatusApplyConfiguration

SecurityGroupStatusApplyConfiguration constructs a declarative configuration of the SecurityGroupStatus type for use with apply.

func (*SecurityGroupStatusApplyConfiguration) WithConditions ¶

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*SecurityGroupStatusApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*SecurityGroupStatusApplyConfiguration) WithLastSyncTime ¶

WithLastSyncTime sets the LastSyncTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastSyncTime field is set to the value of the last call.

func (*SecurityGroupStatusApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

type ServerApplyConfiguration ¶

type ServerApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *ServerSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *ServerStatusApplyConfiguration `json:"status,omitempty"`
}

ServerApplyConfiguration represents a declarative configuration of the Server type for use with apply.

func ExtractServer ¶

func ExtractServer(server *apiv1alpha1.Server, fieldManager string) (*ServerApplyConfiguration, error)

ExtractServer extracts the applied configuration owned by fieldManager from server. If no managedFields are found in server for fieldManager, a ServerApplyConfiguration 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. server must be a unmodified Server API object that was retrieved from the Kubernetes API. ExtractServer 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 ExtractServerStatus ¶

func ExtractServerStatus(server *apiv1alpha1.Server, fieldManager string) (*ServerApplyConfiguration, error)

ExtractServerStatus is the same as ExtractServer except that it extracts the status subresource applied configuration. Experimental!

func Server ¶

func Server(name, namespace string) *ServerApplyConfiguration

Server constructs a declarative configuration of the Server type for use with apply.

func (*ServerApplyConfiguration) GetAPIVersion ¶

func (b *ServerApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*ServerApplyConfiguration) GetKind ¶

func (b *ServerApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*ServerApplyConfiguration) GetName ¶

func (b *ServerApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*ServerApplyConfiguration) GetNamespace ¶

func (b *ServerApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (ServerApplyConfiguration) IsApplyConfiguration ¶

func (b ServerApplyConfiguration) IsApplyConfiguration()

func (*ServerApplyConfiguration) WithAPIVersion ¶

func (b *ServerApplyConfiguration) WithAPIVersion(value string) *ServerApplyConfiguration

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 (*ServerApplyConfiguration) WithAnnotations ¶

func (b *ServerApplyConfiguration) WithAnnotations(entries map[string]string) *ServerApplyConfiguration

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 (*ServerApplyConfiguration) WithCreationTimestamp ¶

func (b *ServerApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ServerApplyConfiguration

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 (*ServerApplyConfiguration) WithDeletionGracePeriodSeconds ¶

func (b *ServerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ServerApplyConfiguration

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 (*ServerApplyConfiguration) WithDeletionTimestamp ¶

func (b *ServerApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ServerApplyConfiguration

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 (*ServerApplyConfiguration) WithFinalizers ¶

func (b *ServerApplyConfiguration) WithFinalizers(values ...string) *ServerApplyConfiguration

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 (*ServerApplyConfiguration) WithGenerateName ¶

func (b *ServerApplyConfiguration) WithGenerateName(value string) *ServerApplyConfiguration

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 (*ServerApplyConfiguration) WithGeneration ¶

func (b *ServerApplyConfiguration) WithGeneration(value int64) *ServerApplyConfiguration

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 (*ServerApplyConfiguration) WithKind ¶

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*ServerApplyConfiguration) WithLabels ¶

func (b *ServerApplyConfiguration) WithLabels(entries map[string]string) *ServerApplyConfiguration

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 (*ServerApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*ServerApplyConfiguration) WithNamespace ¶

func (b *ServerApplyConfiguration) WithNamespace(value string) *ServerApplyConfiguration

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 (*ServerApplyConfiguration) WithOwnerReferences ¶

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*ServerApplyConfiguration) WithResourceVersion ¶

func (b *ServerApplyConfiguration) WithResourceVersion(value string) *ServerApplyConfiguration

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 (*ServerApplyConfiguration) WithSpec ¶

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*ServerApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*ServerApplyConfiguration) WithUID ¶

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type ServerBootVolumeSpecApplyConfiguration ¶

type ServerBootVolumeSpecApplyConfiguration struct {
	VolumeRef *apiv1alpha1.KubernetesNameRef `json:"volumeRef,omitempty"`
	Tag       *string                        `json:"tag,omitempty"`
}

ServerBootVolumeSpecApplyConfiguration represents a declarative configuration of the ServerBootVolumeSpec type for use with apply.

func ServerBootVolumeSpec ¶

func ServerBootVolumeSpec() *ServerBootVolumeSpecApplyConfiguration

ServerBootVolumeSpecApplyConfiguration constructs a declarative configuration of the ServerBootVolumeSpec type for use with apply.

func (*ServerBootVolumeSpecApplyConfiguration) WithTag ¶

WithTag sets the Tag field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Tag field is set to the value of the last call.

func (*ServerBootVolumeSpecApplyConfiguration) WithVolumeRef ¶

WithVolumeRef sets the VolumeRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VolumeRef field is set to the value of the last call.

type ServerFilterApplyConfiguration ¶

type ServerFilterApplyConfiguration struct {
	Name                                 *apiv1alpha1.OpenStackName `json:"name,omitempty"`
	AvailabilityZone                     *string                    `json:"availabilityZone,omitempty"`
	FilterByServerTagsApplyConfiguration `json:",inline"`
}

ServerFilterApplyConfiguration represents a declarative configuration of the ServerFilter type for use with apply.

func ServerFilter ¶

func ServerFilter() *ServerFilterApplyConfiguration

ServerFilterApplyConfiguration constructs a declarative configuration of the ServerFilter type for use with apply.

func (*ServerFilterApplyConfiguration) WithAvailabilityZone ¶

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 (*ServerFilterApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*ServerFilterApplyConfiguration) WithNotTags ¶

WithNotTags adds the given value to the NotTags 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 NotTags field.

func (*ServerFilterApplyConfiguration) WithNotTagsAny ¶

WithNotTagsAny adds the given value to the NotTagsAny 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 NotTagsAny field.

func (*ServerFilterApplyConfiguration) WithTags ¶

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 (*ServerFilterApplyConfiguration) WithTagsAny ¶

WithTagsAny adds the given value to the TagsAny 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 TagsAny field.

type ServerGroupApplyConfiguration ¶

type ServerGroupApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *ServerGroupSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *ServerGroupStatusApplyConfiguration `json:"status,omitempty"`
}

ServerGroupApplyConfiguration represents a declarative configuration of the ServerGroup type for use with apply.

func ExtractServerGroup ¶

func ExtractServerGroup(serverGroup *apiv1alpha1.ServerGroup, fieldManager string) (*ServerGroupApplyConfiguration, error)

ExtractServerGroup extracts the applied configuration owned by fieldManager from serverGroup. If no managedFields are found in serverGroup for fieldManager, a ServerGroupApplyConfiguration 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. serverGroup must be a unmodified ServerGroup API object that was retrieved from the Kubernetes API. ExtractServerGroup 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 ExtractServerGroupStatus ¶

func ExtractServerGroupStatus(serverGroup *apiv1alpha1.ServerGroup, fieldManager string) (*ServerGroupApplyConfiguration, error)

ExtractServerGroupStatus is the same as ExtractServerGroup except that it extracts the status subresource applied configuration. Experimental!

func ServerGroup ¶

func ServerGroup(name, namespace string) *ServerGroupApplyConfiguration

ServerGroup constructs a declarative configuration of the ServerGroup type for use with apply.

func (*ServerGroupApplyConfiguration) GetAPIVersion ¶

func (b *ServerGroupApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*ServerGroupApplyConfiguration) GetKind ¶

func (b *ServerGroupApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*ServerGroupApplyConfiguration) GetName ¶

func (b *ServerGroupApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*ServerGroupApplyConfiguration) GetNamespace ¶

func (b *ServerGroupApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (ServerGroupApplyConfiguration) IsApplyConfiguration ¶

func (b ServerGroupApplyConfiguration) IsApplyConfiguration()

func (*ServerGroupApplyConfiguration) WithAPIVersion ¶

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*ServerGroupApplyConfiguration) WithAnnotations ¶

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*ServerGroupApplyConfiguration) WithCreationTimestamp ¶

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*ServerGroupApplyConfiguration) WithDeletionGracePeriodSeconds ¶

func (b *ServerGroupApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ServerGroupApplyConfiguration

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 (*ServerGroupApplyConfiguration) WithDeletionTimestamp ¶

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*ServerGroupApplyConfiguration) WithFinalizers ¶

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*ServerGroupApplyConfiguration) WithGenerateName ¶

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*ServerGroupApplyConfiguration) WithGeneration ¶

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*ServerGroupApplyConfiguration) WithKind ¶

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*ServerGroupApplyConfiguration) WithLabels ¶

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*ServerGroupApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*ServerGroupApplyConfiguration) WithNamespace ¶

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*ServerGroupApplyConfiguration) WithOwnerReferences ¶

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*ServerGroupApplyConfiguration) WithResourceVersion ¶

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*ServerGroupApplyConfiguration) WithSpec ¶

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*ServerGroupApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*ServerGroupApplyConfiguration) WithUID ¶

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type ServerGroupFilterApplyConfiguration ¶

type ServerGroupFilterApplyConfiguration struct {
	Name *apiv1alpha1.OpenStackName `json:"name,omitempty"`
}

ServerGroupFilterApplyConfiguration represents a declarative configuration of the ServerGroupFilter type for use with apply.

func ServerGroupFilter ¶

func ServerGroupFilter() *ServerGroupFilterApplyConfiguration

ServerGroupFilterApplyConfiguration constructs a declarative configuration of the ServerGroupFilter type for use with apply.

func (*ServerGroupFilterApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

type ServerGroupImportApplyConfiguration ¶

type ServerGroupImportApplyConfiguration struct {
	ID     *string                              `json:"id,omitempty"`
	Filter *ServerGroupFilterApplyConfiguration `json:"filter,omitempty"`
}

ServerGroupImportApplyConfiguration represents a declarative configuration of the ServerGroupImport type for use with apply.

func ServerGroupImport ¶

func ServerGroupImport() *ServerGroupImportApplyConfiguration

ServerGroupImportApplyConfiguration constructs a declarative configuration of the ServerGroupImport type for use with apply.

func (*ServerGroupImportApplyConfiguration) WithFilter ¶

WithFilter sets the Filter field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Filter field is set to the value of the last call.

func (*ServerGroupImportApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

type ServerGroupResourceSpecApplyConfiguration ¶

type ServerGroupResourceSpecApplyConfiguration struct {
	Name   *apiv1alpha1.OpenStackName          `json:"name,omitempty"`
	Policy *apiv1alpha1.ServerGroupPolicy      `json:"policy,omitempty"`
	Rules  *ServerGroupRulesApplyConfiguration `json:"rules,omitempty"`
}

ServerGroupResourceSpecApplyConfiguration represents a declarative configuration of the ServerGroupResourceSpec type for use with apply.

func ServerGroupResourceSpec ¶

func ServerGroupResourceSpec() *ServerGroupResourceSpecApplyConfiguration

ServerGroupResourceSpecApplyConfiguration constructs a declarative configuration of the ServerGroupResourceSpec type for use with apply.

func (*ServerGroupResourceSpecApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*ServerGroupResourceSpecApplyConfiguration) WithPolicy ¶

WithPolicy sets the Policy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Policy field is set to the value of the last call.

func (*ServerGroupResourceSpecApplyConfiguration) WithRules ¶

WithRules sets the Rules field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Rules field is set to the value of the last call.

type ServerGroupResourceStatusApplyConfiguration ¶

type ServerGroupResourceStatusApplyConfiguration struct {
	Name      *string                                   `json:"name,omitempty"`
	Policy    *string                                   `json:"policy,omitempty"`
	ProjectID *string                                   `json:"projectID,omitempty"`
	UserID    *string                                   `json:"userID,omitempty"`
	Rules     *ServerGroupRulesStatusApplyConfiguration `json:"rules,omitempty"`
}

ServerGroupResourceStatusApplyConfiguration represents a declarative configuration of the ServerGroupResourceStatus type for use with apply.

func ServerGroupResourceStatus ¶

func ServerGroupResourceStatus() *ServerGroupResourceStatusApplyConfiguration

ServerGroupResourceStatusApplyConfiguration constructs a declarative configuration of the ServerGroupResourceStatus type for use with apply.

func (*ServerGroupResourceStatusApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*ServerGroupResourceStatusApplyConfiguration) WithPolicy ¶

WithPolicy sets the Policy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Policy field is set to the value of the last call.

func (*ServerGroupResourceStatusApplyConfiguration) WithProjectID ¶

WithProjectID sets the ProjectID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectID field is set to the value of the last call.

func (*ServerGroupResourceStatusApplyConfiguration) WithRules ¶

WithRules sets the Rules field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Rules field is set to the value of the last call.

func (*ServerGroupResourceStatusApplyConfiguration) WithUserID ¶

WithUserID sets the UserID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UserID field is set to the value of the last call.

type ServerGroupRulesApplyConfiguration ¶

type ServerGroupRulesApplyConfiguration struct {
	MaxServerPerHost *int32 `json:"maxServerPerHost,omitempty"`
}

ServerGroupRulesApplyConfiguration represents a declarative configuration of the ServerGroupRules type for use with apply.

func ServerGroupRules ¶

func ServerGroupRules() *ServerGroupRulesApplyConfiguration

ServerGroupRulesApplyConfiguration constructs a declarative configuration of the ServerGroupRules type for use with apply.

func (*ServerGroupRulesApplyConfiguration) WithMaxServerPerHost ¶

WithMaxServerPerHost sets the MaxServerPerHost field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxServerPerHost field is set to the value of the last call.

type ServerGroupRulesStatusApplyConfiguration ¶

type ServerGroupRulesStatusApplyConfiguration struct {
	MaxServerPerHost *int32 `json:"maxServerPerHost,omitempty"`
}

ServerGroupRulesStatusApplyConfiguration represents a declarative configuration of the ServerGroupRulesStatus type for use with apply.

func ServerGroupRulesStatus ¶

func ServerGroupRulesStatus() *ServerGroupRulesStatusApplyConfiguration

ServerGroupRulesStatusApplyConfiguration constructs a declarative configuration of the ServerGroupRulesStatus type for use with apply.

func (*ServerGroupRulesStatusApplyConfiguration) WithMaxServerPerHost ¶

WithMaxServerPerHost sets the MaxServerPerHost field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxServerPerHost field is set to the value of the last call.

type ServerGroupSpecApplyConfiguration ¶

type ServerGroupSpecApplyConfiguration struct {
	Import              *ServerGroupImportApplyConfiguration         `json:"import,omitempty"`
	Resource            *ServerGroupResourceSpecApplyConfiguration   `json:"resource,omitempty"`
	ManagementPolicy    *apiv1alpha1.ManagementPolicy                `json:"managementPolicy,omitempty"`
	ManagedOptions      *ManagedOptionsApplyConfiguration            `json:"managedOptions,omitempty"`
	ResyncPeriod        *v1.Duration                                 `json:"resyncPeriod,omitempty"`
	CloudCredentialsRef *CloudCredentialsReferenceApplyConfiguration `json:"cloudCredentialsRef,omitempty"`
}

ServerGroupSpecApplyConfiguration represents a declarative configuration of the ServerGroupSpec type for use with apply.

func ServerGroupSpec ¶

func ServerGroupSpec() *ServerGroupSpecApplyConfiguration

ServerGroupSpecApplyConfiguration constructs a declarative configuration of the ServerGroupSpec type for use with apply.

func (*ServerGroupSpecApplyConfiguration) WithCloudCredentialsRef ¶

WithCloudCredentialsRef sets the CloudCredentialsRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CloudCredentialsRef field is set to the value of the last call.

func (*ServerGroupSpecApplyConfiguration) WithImport ¶

WithImport sets the Import field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Import field is set to the value of the last call.

func (*ServerGroupSpecApplyConfiguration) WithManagedOptions ¶

WithManagedOptions sets the ManagedOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagedOptions field is set to the value of the last call.

func (*ServerGroupSpecApplyConfiguration) WithManagementPolicy ¶

WithManagementPolicy sets the ManagementPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementPolicy field is set to the value of the last call.

func (*ServerGroupSpecApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

func (*ServerGroupSpecApplyConfiguration) WithResyncPeriod ¶

WithResyncPeriod sets the ResyncPeriod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResyncPeriod field is set to the value of the last call.

type ServerGroupStatusApplyConfiguration ¶

type ServerGroupStatusApplyConfiguration struct {
	Conditions   []v1.ConditionApplyConfiguration             `json:"conditions,omitempty"`
	ID           *string                                      `json:"id,omitempty"`
	Resource     *ServerGroupResourceStatusApplyConfiguration `json:"resource,omitempty"`
	LastSyncTime *metav1.Time                                 `json:"lastSyncTime,omitempty"`
}

ServerGroupStatusApplyConfiguration represents a declarative configuration of the ServerGroupStatus type for use with apply.

func ServerGroupStatus ¶

func ServerGroupStatus() *ServerGroupStatusApplyConfiguration

ServerGroupStatusApplyConfiguration constructs a declarative configuration of the ServerGroupStatus type for use with apply.

func (*ServerGroupStatusApplyConfiguration) WithConditions ¶

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*ServerGroupStatusApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*ServerGroupStatusApplyConfiguration) WithLastSyncTime ¶

WithLastSyncTime sets the LastSyncTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastSyncTime field is set to the value of the last call.

func (*ServerGroupStatusApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

type ServerImportApplyConfiguration ¶

type ServerImportApplyConfiguration struct {
	ID     *string                         `json:"id,omitempty"`
	Filter *ServerFilterApplyConfiguration `json:"filter,omitempty"`
}

ServerImportApplyConfiguration represents a declarative configuration of the ServerImport type for use with apply.

func ServerImport ¶

func ServerImport() *ServerImportApplyConfiguration

ServerImportApplyConfiguration constructs a declarative configuration of the ServerImport type for use with apply.

func (*ServerImportApplyConfiguration) WithFilter ¶

WithFilter sets the Filter field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Filter field is set to the value of the last call.

func (*ServerImportApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

type ServerInterfaceFixedIPApplyConfiguration ¶

type ServerInterfaceFixedIPApplyConfiguration struct {
	IPAddress *string `json:"ipAddress,omitempty"`
	SubnetID  *string `json:"subnetID,omitempty"`
}

ServerInterfaceFixedIPApplyConfiguration represents a declarative configuration of the ServerInterfaceFixedIP type for use with apply.

func ServerInterfaceFixedIP ¶

func ServerInterfaceFixedIP() *ServerInterfaceFixedIPApplyConfiguration

ServerInterfaceFixedIPApplyConfiguration constructs a declarative configuration of the ServerInterfaceFixedIP type for use with apply.

func (*ServerInterfaceFixedIPApplyConfiguration) WithIPAddress ¶

WithIPAddress sets the IPAddress field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPAddress field is set to the value of the last call.

func (*ServerInterfaceFixedIPApplyConfiguration) WithSubnetID ¶

WithSubnetID sets the SubnetID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SubnetID field is set to the value of the last call.

type ServerInterfaceStatusApplyConfiguration ¶

type ServerInterfaceStatusApplyConfiguration struct {
	PortID    *string                                    `json:"portID,omitempty"`
	NetID     *string                                    `json:"netID,omitempty"`
	MACAddr   *string                                    `json:"macAddr,omitempty"`
	PortState *string                                    `json:"portState,omitempty"`
	FixedIPs  []ServerInterfaceFixedIPApplyConfiguration `json:"fixedIPs,omitempty"`
}

ServerInterfaceStatusApplyConfiguration represents a declarative configuration of the ServerInterfaceStatus type for use with apply.

func ServerInterfaceStatus ¶

func ServerInterfaceStatus() *ServerInterfaceStatusApplyConfiguration

ServerInterfaceStatusApplyConfiguration constructs a declarative configuration of the ServerInterfaceStatus type for use with apply.

func (*ServerInterfaceStatusApplyConfiguration) WithFixedIPs ¶

WithFixedIPs adds the given value to the FixedIPs 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 FixedIPs field.

func (*ServerInterfaceStatusApplyConfiguration) WithMACAddr ¶

WithMACAddr sets the MACAddr field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MACAddr field is set to the value of the last call.

func (*ServerInterfaceStatusApplyConfiguration) WithNetID ¶

WithNetID sets the NetID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NetID field is set to the value of the last call.

func (*ServerInterfaceStatusApplyConfiguration) WithPortID ¶

WithPortID sets the PortID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PortID field is set to the value of the last call.

func (*ServerInterfaceStatusApplyConfiguration) WithPortState ¶

WithPortState sets the PortState field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PortState field is set to the value of the last call.

type ServerMetadataApplyConfiguration ¶

type ServerMetadataApplyConfiguration struct {
	Key   *string `json:"key,omitempty"`
	Value *string `json:"value,omitempty"`
}

ServerMetadataApplyConfiguration represents a declarative configuration of the ServerMetadata type for use with apply.

func ServerMetadata ¶

func ServerMetadata() *ServerMetadataApplyConfiguration

ServerMetadataApplyConfiguration constructs a declarative configuration of the ServerMetadata type for use with apply.

func (*ServerMetadataApplyConfiguration) WithKey ¶

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 (*ServerMetadataApplyConfiguration) WithValue ¶

WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.

type ServerMetadataStatusApplyConfiguration ¶

type ServerMetadataStatusApplyConfiguration struct {
	Key   *string `json:"key,omitempty"`
	Value *string `json:"value,omitempty"`
}

ServerMetadataStatusApplyConfiguration represents a declarative configuration of the ServerMetadataStatus type for use with apply.

func ServerMetadataStatus ¶

func ServerMetadataStatus() *ServerMetadataStatusApplyConfiguration

ServerMetadataStatusApplyConfiguration constructs a declarative configuration of the ServerMetadataStatus type for use with apply.

func (*ServerMetadataStatusApplyConfiguration) WithKey ¶

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 (*ServerMetadataStatusApplyConfiguration) WithValue ¶

WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.

type ServerPortSpecApplyConfiguration ¶

type ServerPortSpecApplyConfiguration struct {
	PortRef *apiv1alpha1.KubernetesNameRef `json:"portRef,omitempty"`
}

ServerPortSpecApplyConfiguration represents a declarative configuration of the ServerPortSpec type for use with apply.

func ServerPortSpec ¶

func ServerPortSpec() *ServerPortSpecApplyConfiguration

ServerPortSpecApplyConfiguration constructs a declarative configuration of the ServerPortSpec type for use with apply.

func (*ServerPortSpecApplyConfiguration) WithPortRef ¶

WithPortRef sets the PortRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PortRef field is set to the value of the last call.

type ServerResourceSpecApplyConfiguration ¶

type ServerResourceSpecApplyConfiguration struct {
	Name             *apiv1alpha1.OpenStackName              `json:"name,omitempty"`
	ImageRef         *apiv1alpha1.KubernetesNameRef          `json:"imageRef,omitempty"`
	FlavorRef        *apiv1alpha1.KubernetesNameRef          `json:"flavorRef,omitempty"`
	BootVolume       *ServerBootVolumeSpecApplyConfiguration `json:"bootVolume,omitempty"`
	UserData         *UserDataSpecApplyConfiguration         `json:"userData,omitempty"`
	Ports            []ServerPortSpecApplyConfiguration      `json:"ports,omitempty"`
	Volumes          []ServerVolumeSpecApplyConfiguration    `json:"volumes,omitempty"`
	AvailabilityZone *string                                 `json:"availabilityZone,omitempty"`
	KeypairRef       *apiv1alpha1.KubernetesNameRef          `json:"keypairRef,omitempty"`
	Tags             []apiv1alpha1.ServerTag                 `json:"tags,omitempty"`
	Metadata         []ServerMetadataApplyConfiguration      `json:"metadata,omitempty"`
	ConfigDrive      *bool                                   `json:"configDrive,omitempty"`
	SchedulerHints   *ServerSchedulerHintsApplyConfiguration `json:"schedulerHints,omitempty"`
}

ServerResourceSpecApplyConfiguration represents a declarative configuration of the ServerResourceSpec type for use with apply.

func ServerResourceSpec ¶

func ServerResourceSpec() *ServerResourceSpecApplyConfiguration

ServerResourceSpecApplyConfiguration constructs a declarative configuration of the ServerResourceSpec type for use with apply.

func (*ServerResourceSpecApplyConfiguration) WithAvailabilityZone ¶

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 (*ServerResourceSpecApplyConfiguration) WithBootVolume ¶

WithBootVolume sets the BootVolume field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BootVolume field is set to the value of the last call.

func (*ServerResourceSpecApplyConfiguration) WithConfigDrive ¶

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 (*ServerResourceSpecApplyConfiguration) WithFlavorRef ¶

WithFlavorRef sets the FlavorRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FlavorRef field is set to the value of the last call.

func (*ServerResourceSpecApplyConfiguration) WithImageRef ¶

WithImageRef sets the ImageRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ImageRef field is set to the value of the last call.

func (*ServerResourceSpecApplyConfiguration) WithKeypairRef ¶

WithKeypairRef sets the KeypairRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the KeypairRef field is set to the value of the last call.

func (*ServerResourceSpecApplyConfiguration) WithMetadata ¶

WithMetadata adds the given value to the Metadata 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 Metadata field.

func (*ServerResourceSpecApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*ServerResourceSpecApplyConfiguration) WithPorts ¶

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 (*ServerResourceSpecApplyConfiguration) WithSchedulerHints ¶

WithSchedulerHints sets the SchedulerHints field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SchedulerHints field is set to the value of the last call.

func (*ServerResourceSpecApplyConfiguration) WithTags ¶

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 (*ServerResourceSpecApplyConfiguration) WithUserData ¶

WithUserData sets the UserData field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UserData field is set to the value of the last call.

func (*ServerResourceSpecApplyConfiguration) WithVolumes ¶

WithVolumes adds the given value to the Volumes 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 Volumes field.

type ServerResourceStatusApplyConfiguration ¶

type ServerResourceStatusApplyConfiguration struct {
	Name             *string                                   `json:"name,omitempty"`
	HostID           *string                                   `json:"hostID,omitempty"`
	Status           *string                                   `json:"status,omitempty"`
	ImageID          *string                                   `json:"imageID,omitempty"`
	AvailabilityZone *string                                   `json:"availabilityZone,omitempty"`
	ServerGroups     []string                                  `json:"serverGroups,omitempty"`
	Volumes          []ServerVolumeStatusApplyConfiguration    `json:"volumes,omitempty"`
	Interfaces       []ServerInterfaceStatusApplyConfiguration `json:"interfaces,omitempty"`
	Tags             []string                                  `json:"tags,omitempty"`
	Metadata         []ServerMetadataStatusApplyConfiguration  `json:"metadata,omitempty"`
	ConfigDrive      *bool                                     `json:"configDrive,omitempty"`
}

ServerResourceStatusApplyConfiguration represents a declarative configuration of the ServerResourceStatus type for use with apply.

func ServerResourceStatus ¶

func ServerResourceStatus() *ServerResourceStatusApplyConfiguration

ServerResourceStatusApplyConfiguration constructs a declarative configuration of the ServerResourceStatus type for use with apply.

func (*ServerResourceStatusApplyConfiguration) WithAvailabilityZone ¶

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 (*ServerResourceStatusApplyConfiguration) WithConfigDrive ¶

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 (*ServerResourceStatusApplyConfiguration) WithHostID ¶

WithHostID sets the HostID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HostID field is set to the value of the last call.

func (*ServerResourceStatusApplyConfiguration) WithImageID ¶

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 (*ServerResourceStatusApplyConfiguration) WithInterfaces ¶

WithInterfaces adds the given value to the Interfaces field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Interfaces field.

func (*ServerResourceStatusApplyConfiguration) WithMetadata ¶

WithMetadata adds the given value to the Metadata 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 Metadata field.

func (*ServerResourceStatusApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*ServerResourceStatusApplyConfiguration) WithServerGroups ¶

WithServerGroups adds the given value to the ServerGroups 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 ServerGroups field.

func (*ServerResourceStatusApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*ServerResourceStatusApplyConfiguration) WithTags ¶

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 (*ServerResourceStatusApplyConfiguration) WithVolumes ¶

WithVolumes adds the given value to the Volumes 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 Volumes field.

type ServerSchedulerHintsApplyConfiguration ¶

type ServerSchedulerHintsApplyConfiguration struct {
	ServerGroupRef          *apiv1alpha1.KubernetesNameRef  `json:"serverGroupRef,omitempty"`
	DifferentHostServerRefs []apiv1alpha1.KubernetesNameRef `json:"differentHostServerRefs,omitempty"`
	SameHostServerRefs      []apiv1alpha1.KubernetesNameRef `json:"sameHostServerRefs,omitempty"`
	Query                   *string                         `json:"query,omitempty"`
	TargetCell              *string                         `json:"targetCell,omitempty"`
	DifferentCell           []string                        `json:"differentCell,omitempty"`
	BuildNearHostIP         *apiv1alpha1.CIDR               `json:"buildNearHostIP,omitempty"`
	AdditionalProperties    map[string]string               `json:"additionalProperties,omitempty"`
}

ServerSchedulerHintsApplyConfiguration represents a declarative configuration of the ServerSchedulerHints type for use with apply.

func ServerSchedulerHints ¶

func ServerSchedulerHints() *ServerSchedulerHintsApplyConfiguration

ServerSchedulerHintsApplyConfiguration constructs a declarative configuration of the ServerSchedulerHints type for use with apply.

func (*ServerSchedulerHintsApplyConfiguration) WithAdditionalProperties ¶

WithAdditionalProperties puts the entries into the AdditionalProperties 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 AdditionalProperties field, overwriting an existing map entries in AdditionalProperties field with the same key.

func (*ServerSchedulerHintsApplyConfiguration) WithBuildNearHostIP ¶

WithBuildNearHostIP sets the BuildNearHostIP field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BuildNearHostIP field is set to the value of the last call.

func (*ServerSchedulerHintsApplyConfiguration) WithDifferentCell ¶

WithDifferentCell adds the given value to the DifferentCell 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 DifferentCell field.

func (*ServerSchedulerHintsApplyConfiguration) WithDifferentHostServerRefs ¶

WithDifferentHostServerRefs adds the given value to the DifferentHostServerRefs 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 DifferentHostServerRefs field.

func (*ServerSchedulerHintsApplyConfiguration) WithQuery ¶

WithQuery sets the Query field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Query field is set to the value of the last call.

func (*ServerSchedulerHintsApplyConfiguration) WithSameHostServerRefs ¶

WithSameHostServerRefs adds the given value to the SameHostServerRefs 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 SameHostServerRefs field.

func (*ServerSchedulerHintsApplyConfiguration) WithServerGroupRef ¶

WithServerGroupRef sets the ServerGroupRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServerGroupRef field is set to the value of the last call.

func (*ServerSchedulerHintsApplyConfiguration) WithTargetCell ¶

WithTargetCell sets the TargetCell field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TargetCell field is set to the value of the last call.

type ServerSpecApplyConfiguration ¶

type ServerSpecApplyConfiguration struct {
	Import              *ServerImportApplyConfiguration              `json:"import,omitempty"`
	Resource            *ServerResourceSpecApplyConfiguration        `json:"resource,omitempty"`
	ManagementPolicy    *apiv1alpha1.ManagementPolicy                `json:"managementPolicy,omitempty"`
	ManagedOptions      *ManagedOptionsApplyConfiguration            `json:"managedOptions,omitempty"`
	ResyncPeriod        *v1.Duration                                 `json:"resyncPeriod,omitempty"`
	CloudCredentialsRef *CloudCredentialsReferenceApplyConfiguration `json:"cloudCredentialsRef,omitempty"`
}

ServerSpecApplyConfiguration represents a declarative configuration of the ServerSpec type for use with apply.

func ServerSpec ¶

func ServerSpec() *ServerSpecApplyConfiguration

ServerSpecApplyConfiguration constructs a declarative configuration of the ServerSpec type for use with apply.

func (*ServerSpecApplyConfiguration) WithCloudCredentialsRef ¶

WithCloudCredentialsRef sets the CloudCredentialsRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CloudCredentialsRef field is set to the value of the last call.

func (*ServerSpecApplyConfiguration) WithImport ¶

WithImport sets the Import field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Import field is set to the value of the last call.

func (*ServerSpecApplyConfiguration) WithManagedOptions ¶

WithManagedOptions sets the ManagedOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagedOptions field is set to the value of the last call.

func (*ServerSpecApplyConfiguration) WithManagementPolicy ¶

WithManagementPolicy sets the ManagementPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementPolicy field is set to the value of the last call.

func (*ServerSpecApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

func (*ServerSpecApplyConfiguration) WithResyncPeriod ¶

WithResyncPeriod sets the ResyncPeriod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResyncPeriod field is set to the value of the last call.

type ServerStatusApplyConfiguration ¶

type ServerStatusApplyConfiguration struct {
	Conditions   []v1.ConditionApplyConfiguration        `json:"conditions,omitempty"`
	ID           *string                                 `json:"id,omitempty"`
	Resource     *ServerResourceStatusApplyConfiguration `json:"resource,omitempty"`
	LastSyncTime *metav1.Time                            `json:"lastSyncTime,omitempty"`
}

ServerStatusApplyConfiguration represents a declarative configuration of the ServerStatus type for use with apply.

func ServerStatus ¶

func ServerStatus() *ServerStatusApplyConfiguration

ServerStatusApplyConfiguration constructs a declarative configuration of the ServerStatus type for use with apply.

func (*ServerStatusApplyConfiguration) WithConditions ¶

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*ServerStatusApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*ServerStatusApplyConfiguration) WithLastSyncTime ¶

WithLastSyncTime sets the LastSyncTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastSyncTime field is set to the value of the last call.

func (*ServerStatusApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

type ServerVolumeSpecApplyConfiguration ¶

type ServerVolumeSpecApplyConfiguration struct {
	VolumeRef *apiv1alpha1.KubernetesNameRef `json:"volumeRef,omitempty"`
	Device    *string                        `json:"device,omitempty"`
}

ServerVolumeSpecApplyConfiguration represents a declarative configuration of the ServerVolumeSpec type for use with apply.

func ServerVolumeSpec ¶

func ServerVolumeSpec() *ServerVolumeSpecApplyConfiguration

ServerVolumeSpecApplyConfiguration constructs a declarative configuration of the ServerVolumeSpec type for use with apply.

func (*ServerVolumeSpecApplyConfiguration) WithDevice ¶

WithDevice sets the Device field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Device field is set to the value of the last call.

func (*ServerVolumeSpecApplyConfiguration) WithVolumeRef ¶

WithVolumeRef sets the VolumeRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VolumeRef field is set to the value of the last call.

type ServerVolumeStatusApplyConfiguration ¶

type ServerVolumeStatusApplyConfiguration struct {
	ID *string `json:"id,omitempty"`
}

ServerVolumeStatusApplyConfiguration represents a declarative configuration of the ServerVolumeStatus type for use with apply.

func ServerVolumeStatus ¶

func ServerVolumeStatus() *ServerVolumeStatusApplyConfiguration

ServerVolumeStatusApplyConfiguration constructs a declarative configuration of the ServerVolumeStatus type for use with apply.

func (*ServerVolumeStatusApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

type ServiceApplyConfiguration ¶

type ServiceApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *ServiceSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *ServiceStatusApplyConfiguration `json:"status,omitempty"`
}

ServiceApplyConfiguration represents a declarative configuration of the Service type for use with apply.

func ExtractService ¶

func ExtractService(service *apiv1alpha1.Service, fieldManager string) (*ServiceApplyConfiguration, error)

ExtractService extracts the applied configuration owned by fieldManager from service. If no managedFields are found in service for fieldManager, a ServiceApplyConfiguration 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. service must be a unmodified Service API object that was retrieved from the Kubernetes API. ExtractService 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 ExtractServiceStatus ¶

func ExtractServiceStatus(service *apiv1alpha1.Service, fieldManager string) (*ServiceApplyConfiguration, error)

ExtractServiceStatus is the same as ExtractService except that it extracts the status subresource applied configuration. Experimental!

func Service ¶

func Service(name, namespace string) *ServiceApplyConfiguration

Service constructs a declarative configuration of the Service type for use with apply.

func (*ServiceApplyConfiguration) GetAPIVersion ¶

func (b *ServiceApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*ServiceApplyConfiguration) GetKind ¶

func (b *ServiceApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*ServiceApplyConfiguration) GetName ¶

func (b *ServiceApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*ServiceApplyConfiguration) GetNamespace ¶

func (b *ServiceApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (ServiceApplyConfiguration) IsApplyConfiguration ¶

func (b ServiceApplyConfiguration) IsApplyConfiguration()

func (*ServiceApplyConfiguration) WithAPIVersion ¶

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*ServiceApplyConfiguration) WithAnnotations ¶

func (b *ServiceApplyConfiguration) WithAnnotations(entries map[string]string) *ServiceApplyConfiguration

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 (*ServiceApplyConfiguration) WithCreationTimestamp ¶

func (b *ServiceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ServiceApplyConfiguration

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 (*ServiceApplyConfiguration) WithDeletionGracePeriodSeconds ¶

func (b *ServiceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ServiceApplyConfiguration

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 (*ServiceApplyConfiguration) WithDeletionTimestamp ¶

func (b *ServiceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ServiceApplyConfiguration

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 (*ServiceApplyConfiguration) WithFinalizers ¶

func (b *ServiceApplyConfiguration) WithFinalizers(values ...string) *ServiceApplyConfiguration

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 (*ServiceApplyConfiguration) WithGenerateName ¶

func (b *ServiceApplyConfiguration) WithGenerateName(value string) *ServiceApplyConfiguration

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 (*ServiceApplyConfiguration) WithGeneration ¶

func (b *ServiceApplyConfiguration) WithGeneration(value int64) *ServiceApplyConfiguration

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 (*ServiceApplyConfiguration) WithKind ¶

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*ServiceApplyConfiguration) WithLabels ¶

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*ServiceApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*ServiceApplyConfiguration) WithNamespace ¶

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*ServiceApplyConfiguration) WithOwnerReferences ¶

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*ServiceApplyConfiguration) WithResourceVersion ¶

func (b *ServiceApplyConfiguration) WithResourceVersion(value string) *ServiceApplyConfiguration

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 (*ServiceApplyConfiguration) WithSpec ¶

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*ServiceApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*ServiceApplyConfiguration) WithUID ¶

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type ServiceFilterApplyConfiguration ¶

type ServiceFilterApplyConfiguration struct {
	Name *apiv1alpha1.OpenStackName `json:"name,omitempty"`
	Type *string                    `json:"type,omitempty"`
}

ServiceFilterApplyConfiguration represents a declarative configuration of the ServiceFilter type for use with apply.

func ServiceFilter ¶

func ServiceFilter() *ServiceFilterApplyConfiguration

ServiceFilterApplyConfiguration constructs a declarative configuration of the ServiceFilter type for use with apply.

func (*ServiceFilterApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*ServiceFilterApplyConfiguration) WithType ¶

WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.

type ServiceImportApplyConfiguration ¶

type ServiceImportApplyConfiguration struct {
	ID     *string                          `json:"id,omitempty"`
	Filter *ServiceFilterApplyConfiguration `json:"filter,omitempty"`
}

ServiceImportApplyConfiguration represents a declarative configuration of the ServiceImport type for use with apply.

func ServiceImport ¶

func ServiceImport() *ServiceImportApplyConfiguration

ServiceImportApplyConfiguration constructs a declarative configuration of the ServiceImport type for use with apply.

func (*ServiceImportApplyConfiguration) WithFilter ¶

WithFilter sets the Filter field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Filter field is set to the value of the last call.

func (*ServiceImportApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

type ServiceResourceSpecApplyConfiguration ¶

type ServiceResourceSpecApplyConfiguration struct {
	Name        *apiv1alpha1.OpenStackName `json:"name,omitempty"`
	Description *string                    `json:"description,omitempty"`
	Type        *string                    `json:"type,omitempty"`
	Enabled     *bool                      `json:"enabled,omitempty"`
}

ServiceResourceSpecApplyConfiguration represents a declarative configuration of the ServiceResourceSpec type for use with apply.

func ServiceResourceSpec ¶

func ServiceResourceSpec() *ServiceResourceSpecApplyConfiguration

ServiceResourceSpecApplyConfiguration constructs a declarative configuration of the ServiceResourceSpec type for use with apply.

func (*ServiceResourceSpecApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*ServiceResourceSpecApplyConfiguration) WithEnabled ¶

WithEnabled sets the Enabled field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Enabled field is set to the value of the last call.

func (*ServiceResourceSpecApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*ServiceResourceSpecApplyConfiguration) WithType ¶

WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.

type ServiceResourceStatusApplyConfiguration ¶

type ServiceResourceStatusApplyConfiguration struct {
	Name        *string `json:"name,omitempty"`
	Description *string `json:"description,omitempty"`
	Type        *string `json:"type,omitempty"`
	Enabled     *bool   `json:"enabled,omitempty"`
}

ServiceResourceStatusApplyConfiguration represents a declarative configuration of the ServiceResourceStatus type for use with apply.

func ServiceResourceStatus ¶

func ServiceResourceStatus() *ServiceResourceStatusApplyConfiguration

ServiceResourceStatusApplyConfiguration constructs a declarative configuration of the ServiceResourceStatus type for use with apply.

func (*ServiceResourceStatusApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*ServiceResourceStatusApplyConfiguration) WithEnabled ¶

WithEnabled sets the Enabled field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Enabled field is set to the value of the last call.

func (*ServiceResourceStatusApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*ServiceResourceStatusApplyConfiguration) WithType ¶

WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.

type ServiceSpecApplyConfiguration ¶

type ServiceSpecApplyConfiguration struct {
	Import              *ServiceImportApplyConfiguration             `json:"import,omitempty"`
	Resource            *ServiceResourceSpecApplyConfiguration       `json:"resource,omitempty"`
	ManagementPolicy    *apiv1alpha1.ManagementPolicy                `json:"managementPolicy,omitempty"`
	ManagedOptions      *ManagedOptionsApplyConfiguration            `json:"managedOptions,omitempty"`
	ResyncPeriod        *v1.Duration                                 `json:"resyncPeriod,omitempty"`
	CloudCredentialsRef *CloudCredentialsReferenceApplyConfiguration `json:"cloudCredentialsRef,omitempty"`
}

ServiceSpecApplyConfiguration represents a declarative configuration of the ServiceSpec type for use with apply.

func ServiceSpec ¶

func ServiceSpec() *ServiceSpecApplyConfiguration

ServiceSpecApplyConfiguration constructs a declarative configuration of the ServiceSpec type for use with apply.

func (*ServiceSpecApplyConfiguration) WithCloudCredentialsRef ¶

WithCloudCredentialsRef sets the CloudCredentialsRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CloudCredentialsRef field is set to the value of the last call.

func (*ServiceSpecApplyConfiguration) WithImport ¶

WithImport sets the Import field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Import field is set to the value of the last call.

func (*ServiceSpecApplyConfiguration) WithManagedOptions ¶

WithManagedOptions sets the ManagedOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagedOptions field is set to the value of the last call.

func (*ServiceSpecApplyConfiguration) WithManagementPolicy ¶

WithManagementPolicy sets the ManagementPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementPolicy field is set to the value of the last call.

func (*ServiceSpecApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

func (*ServiceSpecApplyConfiguration) WithResyncPeriod ¶

WithResyncPeriod sets the ResyncPeriod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResyncPeriod field is set to the value of the last call.

type ServiceStatusApplyConfiguration ¶

type ServiceStatusApplyConfiguration struct {
	Conditions   []v1.ConditionApplyConfiguration         `json:"conditions,omitempty"`
	ID           *string                                  `json:"id,omitempty"`
	Resource     *ServiceResourceStatusApplyConfiguration `json:"resource,omitempty"`
	LastSyncTime *metav1.Time                             `json:"lastSyncTime,omitempty"`
}

ServiceStatusApplyConfiguration represents a declarative configuration of the ServiceStatus type for use with apply.

func ServiceStatus ¶

func ServiceStatus() *ServiceStatusApplyConfiguration

ServiceStatusApplyConfiguration constructs a declarative configuration of the ServiceStatus type for use with apply.

func (*ServiceStatusApplyConfiguration) WithConditions ¶

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*ServiceStatusApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*ServiceStatusApplyConfiguration) WithLastSyncTime ¶

WithLastSyncTime sets the LastSyncTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastSyncTime field is set to the value of the last call.

func (*ServiceStatusApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

type ShareNetworkApplyConfiguration ¶

type ShareNetworkApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *ShareNetworkSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *ShareNetworkStatusApplyConfiguration `json:"status,omitempty"`
}

ShareNetworkApplyConfiguration represents a declarative configuration of the ShareNetwork type for use with apply.

func ExtractShareNetwork ¶

func ExtractShareNetwork(shareNetwork *apiv1alpha1.ShareNetwork, fieldManager string) (*ShareNetworkApplyConfiguration, error)

ExtractShareNetwork extracts the applied configuration owned by fieldManager from shareNetwork. If no managedFields are found in shareNetwork for fieldManager, a ShareNetworkApplyConfiguration 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. shareNetwork must be a unmodified ShareNetwork API object that was retrieved from the Kubernetes API. ExtractShareNetwork 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 ExtractShareNetworkStatus ¶

func ExtractShareNetworkStatus(shareNetwork *apiv1alpha1.ShareNetwork, fieldManager string) (*ShareNetworkApplyConfiguration, error)

ExtractShareNetworkStatus is the same as ExtractShareNetwork except that it extracts the status subresource applied configuration. Experimental!

func ShareNetwork ¶

func ShareNetwork(name, namespace string) *ShareNetworkApplyConfiguration

ShareNetwork constructs a declarative configuration of the ShareNetwork type for use with apply.

func (*ShareNetworkApplyConfiguration) GetAPIVersion ¶

func (b *ShareNetworkApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*ShareNetworkApplyConfiguration) GetKind ¶

func (b *ShareNetworkApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*ShareNetworkApplyConfiguration) GetName ¶

func (b *ShareNetworkApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*ShareNetworkApplyConfiguration) GetNamespace ¶

func (b *ShareNetworkApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (ShareNetworkApplyConfiguration) IsApplyConfiguration ¶

func (b ShareNetworkApplyConfiguration) IsApplyConfiguration()

func (*ShareNetworkApplyConfiguration) WithAPIVersion ¶

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*ShareNetworkApplyConfiguration) WithAnnotations ¶

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*ShareNetworkApplyConfiguration) WithCreationTimestamp ¶

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*ShareNetworkApplyConfiguration) WithDeletionGracePeriodSeconds ¶

func (b *ShareNetworkApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ShareNetworkApplyConfiguration

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 (*ShareNetworkApplyConfiguration) WithDeletionTimestamp ¶

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*ShareNetworkApplyConfiguration) WithFinalizers ¶

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*ShareNetworkApplyConfiguration) WithGenerateName ¶

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*ShareNetworkApplyConfiguration) WithGeneration ¶

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*ShareNetworkApplyConfiguration) WithKind ¶

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*ShareNetworkApplyConfiguration) WithLabels ¶

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*ShareNetworkApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*ShareNetworkApplyConfiguration) WithNamespace ¶

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*ShareNetworkApplyConfiguration) WithOwnerReferences ¶

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*ShareNetworkApplyConfiguration) WithResourceVersion ¶

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*ShareNetworkApplyConfiguration) WithSpec ¶

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*ShareNetworkApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*ShareNetworkApplyConfiguration) WithUID ¶

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type ShareNetworkFilterApplyConfiguration ¶

type ShareNetworkFilterApplyConfiguration struct {
	Name        *apiv1alpha1.OpenStackName `json:"name,omitempty"`
	Description *string                    `json:"description,omitempty"`
}

ShareNetworkFilterApplyConfiguration represents a declarative configuration of the ShareNetworkFilter type for use with apply.

func ShareNetworkFilter ¶

func ShareNetworkFilter() *ShareNetworkFilterApplyConfiguration

ShareNetworkFilterApplyConfiguration constructs a declarative configuration of the ShareNetworkFilter type for use with apply.

func (*ShareNetworkFilterApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*ShareNetworkFilterApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

type ShareNetworkImportApplyConfiguration ¶

type ShareNetworkImportApplyConfiguration struct {
	ID     *string                               `json:"id,omitempty"`
	Filter *ShareNetworkFilterApplyConfiguration `json:"filter,omitempty"`
}

ShareNetworkImportApplyConfiguration represents a declarative configuration of the ShareNetworkImport type for use with apply.

func ShareNetworkImport ¶

func ShareNetworkImport() *ShareNetworkImportApplyConfiguration

ShareNetworkImportApplyConfiguration constructs a declarative configuration of the ShareNetworkImport type for use with apply.

func (*ShareNetworkImportApplyConfiguration) WithFilter ¶

WithFilter sets the Filter field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Filter field is set to the value of the last call.

func (*ShareNetworkImportApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

type ShareNetworkResourceSpecApplyConfiguration ¶

type ShareNetworkResourceSpecApplyConfiguration struct {
	Name        *apiv1alpha1.OpenStackName     `json:"name,omitempty"`
	Description *string                        `json:"description,omitempty"`
	NetworkRef  *apiv1alpha1.KubernetesNameRef `json:"networkRef,omitempty"`
	SubnetRef   *apiv1alpha1.KubernetesNameRef `json:"subnetRef,omitempty"`
}

ShareNetworkResourceSpecApplyConfiguration represents a declarative configuration of the ShareNetworkResourceSpec type for use with apply.

func ShareNetworkResourceSpec ¶

func ShareNetworkResourceSpec() *ShareNetworkResourceSpecApplyConfiguration

ShareNetworkResourceSpecApplyConfiguration constructs a declarative configuration of the ShareNetworkResourceSpec type for use with apply.

func (*ShareNetworkResourceSpecApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*ShareNetworkResourceSpecApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*ShareNetworkResourceSpecApplyConfiguration) WithNetworkRef ¶

WithNetworkRef sets the NetworkRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NetworkRef field is set to the value of the last call.

func (*ShareNetworkResourceSpecApplyConfiguration) WithSubnetRef ¶

WithSubnetRef sets the SubnetRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SubnetRef field is set to the value of the last call.

type ShareNetworkResourceStatusApplyConfiguration ¶

type ShareNetworkResourceStatusApplyConfiguration struct {
	Name            *string  `json:"name,omitempty"`
	Description     *string  `json:"description,omitempty"`
	NeutronNetID    *string  `json:"neutronNetID,omitempty"`
	NeutronSubnetID *string  `json:"neutronSubnetID,omitempty"`
	NetworkType     *string  `json:"networkType,omitempty"`
	SegmentationID  *int32   `json:"segmentationID,omitempty"`
	CIDR            *string  `json:"cidr,omitempty"`
	IPVersion       *int32   `json:"ipVersion,omitempty"`
	ProjectID       *string  `json:"projectID,omitempty"`
	CreatedAt       *v1.Time `json:"createdAt,omitempty"`
	UpdatedAt       *v1.Time `json:"updatedAt,omitempty"`
}

ShareNetworkResourceStatusApplyConfiguration represents a declarative configuration of the ShareNetworkResourceStatus type for use with apply.

func ShareNetworkResourceStatus ¶

func ShareNetworkResourceStatus() *ShareNetworkResourceStatusApplyConfiguration

ShareNetworkResourceStatusApplyConfiguration constructs a declarative configuration of the ShareNetworkResourceStatus type for use with apply.

func (*ShareNetworkResourceStatusApplyConfiguration) WithCIDR ¶

WithCIDR sets the CIDR field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CIDR field is set to the value of the last call.

func (*ShareNetworkResourceStatusApplyConfiguration) WithCreatedAt ¶

WithCreatedAt sets the CreatedAt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreatedAt field is set to the value of the last call.

func (*ShareNetworkResourceStatusApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*ShareNetworkResourceStatusApplyConfiguration) WithIPVersion ¶

WithIPVersion sets the IPVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPVersion field is set to the value of the last call.

func (*ShareNetworkResourceStatusApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*ShareNetworkResourceStatusApplyConfiguration) WithNetworkType ¶

WithNetworkType sets the NetworkType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NetworkType field is set to the value of the last call.

func (*ShareNetworkResourceStatusApplyConfiguration) WithNeutronNetID ¶

WithNeutronNetID sets the NeutronNetID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NeutronNetID field is set to the value of the last call.

func (*ShareNetworkResourceStatusApplyConfiguration) WithNeutronSubnetID ¶

WithNeutronSubnetID sets the NeutronSubnetID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NeutronSubnetID field is set to the value of the last call.

func (*ShareNetworkResourceStatusApplyConfiguration) WithProjectID ¶

WithProjectID sets the ProjectID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectID field is set to the value of the last call.

func (*ShareNetworkResourceStatusApplyConfiguration) WithSegmentationID ¶

WithSegmentationID sets the SegmentationID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SegmentationID field is set to the value of the last call.

func (*ShareNetworkResourceStatusApplyConfiguration) WithUpdatedAt ¶

WithUpdatedAt sets the UpdatedAt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UpdatedAt field is set to the value of the last call.

type ShareNetworkSpecApplyConfiguration ¶

type ShareNetworkSpecApplyConfiguration struct {
	Import              *ShareNetworkImportApplyConfiguration        `json:"import,omitempty"`
	Resource            *ShareNetworkResourceSpecApplyConfiguration  `json:"resource,omitempty"`
	ManagementPolicy    *apiv1alpha1.ManagementPolicy                `json:"managementPolicy,omitempty"`
	ManagedOptions      *ManagedOptionsApplyConfiguration            `json:"managedOptions,omitempty"`
	ResyncPeriod        *v1.Duration                                 `json:"resyncPeriod,omitempty"`
	CloudCredentialsRef *CloudCredentialsReferenceApplyConfiguration `json:"cloudCredentialsRef,omitempty"`
}

ShareNetworkSpecApplyConfiguration represents a declarative configuration of the ShareNetworkSpec type for use with apply.

func ShareNetworkSpec ¶

func ShareNetworkSpec() *ShareNetworkSpecApplyConfiguration

ShareNetworkSpecApplyConfiguration constructs a declarative configuration of the ShareNetworkSpec type for use with apply.

func (*ShareNetworkSpecApplyConfiguration) WithCloudCredentialsRef ¶

WithCloudCredentialsRef sets the CloudCredentialsRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CloudCredentialsRef field is set to the value of the last call.

func (*ShareNetworkSpecApplyConfiguration) WithImport ¶

WithImport sets the Import field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Import field is set to the value of the last call.

func (*ShareNetworkSpecApplyConfiguration) WithManagedOptions ¶

WithManagedOptions sets the ManagedOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagedOptions field is set to the value of the last call.

func (*ShareNetworkSpecApplyConfiguration) WithManagementPolicy ¶

WithManagementPolicy sets the ManagementPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementPolicy field is set to the value of the last call.

func (*ShareNetworkSpecApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

func (*ShareNetworkSpecApplyConfiguration) WithResyncPeriod ¶

WithResyncPeriod sets the ResyncPeriod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResyncPeriod field is set to the value of the last call.

type ShareNetworkStatusApplyConfiguration ¶

type ShareNetworkStatusApplyConfiguration struct {
	Conditions   []v1.ConditionApplyConfiguration              `json:"conditions,omitempty"`
	ID           *string                                       `json:"id,omitempty"`
	Resource     *ShareNetworkResourceStatusApplyConfiguration `json:"resource,omitempty"`
	LastSyncTime *metav1.Time                                  `json:"lastSyncTime,omitempty"`
}

ShareNetworkStatusApplyConfiguration represents a declarative configuration of the ShareNetworkStatus type for use with apply.

func ShareNetworkStatus ¶

func ShareNetworkStatus() *ShareNetworkStatusApplyConfiguration

ShareNetworkStatusApplyConfiguration constructs a declarative configuration of the ShareNetworkStatus type for use with apply.

func (*ShareNetworkStatusApplyConfiguration) WithConditions ¶

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*ShareNetworkStatusApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*ShareNetworkStatusApplyConfiguration) WithLastSyncTime ¶

WithLastSyncTime sets the LastSyncTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastSyncTime field is set to the value of the last call.

func (*ShareNetworkStatusApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

type SubnetApplyConfiguration ¶

type SubnetApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *SubnetSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *SubnetStatusApplyConfiguration `json:"status,omitempty"`
}

SubnetApplyConfiguration represents a declarative configuration of the Subnet type for use with apply.

func ExtractSubnet ¶

func ExtractSubnet(subnet *apiv1alpha1.Subnet, fieldManager string) (*SubnetApplyConfiguration, error)

ExtractSubnet extracts the applied configuration owned by fieldManager from subnet. If no managedFields are found in subnet for fieldManager, a SubnetApplyConfiguration 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. subnet must be a unmodified Subnet API object that was retrieved from the Kubernetes API. ExtractSubnet 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 ExtractSubnetStatus ¶

func ExtractSubnetStatus(subnet *apiv1alpha1.Subnet, fieldManager string) (*SubnetApplyConfiguration, error)

ExtractSubnetStatus is the same as ExtractSubnet except that it extracts the status subresource applied configuration. Experimental!

func Subnet ¶

func Subnet(name, namespace string) *SubnetApplyConfiguration

Subnet constructs a declarative configuration of the Subnet type for use with apply.

func (*SubnetApplyConfiguration) GetAPIVersion ¶

func (b *SubnetApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*SubnetApplyConfiguration) GetKind ¶

func (b *SubnetApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*SubnetApplyConfiguration) GetName ¶

func (b *SubnetApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*SubnetApplyConfiguration) GetNamespace ¶

func (b *SubnetApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (SubnetApplyConfiguration) IsApplyConfiguration ¶

func (b SubnetApplyConfiguration) IsApplyConfiguration()

func (*SubnetApplyConfiguration) WithAPIVersion ¶

func (b *SubnetApplyConfiguration) WithAPIVersion(value string) *SubnetApplyConfiguration

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 (*SubnetApplyConfiguration) WithAnnotations ¶

func (b *SubnetApplyConfiguration) WithAnnotations(entries map[string]string) *SubnetApplyConfiguration

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 (*SubnetApplyConfiguration) WithCreationTimestamp ¶

func (b *SubnetApplyConfiguration) WithCreationTimestamp(value metav1.Time) *SubnetApplyConfiguration

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 (*SubnetApplyConfiguration) WithDeletionGracePeriodSeconds ¶

func (b *SubnetApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *SubnetApplyConfiguration

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 (*SubnetApplyConfiguration) WithDeletionTimestamp ¶

func (b *SubnetApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *SubnetApplyConfiguration

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 (*SubnetApplyConfiguration) WithFinalizers ¶

func (b *SubnetApplyConfiguration) WithFinalizers(values ...string) *SubnetApplyConfiguration

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 (*SubnetApplyConfiguration) WithGenerateName ¶

func (b *SubnetApplyConfiguration) WithGenerateName(value string) *SubnetApplyConfiguration

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 (*SubnetApplyConfiguration) WithGeneration ¶

func (b *SubnetApplyConfiguration) WithGeneration(value int64) *SubnetApplyConfiguration

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 (*SubnetApplyConfiguration) WithKind ¶

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*SubnetApplyConfiguration) WithLabels ¶

func (b *SubnetApplyConfiguration) WithLabels(entries map[string]string) *SubnetApplyConfiguration

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 (*SubnetApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*SubnetApplyConfiguration) WithNamespace ¶

func (b *SubnetApplyConfiguration) WithNamespace(value string) *SubnetApplyConfiguration

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 (*SubnetApplyConfiguration) WithOwnerReferences ¶

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*SubnetApplyConfiguration) WithResourceVersion ¶

func (b *SubnetApplyConfiguration) WithResourceVersion(value string) *SubnetApplyConfiguration

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 (*SubnetApplyConfiguration) WithSpec ¶

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*SubnetApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*SubnetApplyConfiguration) WithUID ¶

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type SubnetFilterApplyConfiguration ¶

type SubnetFilterApplyConfiguration struct {
	Name                                  *apiv1alpha1.OpenStackName      `json:"name,omitempty"`
	Description                           *apiv1alpha1.NeutronDescription `json:"description,omitempty"`
	IPVersion                             *apiv1alpha1.IPVersion          `json:"ipVersion,omitempty"`
	GatewayIP                             *apiv1alpha1.IPvAny             `json:"gatewayIP,omitempty"`
	CIDR                                  *apiv1alpha1.CIDR               `json:"cidr,omitempty"`
	IPv6                                  *IPv6OptionsApplyConfiguration  `json:"ipv6,omitempty"`
	NetworkRef                            *apiv1alpha1.KubernetesNameRef  `json:"networkRef,omitempty"`
	ProjectRef                            *apiv1alpha1.KubernetesNameRef  `json:"projectRef,omitempty"`
	FilterByNeutronTagsApplyConfiguration `json:",inline"`
}

SubnetFilterApplyConfiguration represents a declarative configuration of the SubnetFilter type for use with apply.

func SubnetFilter ¶

func SubnetFilter() *SubnetFilterApplyConfiguration

SubnetFilterApplyConfiguration constructs a declarative configuration of the SubnetFilter type for use with apply.

func (*SubnetFilterApplyConfiguration) WithCIDR ¶

WithCIDR sets the CIDR field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CIDR field is set to the value of the last call.

func (*SubnetFilterApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*SubnetFilterApplyConfiguration) WithGatewayIP ¶

WithGatewayIP sets the GatewayIP field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GatewayIP field is set to the value of the last call.

func (*SubnetFilterApplyConfiguration) WithIPVersion ¶

WithIPVersion sets the IPVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPVersion field is set to the value of the last call.

func (*SubnetFilterApplyConfiguration) WithIPv6 ¶

WithIPv6 sets the IPv6 field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPv6 field is set to the value of the last call.

func (*SubnetFilterApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*SubnetFilterApplyConfiguration) WithNetworkRef ¶

WithNetworkRef sets the NetworkRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NetworkRef field is set to the value of the last call.

func (*SubnetFilterApplyConfiguration) WithNotTags ¶

WithNotTags adds the given value to the NotTags 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 NotTags field.

func (*SubnetFilterApplyConfiguration) WithNotTagsAny ¶

WithNotTagsAny adds the given value to the NotTagsAny 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 NotTagsAny field.

func (*SubnetFilterApplyConfiguration) WithProjectRef ¶

WithProjectRef sets the ProjectRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectRef field is set to the value of the last call.

func (*SubnetFilterApplyConfiguration) WithTags ¶

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 (*SubnetFilterApplyConfiguration) WithTagsAny ¶

WithTagsAny adds the given value to the TagsAny 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 TagsAny field.

type SubnetGatewayApplyConfiguration ¶

type SubnetGatewayApplyConfiguration struct {
	Type *apiv1alpha1.SubnetGatewayType `json:"type,omitempty"`
	IP   *apiv1alpha1.IPvAny            `json:"ip,omitempty"`
}

SubnetGatewayApplyConfiguration represents a declarative configuration of the SubnetGateway type for use with apply.

func SubnetGateway ¶

func SubnetGateway() *SubnetGatewayApplyConfiguration

SubnetGatewayApplyConfiguration constructs a declarative configuration of the SubnetGateway type for use with apply.

func (*SubnetGatewayApplyConfiguration) WithIP ¶

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 (*SubnetGatewayApplyConfiguration) WithType ¶

WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.

type SubnetImportApplyConfiguration ¶

type SubnetImportApplyConfiguration struct {
	ID     *string                         `json:"id,omitempty"`
	Filter *SubnetFilterApplyConfiguration `json:"filter,omitempty"`
}

SubnetImportApplyConfiguration represents a declarative configuration of the SubnetImport type for use with apply.

func SubnetImport ¶

func SubnetImport() *SubnetImportApplyConfiguration

SubnetImportApplyConfiguration constructs a declarative configuration of the SubnetImport type for use with apply.

func (*SubnetImportApplyConfiguration) WithFilter ¶

WithFilter sets the Filter field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Filter field is set to the value of the last call.

func (*SubnetImportApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

type SubnetPoolApplyConfiguration ¶

type SubnetPoolApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *SubnetPoolSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *SubnetPoolStatusApplyConfiguration `json:"status,omitempty"`
}

SubnetPoolApplyConfiguration represents a declarative configuration of the SubnetPool type for use with apply.

func ExtractSubnetPool ¶

func ExtractSubnetPool(subnetPool *apiv1alpha1.SubnetPool, fieldManager string) (*SubnetPoolApplyConfiguration, error)

ExtractSubnetPool extracts the applied configuration owned by fieldManager from subnetPool. If no managedFields are found in subnetPool for fieldManager, a SubnetPoolApplyConfiguration 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. subnetPool must be a unmodified SubnetPool API object that was retrieved from the Kubernetes API. ExtractSubnetPool 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 ExtractSubnetPoolStatus ¶

func ExtractSubnetPoolStatus(subnetPool *apiv1alpha1.SubnetPool, fieldManager string) (*SubnetPoolApplyConfiguration, error)

ExtractSubnetPoolStatus is the same as ExtractSubnetPool except that it extracts the status subresource applied configuration. Experimental!

func SubnetPool ¶

func SubnetPool(name, namespace string) *SubnetPoolApplyConfiguration

SubnetPool constructs a declarative configuration of the SubnetPool type for use with apply.

func (*SubnetPoolApplyConfiguration) GetAPIVersion ¶

func (b *SubnetPoolApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*SubnetPoolApplyConfiguration) GetKind ¶

func (b *SubnetPoolApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*SubnetPoolApplyConfiguration) GetName ¶

func (b *SubnetPoolApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*SubnetPoolApplyConfiguration) GetNamespace ¶

func (b *SubnetPoolApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (SubnetPoolApplyConfiguration) IsApplyConfiguration ¶

func (b SubnetPoolApplyConfiguration) IsApplyConfiguration()

func (*SubnetPoolApplyConfiguration) WithAPIVersion ¶

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*SubnetPoolApplyConfiguration) WithAnnotations ¶

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*SubnetPoolApplyConfiguration) WithCreationTimestamp ¶

func (b *SubnetPoolApplyConfiguration) WithCreationTimestamp(value metav1.Time) *SubnetPoolApplyConfiguration

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 (*SubnetPoolApplyConfiguration) WithDeletionGracePeriodSeconds ¶

func (b *SubnetPoolApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *SubnetPoolApplyConfiguration

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 (*SubnetPoolApplyConfiguration) WithDeletionTimestamp ¶

func (b *SubnetPoolApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *SubnetPoolApplyConfiguration

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 (*SubnetPoolApplyConfiguration) WithFinalizers ¶

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*SubnetPoolApplyConfiguration) WithGenerateName ¶

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*SubnetPoolApplyConfiguration) WithGeneration ¶

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*SubnetPoolApplyConfiguration) WithKind ¶

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*SubnetPoolApplyConfiguration) WithLabels ¶

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*SubnetPoolApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*SubnetPoolApplyConfiguration) WithNamespace ¶

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*SubnetPoolApplyConfiguration) WithOwnerReferences ¶

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*SubnetPoolApplyConfiguration) WithResourceVersion ¶

func (b *SubnetPoolApplyConfiguration) WithResourceVersion(value string) *SubnetPoolApplyConfiguration

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 (*SubnetPoolApplyConfiguration) WithSpec ¶

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*SubnetPoolApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*SubnetPoolApplyConfiguration) WithUID ¶

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type SubnetPoolFilterApplyConfiguration ¶

type SubnetPoolFilterApplyConfiguration struct {
	Name                                  *apiv1alpha1.OpenStackName      `json:"name,omitempty"`
	Description                           *apiv1alpha1.NeutronDescription `json:"description,omitempty"`
	ProjectRef                            *apiv1alpha1.KubernetesNameRef  `json:"projectRef,omitempty"`
	AddressScopeRef                       *apiv1alpha1.KubernetesNameRef  `json:"addressScopeRef,omitempty"`
	MinPrefixLength                       *int32                          `json:"minPrefixLength,omitempty"`
	MaxPrefixLength                       *int32                          `json:"maxPrefixLength,omitempty"`
	IPVersion                             *apiv1alpha1.IPVersion          `json:"ipVersion,omitempty"`
	Shared                                *bool                           `json:"shared,omitempty"`
	DefaultPrefixLength                   *int32                          `json:"defaultPrefixLength,omitempty"`
	IsDefault                             *bool                           `json:"isDefault,omitempty"`
	FilterByNeutronTagsApplyConfiguration `json:",inline"`
}

SubnetPoolFilterApplyConfiguration represents a declarative configuration of the SubnetPoolFilter type for use with apply.

func SubnetPoolFilter ¶

func SubnetPoolFilter() *SubnetPoolFilterApplyConfiguration

SubnetPoolFilterApplyConfiguration constructs a declarative configuration of the SubnetPoolFilter type for use with apply.

func (*SubnetPoolFilterApplyConfiguration) WithAddressScopeRef ¶

WithAddressScopeRef sets the AddressScopeRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AddressScopeRef field is set to the value of the last call.

func (*SubnetPoolFilterApplyConfiguration) WithDefaultPrefixLength ¶

WithDefaultPrefixLength sets the DefaultPrefixLength field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DefaultPrefixLength field is set to the value of the last call.

func (*SubnetPoolFilterApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*SubnetPoolFilterApplyConfiguration) WithIPVersion ¶

WithIPVersion sets the IPVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPVersion field is set to the value of the last call.

func (*SubnetPoolFilterApplyConfiguration) WithIsDefault ¶

WithIsDefault sets the IsDefault field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IsDefault field is set to the value of the last call.

func (*SubnetPoolFilterApplyConfiguration) WithMaxPrefixLength ¶

WithMaxPrefixLength sets the MaxPrefixLength field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxPrefixLength field is set to the value of the last call.

func (*SubnetPoolFilterApplyConfiguration) WithMinPrefixLength ¶

WithMinPrefixLength sets the MinPrefixLength field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MinPrefixLength field is set to the value of the last call.

func (*SubnetPoolFilterApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*SubnetPoolFilterApplyConfiguration) WithNotTags ¶

WithNotTags adds the given value to the NotTags 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 NotTags field.

func (*SubnetPoolFilterApplyConfiguration) WithNotTagsAny ¶

WithNotTagsAny adds the given value to the NotTagsAny 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 NotTagsAny field.

func (*SubnetPoolFilterApplyConfiguration) WithProjectRef ¶

WithProjectRef sets the ProjectRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectRef field is set to the value of the last call.

func (*SubnetPoolFilterApplyConfiguration) WithShared ¶

WithShared sets the Shared field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Shared field is set to the value of the last call.

func (*SubnetPoolFilterApplyConfiguration) WithTags ¶

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 (*SubnetPoolFilterApplyConfiguration) WithTagsAny ¶

WithTagsAny adds the given value to the TagsAny 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 TagsAny field.

type SubnetPoolImportApplyConfiguration ¶

type SubnetPoolImportApplyConfiguration struct {
	ID     *string                             `json:"id,omitempty"`
	Filter *SubnetPoolFilterApplyConfiguration `json:"filter,omitempty"`
}

SubnetPoolImportApplyConfiguration represents a declarative configuration of the SubnetPoolImport type for use with apply.

func SubnetPoolImport ¶

func SubnetPoolImport() *SubnetPoolImportApplyConfiguration

SubnetPoolImportApplyConfiguration constructs a declarative configuration of the SubnetPoolImport type for use with apply.

func (*SubnetPoolImportApplyConfiguration) WithFilter ¶

WithFilter sets the Filter field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Filter field is set to the value of the last call.

func (*SubnetPoolImportApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

type SubnetPoolResourceSpecApplyConfiguration ¶

type SubnetPoolResourceSpecApplyConfiguration struct {
	Name                *apiv1alpha1.OpenStackName      `json:"name,omitempty"`
	Description         *apiv1alpha1.NeutronDescription `json:"description,omitempty"`
	ProjectRef          *apiv1alpha1.KubernetesNameRef  `json:"projectRef,omitempty"`
	AddressScopeRef     *apiv1alpha1.KubernetesNameRef  `json:"addressScopeRef,omitempty"`
	Prefixes            []apiv1alpha1.CIDR              `json:"prefixes,omitempty"`
	MinPrefixLength     *int32                          `json:"minPrefixLength,omitempty"`
	MaxPrefixLength     *int32                          `json:"maxPrefixLength,omitempty"`
	Shared              *bool                           `json:"shared,omitempty"`
	DefaultPrefixLength *int32                          `json:"defaultPrefixLength,omitempty"`
	IsDefault           *bool                           `json:"isDefault,omitempty"`
	Tags                []apiv1alpha1.NeutronTag        `json:"tags,omitempty"`
}

SubnetPoolResourceSpecApplyConfiguration represents a declarative configuration of the SubnetPoolResourceSpec type for use with apply.

func SubnetPoolResourceSpec ¶

func SubnetPoolResourceSpec() *SubnetPoolResourceSpecApplyConfiguration

SubnetPoolResourceSpecApplyConfiguration constructs a declarative configuration of the SubnetPoolResourceSpec type for use with apply.

func (*SubnetPoolResourceSpecApplyConfiguration) WithAddressScopeRef ¶

WithAddressScopeRef sets the AddressScopeRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AddressScopeRef field is set to the value of the last call.

func (*SubnetPoolResourceSpecApplyConfiguration) WithDefaultPrefixLength ¶

WithDefaultPrefixLength sets the DefaultPrefixLength field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DefaultPrefixLength field is set to the value of the last call.

func (*SubnetPoolResourceSpecApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*SubnetPoolResourceSpecApplyConfiguration) WithIsDefault ¶

WithIsDefault sets the IsDefault field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IsDefault field is set to the value of the last call.

func (*SubnetPoolResourceSpecApplyConfiguration) WithMaxPrefixLength ¶

WithMaxPrefixLength sets the MaxPrefixLength field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxPrefixLength field is set to the value of the last call.

func (*SubnetPoolResourceSpecApplyConfiguration) WithMinPrefixLength ¶

WithMinPrefixLength sets the MinPrefixLength field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MinPrefixLength field is set to the value of the last call.

func (*SubnetPoolResourceSpecApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*SubnetPoolResourceSpecApplyConfiguration) WithPrefixes ¶

WithPrefixes adds the given value to the Prefixes 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 Prefixes field.

func (*SubnetPoolResourceSpecApplyConfiguration) WithProjectRef ¶

WithProjectRef sets the ProjectRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectRef field is set to the value of the last call.

func (*SubnetPoolResourceSpecApplyConfiguration) WithShared ¶

WithShared sets the Shared field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Shared field is set to the value of the last call.

func (*SubnetPoolResourceSpecApplyConfiguration) WithTags ¶

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.

type SubnetPoolResourceStatusApplyConfiguration ¶

type SubnetPoolResourceStatusApplyConfiguration struct {
	Name                                    *string  `json:"name,omitempty"`
	Description                             *string  `json:"description,omitempty"`
	ProjectID                               *string  `json:"projectID,omitempty"`
	AddressScopeID                          *string  `json:"addressScopeID,omitempty"`
	Prefixes                                []string `json:"prefixes,omitempty"`
	MinPrefixLength                         *int32   `json:"minPrefixLength,omitempty"`
	MaxPrefixLength                         *int32   `json:"maxPrefixLength,omitempty"`
	DefaultPrefixLength                     *int32   `json:"defaultPrefixLength,omitempty"`
	IsDefault                               *bool    `json:"isDefault,omitempty"`
	Shared                                  *bool    `json:"shared,omitempty"`
	IPVersion                               *int32   `json:"ipVersion,omitempty"`
	Tags                                    []string `json:"tags,omitempty"`
	NeutronStatusMetadataApplyConfiguration `json:",inline"`
}

SubnetPoolResourceStatusApplyConfiguration represents a declarative configuration of the SubnetPoolResourceStatus type for use with apply.

func SubnetPoolResourceStatus ¶

func SubnetPoolResourceStatus() *SubnetPoolResourceStatusApplyConfiguration

SubnetPoolResourceStatusApplyConfiguration constructs a declarative configuration of the SubnetPoolResourceStatus type for use with apply.

func (*SubnetPoolResourceStatusApplyConfiguration) WithAddressScopeID ¶

WithAddressScopeID sets the AddressScopeID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AddressScopeID field is set to the value of the last call.

func (*SubnetPoolResourceStatusApplyConfiguration) WithCreatedAt ¶

WithCreatedAt sets the CreatedAt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreatedAt field is set to the value of the last call.

func (*SubnetPoolResourceStatusApplyConfiguration) WithDefaultPrefixLength ¶

WithDefaultPrefixLength sets the DefaultPrefixLength field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DefaultPrefixLength field is set to the value of the last call.

func (*SubnetPoolResourceStatusApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*SubnetPoolResourceStatusApplyConfiguration) WithIPVersion ¶

WithIPVersion sets the IPVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPVersion field is set to the value of the last call.

func (*SubnetPoolResourceStatusApplyConfiguration) WithIsDefault ¶

WithIsDefault sets the IsDefault field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IsDefault field is set to the value of the last call.

func (*SubnetPoolResourceStatusApplyConfiguration) WithMaxPrefixLength ¶

WithMaxPrefixLength sets the MaxPrefixLength field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxPrefixLength field is set to the value of the last call.

func (*SubnetPoolResourceStatusApplyConfiguration) WithMinPrefixLength ¶

WithMinPrefixLength sets the MinPrefixLength field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MinPrefixLength field is set to the value of the last call.

func (*SubnetPoolResourceStatusApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*SubnetPoolResourceStatusApplyConfiguration) WithPrefixes ¶

WithPrefixes adds the given value to the Prefixes 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 Prefixes field.

func (*SubnetPoolResourceStatusApplyConfiguration) WithProjectID ¶

WithProjectID sets the ProjectID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectID field is set to the value of the last call.

func (*SubnetPoolResourceStatusApplyConfiguration) WithRevisionNumber ¶

WithRevisionNumber sets the RevisionNumber field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RevisionNumber field is set to the value of the last call.

func (*SubnetPoolResourceStatusApplyConfiguration) WithShared ¶

WithShared sets the Shared field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Shared field is set to the value of the last call.

func (*SubnetPoolResourceStatusApplyConfiguration) WithTags ¶

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 (*SubnetPoolResourceStatusApplyConfiguration) WithUpdatedAt ¶

WithUpdatedAt sets the UpdatedAt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UpdatedAt field is set to the value of the last call.

type SubnetPoolSpecApplyConfiguration ¶

type SubnetPoolSpecApplyConfiguration struct {
	Import              *SubnetPoolImportApplyConfiguration          `json:"import,omitempty"`
	Resource            *SubnetPoolResourceSpecApplyConfiguration    `json:"resource,omitempty"`
	ManagementPolicy    *apiv1alpha1.ManagementPolicy                `json:"managementPolicy,omitempty"`
	ManagedOptions      *ManagedOptionsApplyConfiguration            `json:"managedOptions,omitempty"`
	ResyncPeriod        *v1.Duration                                 `json:"resyncPeriod,omitempty"`
	CloudCredentialsRef *CloudCredentialsReferenceApplyConfiguration `json:"cloudCredentialsRef,omitempty"`
}

SubnetPoolSpecApplyConfiguration represents a declarative configuration of the SubnetPoolSpec type for use with apply.

func SubnetPoolSpec ¶

func SubnetPoolSpec() *SubnetPoolSpecApplyConfiguration

SubnetPoolSpecApplyConfiguration constructs a declarative configuration of the SubnetPoolSpec type for use with apply.

func (*SubnetPoolSpecApplyConfiguration) WithCloudCredentialsRef ¶

WithCloudCredentialsRef sets the CloudCredentialsRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CloudCredentialsRef field is set to the value of the last call.

func (*SubnetPoolSpecApplyConfiguration) WithImport ¶

WithImport sets the Import field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Import field is set to the value of the last call.

func (*SubnetPoolSpecApplyConfiguration) WithManagedOptions ¶

WithManagedOptions sets the ManagedOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagedOptions field is set to the value of the last call.

func (*SubnetPoolSpecApplyConfiguration) WithManagementPolicy ¶

WithManagementPolicy sets the ManagementPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementPolicy field is set to the value of the last call.

func (*SubnetPoolSpecApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

func (*SubnetPoolSpecApplyConfiguration) WithResyncPeriod ¶

WithResyncPeriod sets the ResyncPeriod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResyncPeriod field is set to the value of the last call.

type SubnetPoolStatusApplyConfiguration ¶

type SubnetPoolStatusApplyConfiguration struct {
	Conditions   []v1.ConditionApplyConfiguration            `json:"conditions,omitempty"`
	ID           *string                                     `json:"id,omitempty"`
	Resource     *SubnetPoolResourceStatusApplyConfiguration `json:"resource,omitempty"`
	LastSyncTime *metav1.Time                                `json:"lastSyncTime,omitempty"`
}

SubnetPoolStatusApplyConfiguration represents a declarative configuration of the SubnetPoolStatus type for use with apply.

func SubnetPoolStatus ¶

func SubnetPoolStatus() *SubnetPoolStatusApplyConfiguration

SubnetPoolStatusApplyConfiguration constructs a declarative configuration of the SubnetPoolStatus type for use with apply.

func (*SubnetPoolStatusApplyConfiguration) WithConditions ¶

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*SubnetPoolStatusApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*SubnetPoolStatusApplyConfiguration) WithLastSyncTime ¶

WithLastSyncTime sets the LastSyncTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastSyncTime field is set to the value of the last call.

func (*SubnetPoolStatusApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

type SubnetResourceSpecApplyConfiguration ¶

type SubnetResourceSpecApplyConfiguration struct {
	Name              *apiv1alpha1.OpenStackName         `json:"name,omitempty"`
	Description       *apiv1alpha1.NeutronDescription    `json:"description,omitempty"`
	NetworkRef        *apiv1alpha1.KubernetesNameRef     `json:"networkRef,omitempty"`
	Tags              []apiv1alpha1.NeutronTag           `json:"tags,omitempty"`
	IPVersion         *apiv1alpha1.IPVersion             `json:"ipVersion,omitempty"`
	CIDR              *apiv1alpha1.CIDR                  `json:"cidr,omitempty"`
	AllocationPools   []AllocationPoolApplyConfiguration `json:"allocationPools,omitempty"`
	Gateway           *SubnetGatewayApplyConfiguration   `json:"gateway,omitempty"`
	EnableDHCP        *bool                              `json:"enableDHCP,omitempty"`
	DNSNameservers    []apiv1alpha1.IPvAny               `json:"dnsNameservers,omitempty"`
	DNSPublishFixedIP *bool                              `json:"dnsPublishFixedIP,omitempty"`
	HostRoutes        []HostRouteApplyConfiguration      `json:"hostRoutes,omitempty"`
	IPv6              *IPv6OptionsApplyConfiguration     `json:"ipv6,omitempty"`
	RouterRef         *apiv1alpha1.KubernetesNameRef     `json:"routerRef,omitempty"`
	ProjectRef        *apiv1alpha1.KubernetesNameRef     `json:"projectRef,omitempty"`
}

SubnetResourceSpecApplyConfiguration represents a declarative configuration of the SubnetResourceSpec type for use with apply.

func SubnetResourceSpec ¶

func SubnetResourceSpec() *SubnetResourceSpecApplyConfiguration

SubnetResourceSpecApplyConfiguration constructs a declarative configuration of the SubnetResourceSpec type for use with apply.

func (*SubnetResourceSpecApplyConfiguration) WithAllocationPools ¶

WithAllocationPools adds the given value to the AllocationPools 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 AllocationPools field.

func (*SubnetResourceSpecApplyConfiguration) WithCIDR ¶

WithCIDR sets the CIDR field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CIDR field is set to the value of the last call.

func (*SubnetResourceSpecApplyConfiguration) WithDNSNameservers ¶

WithDNSNameservers adds the given value to the DNSNameservers 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 DNSNameservers field.

func (*SubnetResourceSpecApplyConfiguration) WithDNSPublishFixedIP ¶

WithDNSPublishFixedIP sets the DNSPublishFixedIP field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DNSPublishFixedIP field is set to the value of the last call.

func (*SubnetResourceSpecApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*SubnetResourceSpecApplyConfiguration) WithEnableDHCP ¶

WithEnableDHCP sets the EnableDHCP field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EnableDHCP field is set to the value of the last call.

func (*SubnetResourceSpecApplyConfiguration) WithGateway ¶

WithGateway sets the Gateway field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Gateway field is set to the value of the last call.

func (*SubnetResourceSpecApplyConfiguration) WithHostRoutes ¶

WithHostRoutes adds the given value to the HostRoutes 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 HostRoutes field.

func (*SubnetResourceSpecApplyConfiguration) WithIPVersion ¶

WithIPVersion sets the IPVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPVersion field is set to the value of the last call.

func (*SubnetResourceSpecApplyConfiguration) WithIPv6 ¶

WithIPv6 sets the IPv6 field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPv6 field is set to the value of the last call.

func (*SubnetResourceSpecApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*SubnetResourceSpecApplyConfiguration) WithNetworkRef ¶

WithNetworkRef sets the NetworkRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NetworkRef field is set to the value of the last call.

func (*SubnetResourceSpecApplyConfiguration) WithProjectRef ¶

WithProjectRef sets the ProjectRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectRef field is set to the value of the last call.

func (*SubnetResourceSpecApplyConfiguration) WithRouterRef ¶

WithRouterRef sets the RouterRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RouterRef field is set to the value of the last call.

func (*SubnetResourceSpecApplyConfiguration) WithTags ¶

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.

type SubnetResourceStatusApplyConfiguration ¶

type SubnetResourceStatusApplyConfiguration struct {
	Name                                    *string                                  `json:"name,omitempty"`
	Description                             *string                                  `json:"description,omitempty"`
	IPVersion                               *int32                                   `json:"ipVersion,omitempty"`
	CIDR                                    *string                                  `json:"cidr,omitempty"`
	GatewayIP                               *string                                  `json:"gatewayIP,omitempty"`
	DNSNameservers                          []string                                 `json:"dnsNameservers,omitempty"`
	DNSPublishFixedIP                       *bool                                    `json:"dnsPublishFixedIP,omitempty"`
	AllocationPools                         []AllocationPoolStatusApplyConfiguration `json:"allocationPools,omitempty"`
	HostRoutes                              []HostRouteStatusApplyConfiguration      `json:"hostRoutes,omitempty"`
	EnableDHCP                              *bool                                    `json:"enableDHCP,omitempty"`
	NetworkID                               *string                                  `json:"networkID,omitempty"`
	ProjectID                               *string                                  `json:"projectID,omitempty"`
	IPv6AddressMode                         *string                                  `json:"ipv6AddressMode,omitempty"`
	IPv6RAMode                              *string                                  `json:"ipv6RAMode,omitempty"`
	SubnetPoolID                            *string                                  `json:"subnetPoolID,omitempty"`
	Tags                                    []string                                 `json:"tags,omitempty"`
	NeutronStatusMetadataApplyConfiguration `json:",inline"`
}

SubnetResourceStatusApplyConfiguration represents a declarative configuration of the SubnetResourceStatus type for use with apply.

func SubnetResourceStatus ¶

func SubnetResourceStatus() *SubnetResourceStatusApplyConfiguration

SubnetResourceStatusApplyConfiguration constructs a declarative configuration of the SubnetResourceStatus type for use with apply.

func (*SubnetResourceStatusApplyConfiguration) WithAllocationPools ¶

WithAllocationPools adds the given value to the AllocationPools 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 AllocationPools field.

func (*SubnetResourceStatusApplyConfiguration) WithCIDR ¶

WithCIDR sets the CIDR field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CIDR field is set to the value of the last call.

func (*SubnetResourceStatusApplyConfiguration) WithCreatedAt ¶

WithCreatedAt sets the CreatedAt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreatedAt field is set to the value of the last call.

func (*SubnetResourceStatusApplyConfiguration) WithDNSNameservers ¶

WithDNSNameservers adds the given value to the DNSNameservers 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 DNSNameservers field.

func (*SubnetResourceStatusApplyConfiguration) WithDNSPublishFixedIP ¶

WithDNSPublishFixedIP sets the DNSPublishFixedIP field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DNSPublishFixedIP field is set to the value of the last call.

func (*SubnetResourceStatusApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*SubnetResourceStatusApplyConfiguration) WithEnableDHCP ¶

WithEnableDHCP sets the EnableDHCP field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EnableDHCP field is set to the value of the last call.

func (*SubnetResourceStatusApplyConfiguration) WithGatewayIP ¶

WithGatewayIP sets the GatewayIP field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GatewayIP field is set to the value of the last call.

func (*SubnetResourceStatusApplyConfiguration) WithHostRoutes ¶

WithHostRoutes adds the given value to the HostRoutes 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 HostRoutes field.

func (*SubnetResourceStatusApplyConfiguration) WithIPVersion ¶

WithIPVersion sets the IPVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPVersion field is set to the value of the last call.

func (*SubnetResourceStatusApplyConfiguration) WithIPv6AddressMode ¶

WithIPv6AddressMode sets the IPv6AddressMode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPv6AddressMode field is set to the value of the last call.

func (*SubnetResourceStatusApplyConfiguration) WithIPv6RAMode ¶

WithIPv6RAMode sets the IPv6RAMode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPv6RAMode field is set to the value of the last call.

func (*SubnetResourceStatusApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*SubnetResourceStatusApplyConfiguration) WithNetworkID ¶

WithNetworkID sets the NetworkID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NetworkID field is set to the value of the last call.

func (*SubnetResourceStatusApplyConfiguration) WithProjectID ¶

WithProjectID sets the ProjectID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectID field is set to the value of the last call.

func (*SubnetResourceStatusApplyConfiguration) WithRevisionNumber ¶

WithRevisionNumber sets the RevisionNumber field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RevisionNumber field is set to the value of the last call.

func (*SubnetResourceStatusApplyConfiguration) WithSubnetPoolID ¶

WithSubnetPoolID sets the SubnetPoolID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SubnetPoolID field is set to the value of the last call.

func (*SubnetResourceStatusApplyConfiguration) WithTags ¶

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 (*SubnetResourceStatusApplyConfiguration) WithUpdatedAt ¶

WithUpdatedAt sets the UpdatedAt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UpdatedAt field is set to the value of the last call.

type SubnetSpecApplyConfiguration ¶

type SubnetSpecApplyConfiguration struct {
	Import              *SubnetImportApplyConfiguration              `json:"import,omitempty"`
	Resource            *SubnetResourceSpecApplyConfiguration        `json:"resource,omitempty"`
	ManagementPolicy    *apiv1alpha1.ManagementPolicy                `json:"managementPolicy,omitempty"`
	ManagedOptions      *ManagedOptionsApplyConfiguration            `json:"managedOptions,omitempty"`
	ResyncPeriod        *v1.Duration                                 `json:"resyncPeriod,omitempty"`
	CloudCredentialsRef *CloudCredentialsReferenceApplyConfiguration `json:"cloudCredentialsRef,omitempty"`
}

SubnetSpecApplyConfiguration represents a declarative configuration of the SubnetSpec type for use with apply.

func SubnetSpec ¶

func SubnetSpec() *SubnetSpecApplyConfiguration

SubnetSpecApplyConfiguration constructs a declarative configuration of the SubnetSpec type for use with apply.

func (*SubnetSpecApplyConfiguration) WithCloudCredentialsRef ¶

WithCloudCredentialsRef sets the CloudCredentialsRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CloudCredentialsRef field is set to the value of the last call.

func (*SubnetSpecApplyConfiguration) WithImport ¶

WithImport sets the Import field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Import field is set to the value of the last call.

func (*SubnetSpecApplyConfiguration) WithManagedOptions ¶

WithManagedOptions sets the ManagedOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagedOptions field is set to the value of the last call.

func (*SubnetSpecApplyConfiguration) WithManagementPolicy ¶

WithManagementPolicy sets the ManagementPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementPolicy field is set to the value of the last call.

func (*SubnetSpecApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

func (*SubnetSpecApplyConfiguration) WithResyncPeriod ¶

WithResyncPeriod sets the ResyncPeriod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResyncPeriod field is set to the value of the last call.

type SubnetStatusApplyConfiguration ¶

type SubnetStatusApplyConfiguration struct {
	Conditions   []v1.ConditionApplyConfiguration        `json:"conditions,omitempty"`
	ID           *string                                 `json:"id,omitempty"`
	Resource     *SubnetResourceStatusApplyConfiguration `json:"resource,omitempty"`
	LastSyncTime *metav1.Time                            `json:"lastSyncTime,omitempty"`
}

SubnetStatusApplyConfiguration represents a declarative configuration of the SubnetStatus type for use with apply.

func SubnetStatus ¶

func SubnetStatus() *SubnetStatusApplyConfiguration

SubnetStatusApplyConfiguration constructs a declarative configuration of the SubnetStatus type for use with apply.

func (*SubnetStatusApplyConfiguration) WithConditions ¶

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*SubnetStatusApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*SubnetStatusApplyConfiguration) WithLastSyncTime ¶

WithLastSyncTime sets the LastSyncTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastSyncTime field is set to the value of the last call.

func (*SubnetStatusApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

type TrunkApplyConfiguration ¶

type TrunkApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *TrunkSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *TrunkStatusApplyConfiguration `json:"status,omitempty"`
}

TrunkApplyConfiguration represents a declarative configuration of the Trunk type for use with apply.

func ExtractTrunk ¶

func ExtractTrunk(trunk *apiv1alpha1.Trunk, fieldManager string) (*TrunkApplyConfiguration, error)

ExtractTrunk extracts the applied configuration owned by fieldManager from trunk. If no managedFields are found in trunk for fieldManager, a TrunkApplyConfiguration 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. trunk must be a unmodified Trunk API object that was retrieved from the Kubernetes API. ExtractTrunk 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 ExtractTrunkStatus ¶

func ExtractTrunkStatus(trunk *apiv1alpha1.Trunk, fieldManager string) (*TrunkApplyConfiguration, error)

ExtractTrunkStatus is the same as ExtractTrunk except that it extracts the status subresource applied configuration. Experimental!

func Trunk ¶

func Trunk(name, namespace string) *TrunkApplyConfiguration

Trunk constructs a declarative configuration of the Trunk type for use with apply.

func (*TrunkApplyConfiguration) GetAPIVersion ¶

func (b *TrunkApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*TrunkApplyConfiguration) GetKind ¶

func (b *TrunkApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*TrunkApplyConfiguration) GetName ¶

func (b *TrunkApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*TrunkApplyConfiguration) GetNamespace ¶

func (b *TrunkApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (TrunkApplyConfiguration) IsApplyConfiguration ¶

func (b TrunkApplyConfiguration) IsApplyConfiguration()

func (*TrunkApplyConfiguration) WithAPIVersion ¶

func (b *TrunkApplyConfiguration) WithAPIVersion(value string) *TrunkApplyConfiguration

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 (*TrunkApplyConfiguration) WithAnnotations ¶

func (b *TrunkApplyConfiguration) WithAnnotations(entries map[string]string) *TrunkApplyConfiguration

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 (*TrunkApplyConfiguration) WithCreationTimestamp ¶

func (b *TrunkApplyConfiguration) WithCreationTimestamp(value metav1.Time) *TrunkApplyConfiguration

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 (*TrunkApplyConfiguration) WithDeletionGracePeriodSeconds ¶

func (b *TrunkApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *TrunkApplyConfiguration

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 (*TrunkApplyConfiguration) WithDeletionTimestamp ¶

func (b *TrunkApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *TrunkApplyConfiguration

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 (*TrunkApplyConfiguration) WithFinalizers ¶

func (b *TrunkApplyConfiguration) WithFinalizers(values ...string) *TrunkApplyConfiguration

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 (*TrunkApplyConfiguration) WithGenerateName ¶

func (b *TrunkApplyConfiguration) WithGenerateName(value string) *TrunkApplyConfiguration

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 (*TrunkApplyConfiguration) WithGeneration ¶

func (b *TrunkApplyConfiguration) WithGeneration(value int64) *TrunkApplyConfiguration

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 (*TrunkApplyConfiguration) WithKind ¶

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*TrunkApplyConfiguration) WithLabels ¶

func (b *TrunkApplyConfiguration) WithLabels(entries map[string]string) *TrunkApplyConfiguration

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 (*TrunkApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*TrunkApplyConfiguration) WithNamespace ¶

func (b *TrunkApplyConfiguration) WithNamespace(value string) *TrunkApplyConfiguration

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 (*TrunkApplyConfiguration) WithOwnerReferences ¶

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*TrunkApplyConfiguration) WithResourceVersion ¶

func (b *TrunkApplyConfiguration) WithResourceVersion(value string) *TrunkApplyConfiguration

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 (*TrunkApplyConfiguration) WithSpec ¶

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*TrunkApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*TrunkApplyConfiguration) WithUID ¶

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type TrunkFilterApplyConfiguration ¶

type TrunkFilterApplyConfiguration struct {
	Name                                  *apiv1alpha1.OpenStackName      `json:"name,omitempty"`
	Description                           *apiv1alpha1.NeutronDescription `json:"description,omitempty"`
	PortRef                               *apiv1alpha1.KubernetesNameRef  `json:"portRef,omitempty"`
	ProjectRef                            *apiv1alpha1.KubernetesNameRef  `json:"projectRef,omitempty"`
	AdminStateUp                          *bool                           `json:"adminStateUp,omitempty"`
	FilterByNeutronTagsApplyConfiguration `json:",inline"`
}

TrunkFilterApplyConfiguration represents a declarative configuration of the TrunkFilter type for use with apply.

func TrunkFilter ¶

func TrunkFilter() *TrunkFilterApplyConfiguration

TrunkFilterApplyConfiguration constructs a declarative configuration of the TrunkFilter type for use with apply.

func (*TrunkFilterApplyConfiguration) WithAdminStateUp ¶

WithAdminStateUp sets the AdminStateUp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AdminStateUp field is set to the value of the last call.

func (*TrunkFilterApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*TrunkFilterApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*TrunkFilterApplyConfiguration) WithNotTags ¶

WithNotTags adds the given value to the NotTags 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 NotTags field.

func (*TrunkFilterApplyConfiguration) WithNotTagsAny ¶

WithNotTagsAny adds the given value to the NotTagsAny 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 NotTagsAny field.

func (*TrunkFilterApplyConfiguration) WithPortRef ¶

WithPortRef sets the PortRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PortRef field is set to the value of the last call.

func (*TrunkFilterApplyConfiguration) WithProjectRef ¶

WithProjectRef sets the ProjectRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectRef field is set to the value of the last call.

func (*TrunkFilterApplyConfiguration) WithTags ¶

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 (*TrunkFilterApplyConfiguration) WithTagsAny ¶

WithTagsAny adds the given value to the TagsAny 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 TagsAny field.

type TrunkImportApplyConfiguration ¶

type TrunkImportApplyConfiguration struct {
	ID     *string                        `json:"id,omitempty"`
	Filter *TrunkFilterApplyConfiguration `json:"filter,omitempty"`
}

TrunkImportApplyConfiguration represents a declarative configuration of the TrunkImport type for use with apply.

func TrunkImport ¶

func TrunkImport() *TrunkImportApplyConfiguration

TrunkImportApplyConfiguration constructs a declarative configuration of the TrunkImport type for use with apply.

func (*TrunkImportApplyConfiguration) WithFilter ¶

WithFilter sets the Filter field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Filter field is set to the value of the last call.

func (*TrunkImportApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

type TrunkResourceSpecApplyConfiguration ¶

type TrunkResourceSpecApplyConfiguration struct {
	Name         *apiv1alpha1.OpenStackName           `json:"name,omitempty"`
	Description  *apiv1alpha1.NeutronDescription      `json:"description,omitempty"`
	PortRef      *apiv1alpha1.KubernetesNameRef       `json:"portRef,omitempty"`
	ProjectRef   *apiv1alpha1.KubernetesNameRef       `json:"projectRef,omitempty"`
	AdminStateUp *bool                                `json:"adminStateUp,omitempty"`
	Subports     []TrunkSubportSpecApplyConfiguration `json:"subports,omitempty"`
	Tags         []apiv1alpha1.NeutronTag             `json:"tags,omitempty"`
}

TrunkResourceSpecApplyConfiguration represents a declarative configuration of the TrunkResourceSpec type for use with apply.

func TrunkResourceSpec ¶

func TrunkResourceSpec() *TrunkResourceSpecApplyConfiguration

TrunkResourceSpecApplyConfiguration constructs a declarative configuration of the TrunkResourceSpec type for use with apply.

func (*TrunkResourceSpecApplyConfiguration) WithAdminStateUp ¶

WithAdminStateUp sets the AdminStateUp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AdminStateUp field is set to the value of the last call.

func (*TrunkResourceSpecApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*TrunkResourceSpecApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*TrunkResourceSpecApplyConfiguration) WithPortRef ¶

WithPortRef sets the PortRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PortRef field is set to the value of the last call.

func (*TrunkResourceSpecApplyConfiguration) WithProjectRef ¶

WithProjectRef sets the ProjectRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectRef field is set to the value of the last call.

func (*TrunkResourceSpecApplyConfiguration) WithSubports ¶

WithSubports adds the given value to the Subports 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 Subports field.

func (*TrunkResourceSpecApplyConfiguration) WithTags ¶

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.

type TrunkResourceStatusApplyConfiguration ¶

type TrunkResourceStatusApplyConfiguration struct {
	Name                                    *string  `json:"name,omitempty"`
	Description                             *string  `json:"description,omitempty"`
	PortID                                  *string  `json:"portID,omitempty"`
	ProjectID                               *string  `json:"projectID,omitempty"`
	TenantID                                *string  `json:"tenantID,omitempty"`
	Status                                  *string  `json:"status,omitempty"`
	Tags                                    []string `json:"tags,omitempty"`
	NeutronStatusMetadataApplyConfiguration `json:",inline"`
	AdminStateUp                            *bool                                  `json:"adminStateUp,omitempty"`
	Subports                                []TrunkSubportStatusApplyConfiguration `json:"subports,omitempty"`
}

TrunkResourceStatusApplyConfiguration represents a declarative configuration of the TrunkResourceStatus type for use with apply.

func TrunkResourceStatus ¶

func TrunkResourceStatus() *TrunkResourceStatusApplyConfiguration

TrunkResourceStatusApplyConfiguration constructs a declarative configuration of the TrunkResourceStatus type for use with apply.

func (*TrunkResourceStatusApplyConfiguration) WithAdminStateUp ¶

WithAdminStateUp sets the AdminStateUp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AdminStateUp field is set to the value of the last call.

func (*TrunkResourceStatusApplyConfiguration) WithCreatedAt ¶

WithCreatedAt sets the CreatedAt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreatedAt field is set to the value of the last call.

func (*TrunkResourceStatusApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*TrunkResourceStatusApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*TrunkResourceStatusApplyConfiguration) WithPortID ¶

WithPortID sets the PortID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PortID field is set to the value of the last call.

func (*TrunkResourceStatusApplyConfiguration) WithProjectID ¶

WithProjectID sets the ProjectID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectID field is set to the value of the last call.

func (*TrunkResourceStatusApplyConfiguration) WithRevisionNumber ¶

WithRevisionNumber sets the RevisionNumber field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RevisionNumber field is set to the value of the last call.

func (*TrunkResourceStatusApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*TrunkResourceStatusApplyConfiguration) WithSubports ¶

WithSubports adds the given value to the Subports 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 Subports field.

func (*TrunkResourceStatusApplyConfiguration) WithTags ¶

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 (*TrunkResourceStatusApplyConfiguration) WithTenantID ¶

WithTenantID sets the TenantID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TenantID field is set to the value of the last call.

func (*TrunkResourceStatusApplyConfiguration) WithUpdatedAt ¶

WithUpdatedAt sets the UpdatedAt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UpdatedAt field is set to the value of the last call.

type TrunkSpecApplyConfiguration ¶

type TrunkSpecApplyConfiguration struct {
	Import              *TrunkImportApplyConfiguration               `json:"import,omitempty"`
	Resource            *TrunkResourceSpecApplyConfiguration         `json:"resource,omitempty"`
	ManagementPolicy    *apiv1alpha1.ManagementPolicy                `json:"managementPolicy,omitempty"`
	ManagedOptions      *ManagedOptionsApplyConfiguration            `json:"managedOptions,omitempty"`
	ResyncPeriod        *v1.Duration                                 `json:"resyncPeriod,omitempty"`
	CloudCredentialsRef *CloudCredentialsReferenceApplyConfiguration `json:"cloudCredentialsRef,omitempty"`
}

TrunkSpecApplyConfiguration represents a declarative configuration of the TrunkSpec type for use with apply.

func TrunkSpec ¶

func TrunkSpec() *TrunkSpecApplyConfiguration

TrunkSpecApplyConfiguration constructs a declarative configuration of the TrunkSpec type for use with apply.

func (*TrunkSpecApplyConfiguration) WithCloudCredentialsRef ¶

WithCloudCredentialsRef sets the CloudCredentialsRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CloudCredentialsRef field is set to the value of the last call.

func (*TrunkSpecApplyConfiguration) WithImport ¶

WithImport sets the Import field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Import field is set to the value of the last call.

func (*TrunkSpecApplyConfiguration) WithManagedOptions ¶

WithManagedOptions sets the ManagedOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagedOptions field is set to the value of the last call.

func (*TrunkSpecApplyConfiguration) WithManagementPolicy ¶

WithManagementPolicy sets the ManagementPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementPolicy field is set to the value of the last call.

func (*TrunkSpecApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

func (*TrunkSpecApplyConfiguration) WithResyncPeriod ¶

WithResyncPeriod sets the ResyncPeriod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResyncPeriod field is set to the value of the last call.

type TrunkStatusApplyConfiguration ¶

type TrunkStatusApplyConfiguration struct {
	Conditions   []v1.ConditionApplyConfiguration       `json:"conditions,omitempty"`
	ID           *string                                `json:"id,omitempty"`
	Resource     *TrunkResourceStatusApplyConfiguration `json:"resource,omitempty"`
	LastSyncTime *metav1.Time                           `json:"lastSyncTime,omitempty"`
}

TrunkStatusApplyConfiguration represents a declarative configuration of the TrunkStatus type for use with apply.

func TrunkStatus ¶

func TrunkStatus() *TrunkStatusApplyConfiguration

TrunkStatusApplyConfiguration constructs a declarative configuration of the TrunkStatus type for use with apply.

func (*TrunkStatusApplyConfiguration) WithConditions ¶

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*TrunkStatusApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*TrunkStatusApplyConfiguration) WithLastSyncTime ¶

WithLastSyncTime sets the LastSyncTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastSyncTime field is set to the value of the last call.

func (*TrunkStatusApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

type TrunkSubportSpecApplyConfiguration ¶

type TrunkSubportSpecApplyConfiguration struct {
	PortRef          *apiv1alpha1.KubernetesNameRef `json:"portRef,omitempty"`
	SegmentationID   *int32                         `json:"segmentationID,omitempty"`
	SegmentationType *string                        `json:"segmentationType,omitempty"`
}

TrunkSubportSpecApplyConfiguration represents a declarative configuration of the TrunkSubportSpec type for use with apply.

func TrunkSubportSpec ¶

func TrunkSubportSpec() *TrunkSubportSpecApplyConfiguration

TrunkSubportSpecApplyConfiguration constructs a declarative configuration of the TrunkSubportSpec type for use with apply.

func (*TrunkSubportSpecApplyConfiguration) WithPortRef ¶

WithPortRef sets the PortRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PortRef field is set to the value of the last call.

func (*TrunkSubportSpecApplyConfiguration) WithSegmentationID ¶

WithSegmentationID sets the SegmentationID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SegmentationID field is set to the value of the last call.

func (*TrunkSubportSpecApplyConfiguration) WithSegmentationType ¶

WithSegmentationType sets the SegmentationType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SegmentationType field is set to the value of the last call.

type TrunkSubportStatusApplyConfiguration ¶

type TrunkSubportStatusApplyConfiguration struct {
	PortID           *string `json:"portID,omitempty"`
	SegmentationID   *int32  `json:"segmentationID,omitempty"`
	SegmentationType *string `json:"segmentationType,omitempty"`
}

TrunkSubportStatusApplyConfiguration represents a declarative configuration of the TrunkSubportStatus type for use with apply.

func TrunkSubportStatus ¶

func TrunkSubportStatus() *TrunkSubportStatusApplyConfiguration

TrunkSubportStatusApplyConfiguration constructs a declarative configuration of the TrunkSubportStatus type for use with apply.

func (*TrunkSubportStatusApplyConfiguration) WithPortID ¶

WithPortID sets the PortID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PortID field is set to the value of the last call.

func (*TrunkSubportStatusApplyConfiguration) WithSegmentationID ¶

WithSegmentationID sets the SegmentationID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SegmentationID field is set to the value of the last call.

func (*TrunkSubportStatusApplyConfiguration) WithSegmentationType ¶

WithSegmentationType sets the SegmentationType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SegmentationType field is set to the value of the last call.

type UserApplyConfiguration ¶

type UserApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *UserSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *UserStatusApplyConfiguration `json:"status,omitempty"`
}

UserApplyConfiguration represents a declarative configuration of the User type for use with apply.

func ExtractUser ¶

func ExtractUser(user *apiv1alpha1.User, fieldManager string) (*UserApplyConfiguration, error)

ExtractUser extracts the applied configuration owned by fieldManager from user. If no managedFields are found in user for fieldManager, a UserApplyConfiguration 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. user must be a unmodified User API object that was retrieved from the Kubernetes API. ExtractUser 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 ExtractUserStatus ¶

func ExtractUserStatus(user *apiv1alpha1.User, fieldManager string) (*UserApplyConfiguration, error)

ExtractUserStatus is the same as ExtractUser except that it extracts the status subresource applied configuration. Experimental!

func User ¶

func User(name, namespace string) *UserApplyConfiguration

User constructs a declarative configuration of the User type for use with apply.

func (*UserApplyConfiguration) GetAPIVersion ¶

func (b *UserApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*UserApplyConfiguration) GetKind ¶

func (b *UserApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*UserApplyConfiguration) GetName ¶

func (b *UserApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*UserApplyConfiguration) GetNamespace ¶

func (b *UserApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (UserApplyConfiguration) IsApplyConfiguration ¶

func (b UserApplyConfiguration) IsApplyConfiguration()

func (*UserApplyConfiguration) WithAPIVersion ¶

func (b *UserApplyConfiguration) WithAPIVersion(value string) *UserApplyConfiguration

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 (*UserApplyConfiguration) WithAnnotations ¶

func (b *UserApplyConfiguration) WithAnnotations(entries map[string]string) *UserApplyConfiguration

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 (*UserApplyConfiguration) WithCreationTimestamp ¶

func (b *UserApplyConfiguration) WithCreationTimestamp(value metav1.Time) *UserApplyConfiguration

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 (*UserApplyConfiguration) WithDeletionGracePeriodSeconds ¶

func (b *UserApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *UserApplyConfiguration

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 (*UserApplyConfiguration) WithDeletionTimestamp ¶

func (b *UserApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *UserApplyConfiguration

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 (*UserApplyConfiguration) WithFinalizers ¶

func (b *UserApplyConfiguration) WithFinalizers(values ...string) *UserApplyConfiguration

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 (*UserApplyConfiguration) WithGenerateName ¶

func (b *UserApplyConfiguration) WithGenerateName(value string) *UserApplyConfiguration

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 (*UserApplyConfiguration) WithGeneration ¶

func (b *UserApplyConfiguration) WithGeneration(value int64) *UserApplyConfiguration

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 (*UserApplyConfiguration) WithKind ¶

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*UserApplyConfiguration) WithLabels ¶

func (b *UserApplyConfiguration) WithLabels(entries map[string]string) *UserApplyConfiguration

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 (*UserApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*UserApplyConfiguration) WithNamespace ¶

func (b *UserApplyConfiguration) WithNamespace(value string) *UserApplyConfiguration

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 (*UserApplyConfiguration) WithOwnerReferences ¶

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*UserApplyConfiguration) WithResourceVersion ¶

func (b *UserApplyConfiguration) WithResourceVersion(value string) *UserApplyConfiguration

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 (*UserApplyConfiguration) WithSpec ¶

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*UserApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*UserApplyConfiguration) WithUID ¶

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type UserDataSpecApplyConfiguration ¶

type UserDataSpecApplyConfiguration struct {
	SecretRef *apiv1alpha1.KubernetesNameRef `json:"secretRef,omitempty"`
}

UserDataSpecApplyConfiguration represents a declarative configuration of the UserDataSpec type for use with apply.

func UserDataSpec ¶

func UserDataSpec() *UserDataSpecApplyConfiguration

UserDataSpecApplyConfiguration constructs a declarative configuration of the UserDataSpec type for use with apply.

func (*UserDataSpecApplyConfiguration) WithSecretRef ¶

WithSecretRef sets the SecretRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SecretRef field is set to the value of the last call.

type UserFilterApplyConfiguration ¶

type UserFilterApplyConfiguration struct {
	Name      *apiv1alpha1.OpenStackName     `json:"name,omitempty"`
	DomainRef *apiv1alpha1.KubernetesNameRef `json:"domainRef,omitempty"`
}

UserFilterApplyConfiguration represents a declarative configuration of the UserFilter type for use with apply.

func UserFilter ¶

func UserFilter() *UserFilterApplyConfiguration

UserFilterApplyConfiguration constructs a declarative configuration of the UserFilter type for use with apply.

func (*UserFilterApplyConfiguration) WithDomainRef ¶

WithDomainRef sets the DomainRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DomainRef field is set to the value of the last call.

func (*UserFilterApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

type UserImportApplyConfiguration ¶

type UserImportApplyConfiguration struct {
	ID     *string                       `json:"id,omitempty"`
	Filter *UserFilterApplyConfiguration `json:"filter,omitempty"`
}

UserImportApplyConfiguration represents a declarative configuration of the UserImport type for use with apply.

func UserImport ¶

func UserImport() *UserImportApplyConfiguration

UserImportApplyConfiguration constructs a declarative configuration of the UserImport type for use with apply.

func (*UserImportApplyConfiguration) WithFilter ¶

WithFilter sets the Filter field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Filter field is set to the value of the last call.

func (*UserImportApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

type UserResourceSpecApplyConfiguration ¶

type UserResourceSpecApplyConfiguration struct {
	Name              *apiv1alpha1.OpenStackName     `json:"name,omitempty"`
	Description       *string                        `json:"description,omitempty"`
	DomainRef         *apiv1alpha1.KubernetesNameRef `json:"domainRef,omitempty"`
	DefaultProjectRef *apiv1alpha1.KubernetesNameRef `json:"defaultProjectRef,omitempty"`
	Enabled           *bool                          `json:"enabled,omitempty"`
	PasswordRef       *apiv1alpha1.KubernetesNameRef `json:"passwordRef,omitempty"`
}

UserResourceSpecApplyConfiguration represents a declarative configuration of the UserResourceSpec type for use with apply.

func UserResourceSpec ¶

func UserResourceSpec() *UserResourceSpecApplyConfiguration

UserResourceSpecApplyConfiguration constructs a declarative configuration of the UserResourceSpec type for use with apply.

func (*UserResourceSpecApplyConfiguration) WithDefaultProjectRef ¶

WithDefaultProjectRef sets the DefaultProjectRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DefaultProjectRef field is set to the value of the last call.

func (*UserResourceSpecApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*UserResourceSpecApplyConfiguration) WithDomainRef ¶

WithDomainRef sets the DomainRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DomainRef field is set to the value of the last call.

func (*UserResourceSpecApplyConfiguration) WithEnabled ¶

WithEnabled sets the Enabled field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Enabled field is set to the value of the last call.

func (*UserResourceSpecApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*UserResourceSpecApplyConfiguration) WithPasswordRef ¶

WithPasswordRef sets the PasswordRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PasswordRef field is set to the value of the last call.

type UserResourceStatusApplyConfiguration ¶

type UserResourceStatusApplyConfiguration struct {
	Name               *string `json:"name,omitempty"`
	Description        *string `json:"description,omitempty"`
	DomainID           *string `json:"domainID,omitempty"`
	DefaultProjectID   *string `json:"defaultProjectID,omitempty"`
	Enabled            *bool   `json:"enabled,omitempty"`
	PasswordExpiresAt  *string `json:"passwordExpiresAt,omitempty"`
	AppliedPasswordRef *string `json:"appliedPasswordRef,omitempty"`
}

UserResourceStatusApplyConfiguration represents a declarative configuration of the UserResourceStatus type for use with apply.

func UserResourceStatus ¶

func UserResourceStatus() *UserResourceStatusApplyConfiguration

UserResourceStatusApplyConfiguration constructs a declarative configuration of the UserResourceStatus type for use with apply.

func (*UserResourceStatusApplyConfiguration) WithAppliedPasswordRef ¶

WithAppliedPasswordRef sets the AppliedPasswordRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AppliedPasswordRef field is set to the value of the last call.

func (*UserResourceStatusApplyConfiguration) WithDefaultProjectID ¶

WithDefaultProjectID sets the DefaultProjectID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DefaultProjectID field is set to the value of the last call.

func (*UserResourceStatusApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*UserResourceStatusApplyConfiguration) WithDomainID ¶

WithDomainID sets the DomainID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DomainID field is set to the value of the last call.

func (*UserResourceStatusApplyConfiguration) WithEnabled ¶

WithEnabled sets the Enabled field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Enabled field is set to the value of the last call.

func (*UserResourceStatusApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*UserResourceStatusApplyConfiguration) WithPasswordExpiresAt ¶

WithPasswordExpiresAt sets the PasswordExpiresAt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PasswordExpiresAt field is set to the value of the last call.

type UserSpecApplyConfiguration ¶

type UserSpecApplyConfiguration struct {
	Import              *UserImportApplyConfiguration                `json:"import,omitempty"`
	Resource            *UserResourceSpecApplyConfiguration          `json:"resource,omitempty"`
	ManagementPolicy    *apiv1alpha1.ManagementPolicy                `json:"managementPolicy,omitempty"`
	ManagedOptions      *ManagedOptionsApplyConfiguration            `json:"managedOptions,omitempty"`
	ResyncPeriod        *v1.Duration                                 `json:"resyncPeriod,omitempty"`
	CloudCredentialsRef *CloudCredentialsReferenceApplyConfiguration `json:"cloudCredentialsRef,omitempty"`
}

UserSpecApplyConfiguration represents a declarative configuration of the UserSpec type for use with apply.

func UserSpec ¶

func UserSpec() *UserSpecApplyConfiguration

UserSpecApplyConfiguration constructs a declarative configuration of the UserSpec type for use with apply.

func (*UserSpecApplyConfiguration) WithCloudCredentialsRef ¶

WithCloudCredentialsRef sets the CloudCredentialsRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CloudCredentialsRef field is set to the value of the last call.

func (*UserSpecApplyConfiguration) WithImport ¶

WithImport sets the Import field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Import field is set to the value of the last call.

func (*UserSpecApplyConfiguration) WithManagedOptions ¶

WithManagedOptions sets the ManagedOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagedOptions field is set to the value of the last call.

func (*UserSpecApplyConfiguration) WithManagementPolicy ¶

WithManagementPolicy sets the ManagementPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementPolicy field is set to the value of the last call.

func (*UserSpecApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

func (*UserSpecApplyConfiguration) WithResyncPeriod ¶

WithResyncPeriod sets the ResyncPeriod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResyncPeriod field is set to the value of the last call.

type UserStatusApplyConfiguration ¶

type UserStatusApplyConfiguration struct {
	Conditions   []v1.ConditionApplyConfiguration      `json:"conditions,omitempty"`
	ID           *string                               `json:"id,omitempty"`
	Resource     *UserResourceStatusApplyConfiguration `json:"resource,omitempty"`
	LastSyncTime *metav1.Time                          `json:"lastSyncTime,omitempty"`
}

UserStatusApplyConfiguration represents a declarative configuration of the UserStatus type for use with apply.

func UserStatus ¶

func UserStatus() *UserStatusApplyConfiguration

UserStatusApplyConfiguration constructs a declarative configuration of the UserStatus type for use with apply.

func (*UserStatusApplyConfiguration) WithConditions ¶

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*UserStatusApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*UserStatusApplyConfiguration) WithLastSyncTime ¶

WithLastSyncTime sets the LastSyncTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastSyncTime field is set to the value of the last call.

func (*UserStatusApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

type VolumeApplyConfiguration ¶

type VolumeApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *VolumeSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *VolumeStatusApplyConfiguration `json:"status,omitempty"`
}

VolumeApplyConfiguration represents a declarative configuration of the Volume type for use with apply.

func ExtractVolume ¶

func ExtractVolume(volume *apiv1alpha1.Volume, fieldManager string) (*VolumeApplyConfiguration, error)

ExtractVolume extracts the applied configuration owned by fieldManager from volume. If no managedFields are found in volume for fieldManager, a VolumeApplyConfiguration 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. volume must be a unmodified Volume API object that was retrieved from the Kubernetes API. ExtractVolume 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 ExtractVolumeStatus ¶

func ExtractVolumeStatus(volume *apiv1alpha1.Volume, fieldManager string) (*VolumeApplyConfiguration, error)

ExtractVolumeStatus is the same as ExtractVolume except that it extracts the status subresource applied configuration. Experimental!

func Volume ¶

func Volume(name, namespace string) *VolumeApplyConfiguration

Volume constructs a declarative configuration of the Volume type for use with apply.

func (*VolumeApplyConfiguration) GetAPIVersion ¶

func (b *VolumeApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*VolumeApplyConfiguration) GetKind ¶

func (b *VolumeApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*VolumeApplyConfiguration) GetName ¶

func (b *VolumeApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*VolumeApplyConfiguration) GetNamespace ¶

func (b *VolumeApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (VolumeApplyConfiguration) IsApplyConfiguration ¶

func (b VolumeApplyConfiguration) IsApplyConfiguration()

func (*VolumeApplyConfiguration) WithAPIVersion ¶

func (b *VolumeApplyConfiguration) WithAPIVersion(value string) *VolumeApplyConfiguration

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 (*VolumeApplyConfiguration) WithAnnotations ¶

func (b *VolumeApplyConfiguration) WithAnnotations(entries map[string]string) *VolumeApplyConfiguration

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 (*VolumeApplyConfiguration) WithCreationTimestamp ¶

func (b *VolumeApplyConfiguration) WithCreationTimestamp(value metav1.Time) *VolumeApplyConfiguration

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 (*VolumeApplyConfiguration) WithDeletionGracePeriodSeconds ¶

func (b *VolumeApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *VolumeApplyConfiguration

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 (*VolumeApplyConfiguration) WithDeletionTimestamp ¶

func (b *VolumeApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *VolumeApplyConfiguration

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 (*VolumeApplyConfiguration) WithFinalizers ¶

func (b *VolumeApplyConfiguration) WithFinalizers(values ...string) *VolumeApplyConfiguration

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 (*VolumeApplyConfiguration) WithGenerateName ¶

func (b *VolumeApplyConfiguration) WithGenerateName(value string) *VolumeApplyConfiguration

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 (*VolumeApplyConfiguration) WithGeneration ¶

func (b *VolumeApplyConfiguration) WithGeneration(value int64) *VolumeApplyConfiguration

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 (*VolumeApplyConfiguration) WithKind ¶

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*VolumeApplyConfiguration) WithLabels ¶

func (b *VolumeApplyConfiguration) WithLabels(entries map[string]string) *VolumeApplyConfiguration

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 (*VolumeApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*VolumeApplyConfiguration) WithNamespace ¶

func (b *VolumeApplyConfiguration) WithNamespace(value string) *VolumeApplyConfiguration

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 (*VolumeApplyConfiguration) WithOwnerReferences ¶

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*VolumeApplyConfiguration) WithResourceVersion ¶

func (b *VolumeApplyConfiguration) WithResourceVersion(value string) *VolumeApplyConfiguration

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 (*VolumeApplyConfiguration) WithSpec ¶

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*VolumeApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*VolumeApplyConfiguration) WithUID ¶

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type VolumeAttachmentStatusApplyConfiguration ¶

type VolumeAttachmentStatusApplyConfiguration struct {
	AttachmentID *string  `json:"attachmentID,omitempty"`
	ServerID     *string  `json:"serverID,omitempty"`
	Device       *string  `json:"device,omitempty"`
	AttachedAt   *v1.Time `json:"attachedAt,omitempty"`
}

VolumeAttachmentStatusApplyConfiguration represents a declarative configuration of the VolumeAttachmentStatus type for use with apply.

func VolumeAttachmentStatus ¶

func VolumeAttachmentStatus() *VolumeAttachmentStatusApplyConfiguration

VolumeAttachmentStatusApplyConfiguration constructs a declarative configuration of the VolumeAttachmentStatus type for use with apply.

func (*VolumeAttachmentStatusApplyConfiguration) WithAttachedAt ¶

WithAttachedAt sets the AttachedAt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AttachedAt field is set to the value of the last call.

func (*VolumeAttachmentStatusApplyConfiguration) WithAttachmentID ¶

WithAttachmentID sets the AttachmentID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AttachmentID field is set to the value of the last call.

func (*VolumeAttachmentStatusApplyConfiguration) WithDevice ¶

WithDevice sets the Device field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Device field is set to the value of the last call.

func (*VolumeAttachmentStatusApplyConfiguration) WithServerID ¶

WithServerID sets the ServerID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServerID field is set to the value of the last call.

type VolumeFilterApplyConfiguration ¶

type VolumeFilterApplyConfiguration struct {
	Name             *apiv1alpha1.OpenStackName `json:"name,omitempty"`
	Description      *string                    `json:"description,omitempty"`
	Size             *int32                     `json:"size,omitempty"`
	AvailabilityZone *string                    `json:"availabilityZone,omitempty"`
}

VolumeFilterApplyConfiguration represents a declarative configuration of the VolumeFilter type for use with apply.

func VolumeFilter ¶

func VolumeFilter() *VolumeFilterApplyConfiguration

VolumeFilterApplyConfiguration constructs a declarative configuration of the VolumeFilter type for use with apply.

func (*VolumeFilterApplyConfiguration) WithAvailabilityZone ¶

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 (*VolumeFilterApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*VolumeFilterApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*VolumeFilterApplyConfiguration) WithSize ¶

WithSize sets the Size field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Size field is set to the value of the last call.

type VolumeImportApplyConfiguration ¶

type VolumeImportApplyConfiguration struct {
	ID     *string                         `json:"id,omitempty"`
	Filter *VolumeFilterApplyConfiguration `json:"filter,omitempty"`
}

VolumeImportApplyConfiguration represents a declarative configuration of the VolumeImport type for use with apply.

func VolumeImport ¶

func VolumeImport() *VolumeImportApplyConfiguration

VolumeImportApplyConfiguration constructs a declarative configuration of the VolumeImport type for use with apply.

func (*VolumeImportApplyConfiguration) WithFilter ¶

WithFilter sets the Filter field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Filter field is set to the value of the last call.

func (*VolumeImportApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

type VolumeMetadataApplyConfiguration ¶

type VolumeMetadataApplyConfiguration struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

VolumeMetadataApplyConfiguration represents a declarative configuration of the VolumeMetadata type for use with apply.

func VolumeMetadata ¶

func VolumeMetadata() *VolumeMetadataApplyConfiguration

VolumeMetadataApplyConfiguration constructs a declarative configuration of the VolumeMetadata type for use with apply.

func (*VolumeMetadataApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*VolumeMetadataApplyConfiguration) WithValue ¶

WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.

type VolumeMetadataStatusApplyConfiguration ¶

type VolumeMetadataStatusApplyConfiguration struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

VolumeMetadataStatusApplyConfiguration represents a declarative configuration of the VolumeMetadataStatus type for use with apply.

func VolumeMetadataStatus ¶

func VolumeMetadataStatus() *VolumeMetadataStatusApplyConfiguration

VolumeMetadataStatusApplyConfiguration constructs a declarative configuration of the VolumeMetadataStatus type for use with apply.

func (*VolumeMetadataStatusApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*VolumeMetadataStatusApplyConfiguration) WithValue ¶

WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.

type VolumeResourceSpecApplyConfiguration ¶

type VolumeResourceSpecApplyConfiguration struct {
	Name             *apiv1alpha1.OpenStackName         `json:"name,omitempty"`
	Description      *string                            `json:"description,omitempty"`
	Size             *int32                             `json:"size,omitempty"`
	VolumeTypeRef    *apiv1alpha1.KubernetesNameRef     `json:"volumeTypeRef,omitempty"`
	AvailabilityZone *string                            `json:"availabilityZone,omitempty"`
	Metadata         []VolumeMetadataApplyConfiguration `json:"metadata,omitempty"`
	ImageRef         *apiv1alpha1.KubernetesNameRef     `json:"imageRef,omitempty"`
}

VolumeResourceSpecApplyConfiguration represents a declarative configuration of the VolumeResourceSpec type for use with apply.

func VolumeResourceSpec ¶

func VolumeResourceSpec() *VolumeResourceSpecApplyConfiguration

VolumeResourceSpecApplyConfiguration constructs a declarative configuration of the VolumeResourceSpec type for use with apply.

func (*VolumeResourceSpecApplyConfiguration) WithAvailabilityZone ¶

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 (*VolumeResourceSpecApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*VolumeResourceSpecApplyConfiguration) WithImageRef ¶

WithImageRef sets the ImageRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ImageRef field is set to the value of the last call.

func (*VolumeResourceSpecApplyConfiguration) WithMetadata ¶

WithMetadata adds the given value to the Metadata 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 Metadata field.

func (*VolumeResourceSpecApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*VolumeResourceSpecApplyConfiguration) WithSize ¶

WithSize sets the Size field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Size field is set to the value of the last call.

func (*VolumeResourceSpecApplyConfiguration) WithVolumeTypeRef ¶

WithVolumeTypeRef sets the VolumeTypeRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VolumeTypeRef field is set to the value of the last call.

type VolumeResourceStatusApplyConfiguration ¶

type VolumeResourceStatusApplyConfiguration struct {
	Name               *string                                    `json:"name,omitempty"`
	Description        *string                                    `json:"description,omitempty"`
	Size               *int32                                     `json:"size,omitempty"`
	Status             *string                                    `json:"status,omitempty"`
	AvailabilityZone   *string                                    `json:"availabilityZone,omitempty"`
	Attachments        []VolumeAttachmentStatusApplyConfiguration `json:"attachments,omitempty"`
	VolumeType         *string                                    `json:"volumeType,omitempty"`
	SnapshotID         *string                                    `json:"snapshotID,omitempty"`
	SourceVolID        *string                                    `json:"sourceVolID,omitempty"`
	BackupID           *string                                    `json:"backupID,omitempty"`
	Metadata           []VolumeMetadataStatusApplyConfiguration   `json:"metadata,omitempty"`
	UserID             *string                                    `json:"userID,omitempty"`
	Bootable           *bool                                      `json:"bootable,omitempty"`
	ImageID            *string                                    `json:"imageID,omitempty"`
	Encrypted          *bool                                      `json:"encrypted,omitempty"`
	ReplicationStatus  *string                                    `json:"replicationStatus,omitempty"`
	ConsistencyGroupID *string                                    `json:"consistencyGroupID,omitempty"`
	Multiattach        *bool                                      `json:"multiattach,omitempty"`
	Host               *string                                    `json:"host,omitempty"`
	TenantID           *string                                    `json:"tenantID,omitempty"`
	CreatedAt          *v1.Time                                   `json:"createdAt,omitempty"`
	UpdatedAt          *v1.Time                                   `json:"updatedAt,omitempty"`
}

VolumeResourceStatusApplyConfiguration represents a declarative configuration of the VolumeResourceStatus type for use with apply.

func VolumeResourceStatus ¶

func VolumeResourceStatus() *VolumeResourceStatusApplyConfiguration

VolumeResourceStatusApplyConfiguration constructs a declarative configuration of the VolumeResourceStatus type for use with apply.

func (*VolumeResourceStatusApplyConfiguration) WithAttachments ¶

WithAttachments adds the given value to the Attachments 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 Attachments field.

func (*VolumeResourceStatusApplyConfiguration) WithAvailabilityZone ¶

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 (*VolumeResourceStatusApplyConfiguration) WithBackupID ¶

WithBackupID sets the BackupID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BackupID field is set to the value of the last call.

func (*VolumeResourceStatusApplyConfiguration) WithBootable ¶

WithBootable sets the Bootable field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Bootable field is set to the value of the last call.

func (*VolumeResourceStatusApplyConfiguration) WithConsistencyGroupID ¶

WithConsistencyGroupID sets the ConsistencyGroupID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ConsistencyGroupID field is set to the value of the last call.

func (*VolumeResourceStatusApplyConfiguration) WithCreatedAt ¶

WithCreatedAt sets the CreatedAt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreatedAt field is set to the value of the last call.

func (*VolumeResourceStatusApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*VolumeResourceStatusApplyConfiguration) WithEncrypted ¶

WithEncrypted sets the Encrypted field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Encrypted field is set to the value of the last call.

func (*VolumeResourceStatusApplyConfiguration) WithHost ¶

WithHost sets the Host field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Host field is set to the value of the last call.

func (*VolumeResourceStatusApplyConfiguration) WithImageID ¶

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 (*VolumeResourceStatusApplyConfiguration) WithMetadata ¶

WithMetadata adds the given value to the Metadata 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 Metadata field.

func (*VolumeResourceStatusApplyConfiguration) WithMultiattach ¶

WithMultiattach sets the Multiattach field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Multiattach field is set to the value of the last call.

func (*VolumeResourceStatusApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*VolumeResourceStatusApplyConfiguration) WithReplicationStatus ¶

WithReplicationStatus sets the ReplicationStatus field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReplicationStatus field is set to the value of the last call.

func (*VolumeResourceStatusApplyConfiguration) WithSize ¶

WithSize sets the Size field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Size field is set to the value of the last call.

func (*VolumeResourceStatusApplyConfiguration) WithSnapshotID ¶

WithSnapshotID sets the SnapshotID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SnapshotID field is set to the value of the last call.

func (*VolumeResourceStatusApplyConfiguration) WithSourceVolID ¶

WithSourceVolID sets the SourceVolID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SourceVolID field is set to the value of the last call.

func (*VolumeResourceStatusApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*VolumeResourceStatusApplyConfiguration) WithTenantID ¶

WithTenantID sets the TenantID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TenantID field is set to the value of the last call.

func (*VolumeResourceStatusApplyConfiguration) WithUpdatedAt ¶

WithUpdatedAt sets the UpdatedAt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UpdatedAt field is set to the value of the last call.

func (*VolumeResourceStatusApplyConfiguration) WithUserID ¶

WithUserID sets the UserID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UserID field is set to the value of the last call.

func (*VolumeResourceStatusApplyConfiguration) WithVolumeType ¶

WithVolumeType sets the VolumeType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VolumeType field is set to the value of the last call.

type VolumeSpecApplyConfiguration ¶

type VolumeSpecApplyConfiguration struct {
	Import              *VolumeImportApplyConfiguration              `json:"import,omitempty"`
	Resource            *VolumeResourceSpecApplyConfiguration        `json:"resource,omitempty"`
	ManagementPolicy    *apiv1alpha1.ManagementPolicy                `json:"managementPolicy,omitempty"`
	ManagedOptions      *ManagedOptionsApplyConfiguration            `json:"managedOptions,omitempty"`
	ResyncPeriod        *v1.Duration                                 `json:"resyncPeriod,omitempty"`
	CloudCredentialsRef *CloudCredentialsReferenceApplyConfiguration `json:"cloudCredentialsRef,omitempty"`
}

VolumeSpecApplyConfiguration represents a declarative configuration of the VolumeSpec type for use with apply.

func VolumeSpec ¶

func VolumeSpec() *VolumeSpecApplyConfiguration

VolumeSpecApplyConfiguration constructs a declarative configuration of the VolumeSpec type for use with apply.

func (*VolumeSpecApplyConfiguration) WithCloudCredentialsRef ¶

WithCloudCredentialsRef sets the CloudCredentialsRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CloudCredentialsRef field is set to the value of the last call.

func (*VolumeSpecApplyConfiguration) WithImport ¶

WithImport sets the Import field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Import field is set to the value of the last call.

func (*VolumeSpecApplyConfiguration) WithManagedOptions ¶

WithManagedOptions sets the ManagedOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagedOptions field is set to the value of the last call.

func (*VolumeSpecApplyConfiguration) WithManagementPolicy ¶

WithManagementPolicy sets the ManagementPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementPolicy field is set to the value of the last call.

func (*VolumeSpecApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

func (*VolumeSpecApplyConfiguration) WithResyncPeriod ¶

WithResyncPeriod sets the ResyncPeriod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResyncPeriod field is set to the value of the last call.

type VolumeStatusApplyConfiguration ¶

type VolumeStatusApplyConfiguration struct {
	Conditions   []v1.ConditionApplyConfiguration        `json:"conditions,omitempty"`
	ID           *string                                 `json:"id,omitempty"`
	Resource     *VolumeResourceStatusApplyConfiguration `json:"resource,omitempty"`
	LastSyncTime *metav1.Time                            `json:"lastSyncTime,omitempty"`
}

VolumeStatusApplyConfiguration represents a declarative configuration of the VolumeStatus type for use with apply.

func VolumeStatus ¶

func VolumeStatus() *VolumeStatusApplyConfiguration

VolumeStatusApplyConfiguration constructs a declarative configuration of the VolumeStatus type for use with apply.

func (*VolumeStatusApplyConfiguration) WithConditions ¶

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*VolumeStatusApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*VolumeStatusApplyConfiguration) WithLastSyncTime ¶

WithLastSyncTime sets the LastSyncTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastSyncTime field is set to the value of the last call.

func (*VolumeStatusApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

type VolumeTypeApplyConfiguration ¶

type VolumeTypeApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *VolumeTypeSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *VolumeTypeStatusApplyConfiguration `json:"status,omitempty"`
}

VolumeTypeApplyConfiguration represents a declarative configuration of the VolumeType type for use with apply.

func ExtractVolumeType ¶

func ExtractVolumeType(volumeType *apiv1alpha1.VolumeType, fieldManager string) (*VolumeTypeApplyConfiguration, error)

ExtractVolumeType extracts the applied configuration owned by fieldManager from volumeType. If no managedFields are found in volumeType for fieldManager, a VolumeTypeApplyConfiguration 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. volumeType must be a unmodified VolumeType API object that was retrieved from the Kubernetes API. ExtractVolumeType 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 ExtractVolumeTypeStatus ¶

func ExtractVolumeTypeStatus(volumeType *apiv1alpha1.VolumeType, fieldManager string) (*VolumeTypeApplyConfiguration, error)

ExtractVolumeTypeStatus is the same as ExtractVolumeType except that it extracts the status subresource applied configuration. Experimental!

func VolumeType ¶

func VolumeType(name, namespace string) *VolumeTypeApplyConfiguration

VolumeType constructs a declarative configuration of the VolumeType type for use with apply.

func (*VolumeTypeApplyConfiguration) GetAPIVersion ¶

func (b *VolumeTypeApplyConfiguration) GetAPIVersion() *string

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*VolumeTypeApplyConfiguration) GetKind ¶

func (b *VolumeTypeApplyConfiguration) GetKind() *string

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*VolumeTypeApplyConfiguration) GetName ¶

func (b *VolumeTypeApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*VolumeTypeApplyConfiguration) GetNamespace ¶

func (b *VolumeTypeApplyConfiguration) GetNamespace() *string

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (VolumeTypeApplyConfiguration) IsApplyConfiguration ¶

func (b VolumeTypeApplyConfiguration) IsApplyConfiguration()

func (*VolumeTypeApplyConfiguration) WithAPIVersion ¶

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*VolumeTypeApplyConfiguration) WithAnnotations ¶

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*VolumeTypeApplyConfiguration) WithCreationTimestamp ¶

func (b *VolumeTypeApplyConfiguration) WithCreationTimestamp(value metav1.Time) *VolumeTypeApplyConfiguration

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 (*VolumeTypeApplyConfiguration) WithDeletionGracePeriodSeconds ¶

func (b *VolumeTypeApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *VolumeTypeApplyConfiguration

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 (*VolumeTypeApplyConfiguration) WithDeletionTimestamp ¶

func (b *VolumeTypeApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *VolumeTypeApplyConfiguration

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 (*VolumeTypeApplyConfiguration) WithFinalizers ¶

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*VolumeTypeApplyConfiguration) WithGenerateName ¶

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*VolumeTypeApplyConfiguration) WithGeneration ¶

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*VolumeTypeApplyConfiguration) WithKind ¶

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*VolumeTypeApplyConfiguration) WithLabels ¶

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*VolumeTypeApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*VolumeTypeApplyConfiguration) WithNamespace ¶

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*VolumeTypeApplyConfiguration) WithOwnerReferences ¶

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*VolumeTypeApplyConfiguration) WithResourceVersion ¶

func (b *VolumeTypeApplyConfiguration) WithResourceVersion(value string) *VolumeTypeApplyConfiguration

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 (*VolumeTypeApplyConfiguration) WithSpec ¶

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*VolumeTypeApplyConfiguration) WithStatus ¶

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*VolumeTypeApplyConfiguration) WithUID ¶

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type VolumeTypeExtraSpecApplyConfiguration ¶

type VolumeTypeExtraSpecApplyConfiguration struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

VolumeTypeExtraSpecApplyConfiguration represents a declarative configuration of the VolumeTypeExtraSpec type for use with apply.

func VolumeTypeExtraSpec ¶

func VolumeTypeExtraSpec() *VolumeTypeExtraSpecApplyConfiguration

VolumeTypeExtraSpecApplyConfiguration constructs a declarative configuration of the VolumeTypeExtraSpec type for use with apply.

func (*VolumeTypeExtraSpecApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*VolumeTypeExtraSpecApplyConfiguration) WithValue ¶

WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.

type VolumeTypeExtraSpecStatusApplyConfiguration ¶

type VolumeTypeExtraSpecStatusApplyConfiguration struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

VolumeTypeExtraSpecStatusApplyConfiguration represents a declarative configuration of the VolumeTypeExtraSpecStatus type for use with apply.

func VolumeTypeExtraSpecStatus ¶

func VolumeTypeExtraSpecStatus() *VolumeTypeExtraSpecStatusApplyConfiguration

VolumeTypeExtraSpecStatusApplyConfiguration constructs a declarative configuration of the VolumeTypeExtraSpecStatus type for use with apply.

func (*VolumeTypeExtraSpecStatusApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*VolumeTypeExtraSpecStatusApplyConfiguration) WithValue ¶

WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.

type VolumeTypeFilterApplyConfiguration ¶

type VolumeTypeFilterApplyConfiguration struct {
	Name        *apiv1alpha1.OpenStackName `json:"name,omitempty"`
	Description *string                    `json:"description,omitempty"`
	IsPublic    *bool                      `json:"isPublic,omitempty"`
}

VolumeTypeFilterApplyConfiguration represents a declarative configuration of the VolumeTypeFilter type for use with apply.

func VolumeTypeFilter ¶

func VolumeTypeFilter() *VolumeTypeFilterApplyConfiguration

VolumeTypeFilterApplyConfiguration constructs a declarative configuration of the VolumeTypeFilter type for use with apply.

func (*VolumeTypeFilterApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*VolumeTypeFilterApplyConfiguration) WithIsPublic ¶

WithIsPublic sets the IsPublic field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IsPublic field is set to the value of the last call.

func (*VolumeTypeFilterApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

type VolumeTypeImportApplyConfiguration ¶

type VolumeTypeImportApplyConfiguration struct {
	ID     *string                             `json:"id,omitempty"`
	Filter *VolumeTypeFilterApplyConfiguration `json:"filter,omitempty"`
}

VolumeTypeImportApplyConfiguration represents a declarative configuration of the VolumeTypeImport type for use with apply.

func VolumeTypeImport ¶

func VolumeTypeImport() *VolumeTypeImportApplyConfiguration

VolumeTypeImportApplyConfiguration constructs a declarative configuration of the VolumeTypeImport type for use with apply.

func (*VolumeTypeImportApplyConfiguration) WithFilter ¶

WithFilter sets the Filter field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Filter field is set to the value of the last call.

func (*VolumeTypeImportApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

type VolumeTypeResourceSpecApplyConfiguration ¶

type VolumeTypeResourceSpecApplyConfiguration struct {
	Name        *apiv1alpha1.OpenStackName              `json:"name,omitempty"`
	Description *string                                 `json:"description,omitempty"`
	ExtraSpecs  []VolumeTypeExtraSpecApplyConfiguration `json:"extraSpecs,omitempty"`
	IsPublic    *bool                                   `json:"isPublic,omitempty"`
}

VolumeTypeResourceSpecApplyConfiguration represents a declarative configuration of the VolumeTypeResourceSpec type for use with apply.

func VolumeTypeResourceSpec ¶

func VolumeTypeResourceSpec() *VolumeTypeResourceSpecApplyConfiguration

VolumeTypeResourceSpecApplyConfiguration constructs a declarative configuration of the VolumeTypeResourceSpec type for use with apply.

func (*VolumeTypeResourceSpecApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*VolumeTypeResourceSpecApplyConfiguration) WithExtraSpecs ¶

WithExtraSpecs adds the given value to the ExtraSpecs 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 ExtraSpecs field.

func (*VolumeTypeResourceSpecApplyConfiguration) WithIsPublic ¶

WithIsPublic sets the IsPublic field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IsPublic field is set to the value of the last call.

func (*VolumeTypeResourceSpecApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

type VolumeTypeResourceStatusApplyConfiguration ¶

type VolumeTypeResourceStatusApplyConfiguration struct {
	Name        *string                                       `json:"name,omitempty"`
	Description *string                                       `json:"description,omitempty"`
	ExtraSpecs  []VolumeTypeExtraSpecStatusApplyConfiguration `json:"extraSpecs,omitempty"`
	IsPublic    *bool                                         `json:"isPublic,omitempty"`
}

VolumeTypeResourceStatusApplyConfiguration represents a declarative configuration of the VolumeTypeResourceStatus type for use with apply.

func VolumeTypeResourceStatus ¶

func VolumeTypeResourceStatus() *VolumeTypeResourceStatusApplyConfiguration

VolumeTypeResourceStatusApplyConfiguration constructs a declarative configuration of the VolumeTypeResourceStatus type for use with apply.

func (*VolumeTypeResourceStatusApplyConfiguration) WithDescription ¶

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*VolumeTypeResourceStatusApplyConfiguration) WithExtraSpecs ¶

WithExtraSpecs adds the given value to the ExtraSpecs 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 ExtraSpecs field.

func (*VolumeTypeResourceStatusApplyConfiguration) WithIsPublic ¶

WithIsPublic sets the IsPublic field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IsPublic field is set to the value of the last call.

func (*VolumeTypeResourceStatusApplyConfiguration) WithName ¶

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

type VolumeTypeSpecApplyConfiguration ¶

type VolumeTypeSpecApplyConfiguration struct {
	Import              *VolumeTypeImportApplyConfiguration          `json:"import,omitempty"`
	Resource            *VolumeTypeResourceSpecApplyConfiguration    `json:"resource,omitempty"`
	ManagementPolicy    *apiv1alpha1.ManagementPolicy                `json:"managementPolicy,omitempty"`
	ManagedOptions      *ManagedOptionsApplyConfiguration            `json:"managedOptions,omitempty"`
	ResyncPeriod        *v1.Duration                                 `json:"resyncPeriod,omitempty"`
	CloudCredentialsRef *CloudCredentialsReferenceApplyConfiguration `json:"cloudCredentialsRef,omitempty"`
}

VolumeTypeSpecApplyConfiguration represents a declarative configuration of the VolumeTypeSpec type for use with apply.

func VolumeTypeSpec ¶

func VolumeTypeSpec() *VolumeTypeSpecApplyConfiguration

VolumeTypeSpecApplyConfiguration constructs a declarative configuration of the VolumeTypeSpec type for use with apply.

func (*VolumeTypeSpecApplyConfiguration) WithCloudCredentialsRef ¶

WithCloudCredentialsRef sets the CloudCredentialsRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CloudCredentialsRef field is set to the value of the last call.

func (*VolumeTypeSpecApplyConfiguration) WithImport ¶

WithImport sets the Import field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Import field is set to the value of the last call.

func (*VolumeTypeSpecApplyConfiguration) WithManagedOptions ¶

WithManagedOptions sets the ManagedOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagedOptions field is set to the value of the last call.

func (*VolumeTypeSpecApplyConfiguration) WithManagementPolicy ¶

WithManagementPolicy sets the ManagementPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementPolicy field is set to the value of the last call.

func (*VolumeTypeSpecApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

func (*VolumeTypeSpecApplyConfiguration) WithResyncPeriod ¶

WithResyncPeriod sets the ResyncPeriod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResyncPeriod field is set to the value of the last call.

type VolumeTypeStatusApplyConfiguration ¶

type VolumeTypeStatusApplyConfiguration struct {
	Conditions   []v1.ConditionApplyConfiguration            `json:"conditions,omitempty"`
	ID           *string                                     `json:"id,omitempty"`
	Resource     *VolumeTypeResourceStatusApplyConfiguration `json:"resource,omitempty"`
	LastSyncTime *metav1.Time                                `json:"lastSyncTime,omitempty"`
}

VolumeTypeStatusApplyConfiguration represents a declarative configuration of the VolumeTypeStatus type for use with apply.

func VolumeTypeStatus ¶

func VolumeTypeStatus() *VolumeTypeStatusApplyConfiguration

VolumeTypeStatusApplyConfiguration constructs a declarative configuration of the VolumeTypeStatus type for use with apply.

func (*VolumeTypeStatusApplyConfiguration) WithConditions ¶

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*VolumeTypeStatusApplyConfiguration) WithID ¶

WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.

func (*VolumeTypeStatusApplyConfiguration) WithLastSyncTime ¶

WithLastSyncTime sets the LastSyncTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastSyncTime field is set to the value of the last call.

func (*VolumeTypeStatusApplyConfiguration) WithResource ¶

WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.

Source Files ¶

Jump to

Keyboard shortcuts

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