v1alpha6

package
v0.11.3 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 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 an declarative configuration of the APIServerLoadBalancer type for use with apply.

func APIServerLoadBalancer

func APIServerLoadBalancer() *APIServerLoadBalancerApplyConfiguration

APIServerLoadBalancerApplyConfiguration constructs an 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 AddressPairApplyConfiguration

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

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

func AddressPair

func AddressPair() *AddressPairApplyConfiguration

AddressPairApplyConfiguration constructs an 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 an declarative configuration of the Bastion type for use with apply.

func Bastion

func Bastion() *BastionApplyConfiguration

BastionApplyConfiguration constructs an 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 ExternalRouterIPParamApplyConfiguration

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

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

func ExternalRouterIPParam

func ExternalRouterIPParam() *ExternalRouterIPParamApplyConfiguration

ExternalRouterIPParamApplyConfiguration constructs an 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 an declarative configuration of the FixedIP type for use with apply.

func FixedIP

func FixedIP() *FixedIPApplyConfiguration

FixedIPApplyConfiguration constructs an 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 InstanceApplyConfiguration

type InstanceApplyConfiguration struct {
	ID             *string                       `json:"id,omitempty"`
	Name           *string                       `json:"name,omitempty"`
	Trunk          *bool                         `json:"trunk,omitempty"`
	FailureDomain  *string                       `json:"failureDomain,omitempty"`
	SecurityGroups []string                      `json:"securigyGroups,omitempty"`
	Networks       []NetworkApplyConfiguration   `json:"networks,omitempty"`
	Subnet         *string                       `json:"subnet,omitempty"`
	Tags           []string                      `json:"tags,omitempty"`
	Image          *string                       `json:"image,omitempty"`
	ImageUUID      *string                       `json:"imageUUID,omitempty"`
	Flavor         *string                       `json:"flavor,omitempty"`
	SSHKeyName     *string                       `json:"sshKeyName,omitempty"`
	UserData       *string                       `json:"userData,omitempty"`
	Metadata       map[string]string             `json:"metadata,omitempty"`
	ConfigDrive    *bool                         `json:"configDrive,omitempty"`
	RootVolume     *RootVolumeApplyConfiguration `json:"rootVolume,omitempty"`
	ServerGroupID  *string                       `json:"serverGroupID,omitempty"`
	State          *apiv1alpha6.InstanceState    `json:"state,omitempty"`
	IP             *string                       `json:"ip,omitempty"`
	FloatingIP     *string                       `json:"floatingIP,omitempty"`
}

InstanceApplyConfiguration represents an declarative configuration of the Instance type for use with apply.

func Instance

func Instance() *InstanceApplyConfiguration

InstanceApplyConfiguration constructs an declarative configuration of the Instance type for use with apply.

func (*InstanceApplyConfiguration) WithConfigDrive

func (b *InstanceApplyConfiguration) WithConfigDrive(value bool) *InstanceApplyConfiguration

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 (*InstanceApplyConfiguration) WithFailureDomain

func (b *InstanceApplyConfiguration) WithFailureDomain(value string) *InstanceApplyConfiguration

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

func (*InstanceApplyConfiguration) 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 (*InstanceApplyConfiguration) 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 (*InstanceApplyConfiguration) 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 (*InstanceApplyConfiguration) 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 (*InstanceApplyConfiguration) 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 (*InstanceApplyConfiguration) 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 (*InstanceApplyConfiguration) WithMetadata

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

func (*InstanceApplyConfiguration) 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 (*InstanceApplyConfiguration) WithNetworks

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

func (*InstanceApplyConfiguration) 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 (*InstanceApplyConfiguration) 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 (*InstanceApplyConfiguration) WithSecurityGroups

func (b *InstanceApplyConfiguration) WithSecurityGroups(values ...string) *InstanceApplyConfiguration

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

func (b *InstanceApplyConfiguration) WithServerGroupID(value string) *InstanceApplyConfiguration

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

func (*InstanceApplyConfiguration) 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 (*InstanceApplyConfiguration) 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 (*InstanceApplyConfiguration) 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 (*InstanceApplyConfiguration) WithUserData

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

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 an declarative configuration of the LoadBalancer type for use with apply.

func LoadBalancer

func LoadBalancer() *LoadBalancerApplyConfiguration

LoadBalancerApplyConfiguration constructs an 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 NetworkApplyConfiguration

type NetworkApplyConfiguration struct {
	Name                  *string                         `json:"name,omitempty"`
	ID                    *string                         `json:"id,omitempty"`
	Tags                  []string                        `json:"tags,omitempty"`
	Subnet                *SubnetApplyConfiguration       `json:"subnet,omitempty"`
	PortOpts              *PortOptsApplyConfiguration     `json:"port,omitempty"`
	Router                *RouterApplyConfiguration       `json:"router,omitempty"`
	APIServerLoadBalancer *LoadBalancerApplyConfiguration `json:"apiServerLoadBalancer,omitempty"`
}

NetworkApplyConfiguration represents an declarative configuration of the Network type for use with apply.

func Network

func Network() *NetworkApplyConfiguration

NetworkApplyConfiguration constructs an declarative configuration of the Network type for use with apply.

func (*NetworkApplyConfiguration) 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 (*NetworkApplyConfiguration) 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 (*NetworkApplyConfiguration) WithName

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

func (*NetworkApplyConfiguration) WithPortOpts

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

func (*NetworkApplyConfiguration) 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 (*NetworkApplyConfiguration) 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 (*NetworkApplyConfiguration) 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 an declarative configuration of the NetworkFilter type for use with apply.

func NetworkFilter

func NetworkFilter() *NetworkFilterApplyConfiguration

NetworkFilterApplyConfiguration constructs an 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 NetworkParamApplyConfiguration

type NetworkParamApplyConfiguration struct {
	UUID    *string                          `json:"uuid,omitempty"`
	FixedIP *string                          `json:"fixedIP,omitempty"`
	Filter  *NetworkFilterApplyConfiguration `json:"filter,omitempty"`
	Subnets []SubnetParamApplyConfiguration  `json:"subnets,omitempty"`
}

NetworkParamApplyConfiguration represents an declarative configuration of the NetworkParam type for use with apply.

func NetworkParam

func NetworkParam() *NetworkParamApplyConfiguration

NetworkParamApplyConfiguration constructs an declarative configuration of the NetworkParam type for use with apply.

func (*NetworkParamApplyConfiguration) WithFilter

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

func (*NetworkParamApplyConfiguration) 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 (*NetworkParamApplyConfiguration) 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 (*NetworkParamApplyConfiguration) WithUUID

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

type 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 an declarative configuration of the OpenStackCluster type for use with apply.

func ExtractOpenStackCluster

func ExtractOpenStackCluster(openStackCluster *apiv1alpha6.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 *apiv1alpha6.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 an declarative configuration of the OpenStackCluster type for use with apply.

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"`
	Network                          *NetworkFilterApplyConfiguration              `json:"network,omitempty"`
	Subnet                           *SubnetFilterApplyConfiguration               `json:"subnet,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 an declarative configuration of the OpenStackClusterSpec type for use with apply.

func OpenStackClusterSpec

func OpenStackClusterSpec() *OpenStackClusterSpecApplyConfiguration

OpenStackClusterSpecApplyConfiguration constructs an 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) 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) 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                   *NetworkApplyConfiguration       `json:"network,omitempty"`
	ExternalNetwork           *NetworkApplyConfiguration       `json:"externalNetwork,omitempty"`
	FailureDomains            *v1beta1.FailureDomains          `json:"failureDomains,omitempty"`
	ControlPlaneSecurityGroup *SecurityGroupApplyConfiguration `json:"controlPlaneSecurityGroup,omitempty"`
	WorkerSecurityGroup       *SecurityGroupApplyConfiguration `json:"workerSecurityGroup,omitempty"`
	BastionSecurityGroup      *SecurityGroupApplyConfiguration `json:"bastionSecurityGroup,omitempty"`
	Bastion                   *InstanceApplyConfiguration      `json:"bastion,omitempty"`
	FailureReason             *errors.ClusterStatusError       `json:"failureReason,omitempty"`
	FailureMessage            *string                          `json:"failureMessage,omitempty"`
}

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

func OpenStackClusterStatus

func OpenStackClusterStatus() *OpenStackClusterStatusApplyConfiguration

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

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) 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 an declarative configuration of the OpenStackClusterTemplate type for use with apply.

func ExtractOpenStackClusterTemplate

func ExtractOpenStackClusterTemplate(openStackClusterTemplate *apiv1alpha6.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 *apiv1alpha6.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 an declarative configuration of the OpenStackClusterTemplate type for use with apply.

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 an declarative configuration of the OpenStackClusterTemplateResource type for use with apply.

func OpenStackClusterTemplateResource

func OpenStackClusterTemplateResource() *OpenStackClusterTemplateResourceApplyConfiguration

OpenStackClusterTemplateResourceApplyConfiguration constructs an 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 an declarative configuration of the OpenStackClusterTemplateSpec type for use with apply.

func OpenStackClusterTemplateSpec

func OpenStackClusterTemplateSpec() *OpenStackClusterTemplateSpecApplyConfiguration

OpenStackClusterTemplateSpecApplyConfiguration constructs an 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 an declarative configuration of the OpenStackIdentityReference type for use with apply.

func OpenStackIdentityReference

func OpenStackIdentityReference() *OpenStackIdentityReferenceApplyConfiguration

OpenStackIdentityReferenceApplyConfiguration constructs an 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 an declarative configuration of the OpenStackMachine type for use with apply.

func ExtractOpenStackMachine

func ExtractOpenStackMachine(openStackMachine *apiv1alpha6.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 *apiv1alpha6.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 an declarative configuration of the OpenStackMachine type for use with apply.

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"`
	Networks       []NetworkParamApplyConfiguration              `json:"networks,omitempty"`
	Ports          []PortOptsApplyConfiguration                  `json:"ports,omitempty"`
	Subnet         *string                                       `json:"subnet,omitempty"`
	FloatingIP     *string                                       `json:"floatingIP,omitempty"`
	SecurityGroups []SecurityGroupParamApplyConfiguration        `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"`
	ServerGroupID  *string                                       `json:"serverGroupID,omitempty"`
	IdentityRef    *OpenStackIdentityReferenceApplyConfiguration `json:"identityRef,omitempty"`
}

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

func OpenStackMachineSpec

func OpenStackMachineSpec() *OpenStackMachineSpecApplyConfiguration

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

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

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

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) 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 (*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  *v1alpha6.InstanceState    `json:"instanceState,omitempty"`
	FailureReason  *errors.MachineStatusError `json:"failureReason,omitempty"`
	FailureMessage *string                    `json:"failureMessage,omitempty"`
	Conditions     *v1beta1.Conditions        `json:"conditions,omitempty"`
}

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

func OpenStackMachineStatus

func OpenStackMachineStatus() *OpenStackMachineStatusApplyConfiguration

OpenStackMachineStatusApplyConfiguration constructs an 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 an declarative configuration of the OpenStackMachineTemplate type for use with apply.

func ExtractOpenStackMachineTemplate

func ExtractOpenStackMachineTemplate(openStackMachineTemplate *apiv1alpha6.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 *apiv1alpha6.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 an declarative configuration of the OpenStackMachineTemplate type for use with apply.

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 an declarative configuration of the OpenStackMachineTemplateResource type for use with apply.

func OpenStackMachineTemplateResource

func OpenStackMachineTemplateResource() *OpenStackMachineTemplateResourceApplyConfiguration

OpenStackMachineTemplateResourceApplyConfiguration constructs an 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 an declarative configuration of the OpenStackMachineTemplateSpec type for use with apply.

func OpenStackMachineTemplateSpec

func OpenStackMachineTemplateSpec() *OpenStackMachineTemplateSpecApplyConfiguration

OpenStackMachineTemplateSpecApplyConfiguration constructs an 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"`
	TenantID             *string                                `json:"tenantId,omitempty"`
	ProjectID            *string                                `json:"projectId,omitempty"`
	SecurityGroups       []string                               `json:"securityGroups,omitempty"`
	SecurityGroupFilters []SecurityGroupParamApplyConfiguration `json:"securityGroupFilters,omitempty"`
	AllowedAddressPairs  []AddressPairApplyConfiguration        `json:"allowedAddressPairs,omitempty"`
	Trunk                *bool                                  `json:"trunk,omitempty"`
	HostID               *string                                `json:"hostId,omitempty"`
	VNICType             *string                                `json:"vnicType,omitempty"`
	Profile              map[string]string                      `json:"profile,omitempty"`
	DisablePortSecurity  *bool                                  `json:"disablePortSecurity,omitempty"`
	Tags                 []string                               `json:"tags,omitempty"`
	ValueSpecs           []ValueSpecApplyConfiguration          `json:"valueSpecs,omitempty"`
}

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

func PortOpts

func PortOpts() *PortOptsApplyConfiguration

PortOptsApplyConfiguration constructs an 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 puts the entries into the Profile 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 Profile field, overwriting an existing map entries in Profile field with the same key.

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

func (b *PortOptsApplyConfiguration) WithSecurityGroups(values ...string) *PortOptsApplyConfiguration

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

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

func (*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 an declarative configuration of the RootVolume type for use with apply.

func RootVolume

func RootVolume() *RootVolumeApplyConfiguration

RootVolumeApplyConfiguration constructs an 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 an declarative configuration of the Router type for use with apply.

func Router

func Router() *RouterApplyConfiguration

RouterApplyConfiguration constructs an 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 SecurityGroupApplyConfiguration

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

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

func SecurityGroup

func SecurityGroup() *SecurityGroupApplyConfiguration

SecurityGroupApplyConfiguration constructs an 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"`
	TenantID    *string `json:"tenantId,omitempty"`
	ProjectID   *string `json:"projectId,omitempty"`
	Limit       *int    `json:"limit,omitempty"`
	Marker      *string `json:"marker,omitempty"`
	SortKey     *string `json:"sortKey,omitempty"`
	SortDir     *string `json:"sortDir,omitempty"`
	Tags        *string `json:"tags,omitempty"`
	TagsAny     *string `json:"tagsAny,omitempty"`
	NotTags     *string `json:"notTags,omitempty"`
	NotTagsAny  *string `json:"notTagsAny,omitempty"`
}

SecurityGroupFilterApplyConfiguration represents an declarative configuration of the SecurityGroupFilter type for use with apply.

func SecurityGroupFilter

func SecurityGroupFilter() *SecurityGroupFilterApplyConfiguration

SecurityGroupFilterApplyConfiguration constructs an 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) WithLimit

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

func (*SecurityGroupFilterApplyConfiguration) WithMarker

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

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

func (*SecurityGroupFilterApplyConfiguration) WithSortKey

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

func (*SecurityGroupFilterApplyConfiguration) WithTenantID

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

type SecurityGroupParamApplyConfiguration

type SecurityGroupParamApplyConfiguration struct {
	UUID   *string                                `json:"uuid,omitempty"`
	Name   *string                                `json:"name,omitempty"`
	Filter *SecurityGroupFilterApplyConfiguration `json:"filter,omitempty"`
}

SecurityGroupParamApplyConfiguration represents an declarative configuration of the SecurityGroupParam type for use with apply.

func SecurityGroupParam

func SecurityGroupParam() *SecurityGroupParamApplyConfiguration

SecurityGroupParamApplyConfiguration constructs an declarative configuration of the SecurityGroupParam type for use with apply.

func (*SecurityGroupParamApplyConfiguration) WithFilter

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

func (*SecurityGroupParamApplyConfiguration) 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 (*SecurityGroupParamApplyConfiguration) WithUUID

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

type 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 an declarative configuration of the SecurityGroupRule type for use with apply.

func SecurityGroupRule

func SecurityGroupRule() *SecurityGroupRuleApplyConfiguration

SecurityGroupRuleApplyConfiguration constructs an 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 an declarative configuration of the Subnet type for use with apply.

func Subnet

func Subnet() *SubnetApplyConfiguration

SubnetApplyConfiguration constructs an 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 an declarative configuration of the SubnetFilter type for use with apply.

func SubnetFilter

func SubnetFilter() *SubnetFilterApplyConfiguration

SubnetFilterApplyConfiguration constructs an 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 SubnetParamApplyConfiguration

type SubnetParamApplyConfiguration struct {
	UUID   *string                         `json:"uuid,omitempty"`
	Filter *SubnetFilterApplyConfiguration `json:"filter,omitempty"`
}

SubnetParamApplyConfiguration represents an declarative configuration of the SubnetParam type for use with apply.

func SubnetParam

func SubnetParam() *SubnetParamApplyConfiguration

SubnetParamApplyConfiguration constructs an declarative configuration of the SubnetParam type for use with apply.

func (*SubnetParamApplyConfiguration) WithFilter

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

func (*SubnetParamApplyConfiguration) WithUUID

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

type ValueSpecApplyConfiguration

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

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

func ValueSpec

func ValueSpec() *ValueSpecApplyConfiguration

ValueSpecApplyConfiguration constructs an 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