v1beta1

package
v0.17.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: Apache-2.0 Imports: 7 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SuggestionApplyConfiguration

type SuggestionApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *SuggestionSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *SuggestionStatusApplyConfiguration `json:"status,omitempty"`
}

SuggestionApplyConfiguration represents an declarative configuration of the Suggestion type for use with apply.

func Suggestion

func Suggestion(name, namespace string) *SuggestionApplyConfiguration

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

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

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

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

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

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

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

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

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

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 (*SuggestionApplyConfiguration) 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 (*SuggestionApplyConfiguration) 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 (*SuggestionApplyConfiguration) 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 SuggestionConditionApplyConfiguration

type SuggestionConditionApplyConfiguration struct {
	Type               *v1beta1.SuggestionConditionType `json:"type,omitempty"`
	Status             *v1.ConditionStatus              `json:"status,omitempty"`
	Reason             *string                          `json:"reason,omitempty"`
	Message            *string                          `json:"message,omitempty"`
	LastUpdateTime     *metav1.Time                     `json:"lastUpdateTime,omitempty"`
	LastTransitionTime *metav1.Time                     `json:"lastTransitionTime,omitempty"`
}

SuggestionConditionApplyConfiguration represents an declarative configuration of the SuggestionCondition type for use with apply.

func SuggestionCondition

func SuggestionCondition() *SuggestionConditionApplyConfiguration

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

func (*SuggestionConditionApplyConfiguration) WithLastTransitionTime

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

func (*SuggestionConditionApplyConfiguration) WithLastUpdateTime

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

func (*SuggestionConditionApplyConfiguration) WithMessage

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

func (*SuggestionConditionApplyConfiguration) WithReason

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

func (*SuggestionConditionApplyConfiguration) 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 (*SuggestionConditionApplyConfiguration) WithType

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

type SuggestionSpecApplyConfiguration

type SuggestionSpecApplyConfiguration struct {
	Algorithm     *v1beta1.AlgorithmSpecApplyConfiguration     `json:"algorithm,omitempty"`
	EarlyStopping *v1beta1.EarlyStoppingSpecApplyConfiguration `json:"earlyStopping,omitempty"`
	Requests      *int32                                       `json:"requests,omitempty"`
	ResumePolicy  *experimentsv1beta1.ResumePolicyType         `json:"resumePolicy,omitempty"`
}

SuggestionSpecApplyConfiguration represents an declarative configuration of the SuggestionSpec type for use with apply.

func SuggestionSpec

func SuggestionSpec() *SuggestionSpecApplyConfiguration

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

func (*SuggestionSpecApplyConfiguration) WithAlgorithm

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

func (*SuggestionSpecApplyConfiguration) WithEarlyStopping

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

func (*SuggestionSpecApplyConfiguration) WithRequests

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

func (*SuggestionSpecApplyConfiguration) WithResumePolicy

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

type SuggestionStatusApplyConfiguration

type SuggestionStatusApplyConfiguration struct {
	AlgorithmSettings []v1beta1.AlgorithmSettingApplyConfiguration `json:"algorithmSettings,omitempty"`
	SuggestionCount   *int32                                       `json:"suggestionCount,omitempty"`
	Suggestions       []TrialAssignmentApplyConfiguration          `json:"suggestions,omitempty"`
	StartTime         *v1.Time                                     `json:"startTime,omitempty"`
	CompletionTime    *v1.Time                                     `json:"completionTime,omitempty"`
	LastReconcileTime *v1.Time                                     `json:"lastReconcileTime,omitempty"`
	Conditions        []SuggestionConditionApplyConfiguration      `json:"conditions,omitempty"`
}

SuggestionStatusApplyConfiguration represents an declarative configuration of the SuggestionStatus type for use with apply.

func SuggestionStatus

func SuggestionStatus() *SuggestionStatusApplyConfiguration

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

func (*SuggestionStatusApplyConfiguration) WithAlgorithmSettings

WithAlgorithmSettings adds the given value to the AlgorithmSettings 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 AlgorithmSettings field.

func (*SuggestionStatusApplyConfiguration) WithCompletionTime

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

func (*SuggestionStatusApplyConfiguration) 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 (*SuggestionStatusApplyConfiguration) WithLastReconcileTime

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

func (*SuggestionStatusApplyConfiguration) WithStartTime

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

func (*SuggestionStatusApplyConfiguration) WithSuggestionCount

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

func (*SuggestionStatusApplyConfiguration) WithSuggestions

WithSuggestions adds the given value to the Suggestions 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 Suggestions field.

type TrialAssignmentApplyConfiguration

type TrialAssignmentApplyConfiguration struct {
	ParameterAssignments []v1beta1.ParameterAssignmentApplyConfiguration `json:"parameterAssignments,omitempty"`
	Name                 *string                                         `json:"name,omitempty"`
	EarlyStoppingRules   []v1beta1.EarlyStoppingRuleApplyConfiguration   `json:"earlyStoppingRules,omitempty"`
	Labels               map[string]string                               `json:"labels,omitempty"`
}

TrialAssignmentApplyConfiguration represents an declarative configuration of the TrialAssignment type for use with apply.

func TrialAssignment

func TrialAssignment() *TrialAssignmentApplyConfiguration

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

func (*TrialAssignmentApplyConfiguration) WithEarlyStoppingRules

WithEarlyStoppingRules adds the given value to the EarlyStoppingRules 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 EarlyStoppingRules field.

func (*TrialAssignmentApplyConfiguration) 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 (*TrialAssignmentApplyConfiguration) 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 (*TrialAssignmentApplyConfiguration) WithParameterAssignments

WithParameterAssignments adds the given value to the ParameterAssignments 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 ParameterAssignments field.

Jump to

Keyboard shortcuts

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