Documentation ¶
Index ¶
- type TrialApplyConfiguration
- func (b *TrialApplyConfiguration) WithAPIVersion(value string) *TrialApplyConfiguration
- func (b *TrialApplyConfiguration) WithAnnotations(entries map[string]string) *TrialApplyConfiguration
- func (b *TrialApplyConfiguration) WithCreationTimestamp(value metav1.Time) *TrialApplyConfiguration
- func (b *TrialApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *TrialApplyConfiguration
- func (b *TrialApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *TrialApplyConfiguration
- func (b *TrialApplyConfiguration) WithFinalizers(values ...string) *TrialApplyConfiguration
- func (b *TrialApplyConfiguration) WithGenerateName(value string) *TrialApplyConfiguration
- func (b *TrialApplyConfiguration) WithGeneration(value int64) *TrialApplyConfiguration
- func (b *TrialApplyConfiguration) WithKind(value string) *TrialApplyConfiguration
- func (b *TrialApplyConfiguration) WithLabels(entries map[string]string) *TrialApplyConfiguration
- func (b *TrialApplyConfiguration) WithName(value string) *TrialApplyConfiguration
- func (b *TrialApplyConfiguration) WithNamespace(value string) *TrialApplyConfiguration
- func (b *TrialApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *TrialApplyConfiguration
- func (b *TrialApplyConfiguration) WithResourceVersion(value string) *TrialApplyConfiguration
- func (b *TrialApplyConfiguration) WithSpec(value *TrialSpecApplyConfiguration) *TrialApplyConfiguration
- func (b *TrialApplyConfiguration) WithStatus(value *TrialStatusApplyConfiguration) *TrialApplyConfiguration
- func (b *TrialApplyConfiguration) WithUID(value types.UID) *TrialApplyConfiguration
- type TrialConditionApplyConfiguration
- func (b *TrialConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *TrialConditionApplyConfiguration
- func (b *TrialConditionApplyConfiguration) WithLastUpdateTime(value metav1.Time) *TrialConditionApplyConfiguration
- func (b *TrialConditionApplyConfiguration) WithMessage(value string) *TrialConditionApplyConfiguration
- func (b *TrialConditionApplyConfiguration) WithReason(value string) *TrialConditionApplyConfiguration
- func (b *TrialConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *TrialConditionApplyConfiguration
- func (b *TrialConditionApplyConfiguration) WithType(value v1beta1.TrialConditionType) *TrialConditionApplyConfiguration
- type TrialSpecApplyConfiguration
- func (b *TrialSpecApplyConfiguration) WithEarlyStoppingRules(values ...*v1beta1.EarlyStoppingRuleApplyConfiguration) *TrialSpecApplyConfiguration
- func (b *TrialSpecApplyConfiguration) WithFailureCondition(value string) *TrialSpecApplyConfiguration
- func (b *TrialSpecApplyConfiguration) WithLabels(entries map[string]string) *TrialSpecApplyConfiguration
- func (b *TrialSpecApplyConfiguration) WithMetricsCollector(value *v1beta1.MetricsCollectorSpecApplyConfiguration) *TrialSpecApplyConfiguration
- func (b *TrialSpecApplyConfiguration) WithObjective(value *v1beta1.ObjectiveSpecApplyConfiguration) *TrialSpecApplyConfiguration
- func (b *TrialSpecApplyConfiguration) WithParameterAssignments(values ...*v1beta1.ParameterAssignmentApplyConfiguration) *TrialSpecApplyConfiguration
- func (b *TrialSpecApplyConfiguration) WithPrimaryContainerName(value string) *TrialSpecApplyConfiguration
- func (b *TrialSpecApplyConfiguration) WithPrimaryPodLabels(entries map[string]string) *TrialSpecApplyConfiguration
- func (b *TrialSpecApplyConfiguration) WithRetainRun(value bool) *TrialSpecApplyConfiguration
- func (b *TrialSpecApplyConfiguration) WithRunSpec(value unstructured.Unstructured) *TrialSpecApplyConfiguration
- func (b *TrialSpecApplyConfiguration) WithSuccessCondition(value string) *TrialSpecApplyConfiguration
- type TrialStatusApplyConfiguration
- func (b *TrialStatusApplyConfiguration) WithCompletionTime(value v1.Time) *TrialStatusApplyConfiguration
- func (b *TrialStatusApplyConfiguration) WithConditions(values ...*TrialConditionApplyConfiguration) *TrialStatusApplyConfiguration
- func (b *TrialStatusApplyConfiguration) WithLastReconcileTime(value v1.Time) *TrialStatusApplyConfiguration
- func (b *TrialStatusApplyConfiguration) WithObservation(value *commonv1beta1.ObservationApplyConfiguration) *TrialStatusApplyConfiguration
- func (b *TrialStatusApplyConfiguration) WithStartTime(value v1.Time) *TrialStatusApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TrialApplyConfiguration ¶
type TrialApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *TrialSpecApplyConfiguration `json:"spec,omitempty"` Status *TrialStatusApplyConfiguration `json:"status,omitempty"` }
TrialApplyConfiguration represents an declarative configuration of the Trial type for use with apply.
func Trial ¶
func Trial(name, namespace string) *TrialApplyConfiguration
Trial constructs an declarative configuration of the Trial type for use with apply.
func (*TrialApplyConfiguration) WithAPIVersion ¶
func (b *TrialApplyConfiguration) WithAPIVersion(value string) *TrialApplyConfiguration
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 (*TrialApplyConfiguration) WithAnnotations ¶
func (b *TrialApplyConfiguration) WithAnnotations(entries map[string]string) *TrialApplyConfiguration
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 (*TrialApplyConfiguration) WithCreationTimestamp ¶
func (b *TrialApplyConfiguration) WithCreationTimestamp(value metav1.Time) *TrialApplyConfiguration
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 (*TrialApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *TrialApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *TrialApplyConfiguration
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 (*TrialApplyConfiguration) WithDeletionTimestamp ¶
func (b *TrialApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *TrialApplyConfiguration
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 (*TrialApplyConfiguration) WithFinalizers ¶
func (b *TrialApplyConfiguration) WithFinalizers(values ...string) *TrialApplyConfiguration
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 (*TrialApplyConfiguration) WithGenerateName ¶
func (b *TrialApplyConfiguration) WithGenerateName(value string) *TrialApplyConfiguration
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 (*TrialApplyConfiguration) WithGeneration ¶
func (b *TrialApplyConfiguration) WithGeneration(value int64) *TrialApplyConfiguration
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 (*TrialApplyConfiguration) WithKind ¶
func (b *TrialApplyConfiguration) WithKind(value string) *TrialApplyConfiguration
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 (*TrialApplyConfiguration) WithLabels ¶
func (b *TrialApplyConfiguration) WithLabels(entries map[string]string) *TrialApplyConfiguration
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 (*TrialApplyConfiguration) WithName ¶
func (b *TrialApplyConfiguration) WithName(value string) *TrialApplyConfiguration
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 (*TrialApplyConfiguration) WithNamespace ¶
func (b *TrialApplyConfiguration) WithNamespace(value string) *TrialApplyConfiguration
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 (*TrialApplyConfiguration) WithOwnerReferences ¶
func (b *TrialApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *TrialApplyConfiguration
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 (*TrialApplyConfiguration) WithResourceVersion ¶
func (b *TrialApplyConfiguration) WithResourceVersion(value string) *TrialApplyConfiguration
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 (*TrialApplyConfiguration) WithSpec ¶
func (b *TrialApplyConfiguration) WithSpec(value *TrialSpecApplyConfiguration) *TrialApplyConfiguration
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 (*TrialApplyConfiguration) WithStatus ¶
func (b *TrialApplyConfiguration) WithStatus(value *TrialStatusApplyConfiguration) *TrialApplyConfiguration
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 (*TrialApplyConfiguration) WithUID ¶
func (b *TrialApplyConfiguration) WithUID(value types.UID) *TrialApplyConfiguration
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 TrialConditionApplyConfiguration ¶
type TrialConditionApplyConfiguration struct { Type *v1beta1.TrialConditionType `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"` }
TrialConditionApplyConfiguration represents an declarative configuration of the TrialCondition type for use with apply.
func TrialCondition ¶
func TrialCondition() *TrialConditionApplyConfiguration
TrialConditionApplyConfiguration constructs an declarative configuration of the TrialCondition type for use with apply.
func (*TrialConditionApplyConfiguration) WithLastTransitionTime ¶
func (b *TrialConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *TrialConditionApplyConfiguration
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 (*TrialConditionApplyConfiguration) WithLastUpdateTime ¶
func (b *TrialConditionApplyConfiguration) WithLastUpdateTime(value metav1.Time) *TrialConditionApplyConfiguration
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 (*TrialConditionApplyConfiguration) WithMessage ¶
func (b *TrialConditionApplyConfiguration) WithMessage(value string) *TrialConditionApplyConfiguration
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 (*TrialConditionApplyConfiguration) WithReason ¶
func (b *TrialConditionApplyConfiguration) WithReason(value string) *TrialConditionApplyConfiguration
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 (*TrialConditionApplyConfiguration) WithStatus ¶
func (b *TrialConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *TrialConditionApplyConfiguration
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 (*TrialConditionApplyConfiguration) WithType ¶
func (b *TrialConditionApplyConfiguration) WithType(value v1beta1.TrialConditionType) *TrialConditionApplyConfiguration
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 TrialSpecApplyConfiguration ¶
type TrialSpecApplyConfiguration struct { Objective *v1beta1.ObjectiveSpecApplyConfiguration `json:"objective,omitempty"` ParameterAssignments []v1beta1.ParameterAssignmentApplyConfiguration `json:"parameterAssignments,omitempty"` EarlyStoppingRules []v1beta1.EarlyStoppingRuleApplyConfiguration `json:"earlyStoppingRules,omitempty"` RunSpec *unstructured.Unstructured `json:"runSpec,omitempty"` RetainRun *bool `json:"retainRun,omitempty"` MetricsCollector *v1beta1.MetricsCollectorSpecApplyConfiguration `json:"metricsCollector,omitempty"` PrimaryPodLabels map[string]string `json:"primaryPodLabels,omitempty"` PrimaryContainerName *string `json:"primaryContainerName,omitempty"` SuccessCondition *string `json:"successCondition,omitempty"` FailureCondition *string `json:"failureCondition,omitempty"` Labels map[string]string `json:"labels,omitempty"` }
TrialSpecApplyConfiguration represents an declarative configuration of the TrialSpec type for use with apply.
func TrialSpec ¶
func TrialSpec() *TrialSpecApplyConfiguration
TrialSpecApplyConfiguration constructs an declarative configuration of the TrialSpec type for use with apply.
func (*TrialSpecApplyConfiguration) WithEarlyStoppingRules ¶
func (b *TrialSpecApplyConfiguration) WithEarlyStoppingRules(values ...*v1beta1.EarlyStoppingRuleApplyConfiguration) *TrialSpecApplyConfiguration
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 (*TrialSpecApplyConfiguration) WithFailureCondition ¶
func (b *TrialSpecApplyConfiguration) WithFailureCondition(value string) *TrialSpecApplyConfiguration
WithFailureCondition sets the FailureCondition field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FailureCondition field is set to the value of the last call.
func (*TrialSpecApplyConfiguration) WithLabels ¶
func (b *TrialSpecApplyConfiguration) WithLabels(entries map[string]string) *TrialSpecApplyConfiguration
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 (*TrialSpecApplyConfiguration) WithMetricsCollector ¶
func (b *TrialSpecApplyConfiguration) WithMetricsCollector(value *v1beta1.MetricsCollectorSpecApplyConfiguration) *TrialSpecApplyConfiguration
WithMetricsCollector sets the MetricsCollector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MetricsCollector field is set to the value of the last call.
func (*TrialSpecApplyConfiguration) WithObjective ¶
func (b *TrialSpecApplyConfiguration) WithObjective(value *v1beta1.ObjectiveSpecApplyConfiguration) *TrialSpecApplyConfiguration
WithObjective sets the Objective field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Objective field is set to the value of the last call.
func (*TrialSpecApplyConfiguration) WithParameterAssignments ¶
func (b *TrialSpecApplyConfiguration) WithParameterAssignments(values ...*v1beta1.ParameterAssignmentApplyConfiguration) *TrialSpecApplyConfiguration
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.
func (*TrialSpecApplyConfiguration) WithPrimaryContainerName ¶
func (b *TrialSpecApplyConfiguration) WithPrimaryContainerName(value string) *TrialSpecApplyConfiguration
WithPrimaryContainerName sets the PrimaryContainerName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PrimaryContainerName field is set to the value of the last call.
func (*TrialSpecApplyConfiguration) WithPrimaryPodLabels ¶
func (b *TrialSpecApplyConfiguration) WithPrimaryPodLabels(entries map[string]string) *TrialSpecApplyConfiguration
WithPrimaryPodLabels puts the entries into the PrimaryPodLabels 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 PrimaryPodLabels field, overwriting an existing map entries in PrimaryPodLabels field with the same key.
func (*TrialSpecApplyConfiguration) WithRetainRun ¶
func (b *TrialSpecApplyConfiguration) WithRetainRun(value bool) *TrialSpecApplyConfiguration
WithRetainRun sets the RetainRun field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RetainRun field is set to the value of the last call.
func (*TrialSpecApplyConfiguration) WithRunSpec ¶
func (b *TrialSpecApplyConfiguration) WithRunSpec(value unstructured.Unstructured) *TrialSpecApplyConfiguration
WithRunSpec sets the RunSpec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RunSpec field is set to the value of the last call.
func (*TrialSpecApplyConfiguration) WithSuccessCondition ¶
func (b *TrialSpecApplyConfiguration) WithSuccessCondition(value string) *TrialSpecApplyConfiguration
WithSuccessCondition sets the SuccessCondition field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SuccessCondition field is set to the value of the last call.
type TrialStatusApplyConfiguration ¶
type TrialStatusApplyConfiguration struct { StartTime *v1.Time `json:"startTime,omitempty"` CompletionTime *v1.Time `json:"completionTime,omitempty"` LastReconcileTime *v1.Time `json:"lastReconcileTime,omitempty"` Conditions []TrialConditionApplyConfiguration `json:"conditions,omitempty"` Observation *commonv1beta1.ObservationApplyConfiguration `json:"observation,omitempty"` }
TrialStatusApplyConfiguration represents an declarative configuration of the TrialStatus type for use with apply.
func TrialStatus ¶
func TrialStatus() *TrialStatusApplyConfiguration
TrialStatusApplyConfiguration constructs an declarative configuration of the TrialStatus type for use with apply.
func (*TrialStatusApplyConfiguration) WithCompletionTime ¶
func (b *TrialStatusApplyConfiguration) WithCompletionTime(value v1.Time) *TrialStatusApplyConfiguration
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 (*TrialStatusApplyConfiguration) WithConditions ¶
func (b *TrialStatusApplyConfiguration) WithConditions(values ...*TrialConditionApplyConfiguration) *TrialStatusApplyConfiguration
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 (*TrialStatusApplyConfiguration) WithLastReconcileTime ¶
func (b *TrialStatusApplyConfiguration) WithLastReconcileTime(value v1.Time) *TrialStatusApplyConfiguration
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 (*TrialStatusApplyConfiguration) WithObservation ¶
func (b *TrialStatusApplyConfiguration) WithObservation(value *commonv1beta1.ObservationApplyConfiguration) *TrialStatusApplyConfiguration
WithObservation sets the Observation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Observation field is set to the value of the last call.
func (*TrialStatusApplyConfiguration) WithStartTime ¶
func (b *TrialStatusApplyConfiguration) WithStartTime(value v1.Time) *TrialStatusApplyConfiguration
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.