Documentation ¶
Index ¶
- type APIServerLoadBalancerApplyConfiguration
- func (b *APIServerLoadBalancerApplyConfiguration) WithAdditionalPorts(values ...int) *APIServerLoadBalancerApplyConfiguration
- func (b *APIServerLoadBalancerApplyConfiguration) WithAllowedCIDRs(values ...string) *APIServerLoadBalancerApplyConfiguration
- func (b *APIServerLoadBalancerApplyConfiguration) WithEnabled(value bool) *APIServerLoadBalancerApplyConfiguration
- func (b *APIServerLoadBalancerApplyConfiguration) WithProvider(value string) *APIServerLoadBalancerApplyConfiguration
- type AddressPairApplyConfiguration
- type BastionApplyConfiguration
- func (b *BastionApplyConfiguration) WithAvailabilityZone(value string) *BastionApplyConfiguration
- func (b *BastionApplyConfiguration) WithEnabled(value bool) *BastionApplyConfiguration
- func (b *BastionApplyConfiguration) WithInstance(value *OpenStackMachineSpecApplyConfiguration) *BastionApplyConfiguration
- type ExternalRouterIPParamApplyConfiguration
- type FixedIPApplyConfiguration
- type InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithConfigDrive(value bool) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithFailureDomain(value string) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithFlavor(value string) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithFloatingIP(value string) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithID(value string) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithIP(value string) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithImage(value string) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithImageUUID(value string) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithMetadata(entries map[string]string) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithName(value string) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithNetworks(values ...*NetworkApplyConfiguration) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithRootVolume(value *RootVolumeApplyConfiguration) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithSSHKeyName(value string) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithSecurityGroups(values ...string) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithServerGroupID(value string) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithState(value apiv1alpha6.InstanceState) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithSubnet(value string) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithTags(values ...string) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithTrunk(value bool) *InstanceApplyConfiguration
- func (b *InstanceApplyConfiguration) WithUserData(value string) *InstanceApplyConfiguration
- type LoadBalancerApplyConfiguration
- func (b *LoadBalancerApplyConfiguration) WithAllowedCIDRs(values ...string) *LoadBalancerApplyConfiguration
- func (b *LoadBalancerApplyConfiguration) WithID(value string) *LoadBalancerApplyConfiguration
- func (b *LoadBalancerApplyConfiguration) WithIP(value string) *LoadBalancerApplyConfiguration
- func (b *LoadBalancerApplyConfiguration) WithInternalIP(value string) *LoadBalancerApplyConfiguration
- func (b *LoadBalancerApplyConfiguration) WithName(value string) *LoadBalancerApplyConfiguration
- func (b *LoadBalancerApplyConfiguration) WithTags(values ...string) *LoadBalancerApplyConfiguration
- type NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithAPIServerLoadBalancer(value *LoadBalancerApplyConfiguration) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithID(value string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithName(value string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithPortOpts(value *PortOptsApplyConfiguration) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithRouter(value *RouterApplyConfiguration) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithSubnet(value *SubnetApplyConfiguration) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithTags(values ...string) *NetworkApplyConfiguration
- type NetworkFilterApplyConfiguration
- func (b *NetworkFilterApplyConfiguration) WithDescription(value string) *NetworkFilterApplyConfiguration
- func (b *NetworkFilterApplyConfiguration) WithID(value string) *NetworkFilterApplyConfiguration
- func (b *NetworkFilterApplyConfiguration) WithName(value string) *NetworkFilterApplyConfiguration
- func (b *NetworkFilterApplyConfiguration) WithNotTags(value string) *NetworkFilterApplyConfiguration
- func (b *NetworkFilterApplyConfiguration) WithNotTagsAny(value string) *NetworkFilterApplyConfiguration
- func (b *NetworkFilterApplyConfiguration) WithProjectID(value string) *NetworkFilterApplyConfiguration
- func (b *NetworkFilterApplyConfiguration) WithTags(value string) *NetworkFilterApplyConfiguration
- func (b *NetworkFilterApplyConfiguration) WithTagsAny(value string) *NetworkFilterApplyConfiguration
- type NetworkParamApplyConfiguration
- func (b *NetworkParamApplyConfiguration) WithFilter(value *NetworkFilterApplyConfiguration) *NetworkParamApplyConfiguration
- func (b *NetworkParamApplyConfiguration) WithFixedIP(value string) *NetworkParamApplyConfiguration
- func (b *NetworkParamApplyConfiguration) WithSubnets(values ...*SubnetParamApplyConfiguration) *NetworkParamApplyConfiguration
- func (b *NetworkParamApplyConfiguration) WithUUID(value string) *NetworkParamApplyConfiguration
- type OpenStackClusterApplyConfiguration
- func ExtractOpenStackCluster(openStackCluster *apiv1alpha6.OpenStackCluster, fieldManager string) (*OpenStackClusterApplyConfiguration, error)
- func ExtractOpenStackClusterStatus(openStackCluster *apiv1alpha6.OpenStackCluster, fieldManager string) (*OpenStackClusterApplyConfiguration, error)
- func OpenStackCluster(name, namespace string) *OpenStackClusterApplyConfiguration
- func (b *OpenStackClusterApplyConfiguration) WithAPIVersion(value string) *OpenStackClusterApplyConfiguration
- func (b *OpenStackClusterApplyConfiguration) WithAnnotations(entries map[string]string) *OpenStackClusterApplyConfiguration
- func (b *OpenStackClusterApplyConfiguration) WithCreationTimestamp(value metav1.Time) *OpenStackClusterApplyConfiguration
- func (b *OpenStackClusterApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *OpenStackClusterApplyConfiguration
- func (b *OpenStackClusterApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *OpenStackClusterApplyConfiguration
- func (b *OpenStackClusterApplyConfiguration) WithFinalizers(values ...string) *OpenStackClusterApplyConfiguration
- func (b *OpenStackClusterApplyConfiguration) WithGenerateName(value string) *OpenStackClusterApplyConfiguration
- func (b *OpenStackClusterApplyConfiguration) WithGeneration(value int64) *OpenStackClusterApplyConfiguration
- func (b *OpenStackClusterApplyConfiguration) WithKind(value string) *OpenStackClusterApplyConfiguration
- func (b *OpenStackClusterApplyConfiguration) WithLabels(entries map[string]string) *OpenStackClusterApplyConfiguration
- func (b *OpenStackClusterApplyConfiguration) WithName(value string) *OpenStackClusterApplyConfiguration
- func (b *OpenStackClusterApplyConfiguration) WithNamespace(value string) *OpenStackClusterApplyConfiguration
- func (b *OpenStackClusterApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *OpenStackClusterApplyConfiguration
- func (b *OpenStackClusterApplyConfiguration) WithResourceVersion(value string) *OpenStackClusterApplyConfiguration
- func (b *OpenStackClusterApplyConfiguration) WithSpec(value *OpenStackClusterSpecApplyConfiguration) *OpenStackClusterApplyConfiguration
- func (b *OpenStackClusterApplyConfiguration) WithStatus(value *OpenStackClusterStatusApplyConfiguration) *OpenStackClusterApplyConfiguration
- func (b *OpenStackClusterApplyConfiguration) WithUID(value types.UID) *OpenStackClusterApplyConfiguration
- type OpenStackClusterSpecApplyConfiguration
- func (b *OpenStackClusterSpecApplyConfiguration) WithAPIServerFixedIP(value string) *OpenStackClusterSpecApplyConfiguration
- func (b *OpenStackClusterSpecApplyConfiguration) WithAPIServerFloatingIP(value string) *OpenStackClusterSpecApplyConfiguration
- func (b *OpenStackClusterSpecApplyConfiguration) WithAPIServerLoadBalancer(value *APIServerLoadBalancerApplyConfiguration) *OpenStackClusterSpecApplyConfiguration
- func (b *OpenStackClusterSpecApplyConfiguration) WithAPIServerPort(value int) *OpenStackClusterSpecApplyConfiguration
- func (b *OpenStackClusterSpecApplyConfiguration) WithAllowAllInClusterTraffic(value bool) *OpenStackClusterSpecApplyConfiguration
- func (b *OpenStackClusterSpecApplyConfiguration) WithBastion(value *BastionApplyConfiguration) *OpenStackClusterSpecApplyConfiguration
- func (b *OpenStackClusterSpecApplyConfiguration) WithCloudName(value string) *OpenStackClusterSpecApplyConfiguration
- func (b *OpenStackClusterSpecApplyConfiguration) WithControlPlaneAvailabilityZones(values ...string) *OpenStackClusterSpecApplyConfiguration
- func (b *OpenStackClusterSpecApplyConfiguration) WithControlPlaneEndpoint(value v1beta1.APIEndpoint) *OpenStackClusterSpecApplyConfiguration
- func (b *OpenStackClusterSpecApplyConfiguration) WithControlPlaneOmitAvailabilityZone(value bool) *OpenStackClusterSpecApplyConfiguration
- func (b *OpenStackClusterSpecApplyConfiguration) WithDNSNameservers(values ...string) *OpenStackClusterSpecApplyConfiguration
- func (b *OpenStackClusterSpecApplyConfiguration) WithDisableAPIServerFloatingIP(value bool) *OpenStackClusterSpecApplyConfiguration
- func (b *OpenStackClusterSpecApplyConfiguration) WithDisablePortSecurity(value bool) *OpenStackClusterSpecApplyConfiguration
- func (b *OpenStackClusterSpecApplyConfiguration) WithExternalNetworkID(value string) *OpenStackClusterSpecApplyConfiguration
- func (b *OpenStackClusterSpecApplyConfiguration) WithExternalRouterIPs(values ...*ExternalRouterIPParamApplyConfiguration) *OpenStackClusterSpecApplyConfiguration
- func (b *OpenStackClusterSpecApplyConfiguration) WithIdentityRef(value *OpenStackIdentityReferenceApplyConfiguration) *OpenStackClusterSpecApplyConfiguration
- func (b *OpenStackClusterSpecApplyConfiguration) WithManagedSecurityGroups(value bool) *OpenStackClusterSpecApplyConfiguration
- func (b *OpenStackClusterSpecApplyConfiguration) WithNetwork(value *NetworkFilterApplyConfiguration) *OpenStackClusterSpecApplyConfiguration
- func (b *OpenStackClusterSpecApplyConfiguration) WithNodeCIDR(value string) *OpenStackClusterSpecApplyConfiguration
- func (b *OpenStackClusterSpecApplyConfiguration) WithSubnet(value *SubnetFilterApplyConfiguration) *OpenStackClusterSpecApplyConfiguration
- func (b *OpenStackClusterSpecApplyConfiguration) WithTags(values ...string) *OpenStackClusterSpecApplyConfiguration
- type OpenStackClusterStatusApplyConfiguration
- func (b *OpenStackClusterStatusApplyConfiguration) WithBastion(value *InstanceApplyConfiguration) *OpenStackClusterStatusApplyConfiguration
- func (b *OpenStackClusterStatusApplyConfiguration) WithBastionSecurityGroup(value *SecurityGroupApplyConfiguration) *OpenStackClusterStatusApplyConfiguration
- func (b *OpenStackClusterStatusApplyConfiguration) WithControlPlaneSecurityGroup(value *SecurityGroupApplyConfiguration) *OpenStackClusterStatusApplyConfiguration
- func (b *OpenStackClusterStatusApplyConfiguration) WithExternalNetwork(value *NetworkApplyConfiguration) *OpenStackClusterStatusApplyConfiguration
- func (b *OpenStackClusterStatusApplyConfiguration) WithFailureDomains(value v1beta1.FailureDomains) *OpenStackClusterStatusApplyConfiguration
- func (b *OpenStackClusterStatusApplyConfiguration) WithFailureMessage(value string) *OpenStackClusterStatusApplyConfiguration
- func (b *OpenStackClusterStatusApplyConfiguration) WithFailureReason(value errors.ClusterStatusError) *OpenStackClusterStatusApplyConfiguration
- func (b *OpenStackClusterStatusApplyConfiguration) WithNetwork(value *NetworkApplyConfiguration) *OpenStackClusterStatusApplyConfiguration
- func (b *OpenStackClusterStatusApplyConfiguration) WithReady(value bool) *OpenStackClusterStatusApplyConfiguration
- func (b *OpenStackClusterStatusApplyConfiguration) WithWorkerSecurityGroup(value *SecurityGroupApplyConfiguration) *OpenStackClusterStatusApplyConfiguration
- type OpenStackClusterTemplateApplyConfiguration
- func ExtractOpenStackClusterTemplate(openStackClusterTemplate *apiv1alpha6.OpenStackClusterTemplate, ...) (*OpenStackClusterTemplateApplyConfiguration, error)
- func ExtractOpenStackClusterTemplateStatus(openStackClusterTemplate *apiv1alpha6.OpenStackClusterTemplate, ...) (*OpenStackClusterTemplateApplyConfiguration, error)
- func OpenStackClusterTemplate(name, namespace string) *OpenStackClusterTemplateApplyConfiguration
- func (b *OpenStackClusterTemplateApplyConfiguration) WithAPIVersion(value string) *OpenStackClusterTemplateApplyConfiguration
- func (b *OpenStackClusterTemplateApplyConfiguration) WithAnnotations(entries map[string]string) *OpenStackClusterTemplateApplyConfiguration
- func (b *OpenStackClusterTemplateApplyConfiguration) WithCreationTimestamp(value metav1.Time) *OpenStackClusterTemplateApplyConfiguration
- func (b *OpenStackClusterTemplateApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *OpenStackClusterTemplateApplyConfiguration
- func (b *OpenStackClusterTemplateApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *OpenStackClusterTemplateApplyConfiguration
- func (b *OpenStackClusterTemplateApplyConfiguration) WithFinalizers(values ...string) *OpenStackClusterTemplateApplyConfiguration
- func (b *OpenStackClusterTemplateApplyConfiguration) WithGenerateName(value string) *OpenStackClusterTemplateApplyConfiguration
- func (b *OpenStackClusterTemplateApplyConfiguration) WithGeneration(value int64) *OpenStackClusterTemplateApplyConfiguration
- func (b *OpenStackClusterTemplateApplyConfiguration) WithKind(value string) *OpenStackClusterTemplateApplyConfiguration
- func (b *OpenStackClusterTemplateApplyConfiguration) WithLabels(entries map[string]string) *OpenStackClusterTemplateApplyConfiguration
- func (b *OpenStackClusterTemplateApplyConfiguration) WithName(value string) *OpenStackClusterTemplateApplyConfiguration
- func (b *OpenStackClusterTemplateApplyConfiguration) WithNamespace(value string) *OpenStackClusterTemplateApplyConfiguration
- func (b *OpenStackClusterTemplateApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *OpenStackClusterTemplateApplyConfiguration
- func (b *OpenStackClusterTemplateApplyConfiguration) WithResourceVersion(value string) *OpenStackClusterTemplateApplyConfiguration
- func (b *OpenStackClusterTemplateApplyConfiguration) WithSpec(value *OpenStackClusterTemplateSpecApplyConfiguration) *OpenStackClusterTemplateApplyConfiguration
- func (b *OpenStackClusterTemplateApplyConfiguration) WithUID(value types.UID) *OpenStackClusterTemplateApplyConfiguration
- type OpenStackClusterTemplateResourceApplyConfiguration
- type OpenStackClusterTemplateSpecApplyConfiguration
- type OpenStackIdentityReferenceApplyConfiguration
- type OpenStackMachineApplyConfiguration
- func ExtractOpenStackMachine(openStackMachine *apiv1alpha6.OpenStackMachine, fieldManager string) (*OpenStackMachineApplyConfiguration, error)
- func ExtractOpenStackMachineStatus(openStackMachine *apiv1alpha6.OpenStackMachine, fieldManager string) (*OpenStackMachineApplyConfiguration, error)
- func OpenStackMachine(name, namespace string) *OpenStackMachineApplyConfiguration
- func (b *OpenStackMachineApplyConfiguration) WithAPIVersion(value string) *OpenStackMachineApplyConfiguration
- func (b *OpenStackMachineApplyConfiguration) WithAnnotations(entries map[string]string) *OpenStackMachineApplyConfiguration
- func (b *OpenStackMachineApplyConfiguration) WithCreationTimestamp(value metav1.Time) *OpenStackMachineApplyConfiguration
- func (b *OpenStackMachineApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *OpenStackMachineApplyConfiguration
- func (b *OpenStackMachineApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *OpenStackMachineApplyConfiguration
- func (b *OpenStackMachineApplyConfiguration) WithFinalizers(values ...string) *OpenStackMachineApplyConfiguration
- func (b *OpenStackMachineApplyConfiguration) WithGenerateName(value string) *OpenStackMachineApplyConfiguration
- func (b *OpenStackMachineApplyConfiguration) WithGeneration(value int64) *OpenStackMachineApplyConfiguration
- func (b *OpenStackMachineApplyConfiguration) WithKind(value string) *OpenStackMachineApplyConfiguration
- func (b *OpenStackMachineApplyConfiguration) WithLabels(entries map[string]string) *OpenStackMachineApplyConfiguration
- func (b *OpenStackMachineApplyConfiguration) WithName(value string) *OpenStackMachineApplyConfiguration
- func (b *OpenStackMachineApplyConfiguration) WithNamespace(value string) *OpenStackMachineApplyConfiguration
- func (b *OpenStackMachineApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *OpenStackMachineApplyConfiguration
- func (b *OpenStackMachineApplyConfiguration) WithResourceVersion(value string) *OpenStackMachineApplyConfiguration
- func (b *OpenStackMachineApplyConfiguration) WithSpec(value *OpenStackMachineSpecApplyConfiguration) *OpenStackMachineApplyConfiguration
- func (b *OpenStackMachineApplyConfiguration) WithStatus(value *OpenStackMachineStatusApplyConfiguration) *OpenStackMachineApplyConfiguration
- func (b *OpenStackMachineApplyConfiguration) WithUID(value types.UID) *OpenStackMachineApplyConfiguration
- type OpenStackMachineSpecApplyConfiguration
- func (b *OpenStackMachineSpecApplyConfiguration) WithCloudName(value string) *OpenStackMachineSpecApplyConfiguration
- func (b *OpenStackMachineSpecApplyConfiguration) WithConfigDrive(value bool) *OpenStackMachineSpecApplyConfiguration
- func (b *OpenStackMachineSpecApplyConfiguration) WithFlavor(value string) *OpenStackMachineSpecApplyConfiguration
- func (b *OpenStackMachineSpecApplyConfiguration) WithFlavorID(value string) *OpenStackMachineSpecApplyConfiguration
- func (b *OpenStackMachineSpecApplyConfiguration) WithFloatingIP(value string) *OpenStackMachineSpecApplyConfiguration
- func (b *OpenStackMachineSpecApplyConfiguration) WithIdentityRef(value *OpenStackIdentityReferenceApplyConfiguration) *OpenStackMachineSpecApplyConfiguration
- func (b *OpenStackMachineSpecApplyConfiguration) WithImage(value string) *OpenStackMachineSpecApplyConfiguration
- func (b *OpenStackMachineSpecApplyConfiguration) WithImageUUID(value string) *OpenStackMachineSpecApplyConfiguration
- func (b *OpenStackMachineSpecApplyConfiguration) WithInstanceID(value string) *OpenStackMachineSpecApplyConfiguration
- func (b *OpenStackMachineSpecApplyConfiguration) WithNetworks(values ...*NetworkParamApplyConfiguration) *OpenStackMachineSpecApplyConfiguration
- func (b *OpenStackMachineSpecApplyConfiguration) WithPorts(values ...*PortOptsApplyConfiguration) *OpenStackMachineSpecApplyConfiguration
- func (b *OpenStackMachineSpecApplyConfiguration) WithProviderID(value string) *OpenStackMachineSpecApplyConfiguration
- func (b *OpenStackMachineSpecApplyConfiguration) WithRootVolume(value *RootVolumeApplyConfiguration) *OpenStackMachineSpecApplyConfiguration
- func (b *OpenStackMachineSpecApplyConfiguration) WithSSHKeyName(value string) *OpenStackMachineSpecApplyConfiguration
- func (b *OpenStackMachineSpecApplyConfiguration) WithSecurityGroups(values ...*SecurityGroupParamApplyConfiguration) *OpenStackMachineSpecApplyConfiguration
- func (b *OpenStackMachineSpecApplyConfiguration) WithServerGroupID(value string) *OpenStackMachineSpecApplyConfiguration
- func (b *OpenStackMachineSpecApplyConfiguration) WithServerMetadata(entries map[string]string) *OpenStackMachineSpecApplyConfiguration
- func (b *OpenStackMachineSpecApplyConfiguration) WithSubnet(value string) *OpenStackMachineSpecApplyConfiguration
- func (b *OpenStackMachineSpecApplyConfiguration) WithTags(values ...string) *OpenStackMachineSpecApplyConfiguration
- func (b *OpenStackMachineSpecApplyConfiguration) WithTrunk(value bool) *OpenStackMachineSpecApplyConfiguration
- type OpenStackMachineStatusApplyConfiguration
- func (b *OpenStackMachineStatusApplyConfiguration) WithAddresses(values ...v1.NodeAddress) *OpenStackMachineStatusApplyConfiguration
- func (b *OpenStackMachineStatusApplyConfiguration) WithConditions(value v1beta1.Conditions) *OpenStackMachineStatusApplyConfiguration
- func (b *OpenStackMachineStatusApplyConfiguration) WithFailureMessage(value string) *OpenStackMachineStatusApplyConfiguration
- func (b *OpenStackMachineStatusApplyConfiguration) WithFailureReason(value errors.MachineStatusError) *OpenStackMachineStatusApplyConfiguration
- func (b *OpenStackMachineStatusApplyConfiguration) WithInstanceState(value v1alpha6.InstanceState) *OpenStackMachineStatusApplyConfiguration
- func (b *OpenStackMachineStatusApplyConfiguration) WithReady(value bool) *OpenStackMachineStatusApplyConfiguration
- type OpenStackMachineTemplateApplyConfiguration
- func ExtractOpenStackMachineTemplate(openStackMachineTemplate *apiv1alpha6.OpenStackMachineTemplate, ...) (*OpenStackMachineTemplateApplyConfiguration, error)
- func ExtractOpenStackMachineTemplateStatus(openStackMachineTemplate *apiv1alpha6.OpenStackMachineTemplate, ...) (*OpenStackMachineTemplateApplyConfiguration, error)
- func OpenStackMachineTemplate(name, namespace string) *OpenStackMachineTemplateApplyConfiguration
- func (b *OpenStackMachineTemplateApplyConfiguration) WithAPIVersion(value string) *OpenStackMachineTemplateApplyConfiguration
- func (b *OpenStackMachineTemplateApplyConfiguration) WithAnnotations(entries map[string]string) *OpenStackMachineTemplateApplyConfiguration
- func (b *OpenStackMachineTemplateApplyConfiguration) WithCreationTimestamp(value metav1.Time) *OpenStackMachineTemplateApplyConfiguration
- func (b *OpenStackMachineTemplateApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *OpenStackMachineTemplateApplyConfiguration
- func (b *OpenStackMachineTemplateApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *OpenStackMachineTemplateApplyConfiguration
- func (b *OpenStackMachineTemplateApplyConfiguration) WithFinalizers(values ...string) *OpenStackMachineTemplateApplyConfiguration
- func (b *OpenStackMachineTemplateApplyConfiguration) WithGenerateName(value string) *OpenStackMachineTemplateApplyConfiguration
- func (b *OpenStackMachineTemplateApplyConfiguration) WithGeneration(value int64) *OpenStackMachineTemplateApplyConfiguration
- func (b *OpenStackMachineTemplateApplyConfiguration) WithKind(value string) *OpenStackMachineTemplateApplyConfiguration
- func (b *OpenStackMachineTemplateApplyConfiguration) WithLabels(entries map[string]string) *OpenStackMachineTemplateApplyConfiguration
- func (b *OpenStackMachineTemplateApplyConfiguration) WithName(value string) *OpenStackMachineTemplateApplyConfiguration
- func (b *OpenStackMachineTemplateApplyConfiguration) WithNamespace(value string) *OpenStackMachineTemplateApplyConfiguration
- func (b *OpenStackMachineTemplateApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *OpenStackMachineTemplateApplyConfiguration
- func (b *OpenStackMachineTemplateApplyConfiguration) WithResourceVersion(value string) *OpenStackMachineTemplateApplyConfiguration
- func (b *OpenStackMachineTemplateApplyConfiguration) WithSpec(value *OpenStackMachineTemplateSpecApplyConfiguration) *OpenStackMachineTemplateApplyConfiguration
- func (b *OpenStackMachineTemplateApplyConfiguration) WithUID(value types.UID) *OpenStackMachineTemplateApplyConfiguration
- type OpenStackMachineTemplateResourceApplyConfiguration
- type OpenStackMachineTemplateSpecApplyConfiguration
- type PortOptsApplyConfiguration
- func (b *PortOptsApplyConfiguration) WithAdminStateUp(value bool) *PortOptsApplyConfiguration
- func (b *PortOptsApplyConfiguration) WithAllowedAddressPairs(values ...*AddressPairApplyConfiguration) *PortOptsApplyConfiguration
- func (b *PortOptsApplyConfiguration) WithDescription(value string) *PortOptsApplyConfiguration
- func (b *PortOptsApplyConfiguration) WithDisablePortSecurity(value bool) *PortOptsApplyConfiguration
- func (b *PortOptsApplyConfiguration) WithFixedIPs(values ...*FixedIPApplyConfiguration) *PortOptsApplyConfiguration
- func (b *PortOptsApplyConfiguration) WithHostID(value string) *PortOptsApplyConfiguration
- func (b *PortOptsApplyConfiguration) WithMACAddress(value string) *PortOptsApplyConfiguration
- func (b *PortOptsApplyConfiguration) WithNameSuffix(value string) *PortOptsApplyConfiguration
- func (b *PortOptsApplyConfiguration) WithNetwork(value *NetworkFilterApplyConfiguration) *PortOptsApplyConfiguration
- func (b *PortOptsApplyConfiguration) WithProfile(entries map[string]string) *PortOptsApplyConfiguration
- func (b *PortOptsApplyConfiguration) WithProjectID(value string) *PortOptsApplyConfiguration
- func (b *PortOptsApplyConfiguration) WithSecurityGroupFilters(values ...*SecurityGroupParamApplyConfiguration) *PortOptsApplyConfiguration
- func (b *PortOptsApplyConfiguration) WithSecurityGroups(values ...string) *PortOptsApplyConfiguration
- func (b *PortOptsApplyConfiguration) WithTags(values ...string) *PortOptsApplyConfiguration
- func (b *PortOptsApplyConfiguration) WithTenantID(value string) *PortOptsApplyConfiguration
- func (b *PortOptsApplyConfiguration) WithTrunk(value bool) *PortOptsApplyConfiguration
- func (b *PortOptsApplyConfiguration) WithVNICType(value string) *PortOptsApplyConfiguration
- func (b *PortOptsApplyConfiguration) WithValueSpecs(values ...*ValueSpecApplyConfiguration) *PortOptsApplyConfiguration
- type RootVolumeApplyConfiguration
- type RouterApplyConfiguration
- func (b *RouterApplyConfiguration) WithID(value string) *RouterApplyConfiguration
- func (b *RouterApplyConfiguration) WithIPs(values ...string) *RouterApplyConfiguration
- func (b *RouterApplyConfiguration) WithName(value string) *RouterApplyConfiguration
- func (b *RouterApplyConfiguration) WithTags(values ...string) *RouterApplyConfiguration
- type SecurityGroupApplyConfiguration
- func (b *SecurityGroupApplyConfiguration) WithID(value string) *SecurityGroupApplyConfiguration
- func (b *SecurityGroupApplyConfiguration) WithName(value string) *SecurityGroupApplyConfiguration
- func (b *SecurityGroupApplyConfiguration) WithRules(values ...*SecurityGroupRuleApplyConfiguration) *SecurityGroupApplyConfiguration
- type SecurityGroupFilterApplyConfiguration
- func (b *SecurityGroupFilterApplyConfiguration) WithDescription(value string) *SecurityGroupFilterApplyConfiguration
- func (b *SecurityGroupFilterApplyConfiguration) WithID(value string) *SecurityGroupFilterApplyConfiguration
- func (b *SecurityGroupFilterApplyConfiguration) WithLimit(value int) *SecurityGroupFilterApplyConfiguration
- func (b *SecurityGroupFilterApplyConfiguration) WithMarker(value string) *SecurityGroupFilterApplyConfiguration
- func (b *SecurityGroupFilterApplyConfiguration) WithName(value string) *SecurityGroupFilterApplyConfiguration
- func (b *SecurityGroupFilterApplyConfiguration) WithNotTags(value string) *SecurityGroupFilterApplyConfiguration
- func (b *SecurityGroupFilterApplyConfiguration) WithNotTagsAny(value string) *SecurityGroupFilterApplyConfiguration
- func (b *SecurityGroupFilterApplyConfiguration) WithProjectID(value string) *SecurityGroupFilterApplyConfiguration
- func (b *SecurityGroupFilterApplyConfiguration) WithSortDir(value string) *SecurityGroupFilterApplyConfiguration
- func (b *SecurityGroupFilterApplyConfiguration) WithSortKey(value string) *SecurityGroupFilterApplyConfiguration
- func (b *SecurityGroupFilterApplyConfiguration) WithTags(value string) *SecurityGroupFilterApplyConfiguration
- func (b *SecurityGroupFilterApplyConfiguration) WithTagsAny(value string) *SecurityGroupFilterApplyConfiguration
- func (b *SecurityGroupFilterApplyConfiguration) WithTenantID(value string) *SecurityGroupFilterApplyConfiguration
- type SecurityGroupParamApplyConfiguration
- func (b *SecurityGroupParamApplyConfiguration) WithFilter(value *SecurityGroupFilterApplyConfiguration) *SecurityGroupParamApplyConfiguration
- func (b *SecurityGroupParamApplyConfiguration) WithName(value string) *SecurityGroupParamApplyConfiguration
- func (b *SecurityGroupParamApplyConfiguration) WithUUID(value string) *SecurityGroupParamApplyConfiguration
- type SecurityGroupRuleApplyConfiguration
- func (b *SecurityGroupRuleApplyConfiguration) WithDescription(value string) *SecurityGroupRuleApplyConfiguration
- func (b *SecurityGroupRuleApplyConfiguration) WithDirection(value string) *SecurityGroupRuleApplyConfiguration
- func (b *SecurityGroupRuleApplyConfiguration) WithEtherType(value string) *SecurityGroupRuleApplyConfiguration
- func (b *SecurityGroupRuleApplyConfiguration) WithID(value string) *SecurityGroupRuleApplyConfiguration
- func (b *SecurityGroupRuleApplyConfiguration) WithPortRangeMax(value int) *SecurityGroupRuleApplyConfiguration
- func (b *SecurityGroupRuleApplyConfiguration) WithPortRangeMin(value int) *SecurityGroupRuleApplyConfiguration
- func (b *SecurityGroupRuleApplyConfiguration) WithProtocol(value string) *SecurityGroupRuleApplyConfiguration
- func (b *SecurityGroupRuleApplyConfiguration) WithRemoteGroupID(value string) *SecurityGroupRuleApplyConfiguration
- func (b *SecurityGroupRuleApplyConfiguration) WithRemoteIPPrefix(value string) *SecurityGroupRuleApplyConfiguration
- func (b *SecurityGroupRuleApplyConfiguration) WithSecurityGroupID(value string) *SecurityGroupRuleApplyConfiguration
- type SubnetApplyConfiguration
- func (b *SubnetApplyConfiguration) WithCIDR(value string) *SubnetApplyConfiguration
- func (b *SubnetApplyConfiguration) WithID(value string) *SubnetApplyConfiguration
- func (b *SubnetApplyConfiguration) WithName(value string) *SubnetApplyConfiguration
- func (b *SubnetApplyConfiguration) WithTags(values ...string) *SubnetApplyConfiguration
- type SubnetFilterApplyConfiguration
- func (b *SubnetFilterApplyConfiguration) WithCIDR(value string) *SubnetFilterApplyConfiguration
- func (b *SubnetFilterApplyConfiguration) WithDescription(value string) *SubnetFilterApplyConfiguration
- func (b *SubnetFilterApplyConfiguration) WithGatewayIP(value string) *SubnetFilterApplyConfiguration
- func (b *SubnetFilterApplyConfiguration) WithID(value string) *SubnetFilterApplyConfiguration
- func (b *SubnetFilterApplyConfiguration) WithIPVersion(value int) *SubnetFilterApplyConfiguration
- func (b *SubnetFilterApplyConfiguration) WithIPv6AddressMode(value string) *SubnetFilterApplyConfiguration
- func (b *SubnetFilterApplyConfiguration) WithIPv6RAMode(value string) *SubnetFilterApplyConfiguration
- func (b *SubnetFilterApplyConfiguration) WithName(value string) *SubnetFilterApplyConfiguration
- func (b *SubnetFilterApplyConfiguration) WithNotTags(value string) *SubnetFilterApplyConfiguration
- func (b *SubnetFilterApplyConfiguration) WithNotTagsAny(value string) *SubnetFilterApplyConfiguration
- func (b *SubnetFilterApplyConfiguration) WithProjectID(value string) *SubnetFilterApplyConfiguration
- func (b *SubnetFilterApplyConfiguration) WithTags(value string) *SubnetFilterApplyConfiguration
- func (b *SubnetFilterApplyConfiguration) WithTagsAny(value string) *SubnetFilterApplyConfiguration
- type SubnetParamApplyConfiguration
- type ValueSpecApplyConfiguration
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 ¶
func (b *APIServerLoadBalancerApplyConfiguration) WithAdditionalPorts(values ...int) *APIServerLoadBalancerApplyConfiguration
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 ¶
func (b *APIServerLoadBalancerApplyConfiguration) WithAllowedCIDRs(values ...string) *APIServerLoadBalancerApplyConfiguration
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 ¶
func (b *APIServerLoadBalancerApplyConfiguration) WithEnabled(value bool) *APIServerLoadBalancerApplyConfiguration
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 ¶
func (b *APIServerLoadBalancerApplyConfiguration) WithProvider(value string) *APIServerLoadBalancerApplyConfiguration
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 ¶
func (b *AddressPairApplyConfiguration) WithIPAddress(value string) *AddressPairApplyConfiguration
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 ¶
func (b *AddressPairApplyConfiguration) WithMACAddress(value string) *AddressPairApplyConfiguration
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 ¶
func (b *BastionApplyConfiguration) WithEnabled(value bool) *BastionApplyConfiguration
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 ¶
func (b *BastionApplyConfiguration) WithInstance(value *OpenStackMachineSpecApplyConfiguration) *BastionApplyConfiguration
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 ¶
func (b *ExternalRouterIPParamApplyConfiguration) WithFixedIP(value string) *ExternalRouterIPParamApplyConfiguration
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 ¶
func (b *ExternalRouterIPParamApplyConfiguration) WithSubnet(value *SubnetParamApplyConfiguration) *ExternalRouterIPParamApplyConfiguration
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 ¶
func (b *FixedIPApplyConfiguration) WithIPAddress(value string) *FixedIPApplyConfiguration
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 ¶
func (b *FixedIPApplyConfiguration) WithSubnet(value *SubnetFilterApplyConfiguration) *FixedIPApplyConfiguration
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 ¶
func (b *InstanceApplyConfiguration) WithFlavor(value string) *InstanceApplyConfiguration
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 ¶
func (b *InstanceApplyConfiguration) WithFloatingIP(value string) *InstanceApplyConfiguration
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 ¶
func (b *InstanceApplyConfiguration) WithID(value string) *InstanceApplyConfiguration
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 ¶
func (b *InstanceApplyConfiguration) WithIP(value string) *InstanceApplyConfiguration
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 ¶
func (b *InstanceApplyConfiguration) WithImage(value string) *InstanceApplyConfiguration
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 ¶
func (b *InstanceApplyConfiguration) WithImageUUID(value string) *InstanceApplyConfiguration
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 ¶
func (b *InstanceApplyConfiguration) WithMetadata(entries map[string]string) *InstanceApplyConfiguration
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 ¶
func (b *InstanceApplyConfiguration) WithName(value string) *InstanceApplyConfiguration
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 ¶
func (b *InstanceApplyConfiguration) WithNetworks(values ...*NetworkApplyConfiguration) *InstanceApplyConfiguration
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 ¶
func (b *InstanceApplyConfiguration) WithRootVolume(value *RootVolumeApplyConfiguration) *InstanceApplyConfiguration
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 ¶
func (b *InstanceApplyConfiguration) WithSSHKeyName(value string) *InstanceApplyConfiguration
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 ¶
func (b *InstanceApplyConfiguration) WithState(value apiv1alpha6.InstanceState) *InstanceApplyConfiguration
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 ¶
func (b *InstanceApplyConfiguration) WithSubnet(value string) *InstanceApplyConfiguration
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 ¶
func (b *InstanceApplyConfiguration) WithTags(values ...string) *InstanceApplyConfiguration
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 ¶
func (b *InstanceApplyConfiguration) WithTrunk(value bool) *InstanceApplyConfiguration
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 ¶
func (b *InstanceApplyConfiguration) WithUserData(value string) *InstanceApplyConfiguration
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 ¶
func (b *LoadBalancerApplyConfiguration) WithAllowedCIDRs(values ...string) *LoadBalancerApplyConfiguration
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 ¶
func (b *LoadBalancerApplyConfiguration) WithID(value string) *LoadBalancerApplyConfiguration
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 ¶
func (b *LoadBalancerApplyConfiguration) WithIP(value string) *LoadBalancerApplyConfiguration
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 ¶
func (b *LoadBalancerApplyConfiguration) WithInternalIP(value string) *LoadBalancerApplyConfiguration
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 ¶
func (b *LoadBalancerApplyConfiguration) WithName(value string) *LoadBalancerApplyConfiguration
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 ¶
func (b *LoadBalancerApplyConfiguration) WithTags(values ...string) *LoadBalancerApplyConfiguration
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 ¶
func (b *NetworkApplyConfiguration) WithAPIServerLoadBalancer(value *LoadBalancerApplyConfiguration) *NetworkApplyConfiguration
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 ¶
func (b *NetworkApplyConfiguration) WithID(value string) *NetworkApplyConfiguration
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 ¶
func (b *NetworkApplyConfiguration) WithName(value string) *NetworkApplyConfiguration
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 ¶
func (b *NetworkApplyConfiguration) WithPortOpts(value *PortOptsApplyConfiguration) *NetworkApplyConfiguration
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 ¶
func (b *NetworkApplyConfiguration) WithRouter(value *RouterApplyConfiguration) *NetworkApplyConfiguration
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 ¶
func (b *NetworkApplyConfiguration) WithSubnet(value *SubnetApplyConfiguration) *NetworkApplyConfiguration
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 ¶
func (b *NetworkApplyConfiguration) WithTags(values ...string) *NetworkApplyConfiguration
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 ¶
func (b *NetworkFilterApplyConfiguration) WithDescription(value string) *NetworkFilterApplyConfiguration
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 ¶
func (b *NetworkFilterApplyConfiguration) WithID(value string) *NetworkFilterApplyConfiguration
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 ¶
func (b *NetworkFilterApplyConfiguration) WithName(value string) *NetworkFilterApplyConfiguration
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 ¶
func (b *NetworkFilterApplyConfiguration) WithNotTags(value string) *NetworkFilterApplyConfiguration
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 ¶
func (b *NetworkFilterApplyConfiguration) WithNotTagsAny(value string) *NetworkFilterApplyConfiguration
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 ¶
func (b *NetworkFilterApplyConfiguration) WithProjectID(value string) *NetworkFilterApplyConfiguration
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 ¶
func (b *NetworkFilterApplyConfiguration) WithTags(value string) *NetworkFilterApplyConfiguration
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 ¶
func (b *NetworkFilterApplyConfiguration) WithTagsAny(value string) *NetworkFilterApplyConfiguration
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 ¶
func (b *NetworkParamApplyConfiguration) WithFilter(value *NetworkFilterApplyConfiguration) *NetworkParamApplyConfiguration
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 ¶
func (b *NetworkParamApplyConfiguration) WithFixedIP(value string) *NetworkParamApplyConfiguration
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 ¶
func (b *NetworkParamApplyConfiguration) WithSubnets(values ...*SubnetParamApplyConfiguration) *NetworkParamApplyConfiguration
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 ¶
func (b *NetworkParamApplyConfiguration) WithUUID(value string) *NetworkParamApplyConfiguration
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 ¶
func (b *OpenStackClusterApplyConfiguration) WithAPIVersion(value string) *OpenStackClusterApplyConfiguration
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 ¶
func (b *OpenStackClusterApplyConfiguration) WithAnnotations(entries map[string]string) *OpenStackClusterApplyConfiguration
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 ¶
func (b *OpenStackClusterApplyConfiguration) WithCreationTimestamp(value metav1.Time) *OpenStackClusterApplyConfiguration
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 ¶
func (b *OpenStackClusterApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *OpenStackClusterApplyConfiguration
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 ¶
func (b *OpenStackClusterApplyConfiguration) WithFinalizers(values ...string) *OpenStackClusterApplyConfiguration
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 ¶
func (b *OpenStackClusterApplyConfiguration) WithGenerateName(value string) *OpenStackClusterApplyConfiguration
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 ¶
func (b *OpenStackClusterApplyConfiguration) WithGeneration(value int64) *OpenStackClusterApplyConfiguration
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 ¶
func (b *OpenStackClusterApplyConfiguration) WithKind(value string) *OpenStackClusterApplyConfiguration
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 ¶
func (b *OpenStackClusterApplyConfiguration) WithLabels(entries map[string]string) *OpenStackClusterApplyConfiguration
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 ¶
func (b *OpenStackClusterApplyConfiguration) WithName(value string) *OpenStackClusterApplyConfiguration
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 ¶
func (b *OpenStackClusterApplyConfiguration) WithNamespace(value string) *OpenStackClusterApplyConfiguration
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 ¶
func (b *OpenStackClusterApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *OpenStackClusterApplyConfiguration
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 ¶
func (b *OpenStackClusterApplyConfiguration) WithResourceVersion(value string) *OpenStackClusterApplyConfiguration
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 ¶
func (b *OpenStackClusterApplyConfiguration) WithSpec(value *OpenStackClusterSpecApplyConfiguration) *OpenStackClusterApplyConfiguration
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 ¶
func (b *OpenStackClusterApplyConfiguration) WithStatus(value *OpenStackClusterStatusApplyConfiguration) *OpenStackClusterApplyConfiguration
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 ¶
func (b *OpenStackClusterApplyConfiguration) WithUID(value types.UID) *OpenStackClusterApplyConfiguration
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 ¶
func (b *OpenStackClusterSpecApplyConfiguration) WithAPIServerFixedIP(value string) *OpenStackClusterSpecApplyConfiguration
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 ¶
func (b *OpenStackClusterSpecApplyConfiguration) WithAPIServerFloatingIP(value string) *OpenStackClusterSpecApplyConfiguration
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 ¶
func (b *OpenStackClusterSpecApplyConfiguration) WithAPIServerLoadBalancer(value *APIServerLoadBalancerApplyConfiguration) *OpenStackClusterSpecApplyConfiguration
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 ¶
func (b *OpenStackClusterSpecApplyConfiguration) WithAPIServerPort(value int) *OpenStackClusterSpecApplyConfiguration
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 ¶
func (b *OpenStackClusterSpecApplyConfiguration) WithAllowAllInClusterTraffic(value bool) *OpenStackClusterSpecApplyConfiguration
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 ¶
func (b *OpenStackClusterSpecApplyConfiguration) WithBastion(value *BastionApplyConfiguration) *OpenStackClusterSpecApplyConfiguration
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 ¶
func (b *OpenStackClusterSpecApplyConfiguration) WithCloudName(value string) *OpenStackClusterSpecApplyConfiguration
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 ¶
func (b *OpenStackClusterSpecApplyConfiguration) WithControlPlaneEndpoint(value v1beta1.APIEndpoint) *OpenStackClusterSpecApplyConfiguration
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 ¶
func (b *OpenStackClusterSpecApplyConfiguration) WithDNSNameservers(values ...string) *OpenStackClusterSpecApplyConfiguration
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 ¶
func (b *OpenStackClusterSpecApplyConfiguration) WithDisableAPIServerFloatingIP(value bool) *OpenStackClusterSpecApplyConfiguration
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 ¶
func (b *OpenStackClusterSpecApplyConfiguration) WithDisablePortSecurity(value bool) *OpenStackClusterSpecApplyConfiguration
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 ¶
func (b *OpenStackClusterSpecApplyConfiguration) WithExternalNetworkID(value string) *OpenStackClusterSpecApplyConfiguration
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 ¶
func (b *OpenStackClusterSpecApplyConfiguration) WithExternalRouterIPs(values ...*ExternalRouterIPParamApplyConfiguration) *OpenStackClusterSpecApplyConfiguration
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 ¶
func (b *OpenStackClusterSpecApplyConfiguration) WithIdentityRef(value *OpenStackIdentityReferenceApplyConfiguration) *OpenStackClusterSpecApplyConfiguration
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 ¶
func (b *OpenStackClusterSpecApplyConfiguration) WithManagedSecurityGroups(value bool) *OpenStackClusterSpecApplyConfiguration
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 ¶
func (b *OpenStackClusterSpecApplyConfiguration) WithNetwork(value *NetworkFilterApplyConfiguration) *OpenStackClusterSpecApplyConfiguration
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 ¶
func (b *OpenStackClusterSpecApplyConfiguration) WithNodeCIDR(value string) *OpenStackClusterSpecApplyConfiguration
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 ¶
func (b *OpenStackClusterSpecApplyConfiguration) WithSubnet(value *SubnetFilterApplyConfiguration) *OpenStackClusterSpecApplyConfiguration
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 ¶
func (b *OpenStackClusterSpecApplyConfiguration) WithTags(values ...string) *OpenStackClusterSpecApplyConfiguration
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 ¶
func (b *OpenStackClusterStatusApplyConfiguration) WithBastion(value *InstanceApplyConfiguration) *OpenStackClusterStatusApplyConfiguration
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 ¶
func (b *OpenStackClusterStatusApplyConfiguration) WithBastionSecurityGroup(value *SecurityGroupApplyConfiguration) *OpenStackClusterStatusApplyConfiguration
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 ¶
func (b *OpenStackClusterStatusApplyConfiguration) WithControlPlaneSecurityGroup(value *SecurityGroupApplyConfiguration) *OpenStackClusterStatusApplyConfiguration
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 ¶
func (b *OpenStackClusterStatusApplyConfiguration) WithExternalNetwork(value *NetworkApplyConfiguration) *OpenStackClusterStatusApplyConfiguration
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 ¶
func (b *OpenStackClusterStatusApplyConfiguration) WithFailureDomains(value v1beta1.FailureDomains) *OpenStackClusterStatusApplyConfiguration
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 ¶
func (b *OpenStackClusterStatusApplyConfiguration) WithFailureMessage(value string) *OpenStackClusterStatusApplyConfiguration
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 ¶
func (b *OpenStackClusterStatusApplyConfiguration) WithFailureReason(value errors.ClusterStatusError) *OpenStackClusterStatusApplyConfiguration
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 ¶
func (b *OpenStackClusterStatusApplyConfiguration) WithNetwork(value *NetworkApplyConfiguration) *OpenStackClusterStatusApplyConfiguration
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 ¶
func (b *OpenStackClusterStatusApplyConfiguration) WithReady(value bool) *OpenStackClusterStatusApplyConfiguration
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 ¶
func (b *OpenStackClusterStatusApplyConfiguration) WithWorkerSecurityGroup(value *SecurityGroupApplyConfiguration) *OpenStackClusterStatusApplyConfiguration
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 ¶
func (b *OpenStackClusterTemplateApplyConfiguration) WithAPIVersion(value string) *OpenStackClusterTemplateApplyConfiguration
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 ¶
func (b *OpenStackClusterTemplateApplyConfiguration) WithAnnotations(entries map[string]string) *OpenStackClusterTemplateApplyConfiguration
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 ¶
func (b *OpenStackClusterTemplateApplyConfiguration) WithCreationTimestamp(value metav1.Time) *OpenStackClusterTemplateApplyConfiguration
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 ¶
func (b *OpenStackClusterTemplateApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *OpenStackClusterTemplateApplyConfiguration
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 ¶
func (b *OpenStackClusterTemplateApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *OpenStackClusterTemplateApplyConfiguration
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 ¶
func (b *OpenStackClusterTemplateApplyConfiguration) WithFinalizers(values ...string) *OpenStackClusterTemplateApplyConfiguration
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 ¶
func (b *OpenStackClusterTemplateApplyConfiguration) WithGenerateName(value string) *OpenStackClusterTemplateApplyConfiguration
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 ¶
func (b *OpenStackClusterTemplateApplyConfiguration) WithGeneration(value int64) *OpenStackClusterTemplateApplyConfiguration
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 ¶
func (b *OpenStackClusterTemplateApplyConfiguration) WithKind(value string) *OpenStackClusterTemplateApplyConfiguration
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 ¶
func (b *OpenStackClusterTemplateApplyConfiguration) WithLabels(entries map[string]string) *OpenStackClusterTemplateApplyConfiguration
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 ¶
func (b *OpenStackClusterTemplateApplyConfiguration) WithName(value string) *OpenStackClusterTemplateApplyConfiguration
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 ¶
func (b *OpenStackClusterTemplateApplyConfiguration) WithNamespace(value string) *OpenStackClusterTemplateApplyConfiguration
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 ¶
func (b *OpenStackClusterTemplateApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *OpenStackClusterTemplateApplyConfiguration
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 ¶
func (b *OpenStackClusterTemplateApplyConfiguration) WithResourceVersion(value string) *OpenStackClusterTemplateApplyConfiguration
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 ¶
func (b *OpenStackClusterTemplateApplyConfiguration) WithSpec(value *OpenStackClusterTemplateSpecApplyConfiguration) *OpenStackClusterTemplateApplyConfiguration
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 ¶
func (b *OpenStackClusterTemplateApplyConfiguration) WithUID(value types.UID) *OpenStackClusterTemplateApplyConfiguration
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 ¶
func (b *OpenStackClusterTemplateResourceApplyConfiguration) WithSpec(value *OpenStackClusterSpecApplyConfiguration) *OpenStackClusterTemplateResourceApplyConfiguration
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 ¶
func (b *OpenStackClusterTemplateSpecApplyConfiguration) WithTemplate(value *OpenStackClusterTemplateResourceApplyConfiguration) *OpenStackClusterTemplateSpecApplyConfiguration
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 ¶
func (b *OpenStackIdentityReferenceApplyConfiguration) WithKind(value string) *OpenStackIdentityReferenceApplyConfiguration
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 ¶
func (b *OpenStackIdentityReferenceApplyConfiguration) WithName(value string) *OpenStackIdentityReferenceApplyConfiguration
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 ¶
func (b *OpenStackMachineApplyConfiguration) WithAPIVersion(value string) *OpenStackMachineApplyConfiguration
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 ¶
func (b *OpenStackMachineApplyConfiguration) WithAnnotations(entries map[string]string) *OpenStackMachineApplyConfiguration
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 ¶
func (b *OpenStackMachineApplyConfiguration) WithCreationTimestamp(value metav1.Time) *OpenStackMachineApplyConfiguration
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 ¶
func (b *OpenStackMachineApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *OpenStackMachineApplyConfiguration
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 ¶
func (b *OpenStackMachineApplyConfiguration) WithFinalizers(values ...string) *OpenStackMachineApplyConfiguration
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 ¶
func (b *OpenStackMachineApplyConfiguration) WithGenerateName(value string) *OpenStackMachineApplyConfiguration
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 ¶
func (b *OpenStackMachineApplyConfiguration) WithGeneration(value int64) *OpenStackMachineApplyConfiguration
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 ¶
func (b *OpenStackMachineApplyConfiguration) WithKind(value string) *OpenStackMachineApplyConfiguration
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 ¶
func (b *OpenStackMachineApplyConfiguration) WithLabels(entries map[string]string) *OpenStackMachineApplyConfiguration
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 ¶
func (b *OpenStackMachineApplyConfiguration) WithName(value string) *OpenStackMachineApplyConfiguration
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 ¶
func (b *OpenStackMachineApplyConfiguration) WithNamespace(value string) *OpenStackMachineApplyConfiguration
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 ¶
func (b *OpenStackMachineApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *OpenStackMachineApplyConfiguration
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 ¶
func (b *OpenStackMachineApplyConfiguration) WithResourceVersion(value string) *OpenStackMachineApplyConfiguration
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 ¶
func (b *OpenStackMachineApplyConfiguration) WithSpec(value *OpenStackMachineSpecApplyConfiguration) *OpenStackMachineApplyConfiguration
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 ¶
func (b *OpenStackMachineApplyConfiguration) WithStatus(value *OpenStackMachineStatusApplyConfiguration) *OpenStackMachineApplyConfiguration
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 ¶
func (b *OpenStackMachineApplyConfiguration) WithUID(value types.UID) *OpenStackMachineApplyConfiguration
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 ¶
func (b *OpenStackMachineSpecApplyConfiguration) WithCloudName(value string) *OpenStackMachineSpecApplyConfiguration
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 ¶
func (b *OpenStackMachineSpecApplyConfiguration) WithConfigDrive(value bool) *OpenStackMachineSpecApplyConfiguration
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 ¶
func (b *OpenStackMachineSpecApplyConfiguration) WithFlavor(value string) *OpenStackMachineSpecApplyConfiguration
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 ¶
func (b *OpenStackMachineSpecApplyConfiguration) WithFlavorID(value string) *OpenStackMachineSpecApplyConfiguration
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 ¶
func (b *OpenStackMachineSpecApplyConfiguration) WithFloatingIP(value string) *OpenStackMachineSpecApplyConfiguration
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 ¶
func (b *OpenStackMachineSpecApplyConfiguration) WithIdentityRef(value *OpenStackIdentityReferenceApplyConfiguration) *OpenStackMachineSpecApplyConfiguration
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 ¶
func (b *OpenStackMachineSpecApplyConfiguration) WithImage(value string) *OpenStackMachineSpecApplyConfiguration
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 ¶
func (b *OpenStackMachineSpecApplyConfiguration) WithImageUUID(value string) *OpenStackMachineSpecApplyConfiguration
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 ¶
func (b *OpenStackMachineSpecApplyConfiguration) WithInstanceID(value string) *OpenStackMachineSpecApplyConfiguration
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 ¶
func (b *OpenStackMachineSpecApplyConfiguration) WithNetworks(values ...*NetworkParamApplyConfiguration) *OpenStackMachineSpecApplyConfiguration
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 ¶
func (b *OpenStackMachineSpecApplyConfiguration) WithPorts(values ...*PortOptsApplyConfiguration) *OpenStackMachineSpecApplyConfiguration
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 ¶
func (b *OpenStackMachineSpecApplyConfiguration) WithProviderID(value string) *OpenStackMachineSpecApplyConfiguration
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 ¶
func (b *OpenStackMachineSpecApplyConfiguration) WithRootVolume(value *RootVolumeApplyConfiguration) *OpenStackMachineSpecApplyConfiguration
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 ¶
func (b *OpenStackMachineSpecApplyConfiguration) WithSSHKeyName(value string) *OpenStackMachineSpecApplyConfiguration
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 ¶
func (b *OpenStackMachineSpecApplyConfiguration) WithSecurityGroups(values ...*SecurityGroupParamApplyConfiguration) *OpenStackMachineSpecApplyConfiguration
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 ¶
func (b *OpenStackMachineSpecApplyConfiguration) WithServerGroupID(value string) *OpenStackMachineSpecApplyConfiguration
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 ¶
func (b *OpenStackMachineSpecApplyConfiguration) WithServerMetadata(entries map[string]string) *OpenStackMachineSpecApplyConfiguration
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 ¶
func (b *OpenStackMachineSpecApplyConfiguration) WithSubnet(value string) *OpenStackMachineSpecApplyConfiguration
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 ¶
func (b *OpenStackMachineSpecApplyConfiguration) WithTags(values ...string) *OpenStackMachineSpecApplyConfiguration
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 ¶
func (b *OpenStackMachineSpecApplyConfiguration) WithTrunk(value bool) *OpenStackMachineSpecApplyConfiguration
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 ¶
func (b *OpenStackMachineStatusApplyConfiguration) WithAddresses(values ...v1.NodeAddress) *OpenStackMachineStatusApplyConfiguration
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 ¶
func (b *OpenStackMachineStatusApplyConfiguration) WithConditions(value v1beta1.Conditions) *OpenStackMachineStatusApplyConfiguration
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 ¶
func (b *OpenStackMachineStatusApplyConfiguration) WithFailureMessage(value string) *OpenStackMachineStatusApplyConfiguration
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 ¶
func (b *OpenStackMachineStatusApplyConfiguration) WithFailureReason(value errors.MachineStatusError) *OpenStackMachineStatusApplyConfiguration
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 ¶
func (b *OpenStackMachineStatusApplyConfiguration) WithInstanceState(value v1alpha6.InstanceState) *OpenStackMachineStatusApplyConfiguration
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 ¶
func (b *OpenStackMachineStatusApplyConfiguration) WithReady(value bool) *OpenStackMachineStatusApplyConfiguration
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 ¶
func (b *OpenStackMachineTemplateApplyConfiguration) WithAPIVersion(value string) *OpenStackMachineTemplateApplyConfiguration
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 ¶
func (b *OpenStackMachineTemplateApplyConfiguration) WithAnnotations(entries map[string]string) *OpenStackMachineTemplateApplyConfiguration
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 ¶
func (b *OpenStackMachineTemplateApplyConfiguration) WithCreationTimestamp(value metav1.Time) *OpenStackMachineTemplateApplyConfiguration
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 ¶
func (b *OpenStackMachineTemplateApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *OpenStackMachineTemplateApplyConfiguration
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 ¶
func (b *OpenStackMachineTemplateApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *OpenStackMachineTemplateApplyConfiguration
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 ¶
func (b *OpenStackMachineTemplateApplyConfiguration) WithFinalizers(values ...string) *OpenStackMachineTemplateApplyConfiguration
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 ¶
func (b *OpenStackMachineTemplateApplyConfiguration) WithGenerateName(value string) *OpenStackMachineTemplateApplyConfiguration
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 ¶
func (b *OpenStackMachineTemplateApplyConfiguration) WithGeneration(value int64) *OpenStackMachineTemplateApplyConfiguration
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 ¶
func (b *OpenStackMachineTemplateApplyConfiguration) WithKind(value string) *OpenStackMachineTemplateApplyConfiguration
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 ¶
func (b *OpenStackMachineTemplateApplyConfiguration) WithLabels(entries map[string]string) *OpenStackMachineTemplateApplyConfiguration
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 ¶
func (b *OpenStackMachineTemplateApplyConfiguration) WithName(value string) *OpenStackMachineTemplateApplyConfiguration
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 ¶
func (b *OpenStackMachineTemplateApplyConfiguration) WithNamespace(value string) *OpenStackMachineTemplateApplyConfiguration
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 ¶
func (b *OpenStackMachineTemplateApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *OpenStackMachineTemplateApplyConfiguration
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 ¶
func (b *OpenStackMachineTemplateApplyConfiguration) WithResourceVersion(value string) *OpenStackMachineTemplateApplyConfiguration
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 ¶
func (b *OpenStackMachineTemplateApplyConfiguration) WithSpec(value *OpenStackMachineTemplateSpecApplyConfiguration) *OpenStackMachineTemplateApplyConfiguration
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 ¶
func (b *OpenStackMachineTemplateApplyConfiguration) WithUID(value types.UID) *OpenStackMachineTemplateApplyConfiguration
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 ¶
func (b *OpenStackMachineTemplateResourceApplyConfiguration) WithSpec(value *OpenStackMachineSpecApplyConfiguration) *OpenStackMachineTemplateResourceApplyConfiguration
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 ¶
func (b *OpenStackMachineTemplateSpecApplyConfiguration) WithTemplate(value *OpenStackMachineTemplateResourceApplyConfiguration) *OpenStackMachineTemplateSpecApplyConfiguration
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 ¶
func (b *PortOptsApplyConfiguration) WithAllowedAddressPairs(values ...*AddressPairApplyConfiguration) *PortOptsApplyConfiguration
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 ¶
func (b *PortOptsApplyConfiguration) WithDescription(value string) *PortOptsApplyConfiguration
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 ¶
func (b *PortOptsApplyConfiguration) WithFixedIPs(values ...*FixedIPApplyConfiguration) *PortOptsApplyConfiguration
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 ¶
func (b *PortOptsApplyConfiguration) WithHostID(value string) *PortOptsApplyConfiguration
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 ¶
func (b *PortOptsApplyConfiguration) WithMACAddress(value string) *PortOptsApplyConfiguration
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 ¶
func (b *PortOptsApplyConfiguration) WithNameSuffix(value string) *PortOptsApplyConfiguration
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 ¶
func (b *PortOptsApplyConfiguration) WithNetwork(value *NetworkFilterApplyConfiguration) *PortOptsApplyConfiguration
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 ¶
func (b *PortOptsApplyConfiguration) WithProfile(entries map[string]string) *PortOptsApplyConfiguration
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 ¶
func (b *PortOptsApplyConfiguration) WithProjectID(value string) *PortOptsApplyConfiguration
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 ¶
func (b *PortOptsApplyConfiguration) WithSecurityGroupFilters(values ...*SecurityGroupParamApplyConfiguration) *PortOptsApplyConfiguration
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 ¶
func (b *PortOptsApplyConfiguration) WithTags(values ...string) *PortOptsApplyConfiguration
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 ¶
func (b *PortOptsApplyConfiguration) WithTenantID(value string) *PortOptsApplyConfiguration
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 ¶
func (b *PortOptsApplyConfiguration) WithTrunk(value bool) *PortOptsApplyConfiguration
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 ¶
func (b *PortOptsApplyConfiguration) WithVNICType(value string) *PortOptsApplyConfiguration
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 ¶
func (b *PortOptsApplyConfiguration) WithValueSpecs(values ...*ValueSpecApplyConfiguration) *PortOptsApplyConfiguration
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 ¶
func (b *RootVolumeApplyConfiguration) WithSize(value int) *RootVolumeApplyConfiguration
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 ¶
func (b *RootVolumeApplyConfiguration) WithVolumeType(value string) *RootVolumeApplyConfiguration
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 ¶
func (b *RouterApplyConfiguration) WithID(value string) *RouterApplyConfiguration
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 ¶
func (b *RouterApplyConfiguration) WithIPs(values ...string) *RouterApplyConfiguration
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 ¶
func (b *RouterApplyConfiguration) WithName(value string) *RouterApplyConfiguration
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 ¶
func (b *RouterApplyConfiguration) WithTags(values ...string) *RouterApplyConfiguration
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 ¶
func (b *SecurityGroupApplyConfiguration) WithID(value string) *SecurityGroupApplyConfiguration
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 ¶
func (b *SecurityGroupApplyConfiguration) WithName(value string) *SecurityGroupApplyConfiguration
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 ¶
func (b *SecurityGroupApplyConfiguration) WithRules(values ...*SecurityGroupRuleApplyConfiguration) *SecurityGroupApplyConfiguration
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 ¶
func (b *SecurityGroupFilterApplyConfiguration) WithDescription(value string) *SecurityGroupFilterApplyConfiguration
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 ¶
func (b *SecurityGroupFilterApplyConfiguration) WithID(value string) *SecurityGroupFilterApplyConfiguration
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 ¶
func (b *SecurityGroupFilterApplyConfiguration) WithLimit(value int) *SecurityGroupFilterApplyConfiguration
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 ¶
func (b *SecurityGroupFilterApplyConfiguration) WithMarker(value string) *SecurityGroupFilterApplyConfiguration
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 ¶
func (b *SecurityGroupFilterApplyConfiguration) WithName(value string) *SecurityGroupFilterApplyConfiguration
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 ¶
func (b *SecurityGroupFilterApplyConfiguration) WithNotTags(value string) *SecurityGroupFilterApplyConfiguration
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 ¶
func (b *SecurityGroupFilterApplyConfiguration) WithNotTagsAny(value string) *SecurityGroupFilterApplyConfiguration
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 ¶
func (b *SecurityGroupFilterApplyConfiguration) WithProjectID(value string) *SecurityGroupFilterApplyConfiguration
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 ¶
func (b *SecurityGroupFilterApplyConfiguration) WithSortDir(value string) *SecurityGroupFilterApplyConfiguration
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 ¶
func (b *SecurityGroupFilterApplyConfiguration) WithSortKey(value string) *SecurityGroupFilterApplyConfiguration
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 ¶
func (b *SecurityGroupFilterApplyConfiguration) WithTags(value string) *SecurityGroupFilterApplyConfiguration
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 ¶
func (b *SecurityGroupFilterApplyConfiguration) WithTagsAny(value string) *SecurityGroupFilterApplyConfiguration
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 ¶
func (b *SecurityGroupFilterApplyConfiguration) WithTenantID(value string) *SecurityGroupFilterApplyConfiguration
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 ¶
func (b *SecurityGroupParamApplyConfiguration) WithFilter(value *SecurityGroupFilterApplyConfiguration) *SecurityGroupParamApplyConfiguration
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 ¶
func (b *SecurityGroupParamApplyConfiguration) WithName(value string) *SecurityGroupParamApplyConfiguration
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 ¶
func (b *SecurityGroupParamApplyConfiguration) WithUUID(value string) *SecurityGroupParamApplyConfiguration
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 ¶
func (b *SecurityGroupRuleApplyConfiguration) WithDescription(value string) *SecurityGroupRuleApplyConfiguration
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 ¶
func (b *SecurityGroupRuleApplyConfiguration) WithDirection(value string) *SecurityGroupRuleApplyConfiguration
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 ¶
func (b *SecurityGroupRuleApplyConfiguration) WithEtherType(value string) *SecurityGroupRuleApplyConfiguration
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 ¶
func (b *SecurityGroupRuleApplyConfiguration) WithID(value string) *SecurityGroupRuleApplyConfiguration
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 ¶
func (b *SecurityGroupRuleApplyConfiguration) WithPortRangeMax(value int) *SecurityGroupRuleApplyConfiguration
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 ¶
func (b *SecurityGroupRuleApplyConfiguration) WithPortRangeMin(value int) *SecurityGroupRuleApplyConfiguration
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 ¶
func (b *SecurityGroupRuleApplyConfiguration) WithProtocol(value string) *SecurityGroupRuleApplyConfiguration
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 ¶
func (b *SecurityGroupRuleApplyConfiguration) WithRemoteGroupID(value string) *SecurityGroupRuleApplyConfiguration
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 ¶
func (b *SecurityGroupRuleApplyConfiguration) WithRemoteIPPrefix(value string) *SecurityGroupRuleApplyConfiguration
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 ¶
func (b *SecurityGroupRuleApplyConfiguration) WithSecurityGroupID(value string) *SecurityGroupRuleApplyConfiguration
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 ¶
func (b *SubnetApplyConfiguration) WithCIDR(value string) *SubnetApplyConfiguration
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 ¶
func (b *SubnetApplyConfiguration) WithID(value string) *SubnetApplyConfiguration
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 ¶
func (b *SubnetApplyConfiguration) WithName(value string) *SubnetApplyConfiguration
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 ¶
func (b *SubnetApplyConfiguration) WithTags(values ...string) *SubnetApplyConfiguration
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 ¶
func (b *SubnetFilterApplyConfiguration) WithCIDR(value string) *SubnetFilterApplyConfiguration
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 ¶
func (b *SubnetFilterApplyConfiguration) WithDescription(value string) *SubnetFilterApplyConfiguration
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 ¶
func (b *SubnetFilterApplyConfiguration) WithGatewayIP(value string) *SubnetFilterApplyConfiguration
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 ¶
func (b *SubnetFilterApplyConfiguration) WithID(value string) *SubnetFilterApplyConfiguration
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 ¶
func (b *SubnetFilterApplyConfiguration) WithIPVersion(value int) *SubnetFilterApplyConfiguration
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 ¶
func (b *SubnetFilterApplyConfiguration) WithIPv6AddressMode(value string) *SubnetFilterApplyConfiguration
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 ¶
func (b *SubnetFilterApplyConfiguration) WithIPv6RAMode(value string) *SubnetFilterApplyConfiguration
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 ¶
func (b *SubnetFilterApplyConfiguration) WithName(value string) *SubnetFilterApplyConfiguration
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 ¶
func (b *SubnetFilterApplyConfiguration) WithNotTags(value string) *SubnetFilterApplyConfiguration
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 ¶
func (b *SubnetFilterApplyConfiguration) WithNotTagsAny(value string) *SubnetFilterApplyConfiguration
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 ¶
func (b *SubnetFilterApplyConfiguration) WithProjectID(value string) *SubnetFilterApplyConfiguration
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 ¶
func (b *SubnetFilterApplyConfiguration) WithTags(value string) *SubnetFilterApplyConfiguration
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 ¶
func (b *SubnetFilterApplyConfiguration) WithTagsAny(value string) *SubnetFilterApplyConfiguration
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 ¶
func (b *SubnetParamApplyConfiguration) WithFilter(value *SubnetFilterApplyConfiguration) *SubnetParamApplyConfiguration
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 ¶
func (b *SubnetParamApplyConfiguration) WithUUID(value string) *SubnetParamApplyConfiguration
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 ¶
func (b *ValueSpecApplyConfiguration) WithKey(value string) *ValueSpecApplyConfiguration
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 ¶
func (b *ValueSpecApplyConfiguration) WithName(value string) *ValueSpecApplyConfiguration
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 ¶
func (b *ValueSpecApplyConfiguration) WithValue(value string) *ValueSpecApplyConfiguration
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.
Source Files ¶
- addresspair.go
- apiserverloadbalancer.go
- bastion.go
- externalrouteripparam.go
- fixedip.go
- instance.go
- loadbalancer.go
- network.go
- networkfilter.go
- networkparam.go
- openstackcluster.go
- openstackclusterspec.go
- openstackclusterstatus.go
- openstackclustertemplate.go
- openstackclustertemplateresource.go
- openstackclustertemplatespec.go
- openstackidentityreference.go
- openstackmachine.go
- openstackmachinespec.go
- openstackmachinestatus.go
- openstackmachinetemplate.go
- openstackmachinetemplateresource.go
- openstackmachinetemplatespec.go
- portopts.go
- rootvolume.go
- router.go
- securitygroup.go
- securitygroupfilter.go
- securitygroupparam.go
- securitygrouprule.go
- subnet.go
- subnetfilter.go
- subnetparam.go
- valuespec.go