v1beta1

package
v0.1.56 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

func (*SecurityGroupApplyConfiguration) WithName

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

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

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

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

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

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

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

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

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

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.

Jump to

Keyboard shortcuts

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