v1alpha7

package
v0.12.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIServerLoadBalancerApplyConfiguration

type APIServerLoadBalancerApplyConfiguration struct {
	Enabled         *bool    `json:"enabled,omitempty"`
	AdditionalPorts []int    `json:"additionalPorts,omitempty"`
	AllowedCIDRs    []string `json:"allowedCidrs,omitempty"`
	Provider        *string  `json:"provider,omitempty"`
}

APIServerLoadBalancerApplyConfiguration represents a declarative configuration of the APIServerLoadBalancer type for use with apply.

func APIServerLoadBalancer

func APIServerLoadBalancer() *APIServerLoadBalancerApplyConfiguration

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

func (*APIServerLoadBalancerApplyConfiguration) WithAdditionalPorts

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

func (*APIServerLoadBalancerApplyConfiguration) WithAllowedCIDRs

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

func (*APIServerLoadBalancerApplyConfiguration) 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 (*APIServerLoadBalancerApplyConfiguration) WithProvider

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

type AdditionalBlockDeviceApplyConfiguration

type AdditionalBlockDeviceApplyConfiguration struct {
	Name    *string                               `json:"name,omitempty"`
	SizeGiB *int                                  `json:"sizeGiB,omitempty"`
	Storage *BlockDeviceStorageApplyConfiguration `json:"storage,omitempty"`
}

AdditionalBlockDeviceApplyConfiguration represents a declarative configuration of the AdditionalBlockDevice type for use with apply.

func AdditionalBlockDevice

func AdditionalBlockDevice() *AdditionalBlockDeviceApplyConfiguration

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

func (*AdditionalBlockDeviceApplyConfiguration) 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 (*AdditionalBlockDeviceApplyConfiguration) WithSizeGiB

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

func (*AdditionalBlockDeviceApplyConfiguration) WithStorage

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

type AddressPairApplyConfiguration

type AddressPairApplyConfiguration struct {
	IPAddress  *string `json:"ipAddress,omitempty"`
	MACAddress *string `json:"macAddress,omitempty"`
}

AddressPairApplyConfiguration represents a declarative configuration of the AddressPair type for use with apply.

func AddressPair

func AddressPair() *AddressPairApplyConfiguration

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

func (*AddressPairApplyConfiguration) 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 (*AddressPairApplyConfiguration) WithMACAddress

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

type BastionApplyConfiguration

type BastionApplyConfiguration struct {
	Enabled          *bool                                   `json:"enabled,omitempty"`
	Instance         *OpenStackMachineSpecApplyConfiguration `json:"instance,omitempty"`
	AvailabilityZone *string                                 `json:"availabilityZone,omitempty"`
}

BastionApplyConfiguration represents a declarative configuration of the Bastion type for use with apply.

func Bastion

func Bastion() *BastionApplyConfiguration

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

func (*BastionApplyConfiguration) WithAvailabilityZone

func (b *BastionApplyConfiguration) WithAvailabilityZone(value string) *BastionApplyConfiguration

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 (*BastionApplyConfiguration) 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 (*BastionApplyConfiguration) WithInstance

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

type BastionStatusApplyConfiguration

type BastionStatusApplyConfiguration struct {
	ID         *string                 `json:"id,omitempty"`
	Name       *string                 `json:"name,omitempty"`
	SSHKeyName *string                 `json:"sshKeyName,omitempty"`
	State      *v1alpha7.InstanceState `json:"state,omitempty"`
	IP         *string                 `json:"ip,omitempty"`
	FloatingIP *string                 `json:"floatingIP,omitempty"`
}

BastionStatusApplyConfiguration represents a declarative configuration of the BastionStatus type for use with apply.

func BastionStatus

func BastionStatus() *BastionStatusApplyConfiguration

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

func (*BastionStatusApplyConfiguration) 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 (*BastionStatusApplyConfiguration) 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 (*BastionStatusApplyConfiguration) 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 (*BastionStatusApplyConfiguration) 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 (*BastionStatusApplyConfiguration) WithSSHKeyName

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

func (*BastionStatusApplyConfiguration) WithState

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

type BindingProfileApplyConfiguration

type BindingProfileApplyConfiguration struct {
	OVSHWOffload *bool `json:"ovsHWOffload,omitempty"`
	TrustedVF    *bool `json:"trustedVF,omitempty"`
}

BindingProfileApplyConfiguration represents a declarative configuration of the BindingProfile type for use with apply.

func BindingProfile

func BindingProfile() *BindingProfileApplyConfiguration

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

func (*BindingProfileApplyConfiguration) WithOVSHWOffload

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

func (*BindingProfileApplyConfiguration) WithTrustedVF

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

type BlockDeviceStorageApplyConfiguration

type BlockDeviceStorageApplyConfiguration struct {
	Type   *v1alpha7.BlockDeviceType            `json:"type,omitempty"`
	Volume *BlockDeviceVolumeApplyConfiguration `json:"volume,omitempty"`
}

BlockDeviceStorageApplyConfiguration represents a declarative configuration of the BlockDeviceStorage type for use with apply.

func BlockDeviceStorage

func BlockDeviceStorage() *BlockDeviceStorageApplyConfiguration

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

func (*BlockDeviceStorageApplyConfiguration) WithType

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

func (*BlockDeviceStorageApplyConfiguration) WithVolume

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

type BlockDeviceVolumeApplyConfiguration

type BlockDeviceVolumeApplyConfiguration struct {
	Type             *string `json:"type,omitempty"`
	AvailabilityZone *string `json:"availabilityZone,omitempty"`
}

BlockDeviceVolumeApplyConfiguration represents a declarative configuration of the BlockDeviceVolume type for use with apply.

func BlockDeviceVolume

func BlockDeviceVolume() *BlockDeviceVolumeApplyConfiguration

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

func (*BlockDeviceVolumeApplyConfiguration) 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 (*BlockDeviceVolumeApplyConfiguration) 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 ExternalRouterIPParamApplyConfiguration

type ExternalRouterIPParamApplyConfiguration struct {
	FixedIP *string                         `json:"fixedIP,omitempty"`
	Subnet  *SubnetFilterApplyConfiguration `json:"subnet,omitempty"`
}

ExternalRouterIPParamApplyConfiguration represents a declarative configuration of the ExternalRouterIPParam type for use with apply.

func ExternalRouterIPParam

func ExternalRouterIPParam() *ExternalRouterIPParamApplyConfiguration

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

func (*ExternalRouterIPParamApplyConfiguration) 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 (*ExternalRouterIPParamApplyConfiguration) WithSubnet

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

type FixedIPApplyConfiguration

type FixedIPApplyConfiguration struct {
	Subnet    *SubnetFilterApplyConfiguration `json:"subnet,omitempty"`
	IPAddress *string                         `json:"ipAddress,omitempty"`
}

FixedIPApplyConfiguration represents a declarative configuration of the FixedIP type for use with apply.

func FixedIP

func FixedIP() *FixedIPApplyConfiguration

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

func (*FixedIPApplyConfiguration) 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 (*FixedIPApplyConfiguration) WithSubnet

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

type LoadBalancerApplyConfiguration

type LoadBalancerApplyConfiguration struct {
	Name         *string  `json:"name,omitempty"`
	ID           *string  `json:"id,omitempty"`
	IP           *string  `json:"ip,omitempty"`
	InternalIP   *string  `json:"internalIP,omitempty"`
	AllowedCIDRs []string `json:"allowedCIDRs,omitempty"`
	Tags         []string `json:"tags,omitempty"`
}

LoadBalancerApplyConfiguration represents a declarative configuration of the LoadBalancer type for use with apply.

func LoadBalancer

func LoadBalancer() *LoadBalancerApplyConfiguration

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

func (*LoadBalancerApplyConfiguration) WithAllowedCIDRs

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

func (*LoadBalancerApplyConfiguration) 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 (*LoadBalancerApplyConfiguration) 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 (*LoadBalancerApplyConfiguration) WithInternalIP

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

func (*LoadBalancerApplyConfiguration) 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 (*LoadBalancerApplyConfiguration) 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 NetworkFilterApplyConfiguration

type NetworkFilterApplyConfiguration struct {
	Name        *string `json:"name,omitempty"`
	Description *string `json:"description,omitempty"`
	ProjectID   *string `json:"projectId,omitempty"`
	ID          *string `json:"id,omitempty"`
	Tags        *string `json:"tags,omitempty"`
	TagsAny     *string `json:"tagsAny,omitempty"`
	NotTags     *string `json:"notTags,omitempty"`
	NotTagsAny  *string `json:"notTagsAny,omitempty"`
}

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) 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 (*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 sets the NotTags field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NotTags field is set to the value of the last call.

func (*NetworkFilterApplyConfiguration) WithNotTagsAny

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

func (*NetworkFilterApplyConfiguration) 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 (*NetworkFilterApplyConfiguration) WithTags

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

func (*NetworkFilterApplyConfiguration) WithTagsAny

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

type NetworkStatusApplyConfiguration

type NetworkStatusApplyConfiguration struct {
	Name *string  `json:"name,omitempty"`
	ID   *string  `json:"id,omitempty"`
	Tags []string `json:"tags,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) 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) 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 (*NetworkStatusApplyConfiguration) 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 NetworkStatusWithSubnetsApplyConfiguration

type NetworkStatusWithSubnetsApplyConfiguration struct {
	NetworkStatusApplyConfiguration `json:",inline"`
	Subnets                         []SubnetApplyConfiguration `json:"subnets,omitempty"`
}

NetworkStatusWithSubnetsApplyConfiguration represents a declarative configuration of the NetworkStatusWithSubnets type for use with apply.

func NetworkStatusWithSubnets

func NetworkStatusWithSubnets() *NetworkStatusWithSubnetsApplyConfiguration

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

func (*NetworkStatusWithSubnetsApplyConfiguration) 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 (*NetworkStatusWithSubnetsApplyConfiguration) 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 (*NetworkStatusWithSubnetsApplyConfiguration) 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 (*NetworkStatusWithSubnetsApplyConfiguration) 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 OpenStackClusterApplyConfiguration

type OpenStackClusterApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *OpenStackClusterSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *OpenStackClusterStatusApplyConfiguration `json:"status,omitempty"`
}

OpenStackClusterApplyConfiguration represents a declarative configuration of the OpenStackCluster type for use with apply.

func ExtractOpenStackCluster

func ExtractOpenStackCluster(openStackCluster *apiv1alpha7.OpenStackCluster, fieldManager string) (*OpenStackClusterApplyConfiguration, error)

ExtractOpenStackCluster extracts the applied configuration owned by fieldManager from openStackCluster. If no managedFields are found in openStackCluster for fieldManager, a OpenStackClusterApplyConfiguration 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. openStackCluster must be a unmodified OpenStackCluster API object that was retrieved from the Kubernetes API. ExtractOpenStackCluster 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 ExtractOpenStackClusterStatus

func ExtractOpenStackClusterStatus(openStackCluster *apiv1alpha7.OpenStackCluster, fieldManager string) (*OpenStackClusterApplyConfiguration, error)

ExtractOpenStackClusterStatus is the same as ExtractOpenStackCluster except that it extracts the status subresource applied configuration. Experimental!

func OpenStackCluster

func OpenStackCluster(name, namespace string) *OpenStackClusterApplyConfiguration

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

func (*OpenStackClusterApplyConfiguration) GetName added in v0.12.0

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

func (*OpenStackClusterApplyConfiguration) 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 (*OpenStackClusterApplyConfiguration) 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 (*OpenStackClusterApplyConfiguration) 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 (*OpenStackClusterApplyConfiguration) WithDeletionGracePeriodSeconds

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

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 (*OpenStackClusterApplyConfiguration) 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 (*OpenStackClusterApplyConfiguration) 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 (*OpenStackClusterApplyConfiguration) 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 (*OpenStackClusterApplyConfiguration) 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 (*OpenStackClusterApplyConfiguration) 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 (*OpenStackClusterApplyConfiguration) 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 (*OpenStackClusterApplyConfiguration) 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 (*OpenStackClusterApplyConfiguration) 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 (*OpenStackClusterApplyConfiguration) 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 (*OpenStackClusterApplyConfiguration) 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 (*OpenStackClusterApplyConfiguration) 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 (*OpenStackClusterApplyConfiguration) 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 (*OpenStackClusterApplyConfiguration) 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 OpenStackClusterSpecApplyConfiguration

type OpenStackClusterSpecApplyConfiguration struct {
	CloudName                        *string                                       `json:"cloudName,omitempty"`
	NodeCIDR                         *string                                       `json:"nodeCidr,omitempty"`
	Router                           *RouterFilterApplyConfiguration               `json:"router,omitempty"`
	Network                          *NetworkFilterApplyConfiguration              `json:"network,omitempty"`
	Subnet                           *SubnetFilterApplyConfiguration               `json:"subnet,omitempty"`
	NetworkMTU                       *int                                          `json:"networkMtu,omitempty"`
	DNSNameservers                   []string                                      `json:"dnsNameservers,omitempty"`
	ExternalRouterIPs                []ExternalRouterIPParamApplyConfiguration     `json:"externalRouterIPs,omitempty"`
	ExternalNetworkID                *string                                       `json:"externalNetworkId,omitempty"`
	APIServerLoadBalancer            *APIServerLoadBalancerApplyConfiguration      `json:"apiServerLoadBalancer,omitempty"`
	DisableAPIServerFloatingIP       *bool                                         `json:"disableAPIServerFloatingIP,omitempty"`
	APIServerFloatingIP              *string                                       `json:"apiServerFloatingIP,omitempty"`
	APIServerFixedIP                 *string                                       `json:"apiServerFixedIP,omitempty"`
	APIServerPort                    *int                                          `json:"apiServerPort,omitempty"`
	ManagedSecurityGroups            *bool                                         `json:"managedSecurityGroups,omitempty"`
	AllowAllInClusterTraffic         *bool                                         `json:"allowAllInClusterTraffic,omitempty"`
	DisablePortSecurity              *bool                                         `json:"disablePortSecurity,omitempty"`
	Tags                             []string                                      `json:"tags,omitempty"`
	ControlPlaneEndpoint             *v1beta1.APIEndpoint                          `json:"controlPlaneEndpoint,omitempty"`
	ControlPlaneAvailabilityZones    []string                                      `json:"controlPlaneAvailabilityZones,omitempty"`
	ControlPlaneOmitAvailabilityZone *bool                                         `json:"controlPlaneOmitAvailabilityZone,omitempty"`
	Bastion                          *BastionApplyConfiguration                    `json:"bastion,omitempty"`
	IdentityRef                      *OpenStackIdentityReferenceApplyConfiguration `json:"identityRef,omitempty"`
}

OpenStackClusterSpecApplyConfiguration represents a declarative configuration of the OpenStackClusterSpec type for use with apply.

func OpenStackClusterSpec

func OpenStackClusterSpec() *OpenStackClusterSpecApplyConfiguration

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

func (*OpenStackClusterSpecApplyConfiguration) WithAPIServerFixedIP

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

func (*OpenStackClusterSpecApplyConfiguration) WithAPIServerFloatingIP

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

func (*OpenStackClusterSpecApplyConfiguration) WithAPIServerLoadBalancer

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

func (*OpenStackClusterSpecApplyConfiguration) WithAPIServerPort

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

func (*OpenStackClusterSpecApplyConfiguration) WithAllowAllInClusterTraffic

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

func (*OpenStackClusterSpecApplyConfiguration) WithBastion

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

func (*OpenStackClusterSpecApplyConfiguration) 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 (*OpenStackClusterSpecApplyConfiguration) WithControlPlaneAvailabilityZones

func (b *OpenStackClusterSpecApplyConfiguration) WithControlPlaneAvailabilityZones(values ...string) *OpenStackClusterSpecApplyConfiguration

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

func (*OpenStackClusterSpecApplyConfiguration) WithControlPlaneEndpoint

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

func (*OpenStackClusterSpecApplyConfiguration) WithControlPlaneOmitAvailabilityZone

func (b *OpenStackClusterSpecApplyConfiguration) WithControlPlaneOmitAvailabilityZone(value bool) *OpenStackClusterSpecApplyConfiguration

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

func (*OpenStackClusterSpecApplyConfiguration) 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 (*OpenStackClusterSpecApplyConfiguration) WithDisableAPIServerFloatingIP

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

func (*OpenStackClusterSpecApplyConfiguration) WithDisablePortSecurity

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

func (*OpenStackClusterSpecApplyConfiguration) WithExternalNetworkID

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

func (*OpenStackClusterSpecApplyConfiguration) WithExternalRouterIPs

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

func (*OpenStackClusterSpecApplyConfiguration) WithIdentityRef

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

func (*OpenStackClusterSpecApplyConfiguration) WithManagedSecurityGroups

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

func (*OpenStackClusterSpecApplyConfiguration) WithNetwork

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

func (*OpenStackClusterSpecApplyConfiguration) WithNetworkMTU

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

func (*OpenStackClusterSpecApplyConfiguration) WithNodeCIDR

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

func (*OpenStackClusterSpecApplyConfiguration) WithRouter

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

func (*OpenStackClusterSpecApplyConfiguration) WithSubnet

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

func (*OpenStackClusterSpecApplyConfiguration) 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 OpenStackClusterStatusApplyConfiguration

type OpenStackClusterStatusApplyConfiguration struct {
	Ready                     *bool                                       `json:"ready,omitempty"`
	Network                   *NetworkStatusWithSubnetsApplyConfiguration `json:"network,omitempty"`
	ExternalNetwork           *NetworkStatusApplyConfiguration            `json:"externalNetwork,omitempty"`
	Router                    *RouterApplyConfiguration                   `json:"router,omitempty"`
	APIServerLoadBalancer     *LoadBalancerApplyConfiguration             `json:"apiServerLoadBalancer,omitempty"`
	FailureDomains            *v1beta1.FailureDomains                     `json:"failureDomains,omitempty"`
	ControlPlaneSecurityGroup *SecurityGroupApplyConfiguration            `json:"controlPlaneSecurityGroup,omitempty"`
	WorkerSecurityGroup       *SecurityGroupApplyConfiguration            `json:"workerSecurityGroup,omitempty"`
	BastionSecurityGroup      *SecurityGroupApplyConfiguration            `json:"bastionSecurityGroup,omitempty"`
	Bastion                   *BastionStatusApplyConfiguration            `json:"bastion,omitempty"`
	FailureReason             *errors.DeprecatedCAPIClusterStatusError    `json:"failureReason,omitempty"`
	FailureMessage            *string                                     `json:"failureMessage,omitempty"`
}

OpenStackClusterStatusApplyConfiguration represents a declarative configuration of the OpenStackClusterStatus type for use with apply.

func OpenStackClusterStatus

func OpenStackClusterStatus() *OpenStackClusterStatusApplyConfiguration

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

func (*OpenStackClusterStatusApplyConfiguration) WithAPIServerLoadBalancer

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

func (*OpenStackClusterStatusApplyConfiguration) WithBastion

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

func (*OpenStackClusterStatusApplyConfiguration) WithBastionSecurityGroup

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

func (*OpenStackClusterStatusApplyConfiguration) WithControlPlaneSecurityGroup

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

func (*OpenStackClusterStatusApplyConfiguration) WithExternalNetwork

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

func (*OpenStackClusterStatusApplyConfiguration) WithFailureDomains

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

func (*OpenStackClusterStatusApplyConfiguration) WithFailureMessage

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

func (*OpenStackClusterStatusApplyConfiguration) WithFailureReason

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

func (*OpenStackClusterStatusApplyConfiguration) WithNetwork

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

func (*OpenStackClusterStatusApplyConfiguration) WithReady

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

func (*OpenStackClusterStatusApplyConfiguration) WithRouter

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

func (*OpenStackClusterStatusApplyConfiguration) WithWorkerSecurityGroup

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

type OpenStackClusterTemplateApplyConfiguration

type OpenStackClusterTemplateApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *OpenStackClusterTemplateSpecApplyConfiguration `json:"spec,omitempty"`
}

OpenStackClusterTemplateApplyConfiguration represents a declarative configuration of the OpenStackClusterTemplate type for use with apply.

func ExtractOpenStackClusterTemplate

func ExtractOpenStackClusterTemplate(openStackClusterTemplate *apiv1alpha7.OpenStackClusterTemplate, fieldManager string) (*OpenStackClusterTemplateApplyConfiguration, error)

ExtractOpenStackClusterTemplate extracts the applied configuration owned by fieldManager from openStackClusterTemplate. If no managedFields are found in openStackClusterTemplate for fieldManager, a OpenStackClusterTemplateApplyConfiguration 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. openStackClusterTemplate must be a unmodified OpenStackClusterTemplate API object that was retrieved from the Kubernetes API. ExtractOpenStackClusterTemplate 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 ExtractOpenStackClusterTemplateStatus

func ExtractOpenStackClusterTemplateStatus(openStackClusterTemplate *apiv1alpha7.OpenStackClusterTemplate, fieldManager string) (*OpenStackClusterTemplateApplyConfiguration, error)

ExtractOpenStackClusterTemplateStatus is the same as ExtractOpenStackClusterTemplate except that it extracts the status subresource applied configuration. Experimental!

func OpenStackClusterTemplate

func OpenStackClusterTemplate(name, namespace string) *OpenStackClusterTemplateApplyConfiguration

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

func (*OpenStackClusterTemplateApplyConfiguration) GetName added in v0.12.0

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

func (*OpenStackClusterTemplateApplyConfiguration) 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 (*OpenStackClusterTemplateApplyConfiguration) 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 (*OpenStackClusterTemplateApplyConfiguration) 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 (*OpenStackClusterTemplateApplyConfiguration) 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 (*OpenStackClusterTemplateApplyConfiguration) 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 (*OpenStackClusterTemplateApplyConfiguration) 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 (*OpenStackClusterTemplateApplyConfiguration) 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 (*OpenStackClusterTemplateApplyConfiguration) 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 (*OpenStackClusterTemplateApplyConfiguration) 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 (*OpenStackClusterTemplateApplyConfiguration) 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 (*OpenStackClusterTemplateApplyConfiguration) 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 (*OpenStackClusterTemplateApplyConfiguration) 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 (*OpenStackClusterTemplateApplyConfiguration) 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 (*OpenStackClusterTemplateApplyConfiguration) 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 (*OpenStackClusterTemplateApplyConfiguration) 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 (*OpenStackClusterTemplateApplyConfiguration) 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 OpenStackClusterTemplateResourceApplyConfiguration

type OpenStackClusterTemplateResourceApplyConfiguration struct {
	Spec *OpenStackClusterSpecApplyConfiguration `json:"spec,omitempty"`
}

OpenStackClusterTemplateResourceApplyConfiguration represents a declarative configuration of the OpenStackClusterTemplateResource type for use with apply.

func OpenStackClusterTemplateResource

func OpenStackClusterTemplateResource() *OpenStackClusterTemplateResourceApplyConfiguration

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

func (*OpenStackClusterTemplateResourceApplyConfiguration) 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.

type OpenStackClusterTemplateSpecApplyConfiguration

type OpenStackClusterTemplateSpecApplyConfiguration struct {
	Template *OpenStackClusterTemplateResourceApplyConfiguration `json:"template,omitempty"`
}

OpenStackClusterTemplateSpecApplyConfiguration represents a declarative configuration of the OpenStackClusterTemplateSpec type for use with apply.

func OpenStackClusterTemplateSpec

func OpenStackClusterTemplateSpec() *OpenStackClusterTemplateSpecApplyConfiguration

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

func (*OpenStackClusterTemplateSpecApplyConfiguration) WithTemplate

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

type OpenStackIdentityReferenceApplyConfiguration

type OpenStackIdentityReferenceApplyConfiguration struct {
	Kind *string `json:"kind,omitempty"`
	Name *string `json:"name,omitempty"`
}

OpenStackIdentityReferenceApplyConfiguration represents a declarative configuration of the OpenStackIdentityReference type for use with apply.

func OpenStackIdentityReference

func OpenStackIdentityReference() *OpenStackIdentityReferenceApplyConfiguration

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

func (*OpenStackIdentityReferenceApplyConfiguration) 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 (*OpenStackIdentityReferenceApplyConfiguration) 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 OpenStackMachineApplyConfiguration

type OpenStackMachineApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *OpenStackMachineSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *OpenStackMachineStatusApplyConfiguration `json:"status,omitempty"`
}

OpenStackMachineApplyConfiguration represents a declarative configuration of the OpenStackMachine type for use with apply.

func ExtractOpenStackMachine

func ExtractOpenStackMachine(openStackMachine *apiv1alpha7.OpenStackMachine, fieldManager string) (*OpenStackMachineApplyConfiguration, error)

ExtractOpenStackMachine extracts the applied configuration owned by fieldManager from openStackMachine. If no managedFields are found in openStackMachine for fieldManager, a OpenStackMachineApplyConfiguration 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. openStackMachine must be a unmodified OpenStackMachine API object that was retrieved from the Kubernetes API. ExtractOpenStackMachine 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 ExtractOpenStackMachineStatus

func ExtractOpenStackMachineStatus(openStackMachine *apiv1alpha7.OpenStackMachine, fieldManager string) (*OpenStackMachineApplyConfiguration, error)

ExtractOpenStackMachineStatus is the same as ExtractOpenStackMachine except that it extracts the status subresource applied configuration. Experimental!

func OpenStackMachine

func OpenStackMachine(name, namespace string) *OpenStackMachineApplyConfiguration

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

func (*OpenStackMachineApplyConfiguration) GetName added in v0.12.0

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

func (*OpenStackMachineApplyConfiguration) 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 (*OpenStackMachineApplyConfiguration) 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 (*OpenStackMachineApplyConfiguration) 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 (*OpenStackMachineApplyConfiguration) WithDeletionGracePeriodSeconds

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

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 (*OpenStackMachineApplyConfiguration) 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 (*OpenStackMachineApplyConfiguration) 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 (*OpenStackMachineApplyConfiguration) 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 (*OpenStackMachineApplyConfiguration) 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 (*OpenStackMachineApplyConfiguration) 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 (*OpenStackMachineApplyConfiguration) 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 (*OpenStackMachineApplyConfiguration) 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 (*OpenStackMachineApplyConfiguration) 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 (*OpenStackMachineApplyConfiguration) 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 (*OpenStackMachineApplyConfiguration) 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 (*OpenStackMachineApplyConfiguration) 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 (*OpenStackMachineApplyConfiguration) 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 (*OpenStackMachineApplyConfiguration) 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 OpenStackMachineSpecApplyConfiguration

type OpenStackMachineSpecApplyConfiguration struct {
	ProviderID             *string                                       `json:"providerID,omitempty"`
	InstanceID             *string                                       `json:"instanceID,omitempty"`
	CloudName              *string                                       `json:"cloudName,omitempty"`
	Flavor                 *string                                       `json:"flavor,omitempty"`
	FlavorID               *string                                       `json:"flavorID,omitempty"`
	Image                  *string                                       `json:"image,omitempty"`
	ImageUUID              *string                                       `json:"imageUUID,omitempty"`
	SSHKeyName             *string                                       `json:"sshKeyName,omitempty"`
	Ports                  []PortOptsApplyConfiguration                  `json:"ports,omitempty"`
	FloatingIP             *string                                       `json:"floatingIP,omitempty"`
	SecurityGroups         []SecurityGroupFilterApplyConfiguration       `json:"securityGroups,omitempty"`
	Trunk                  *bool                                         `json:"trunk,omitempty"`
	Tags                   []string                                      `json:"tags,omitempty"`
	ServerMetadata         map[string]string                             `json:"serverMetadata,omitempty"`
	ConfigDrive            *bool                                         `json:"configDrive,omitempty"`
	RootVolume             *RootVolumeApplyConfiguration                 `json:"rootVolume,omitempty"`
	AdditionalBlockDevices []AdditionalBlockDeviceApplyConfiguration     `json:"additionalBlockDevices,omitempty"`
	ServerGroupID          *string                                       `json:"serverGroupID,omitempty"`
	IdentityRef            *OpenStackIdentityReferenceApplyConfiguration `json:"identityRef,omitempty"`
}

OpenStackMachineSpecApplyConfiguration represents a declarative configuration of the OpenStackMachineSpec type for use with apply.

func OpenStackMachineSpec

func OpenStackMachineSpec() *OpenStackMachineSpecApplyConfiguration

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

func (*OpenStackMachineSpecApplyConfiguration) WithAdditionalBlockDevices

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

func (*OpenStackMachineSpecApplyConfiguration) 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 (*OpenStackMachineSpecApplyConfiguration) 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 (*OpenStackMachineSpecApplyConfiguration) WithFlavor

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

func (*OpenStackMachineSpecApplyConfiguration) WithFlavorID

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

func (*OpenStackMachineSpecApplyConfiguration) 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 (*OpenStackMachineSpecApplyConfiguration) WithIdentityRef

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

func (*OpenStackMachineSpecApplyConfiguration) WithImage

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

func (*OpenStackMachineSpecApplyConfiguration) WithImageUUID

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

func (*OpenStackMachineSpecApplyConfiguration) WithInstanceID

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

func (*OpenStackMachineSpecApplyConfiguration) 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 (*OpenStackMachineSpecApplyConfiguration) WithProviderID

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

func (*OpenStackMachineSpecApplyConfiguration) WithRootVolume

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

func (*OpenStackMachineSpecApplyConfiguration) WithSSHKeyName

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

func (*OpenStackMachineSpecApplyConfiguration) 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 (*OpenStackMachineSpecApplyConfiguration) WithServerGroupID

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

func (*OpenStackMachineSpecApplyConfiguration) WithServerMetadata

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

func (*OpenStackMachineSpecApplyConfiguration) 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 (*OpenStackMachineSpecApplyConfiguration) WithTrunk

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

type OpenStackMachineStatusApplyConfiguration

type OpenStackMachineStatusApplyConfiguration struct {
	Ready          *bool                                    `json:"ready,omitempty"`
	Addresses      []v1.NodeAddress                         `json:"addresses,omitempty"`
	InstanceState  *v1alpha7.InstanceState                  `json:"instanceState,omitempty"`
	FailureReason  *errors.DeprecatedCAPIMachineStatusError `json:"failureReason,omitempty"`
	FailureMessage *string                                  `json:"failureMessage,omitempty"`
	Conditions     *v1beta1.Conditions                      `json:"conditions,omitempty"`
}

OpenStackMachineStatusApplyConfiguration represents a declarative configuration of the OpenStackMachineStatus type for use with apply.

func OpenStackMachineStatus

func OpenStackMachineStatus() *OpenStackMachineStatusApplyConfiguration

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

func (*OpenStackMachineStatusApplyConfiguration) 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 (*OpenStackMachineStatusApplyConfiguration) WithConditions

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

func (*OpenStackMachineStatusApplyConfiguration) WithFailureMessage

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

func (*OpenStackMachineStatusApplyConfiguration) WithFailureReason

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

func (*OpenStackMachineStatusApplyConfiguration) WithInstanceState

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

func (*OpenStackMachineStatusApplyConfiguration) WithReady

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

type OpenStackMachineTemplateApplyConfiguration

type OpenStackMachineTemplateApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *OpenStackMachineTemplateSpecApplyConfiguration `json:"spec,omitempty"`
}

OpenStackMachineTemplateApplyConfiguration represents a declarative configuration of the OpenStackMachineTemplate type for use with apply.

func ExtractOpenStackMachineTemplate

func ExtractOpenStackMachineTemplate(openStackMachineTemplate *apiv1alpha7.OpenStackMachineTemplate, fieldManager string) (*OpenStackMachineTemplateApplyConfiguration, error)

ExtractOpenStackMachineTemplate extracts the applied configuration owned by fieldManager from openStackMachineTemplate. If no managedFields are found in openStackMachineTemplate for fieldManager, a OpenStackMachineTemplateApplyConfiguration 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. openStackMachineTemplate must be a unmodified OpenStackMachineTemplate API object that was retrieved from the Kubernetes API. ExtractOpenStackMachineTemplate 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 ExtractOpenStackMachineTemplateStatus

func ExtractOpenStackMachineTemplateStatus(openStackMachineTemplate *apiv1alpha7.OpenStackMachineTemplate, fieldManager string) (*OpenStackMachineTemplateApplyConfiguration, error)

ExtractOpenStackMachineTemplateStatus is the same as ExtractOpenStackMachineTemplate except that it extracts the status subresource applied configuration. Experimental!

func OpenStackMachineTemplate

func OpenStackMachineTemplate(name, namespace string) *OpenStackMachineTemplateApplyConfiguration

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

func (*OpenStackMachineTemplateApplyConfiguration) GetName added in v0.12.0

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

func (*OpenStackMachineTemplateApplyConfiguration) 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 (*OpenStackMachineTemplateApplyConfiguration) 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 (*OpenStackMachineTemplateApplyConfiguration) 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 (*OpenStackMachineTemplateApplyConfiguration) 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 (*OpenStackMachineTemplateApplyConfiguration) 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 (*OpenStackMachineTemplateApplyConfiguration) 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 (*OpenStackMachineTemplateApplyConfiguration) 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 (*OpenStackMachineTemplateApplyConfiguration) 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 (*OpenStackMachineTemplateApplyConfiguration) 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 (*OpenStackMachineTemplateApplyConfiguration) 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 (*OpenStackMachineTemplateApplyConfiguration) 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 (*OpenStackMachineTemplateApplyConfiguration) 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 (*OpenStackMachineTemplateApplyConfiguration) 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 (*OpenStackMachineTemplateApplyConfiguration) 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 (*OpenStackMachineTemplateApplyConfiguration) 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 (*OpenStackMachineTemplateApplyConfiguration) 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 OpenStackMachineTemplateResourceApplyConfiguration

type OpenStackMachineTemplateResourceApplyConfiguration struct {
	Spec *OpenStackMachineSpecApplyConfiguration `json:"spec,omitempty"`
}

OpenStackMachineTemplateResourceApplyConfiguration represents a declarative configuration of the OpenStackMachineTemplateResource type for use with apply.

func OpenStackMachineTemplateResource

func OpenStackMachineTemplateResource() *OpenStackMachineTemplateResourceApplyConfiguration

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

func (*OpenStackMachineTemplateResourceApplyConfiguration) 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.

type OpenStackMachineTemplateSpecApplyConfiguration

type OpenStackMachineTemplateSpecApplyConfiguration struct {
	Template *OpenStackMachineTemplateResourceApplyConfiguration `json:"template,omitempty"`
}

OpenStackMachineTemplateSpecApplyConfiguration represents a declarative configuration of the OpenStackMachineTemplateSpec type for use with apply.

func OpenStackMachineTemplateSpec

func OpenStackMachineTemplateSpec() *OpenStackMachineTemplateSpecApplyConfiguration

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

func (*OpenStackMachineTemplateSpecApplyConfiguration) WithTemplate

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

type PortOptsApplyConfiguration

type PortOptsApplyConfiguration struct {
	Network               *NetworkFilterApplyConfiguration        `json:"network,omitempty"`
	NameSuffix            *string                                 `json:"nameSuffix,omitempty"`
	Description           *string                                 `json:"description,omitempty"`
	AdminStateUp          *bool                                   `json:"adminStateUp,omitempty"`
	MACAddress            *string                                 `json:"macAddress,omitempty"`
	FixedIPs              []FixedIPApplyConfiguration             `json:"fixedIPs,omitempty"`
	SecurityGroupFilters  []SecurityGroupFilterApplyConfiguration `json:"securityGroupFilters,omitempty"`
	AllowedAddressPairs   []AddressPairApplyConfiguration         `json:"allowedAddressPairs,omitempty"`
	Trunk                 *bool                                   `json:"trunk,omitempty"`
	HostID                *string                                 `json:"hostId,omitempty"`
	VNICType              *string                                 `json:"vnicType,omitempty"`
	Profile               *BindingProfileApplyConfiguration       `json:"profile,omitempty"`
	DisablePortSecurity   *bool                                   `json:"disablePortSecurity,omitempty"`
	PropagateUplinkStatus *bool                                   `json:"propagateUplinkStatus,omitempty"`
	Tags                  []string                                `json:"tags,omitempty"`
	ValueSpecs            []ValueSpecApplyConfiguration           `json:"valueSpecs,omitempty"`
}

PortOptsApplyConfiguration represents a declarative configuration of the PortOpts type for use with apply.

func PortOpts

func PortOpts() *PortOptsApplyConfiguration

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

func (*PortOptsApplyConfiguration) WithAdminStateUp

func (b *PortOptsApplyConfiguration) WithAdminStateUp(value bool) *PortOptsApplyConfiguration

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 (*PortOptsApplyConfiguration) 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 (*PortOptsApplyConfiguration) 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 (*PortOptsApplyConfiguration) WithDisablePortSecurity

func (b *PortOptsApplyConfiguration) WithDisablePortSecurity(value bool) *PortOptsApplyConfiguration

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

func (*PortOptsApplyConfiguration) 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 (*PortOptsApplyConfiguration) 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 (*PortOptsApplyConfiguration) 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 (*PortOptsApplyConfiguration) WithNameSuffix

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

func (*PortOptsApplyConfiguration) WithNetwork

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

func (*PortOptsApplyConfiguration) WithProfile

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

func (*PortOptsApplyConfiguration) WithPropagateUplinkStatus

func (b *PortOptsApplyConfiguration) WithPropagateUplinkStatus(value bool) *PortOptsApplyConfiguration

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 (*PortOptsApplyConfiguration) WithSecurityGroupFilters

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

func (*PortOptsApplyConfiguration) 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 (*PortOptsApplyConfiguration) WithTrunk

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

func (*PortOptsApplyConfiguration) 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 (*PortOptsApplyConfiguration) 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 RootVolumeApplyConfiguration

type RootVolumeApplyConfiguration struct {
	Size             *int    `json:"diskSize,omitempty"`
	VolumeType       *string `json:"volumeType,omitempty"`
	AvailabilityZone *string `json:"availabilityZone,omitempty"`
}

RootVolumeApplyConfiguration represents a declarative configuration of the RootVolume type for use with apply.

func RootVolume

func RootVolume() *RootVolumeApplyConfiguration

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

func (*RootVolumeApplyConfiguration) WithAvailabilityZone

func (b *RootVolumeApplyConfiguration) WithAvailabilityZone(value string) *RootVolumeApplyConfiguration

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 (*RootVolumeApplyConfiguration) 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 (*RootVolumeApplyConfiguration) 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 RouterApplyConfiguration

type RouterApplyConfiguration struct {
	Name *string  `json:"name,omitempty"`
	ID   *string  `json:"id,omitempty"`
	Tags []string `json:"tags,omitempty"`
	IPs  []string `json:"ips,omitempty"`
}

RouterApplyConfiguration represents a declarative configuration of the Router type for use with apply.

func Router

func Router() *RouterApplyConfiguration

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

func (*RouterApplyConfiguration) 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 (*RouterApplyConfiguration) WithIPs

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

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) 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 RouterFilterApplyConfiguration

type RouterFilterApplyConfiguration struct {
	ID          *string `json:"id,omitempty"`
	Name        *string `json:"name,omitempty"`
	Description *string `json:"description,omitempty"`
	ProjectID   *string `json:"projectId,omitempty"`
	Tags        *string `json:"tags,omitempty"`
	TagsAny     *string `json:"tagsAny,omitempty"`
	NotTags     *string `json:"notTags,omitempty"`
	NotTagsAny  *string `json:"notTagsAny,omitempty"`
}

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) 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 (*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 sets the NotTags field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NotTags field is set to the value of the last call.

func (*RouterFilterApplyConfiguration) WithNotTagsAny

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

func (*RouterFilterApplyConfiguration) 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 (*RouterFilterApplyConfiguration) WithTags

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

func (*RouterFilterApplyConfiguration) WithTagsAny

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

type SecurityGroupApplyConfiguration

type SecurityGroupApplyConfiguration struct {
	Name  *string                               `json:"name,omitempty"`
	ID    *string                               `json:"id,omitempty"`
	Rules []SecurityGroupRuleApplyConfiguration `json:"rules,omitempty"`
}

SecurityGroupApplyConfiguration represents a declarative configuration of the SecurityGroup type for use with apply.

func SecurityGroup

func SecurityGroup() *SecurityGroupApplyConfiguration

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

func (*SecurityGroupApplyConfiguration) 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 (*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) 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.

type SecurityGroupFilterApplyConfiguration

type SecurityGroupFilterApplyConfiguration struct {
	ID          *string `json:"id,omitempty"`
	Name        *string `json:"name,omitempty"`
	Description *string `json:"description,omitempty"`
	ProjectID   *string `json:"projectId,omitempty"`
	Tags        *string `json:"tags,omitempty"`
	TagsAny     *string `json:"tagsAny,omitempty"`
	NotTags     *string `json:"notTags,omitempty"`
	NotTagsAny  *string `json:"notTagsAny,omitempty"`
}

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) 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 (*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 sets the NotTags field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NotTags field is set to the value of the last call.

func (*SecurityGroupFilterApplyConfiguration) WithNotTagsAny

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

func (*SecurityGroupFilterApplyConfiguration) 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 (*SecurityGroupFilterApplyConfiguration) WithTags

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

func (*SecurityGroupFilterApplyConfiguration) WithTagsAny

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

type SecurityGroupRuleApplyConfiguration

type SecurityGroupRuleApplyConfiguration struct {
	Description     *string `json:"description,omitempty"`
	ID              *string `json:"name,omitempty"`
	Direction       *string `json:"direction,omitempty"`
	EtherType       *string `json:"etherType,omitempty"`
	SecurityGroupID *string `json:"securityGroupID,omitempty"`
	PortRangeMin    *int    `json:"portRangeMin,omitempty"`
	PortRangeMax    *int    `json:"portRangeMax,omitempty"`
	Protocol        *string `json:"protocol,omitempty"`
	RemoteGroupID   *string `json:"remoteGroupID,omitempty"`
	RemoteIPPrefix  *string `json:"remoteIPPrefix,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) 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 (*SecurityGroupRuleApplyConfiguration) WithPortRangeMax

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

func (*SecurityGroupRuleApplyConfiguration) WithPortRangeMin

WithPortRangeMin sets the PortRangeMin field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PortRangeMin 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) 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 (*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.

func (*SecurityGroupRuleApplyConfiguration) WithSecurityGroupID

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

type SubnetApplyConfiguration

type SubnetApplyConfiguration struct {
	Name *string  `json:"name,omitempty"`
	ID   *string  `json:"id,omitempty"`
	CIDR *string  `json:"cidr,omitempty"`
	Tags []string `json:"tags,omitempty"`
}

SubnetApplyConfiguration represents a declarative configuration of the Subnet type for use with apply.

func Subnet

func Subnet() *SubnetApplyConfiguration

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

func (*SubnetApplyConfiguration) 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 (*SubnetApplyConfiguration) 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 (*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) 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 SubnetFilterApplyConfiguration

type SubnetFilterApplyConfiguration struct {
	Name            *string `json:"name,omitempty"`
	Description     *string `json:"description,omitempty"`
	ProjectID       *string `json:"projectId,omitempty"`
	IPVersion       *int    `json:"ipVersion,omitempty"`
	GatewayIP       *string `json:"gateway_ip,omitempty"`
	CIDR            *string `json:"cidr,omitempty"`
	IPv6AddressMode *string `json:"ipv6AddressMode,omitempty"`
	IPv6RAMode      *string `json:"ipv6RaMode,omitempty"`
	ID              *string `json:"id,omitempty"`
	Tags            *string `json:"tags,omitempty"`
	TagsAny         *string `json:"tagsAny,omitempty"`
	NotTags         *string `json:"notTags,omitempty"`
	NotTagsAny      *string `json:"notTagsAny,omitempty"`
}

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) 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 (*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) 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 (*SubnetFilterApplyConfiguration) 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 (*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) WithNotTags

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

func (*SubnetFilterApplyConfiguration) WithNotTagsAny

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

func (*SubnetFilterApplyConfiguration) 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 (*SubnetFilterApplyConfiguration) WithTags

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

func (*SubnetFilterApplyConfiguration) WithTagsAny

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

type ValueSpecApplyConfiguration

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

ValueSpecApplyConfiguration represents a declarative configuration of the ValueSpec type for use with apply.

func ValueSpec

func ValueSpec() *ValueSpecApplyConfiguration

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

func (*ValueSpecApplyConfiguration) 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 (*ValueSpecApplyConfiguration) 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 (*ValueSpecApplyConfiguration) 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.

Jump to

Keyboard shortcuts

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