Documentation
¶
Index ¶
- type BlockDeviceApplyConfiguration
- func (b *BlockDeviceApplyConfiguration) WithDeleteOnTermination(value bool) *BlockDeviceApplyConfiguration
- func (b *BlockDeviceApplyConfiguration) WithEncrypted(value bool) *BlockDeviceApplyConfiguration
- func (b *BlockDeviceApplyConfiguration) WithIOPS(value int64) *BlockDeviceApplyConfiguration
- func (b *BlockDeviceApplyConfiguration) WithKMSKeyID(value string) *BlockDeviceApplyConfiguration
- func (b *BlockDeviceApplyConfiguration) WithSnapshotID(value string) *BlockDeviceApplyConfiguration
- func (b *BlockDeviceApplyConfiguration) WithThroughput(value int64) *BlockDeviceApplyConfiguration
- func (b *BlockDeviceApplyConfiguration) WithVolumeSize(value resource.Quantity) *BlockDeviceApplyConfiguration
- func (b *BlockDeviceApplyConfiguration) WithVolumeType(value string) *BlockDeviceApplyConfiguration
- type BlockDeviceMappingApplyConfiguration
- func (b *BlockDeviceMappingApplyConfiguration) WithDeviceName(value string) *BlockDeviceMappingApplyConfiguration
- func (b *BlockDeviceMappingApplyConfiguration) WithEBS(value *BlockDeviceApplyConfiguration) *BlockDeviceMappingApplyConfiguration
- func (b *BlockDeviceMappingApplyConfiguration) WithRootVolume(value bool) *BlockDeviceMappingApplyConfiguration
- type OpenshiftEC2NodeClassApplyConfiguration
- func (b *OpenshiftEC2NodeClassApplyConfiguration) WithAPIVersion(value string) *OpenshiftEC2NodeClassApplyConfiguration
- func (b *OpenshiftEC2NodeClassApplyConfiguration) WithAnnotations(entries map[string]string) *OpenshiftEC2NodeClassApplyConfiguration
- func (b *OpenshiftEC2NodeClassApplyConfiguration) WithCreationTimestamp(value metav1.Time) *OpenshiftEC2NodeClassApplyConfiguration
- func (b *OpenshiftEC2NodeClassApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *OpenshiftEC2NodeClassApplyConfiguration
- func (b *OpenshiftEC2NodeClassApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *OpenshiftEC2NodeClassApplyConfiguration
- func (b *OpenshiftEC2NodeClassApplyConfiguration) WithFinalizers(values ...string) *OpenshiftEC2NodeClassApplyConfiguration
- func (b *OpenshiftEC2NodeClassApplyConfiguration) WithGenerateName(value string) *OpenshiftEC2NodeClassApplyConfiguration
- func (b *OpenshiftEC2NodeClassApplyConfiguration) WithGeneration(value int64) *OpenshiftEC2NodeClassApplyConfiguration
- func (b *OpenshiftEC2NodeClassApplyConfiguration) WithKind(value string) *OpenshiftEC2NodeClassApplyConfiguration
- func (b *OpenshiftEC2NodeClassApplyConfiguration) WithLabels(entries map[string]string) *OpenshiftEC2NodeClassApplyConfiguration
- func (b *OpenshiftEC2NodeClassApplyConfiguration) WithName(value string) *OpenshiftEC2NodeClassApplyConfiguration
- func (b *OpenshiftEC2NodeClassApplyConfiguration) WithNamespace(value string) *OpenshiftEC2NodeClassApplyConfiguration
- func (b *OpenshiftEC2NodeClassApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *OpenshiftEC2NodeClassApplyConfiguration
- func (b *OpenshiftEC2NodeClassApplyConfiguration) WithResourceVersion(value string) *OpenshiftEC2NodeClassApplyConfiguration
- func (b *OpenshiftEC2NodeClassApplyConfiguration) WithSpec(value *OpenshiftEC2NodeClassSpecApplyConfiguration) *OpenshiftEC2NodeClassApplyConfiguration
- func (b *OpenshiftEC2NodeClassApplyConfiguration) WithStatus(value *OpenshiftEC2NodeClassStatusApplyConfiguration) *OpenshiftEC2NodeClassApplyConfiguration
- func (b *OpenshiftEC2NodeClassApplyConfiguration) WithUID(value types.UID) *OpenshiftEC2NodeClassApplyConfiguration
- type OpenshiftEC2NodeClassSpecApplyConfiguration
- func (b *OpenshiftEC2NodeClassSpecApplyConfiguration) WithAssociatePublicIPAddress(value bool) *OpenshiftEC2NodeClassSpecApplyConfiguration
- func (b *OpenshiftEC2NodeClassSpecApplyConfiguration) WithBlockDeviceMappings(values ...**karpenterv1beta1.BlockDeviceMapping) *OpenshiftEC2NodeClassSpecApplyConfiguration
- func (b *OpenshiftEC2NodeClassSpecApplyConfiguration) WithDetailedMonitoring(value bool) *OpenshiftEC2NodeClassSpecApplyConfiguration
- func (b *OpenshiftEC2NodeClassSpecApplyConfiguration) WithInstanceStorePolicy(value karpenterv1beta1.InstanceStorePolicy) *OpenshiftEC2NodeClassSpecApplyConfiguration
- func (b *OpenshiftEC2NodeClassSpecApplyConfiguration) WithSecurityGroupSelectorTerms(values ...*SecurityGroupSelectorTermApplyConfiguration) *OpenshiftEC2NodeClassSpecApplyConfiguration
- func (b *OpenshiftEC2NodeClassSpecApplyConfiguration) WithSubnetSelectorTerms(values ...*SubnetSelectorTermApplyConfiguration) *OpenshiftEC2NodeClassSpecApplyConfiguration
- func (b *OpenshiftEC2NodeClassSpecApplyConfiguration) WithTags(entries map[string]string) *OpenshiftEC2NodeClassSpecApplyConfiguration
- type OpenshiftEC2NodeClassStatusApplyConfiguration
- func (b *OpenshiftEC2NodeClassStatusApplyConfiguration) WithConditions(values ...*v1.ConditionApplyConfiguration) *OpenshiftEC2NodeClassStatusApplyConfiguration
- func (b *OpenshiftEC2NodeClassStatusApplyConfiguration) WithSecurityGroups(values ...*SecurityGroupApplyConfiguration) *OpenshiftEC2NodeClassStatusApplyConfiguration
- func (b *OpenshiftEC2NodeClassStatusApplyConfiguration) WithSubnets(values ...*SubnetApplyConfiguration) *OpenshiftEC2NodeClassStatusApplyConfiguration
- type SecurityGroupApplyConfiguration
- type SecurityGroupSelectorTermApplyConfiguration
- func (b *SecurityGroupSelectorTermApplyConfiguration) WithID(value string) *SecurityGroupSelectorTermApplyConfiguration
- func (b *SecurityGroupSelectorTermApplyConfiguration) WithName(value string) *SecurityGroupSelectorTermApplyConfiguration
- func (b *SecurityGroupSelectorTermApplyConfiguration) WithTags(entries map[string]string) *SecurityGroupSelectorTermApplyConfiguration
- type SubnetApplyConfiguration
- type SubnetSelectorTermApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockDeviceApplyConfiguration ¶
type BlockDeviceApplyConfiguration struct { DeleteOnTermination *bool `json:"deleteOnTermination,omitempty"` Encrypted *bool `json:"encrypted,omitempty"` IOPS *int64 `json:"iops,omitempty"` KMSKeyID *string `json:"kmsKeyID,omitempty"` SnapshotID *string `json:"snapshotID,omitempty"` Throughput *int64 `json:"throughput,omitempty"` VolumeSize *resource.Quantity `json:"volumeSize,omitempty"` VolumeType *string `json:"volumeType,omitempty"` }
BlockDeviceApplyConfiguration represents an declarative configuration of the BlockDevice type for use with apply.
func BlockDevice ¶
func BlockDevice() *BlockDeviceApplyConfiguration
BlockDeviceApplyConfiguration constructs an declarative configuration of the BlockDevice type for use with apply.
func (*BlockDeviceApplyConfiguration) WithDeleteOnTermination ¶
func (b *BlockDeviceApplyConfiguration) WithDeleteOnTermination(value bool) *BlockDeviceApplyConfiguration
WithDeleteOnTermination sets the DeleteOnTermination field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeleteOnTermination field is set to the value of the last call.
func (*BlockDeviceApplyConfiguration) WithEncrypted ¶
func (b *BlockDeviceApplyConfiguration) WithEncrypted(value bool) *BlockDeviceApplyConfiguration
WithEncrypted sets the Encrypted field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Encrypted field is set to the value of the last call.
func (*BlockDeviceApplyConfiguration) WithIOPS ¶
func (b *BlockDeviceApplyConfiguration) WithIOPS(value int64) *BlockDeviceApplyConfiguration
WithIOPS sets the IOPS field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IOPS field is set to the value of the last call.
func (*BlockDeviceApplyConfiguration) WithKMSKeyID ¶
func (b *BlockDeviceApplyConfiguration) WithKMSKeyID(value string) *BlockDeviceApplyConfiguration
WithKMSKeyID sets the KMSKeyID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the KMSKeyID field is set to the value of the last call.
func (*BlockDeviceApplyConfiguration) WithSnapshotID ¶
func (b *BlockDeviceApplyConfiguration) WithSnapshotID(value string) *BlockDeviceApplyConfiguration
WithSnapshotID sets the SnapshotID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SnapshotID field is set to the value of the last call.
func (*BlockDeviceApplyConfiguration) WithThroughput ¶
func (b *BlockDeviceApplyConfiguration) WithThroughput(value int64) *BlockDeviceApplyConfiguration
WithThroughput sets the Throughput field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Throughput field is set to the value of the last call.
func (*BlockDeviceApplyConfiguration) WithVolumeSize ¶
func (b *BlockDeviceApplyConfiguration) WithVolumeSize(value resource.Quantity) *BlockDeviceApplyConfiguration
WithVolumeSize sets the VolumeSize field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VolumeSize field is set to the value of the last call.
func (*BlockDeviceApplyConfiguration) WithVolumeType ¶
func (b *BlockDeviceApplyConfiguration) WithVolumeType(value string) *BlockDeviceApplyConfiguration
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 BlockDeviceMappingApplyConfiguration ¶
type BlockDeviceMappingApplyConfiguration struct { DeviceName *string `json:"deviceName,omitempty"` EBS *BlockDeviceApplyConfiguration `json:"ebs,omitempty"` RootVolume *bool `json:"rootVolume,omitempty"` }
BlockDeviceMappingApplyConfiguration represents an declarative configuration of the BlockDeviceMapping type for use with apply.
func BlockDeviceMapping ¶
func BlockDeviceMapping() *BlockDeviceMappingApplyConfiguration
BlockDeviceMappingApplyConfiguration constructs an declarative configuration of the BlockDeviceMapping type for use with apply.
func (*BlockDeviceMappingApplyConfiguration) WithDeviceName ¶
func (b *BlockDeviceMappingApplyConfiguration) WithDeviceName(value string) *BlockDeviceMappingApplyConfiguration
WithDeviceName sets the DeviceName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeviceName field is set to the value of the last call.
func (*BlockDeviceMappingApplyConfiguration) WithEBS ¶
func (b *BlockDeviceMappingApplyConfiguration) WithEBS(value *BlockDeviceApplyConfiguration) *BlockDeviceMappingApplyConfiguration
WithEBS sets the EBS field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EBS field is set to the value of the last call.
func (*BlockDeviceMappingApplyConfiguration) WithRootVolume ¶
func (b *BlockDeviceMappingApplyConfiguration) WithRootVolume(value bool) *BlockDeviceMappingApplyConfiguration
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.
type OpenshiftEC2NodeClassApplyConfiguration ¶
type OpenshiftEC2NodeClassApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *OpenshiftEC2NodeClassSpecApplyConfiguration `json:"spec,omitempty"` Status *OpenshiftEC2NodeClassStatusApplyConfiguration `json:"status,omitempty"` }
OpenshiftEC2NodeClassApplyConfiguration represents an declarative configuration of the OpenshiftEC2NodeClass type for use with apply.
func OpenshiftEC2NodeClass ¶
func OpenshiftEC2NodeClass(name, namespace string) *OpenshiftEC2NodeClassApplyConfiguration
OpenshiftEC2NodeClass constructs an declarative configuration of the OpenshiftEC2NodeClass type for use with apply.
func (*OpenshiftEC2NodeClassApplyConfiguration) WithAPIVersion ¶
func (b *OpenshiftEC2NodeClassApplyConfiguration) WithAPIVersion(value string) *OpenshiftEC2NodeClassApplyConfiguration
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 (*OpenshiftEC2NodeClassApplyConfiguration) WithAnnotations ¶
func (b *OpenshiftEC2NodeClassApplyConfiguration) WithAnnotations(entries map[string]string) *OpenshiftEC2NodeClassApplyConfiguration
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 (*OpenshiftEC2NodeClassApplyConfiguration) WithCreationTimestamp ¶
func (b *OpenshiftEC2NodeClassApplyConfiguration) WithCreationTimestamp(value metav1.Time) *OpenshiftEC2NodeClassApplyConfiguration
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 (*OpenshiftEC2NodeClassApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *OpenshiftEC2NodeClassApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *OpenshiftEC2NodeClassApplyConfiguration
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 (*OpenshiftEC2NodeClassApplyConfiguration) WithDeletionTimestamp ¶
func (b *OpenshiftEC2NodeClassApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *OpenshiftEC2NodeClassApplyConfiguration
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 (*OpenshiftEC2NodeClassApplyConfiguration) WithFinalizers ¶
func (b *OpenshiftEC2NodeClassApplyConfiguration) WithFinalizers(values ...string) *OpenshiftEC2NodeClassApplyConfiguration
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 (*OpenshiftEC2NodeClassApplyConfiguration) WithGenerateName ¶
func (b *OpenshiftEC2NodeClassApplyConfiguration) WithGenerateName(value string) *OpenshiftEC2NodeClassApplyConfiguration
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 (*OpenshiftEC2NodeClassApplyConfiguration) WithGeneration ¶
func (b *OpenshiftEC2NodeClassApplyConfiguration) WithGeneration(value int64) *OpenshiftEC2NodeClassApplyConfiguration
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 (*OpenshiftEC2NodeClassApplyConfiguration) WithKind ¶
func (b *OpenshiftEC2NodeClassApplyConfiguration) WithKind(value string) *OpenshiftEC2NodeClassApplyConfiguration
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 (*OpenshiftEC2NodeClassApplyConfiguration) WithLabels ¶
func (b *OpenshiftEC2NodeClassApplyConfiguration) WithLabels(entries map[string]string) *OpenshiftEC2NodeClassApplyConfiguration
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 (*OpenshiftEC2NodeClassApplyConfiguration) WithName ¶
func (b *OpenshiftEC2NodeClassApplyConfiguration) WithName(value string) *OpenshiftEC2NodeClassApplyConfiguration
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 (*OpenshiftEC2NodeClassApplyConfiguration) WithNamespace ¶
func (b *OpenshiftEC2NodeClassApplyConfiguration) WithNamespace(value string) *OpenshiftEC2NodeClassApplyConfiguration
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 (*OpenshiftEC2NodeClassApplyConfiguration) WithOwnerReferences ¶
func (b *OpenshiftEC2NodeClassApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *OpenshiftEC2NodeClassApplyConfiguration
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 (*OpenshiftEC2NodeClassApplyConfiguration) WithResourceVersion ¶
func (b *OpenshiftEC2NodeClassApplyConfiguration) WithResourceVersion(value string) *OpenshiftEC2NodeClassApplyConfiguration
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 (*OpenshiftEC2NodeClassApplyConfiguration) WithSpec ¶
func (b *OpenshiftEC2NodeClassApplyConfiguration) WithSpec(value *OpenshiftEC2NodeClassSpecApplyConfiguration) *OpenshiftEC2NodeClassApplyConfiguration
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 (*OpenshiftEC2NodeClassApplyConfiguration) WithStatus ¶
func (b *OpenshiftEC2NodeClassApplyConfiguration) WithStatus(value *OpenshiftEC2NodeClassStatusApplyConfiguration) *OpenshiftEC2NodeClassApplyConfiguration
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 (*OpenshiftEC2NodeClassApplyConfiguration) WithUID ¶
func (b *OpenshiftEC2NodeClassApplyConfiguration) WithUID(value types.UID) *OpenshiftEC2NodeClassApplyConfiguration
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 OpenshiftEC2NodeClassSpecApplyConfiguration ¶
type OpenshiftEC2NodeClassSpecApplyConfiguration struct { SubnetSelectorTerms []SubnetSelectorTermApplyConfiguration `json:"subnetSelectorTerms,omitempty"` SecurityGroupSelectorTerms []SecurityGroupSelectorTermApplyConfiguration `json:"securityGroupSelectorTerms,omitempty"` AssociatePublicIPAddress *bool `json:"associatePublicIPAddress,omitempty"` Tags map[string]string `json:"tags,omitempty"` BlockDeviceMappings []*karpenterv1beta1.BlockDeviceMapping `json:"blockDeviceMappings,omitempty"` InstanceStorePolicy *karpenterv1beta1.InstanceStorePolicy `json:"instanceStorePolicy,omitempty"` DetailedMonitoring *bool `json:"detailedMonitoring,omitempty"` }
OpenshiftEC2NodeClassSpecApplyConfiguration represents an declarative configuration of the OpenshiftEC2NodeClassSpec type for use with apply.
func OpenshiftEC2NodeClassSpec ¶
func OpenshiftEC2NodeClassSpec() *OpenshiftEC2NodeClassSpecApplyConfiguration
OpenshiftEC2NodeClassSpecApplyConfiguration constructs an declarative configuration of the OpenshiftEC2NodeClassSpec type for use with apply.
func (*OpenshiftEC2NodeClassSpecApplyConfiguration) WithAssociatePublicIPAddress ¶
func (b *OpenshiftEC2NodeClassSpecApplyConfiguration) WithAssociatePublicIPAddress(value bool) *OpenshiftEC2NodeClassSpecApplyConfiguration
WithAssociatePublicIPAddress sets the AssociatePublicIPAddress field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AssociatePublicIPAddress field is set to the value of the last call.
func (*OpenshiftEC2NodeClassSpecApplyConfiguration) WithBlockDeviceMappings ¶
func (b *OpenshiftEC2NodeClassSpecApplyConfiguration) WithBlockDeviceMappings(values ...**karpenterv1beta1.BlockDeviceMapping) *OpenshiftEC2NodeClassSpecApplyConfiguration
WithBlockDeviceMappings adds the given value to the BlockDeviceMappings field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the BlockDeviceMappings field.
func (*OpenshiftEC2NodeClassSpecApplyConfiguration) WithDetailedMonitoring ¶
func (b *OpenshiftEC2NodeClassSpecApplyConfiguration) WithDetailedMonitoring(value bool) *OpenshiftEC2NodeClassSpecApplyConfiguration
WithDetailedMonitoring sets the DetailedMonitoring field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DetailedMonitoring field is set to the value of the last call.
func (*OpenshiftEC2NodeClassSpecApplyConfiguration) WithInstanceStorePolicy ¶
func (b *OpenshiftEC2NodeClassSpecApplyConfiguration) WithInstanceStorePolicy(value karpenterv1beta1.InstanceStorePolicy) *OpenshiftEC2NodeClassSpecApplyConfiguration
WithInstanceStorePolicy sets the InstanceStorePolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the InstanceStorePolicy field is set to the value of the last call.
func (*OpenshiftEC2NodeClassSpecApplyConfiguration) WithSecurityGroupSelectorTerms ¶
func (b *OpenshiftEC2NodeClassSpecApplyConfiguration) WithSecurityGroupSelectorTerms(values ...*SecurityGroupSelectorTermApplyConfiguration) *OpenshiftEC2NodeClassSpecApplyConfiguration
WithSecurityGroupSelectorTerms adds the given value to the SecurityGroupSelectorTerms field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the SecurityGroupSelectorTerms field.
func (*OpenshiftEC2NodeClassSpecApplyConfiguration) WithSubnetSelectorTerms ¶
func (b *OpenshiftEC2NodeClassSpecApplyConfiguration) WithSubnetSelectorTerms(values ...*SubnetSelectorTermApplyConfiguration) *OpenshiftEC2NodeClassSpecApplyConfiguration
WithSubnetSelectorTerms adds the given value to the SubnetSelectorTerms field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the SubnetSelectorTerms field.
func (*OpenshiftEC2NodeClassSpecApplyConfiguration) WithTags ¶
func (b *OpenshiftEC2NodeClassSpecApplyConfiguration) WithTags(entries map[string]string) *OpenshiftEC2NodeClassSpecApplyConfiguration
WithTags puts the entries into 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, the entries provided by each call will be put on the Tags field, overwriting an existing map entries in Tags field with the same key.
type OpenshiftEC2NodeClassStatusApplyConfiguration ¶
type OpenshiftEC2NodeClassStatusApplyConfiguration struct { Subnets []SubnetApplyConfiguration `json:"subnets,omitempty"` SecurityGroups []SecurityGroupApplyConfiguration `json:"securityGroups,omitempty"` Conditions []v1.ConditionApplyConfiguration `json:"conditions,omitempty"` }
OpenshiftEC2NodeClassStatusApplyConfiguration represents an declarative configuration of the OpenshiftEC2NodeClassStatus type for use with apply.
func OpenshiftEC2NodeClassStatus ¶
func OpenshiftEC2NodeClassStatus() *OpenshiftEC2NodeClassStatusApplyConfiguration
OpenshiftEC2NodeClassStatusApplyConfiguration constructs an declarative configuration of the OpenshiftEC2NodeClassStatus type for use with apply.
func (*OpenshiftEC2NodeClassStatusApplyConfiguration) WithConditions ¶
func (b *OpenshiftEC2NodeClassStatusApplyConfiguration) WithConditions(values ...*v1.ConditionApplyConfiguration) *OpenshiftEC2NodeClassStatusApplyConfiguration
WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.
func (*OpenshiftEC2NodeClassStatusApplyConfiguration) WithSecurityGroups ¶
func (b *OpenshiftEC2NodeClassStatusApplyConfiguration) WithSecurityGroups(values ...*SecurityGroupApplyConfiguration) *OpenshiftEC2NodeClassStatusApplyConfiguration
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 (*OpenshiftEC2NodeClassStatusApplyConfiguration) WithSubnets ¶
func (b *OpenshiftEC2NodeClassStatusApplyConfiguration) WithSubnets(values ...*SubnetApplyConfiguration) *OpenshiftEC2NodeClassStatusApplyConfiguration
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.
type SecurityGroupApplyConfiguration ¶
type SecurityGroupApplyConfiguration struct { ID *string `json:"id,omitempty"` Name *string `json:"name,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.
type SecurityGroupSelectorTermApplyConfiguration ¶
type SecurityGroupSelectorTermApplyConfiguration struct { Tags map[string]string `json:"tags,omitempty"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` }
SecurityGroupSelectorTermApplyConfiguration represents an declarative configuration of the SecurityGroupSelectorTerm type for use with apply.
func SecurityGroupSelectorTerm ¶
func SecurityGroupSelectorTerm() *SecurityGroupSelectorTermApplyConfiguration
SecurityGroupSelectorTermApplyConfiguration constructs an declarative configuration of the SecurityGroupSelectorTerm type for use with apply.
func (*SecurityGroupSelectorTermApplyConfiguration) WithID ¶
func (b *SecurityGroupSelectorTermApplyConfiguration) WithID(value string) *SecurityGroupSelectorTermApplyConfiguration
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 (*SecurityGroupSelectorTermApplyConfiguration) WithName ¶
func (b *SecurityGroupSelectorTermApplyConfiguration) WithName(value string) *SecurityGroupSelectorTermApplyConfiguration
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 (*SecurityGroupSelectorTermApplyConfiguration) WithTags ¶
func (b *SecurityGroupSelectorTermApplyConfiguration) WithTags(entries map[string]string) *SecurityGroupSelectorTermApplyConfiguration
WithTags puts the entries into 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, the entries provided by each call will be put on the Tags field, overwriting an existing map entries in Tags field with the same key.
type SubnetApplyConfiguration ¶
type SubnetApplyConfiguration struct { ID *string `json:"id,omitempty"` Zone *string `json:"zone,omitempty"` ZoneID *string `json:"zoneID,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) 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) WithZone ¶
func (b *SubnetApplyConfiguration) WithZone(value string) *SubnetApplyConfiguration
WithZone sets the Zone field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Zone field is set to the value of the last call.
func (*SubnetApplyConfiguration) WithZoneID ¶
func (b *SubnetApplyConfiguration) WithZoneID(value string) *SubnetApplyConfiguration
WithZoneID sets the ZoneID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ZoneID field is set to the value of the last call.
type SubnetSelectorTermApplyConfiguration ¶
type SubnetSelectorTermApplyConfiguration struct { Tags map[string]string `json:"tags,omitempty"` ID *string `json:"id,omitempty"` }
SubnetSelectorTermApplyConfiguration represents an declarative configuration of the SubnetSelectorTerm type for use with apply.
func SubnetSelectorTerm ¶
func SubnetSelectorTerm() *SubnetSelectorTermApplyConfiguration
SubnetSelectorTermApplyConfiguration constructs an declarative configuration of the SubnetSelectorTerm type for use with apply.
func (*SubnetSelectorTermApplyConfiguration) WithID ¶
func (b *SubnetSelectorTermApplyConfiguration) WithID(value string) *SubnetSelectorTermApplyConfiguration
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 (*SubnetSelectorTermApplyConfiguration) WithTags ¶
func (b *SubnetSelectorTermApplyConfiguration) WithTags(entries map[string]string) *SubnetSelectorTermApplyConfiguration
WithTags puts the entries into 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, the entries provided by each call will be put on the Tags field, overwriting an existing map entries in Tags field with the same key.