v1alpha1

package
v0.30.6 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2024 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 ElasticQuotaApplyConfiguration

type ElasticQuotaApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *ElasticQuotaSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *ElasticQuotaStatusApplyConfiguration `json:"status,omitempty"`
}

ElasticQuotaApplyConfiguration represents an declarative configuration of the ElasticQuota type for use with apply.

func ElasticQuota

func ElasticQuota(name, namespace string) *ElasticQuotaApplyConfiguration

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

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

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

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 (*ElasticQuotaApplyConfiguration) 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 (*ElasticQuotaApplyConfiguration) 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 (*ElasticQuotaApplyConfiguration) 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 (*ElasticQuotaApplyConfiguration) 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 (*ElasticQuotaApplyConfiguration) 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 (*ElasticQuotaApplyConfiguration) 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 (*ElasticQuotaApplyConfiguration) 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 (*ElasticQuotaApplyConfiguration) 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 (*ElasticQuotaApplyConfiguration) 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 (*ElasticQuotaApplyConfiguration) 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 (*ElasticQuotaApplyConfiguration) 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 (*ElasticQuotaApplyConfiguration) 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 (*ElasticQuotaApplyConfiguration) 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 ElasticQuotaSpecApplyConfiguration

type ElasticQuotaSpecApplyConfiguration struct {
	Min *v1.ResourceList `json:"min,omitempty"`
	Max *v1.ResourceList `json:"max,omitempty"`
}

ElasticQuotaSpecApplyConfiguration represents an declarative configuration of the ElasticQuotaSpec type for use with apply.

func ElasticQuotaSpec

func ElasticQuotaSpec() *ElasticQuotaSpecApplyConfiguration

ElasticQuotaSpecApplyConfiguration constructs an declarative configuration of the ElasticQuotaSpec type for use with apply.

func (*ElasticQuotaSpecApplyConfiguration) WithMax

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

func (*ElasticQuotaSpecApplyConfiguration) WithMin

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

type ElasticQuotaStatusApplyConfiguration

type ElasticQuotaStatusApplyConfiguration struct {
	Used *v1.ResourceList `json:"used,omitempty"`
}

ElasticQuotaStatusApplyConfiguration represents an declarative configuration of the ElasticQuotaStatus type for use with apply.

func ElasticQuotaStatus

func ElasticQuotaStatus() *ElasticQuotaStatusApplyConfiguration

ElasticQuotaStatusApplyConfiguration constructs an declarative configuration of the ElasticQuotaStatus type for use with apply.

func (*ElasticQuotaStatusApplyConfiguration) WithUsed

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

type PodGroupApplyConfiguration

type PodGroupApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *PodGroupSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *PodGroupStatusApplyConfiguration `json:"status,omitempty"`
}

PodGroupApplyConfiguration represents an declarative configuration of the PodGroup type for use with apply.

func PodGroup

func PodGroup(name, namespace string) *PodGroupApplyConfiguration

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

func (*PodGroupApplyConfiguration) 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 (*PodGroupApplyConfiguration) WithAnnotations

func (b *PodGroupApplyConfiguration) WithAnnotations(entries map[string]string) *PodGroupApplyConfiguration

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 (*PodGroupApplyConfiguration) WithCreationTimestamp

func (b *PodGroupApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PodGroupApplyConfiguration

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

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

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 (*PodGroupApplyConfiguration) WithDeletionTimestamp

func (b *PodGroupApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PodGroupApplyConfiguration

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 (*PodGroupApplyConfiguration) WithFinalizers

func (b *PodGroupApplyConfiguration) WithFinalizers(values ...string) *PodGroupApplyConfiguration

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 (*PodGroupApplyConfiguration) WithGenerateName

func (b *PodGroupApplyConfiguration) WithGenerateName(value string) *PodGroupApplyConfiguration

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 (*PodGroupApplyConfiguration) 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 (*PodGroupApplyConfiguration) 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 (*PodGroupApplyConfiguration) 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 (*PodGroupApplyConfiguration) 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 (*PodGroupApplyConfiguration) 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 (*PodGroupApplyConfiguration) 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 (*PodGroupApplyConfiguration) WithResourceVersion

func (b *PodGroupApplyConfiguration) WithResourceVersion(value string) *PodGroupApplyConfiguration

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 (*PodGroupApplyConfiguration) 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 (*PodGroupApplyConfiguration) 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 (*PodGroupApplyConfiguration) 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 PodGroupSpecApplyConfiguration

type PodGroupSpecApplyConfiguration struct {
	MinMember              *int32           `json:"minMember,omitempty"`
	MinResources           *v1.ResourceList `json:"minResources,omitempty"`
	ScheduleTimeoutSeconds *int32           `json:"scheduleTimeoutSeconds,omitempty"`
}

PodGroupSpecApplyConfiguration represents an declarative configuration of the PodGroupSpec type for use with apply.

func PodGroupSpec

func PodGroupSpec() *PodGroupSpecApplyConfiguration

PodGroupSpecApplyConfiguration constructs an declarative configuration of the PodGroupSpec type for use with apply.

func (*PodGroupSpecApplyConfiguration) WithMinMember

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

func (*PodGroupSpecApplyConfiguration) WithMinResources

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

func (*PodGroupSpecApplyConfiguration) WithScheduleTimeoutSeconds

func (b *PodGroupSpecApplyConfiguration) WithScheduleTimeoutSeconds(value int32) *PodGroupSpecApplyConfiguration

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

type PodGroupStatusApplyConfiguration

type PodGroupStatusApplyConfiguration struct {
	Phase             *v1alpha1.PodGroupPhase `json:"phase,omitempty"`
	OccupiedBy        *string                 `json:"occupiedBy,omitempty"`
	Running           *int32                  `json:"running,omitempty"`
	Succeeded         *int32                  `json:"succeeded,omitempty"`
	Failed            *int32                  `json:"failed,omitempty"`
	ScheduleStartTime *v1.Time                `json:"scheduleStartTime,omitempty"`
}

PodGroupStatusApplyConfiguration represents an declarative configuration of the PodGroupStatus type for use with apply.

func PodGroupStatus

func PodGroupStatus() *PodGroupStatusApplyConfiguration

PodGroupStatusApplyConfiguration constructs an declarative configuration of the PodGroupStatus type for use with apply.

func (*PodGroupStatusApplyConfiguration) WithFailed

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

func (*PodGroupStatusApplyConfiguration) WithOccupiedBy

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

func (*PodGroupStatusApplyConfiguration) WithPhase

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

func (*PodGroupStatusApplyConfiguration) WithRunning

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

func (*PodGroupStatusApplyConfiguration) WithScheduleStartTime

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

func (*PodGroupStatusApplyConfiguration) WithSucceeded

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

Jump to

Keyboard shortcuts

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