Documentation ¶
Index ¶
- type ConfigMapSourceApplyConfiguration
- func (b *ConfigMapSourceApplyConfiguration) WithConfigMapName(value string) *ConfigMapSourceApplyConfiguration
- func (b *ConfigMapSourceApplyConfiguration) WithConfigMapNamespace(value string) *ConfigMapSourceApplyConfiguration
- func (b *ConfigMapSourceApplyConfiguration) WithTemplatePath(value string) *ConfigMapSourceApplyConfiguration
- type ExperimentApplyConfiguration
- func (b *ExperimentApplyConfiguration) WithAPIVersion(value string) *ExperimentApplyConfiguration
- func (b *ExperimentApplyConfiguration) WithAnnotations(entries map[string]string) *ExperimentApplyConfiguration
- func (b *ExperimentApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ExperimentApplyConfiguration
- func (b *ExperimentApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ExperimentApplyConfiguration
- func (b *ExperimentApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ExperimentApplyConfiguration
- func (b *ExperimentApplyConfiguration) WithFinalizers(values ...string) *ExperimentApplyConfiguration
- func (b *ExperimentApplyConfiguration) WithGenerateName(value string) *ExperimentApplyConfiguration
- func (b *ExperimentApplyConfiguration) WithGeneration(value int64) *ExperimentApplyConfiguration
- func (b *ExperimentApplyConfiguration) WithKind(value string) *ExperimentApplyConfiguration
- func (b *ExperimentApplyConfiguration) WithLabels(entries map[string]string) *ExperimentApplyConfiguration
- func (b *ExperimentApplyConfiguration) WithName(value string) *ExperimentApplyConfiguration
- func (b *ExperimentApplyConfiguration) WithNamespace(value string) *ExperimentApplyConfiguration
- func (b *ExperimentApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ExperimentApplyConfiguration
- func (b *ExperimentApplyConfiguration) WithResourceVersion(value string) *ExperimentApplyConfiguration
- func (b *ExperimentApplyConfiguration) WithSpec(value *ExperimentSpecApplyConfiguration) *ExperimentApplyConfiguration
- func (b *ExperimentApplyConfiguration) WithStatus(value *ExperimentStatusApplyConfiguration) *ExperimentApplyConfiguration
- func (b *ExperimentApplyConfiguration) WithUID(value types.UID) *ExperimentApplyConfiguration
- type ExperimentConditionApplyConfiguration
- func (b *ExperimentConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *ExperimentConditionApplyConfiguration
- func (b *ExperimentConditionApplyConfiguration) WithLastUpdateTime(value metav1.Time) *ExperimentConditionApplyConfiguration
- func (b *ExperimentConditionApplyConfiguration) WithMessage(value string) *ExperimentConditionApplyConfiguration
- func (b *ExperimentConditionApplyConfiguration) WithReason(value string) *ExperimentConditionApplyConfiguration
- func (b *ExperimentConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *ExperimentConditionApplyConfiguration
- func (b *ExperimentConditionApplyConfiguration) WithType(value v1beta1.ExperimentConditionType) *ExperimentConditionApplyConfiguration
- type ExperimentSpecApplyConfiguration
- func (b *ExperimentSpecApplyConfiguration) WithAlgorithm(value *commonv1beta1.AlgorithmSpecApplyConfiguration) *ExperimentSpecApplyConfiguration
- func (b *ExperimentSpecApplyConfiguration) WithEarlyStopping(value *commonv1beta1.EarlyStoppingSpecApplyConfiguration) *ExperimentSpecApplyConfiguration
- func (b *ExperimentSpecApplyConfiguration) WithMaxFailedTrialCount(value int32) *ExperimentSpecApplyConfiguration
- func (b *ExperimentSpecApplyConfiguration) WithMaxTrialCount(value int32) *ExperimentSpecApplyConfiguration
- func (b *ExperimentSpecApplyConfiguration) WithMetricsCollectorSpec(value *commonv1beta1.MetricsCollectorSpecApplyConfiguration) *ExperimentSpecApplyConfiguration
- func (b *ExperimentSpecApplyConfiguration) WithNasConfig(value *NasConfigApplyConfiguration) *ExperimentSpecApplyConfiguration
- func (b *ExperimentSpecApplyConfiguration) WithObjective(value *commonv1beta1.ObjectiveSpecApplyConfiguration) *ExperimentSpecApplyConfiguration
- func (b *ExperimentSpecApplyConfiguration) WithParallelTrialCount(value int32) *ExperimentSpecApplyConfiguration
- func (b *ExperimentSpecApplyConfiguration) WithParameters(values ...*ParameterSpecApplyConfiguration) *ExperimentSpecApplyConfiguration
- func (b *ExperimentSpecApplyConfiguration) WithResumePolicy(value experimentsv1beta1.ResumePolicyType) *ExperimentSpecApplyConfiguration
- func (b *ExperimentSpecApplyConfiguration) WithTrialTemplate(value *TrialTemplateApplyConfiguration) *ExperimentSpecApplyConfiguration
- type ExperimentStatusApplyConfiguration
- func (b *ExperimentStatusApplyConfiguration) WithCompletionTime(value v1.Time) *ExperimentStatusApplyConfiguration
- func (b *ExperimentStatusApplyConfiguration) WithConditions(values ...*ExperimentConditionApplyConfiguration) *ExperimentStatusApplyConfiguration
- func (b *ExperimentStatusApplyConfiguration) WithCurrentOptimalTrial(value *OptimalTrialApplyConfiguration) *ExperimentStatusApplyConfiguration
- func (b *ExperimentStatusApplyConfiguration) WithEarlyStoppedTrialList(values ...string) *ExperimentStatusApplyConfiguration
- func (b *ExperimentStatusApplyConfiguration) WithFailedTrialList(values ...string) *ExperimentStatusApplyConfiguration
- func (b *ExperimentStatusApplyConfiguration) WithKilledTrialList(values ...string) *ExperimentStatusApplyConfiguration
- func (b *ExperimentStatusApplyConfiguration) WithLastReconcileTime(value v1.Time) *ExperimentStatusApplyConfiguration
- func (b *ExperimentStatusApplyConfiguration) WithMetricsUnavailableTrialList(values ...string) *ExperimentStatusApplyConfiguration
- func (b *ExperimentStatusApplyConfiguration) WithPendingTrialList(values ...string) *ExperimentStatusApplyConfiguration
- func (b *ExperimentStatusApplyConfiguration) WithRunningTrialList(values ...string) *ExperimentStatusApplyConfiguration
- func (b *ExperimentStatusApplyConfiguration) WithStartTime(value v1.Time) *ExperimentStatusApplyConfiguration
- func (b *ExperimentStatusApplyConfiguration) WithSucceededTrialList(values ...string) *ExperimentStatusApplyConfiguration
- func (b *ExperimentStatusApplyConfiguration) WithTrialMetricsUnavailable(value int32) *ExperimentStatusApplyConfiguration
- func (b *ExperimentStatusApplyConfiguration) WithTrials(value int32) *ExperimentStatusApplyConfiguration
- func (b *ExperimentStatusApplyConfiguration) WithTrialsEarlyStopped(value int32) *ExperimentStatusApplyConfiguration
- func (b *ExperimentStatusApplyConfiguration) WithTrialsFailed(value int32) *ExperimentStatusApplyConfiguration
- func (b *ExperimentStatusApplyConfiguration) WithTrialsKilled(value int32) *ExperimentStatusApplyConfiguration
- func (b *ExperimentStatusApplyConfiguration) WithTrialsPending(value int32) *ExperimentStatusApplyConfiguration
- func (b *ExperimentStatusApplyConfiguration) WithTrialsRunning(value int32) *ExperimentStatusApplyConfiguration
- func (b *ExperimentStatusApplyConfiguration) WithTrialsSucceeded(value int32) *ExperimentStatusApplyConfiguration
- type FeasibleSpaceApplyConfiguration
- func (b *FeasibleSpaceApplyConfiguration) WithList(values ...string) *FeasibleSpaceApplyConfiguration
- func (b *FeasibleSpaceApplyConfiguration) WithMax(value string) *FeasibleSpaceApplyConfiguration
- func (b *FeasibleSpaceApplyConfiguration) WithMin(value string) *FeasibleSpaceApplyConfiguration
- func (b *FeasibleSpaceApplyConfiguration) WithStep(value string) *FeasibleSpaceApplyConfiguration
- type GraphConfigApplyConfiguration
- func (b *GraphConfigApplyConfiguration) WithInputSizes(values ...int32) *GraphConfigApplyConfiguration
- func (b *GraphConfigApplyConfiguration) WithNumLayers(value int32) *GraphConfigApplyConfiguration
- func (b *GraphConfigApplyConfiguration) WithOutputSizes(values ...int32) *GraphConfigApplyConfiguration
- type NasConfigApplyConfiguration
- type OperationApplyConfiguration
- type OptimalTrialApplyConfiguration
- func (b *OptimalTrialApplyConfiguration) WithBestTrialName(value string) *OptimalTrialApplyConfiguration
- func (b *OptimalTrialApplyConfiguration) WithObservation(value *v1beta1.ObservationApplyConfiguration) *OptimalTrialApplyConfiguration
- func (b *OptimalTrialApplyConfiguration) WithParameterAssignments(values ...*v1beta1.ParameterAssignmentApplyConfiguration) *OptimalTrialApplyConfiguration
- type ParameterSpecApplyConfiguration
- func (b *ParameterSpecApplyConfiguration) WithFeasibleSpace(value *FeasibleSpaceApplyConfiguration) *ParameterSpecApplyConfiguration
- func (b *ParameterSpecApplyConfiguration) WithName(value string) *ParameterSpecApplyConfiguration
- func (b *ParameterSpecApplyConfiguration) WithParameterType(value v1beta1.ParameterType) *ParameterSpecApplyConfiguration
- type TrialParameterSpecApplyConfiguration
- func (b *TrialParameterSpecApplyConfiguration) WithDescription(value string) *TrialParameterSpecApplyConfiguration
- func (b *TrialParameterSpecApplyConfiguration) WithName(value string) *TrialParameterSpecApplyConfiguration
- func (b *TrialParameterSpecApplyConfiguration) WithReference(value string) *TrialParameterSpecApplyConfiguration
- type TrialSourceApplyConfiguration
- type TrialTemplateApplyConfiguration
- func (b *TrialTemplateApplyConfiguration) WithConfigMap(value *ConfigMapSourceApplyConfiguration) *TrialTemplateApplyConfiguration
- func (b *TrialTemplateApplyConfiguration) WithFailureCondition(value string) *TrialTemplateApplyConfiguration
- func (b *TrialTemplateApplyConfiguration) WithPrimaryContainerName(value string) *TrialTemplateApplyConfiguration
- func (b *TrialTemplateApplyConfiguration) WithPrimaryPodLabels(entries map[string]string) *TrialTemplateApplyConfiguration
- func (b *TrialTemplateApplyConfiguration) WithRetain(value bool) *TrialTemplateApplyConfiguration
- func (b *TrialTemplateApplyConfiguration) WithSuccessCondition(value string) *TrialTemplateApplyConfiguration
- func (b *TrialTemplateApplyConfiguration) WithTrialParameters(values ...*TrialParameterSpecApplyConfiguration) *TrialTemplateApplyConfiguration
- func (b *TrialTemplateApplyConfiguration) WithTrialSpec(value unstructured.Unstructured) *TrialTemplateApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigMapSourceApplyConfiguration ¶
type ConfigMapSourceApplyConfiguration struct { ConfigMapName *string `json:"configMapName,omitempty"` ConfigMapNamespace *string `json:"configMapNamespace,omitempty"` TemplatePath *string `json:"templatePath,omitempty"` }
ConfigMapSourceApplyConfiguration represents an declarative configuration of the ConfigMapSource type for use with apply.
func ConfigMapSource ¶
func ConfigMapSource() *ConfigMapSourceApplyConfiguration
ConfigMapSourceApplyConfiguration constructs an declarative configuration of the ConfigMapSource type for use with apply.
func (*ConfigMapSourceApplyConfiguration) WithConfigMapName ¶
func (b *ConfigMapSourceApplyConfiguration) WithConfigMapName(value string) *ConfigMapSourceApplyConfiguration
WithConfigMapName sets the ConfigMapName 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 ConfigMapName field is set to the value of the last call.
func (*ConfigMapSourceApplyConfiguration) WithConfigMapNamespace ¶
func (b *ConfigMapSourceApplyConfiguration) WithConfigMapNamespace(value string) *ConfigMapSourceApplyConfiguration
WithConfigMapNamespace sets the ConfigMapNamespace 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 ConfigMapNamespace field is set to the value of the last call.
func (*ConfigMapSourceApplyConfiguration) WithTemplatePath ¶
func (b *ConfigMapSourceApplyConfiguration) WithTemplatePath(value string) *ConfigMapSourceApplyConfiguration
WithTemplatePath sets the TemplatePath 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 TemplatePath field is set to the value of the last call.
type ExperimentApplyConfiguration ¶
type ExperimentApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *ExperimentSpecApplyConfiguration `json:"spec,omitempty"` Status *ExperimentStatusApplyConfiguration `json:"status,omitempty"` }
ExperimentApplyConfiguration represents an declarative configuration of the Experiment type for use with apply.
func Experiment ¶
func Experiment(name, namespace string) *ExperimentApplyConfiguration
Experiment constructs an declarative configuration of the Experiment type for use with apply.
func (*ExperimentApplyConfiguration) WithAPIVersion ¶
func (b *ExperimentApplyConfiguration) WithAPIVersion(value string) *ExperimentApplyConfiguration
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 (*ExperimentApplyConfiguration) WithAnnotations ¶
func (b *ExperimentApplyConfiguration) WithAnnotations(entries map[string]string) *ExperimentApplyConfiguration
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 (*ExperimentApplyConfiguration) WithCreationTimestamp ¶
func (b *ExperimentApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ExperimentApplyConfiguration
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 (*ExperimentApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *ExperimentApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ExperimentApplyConfiguration
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 (*ExperimentApplyConfiguration) WithDeletionTimestamp ¶
func (b *ExperimentApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ExperimentApplyConfiguration
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 (*ExperimentApplyConfiguration) WithFinalizers ¶
func (b *ExperimentApplyConfiguration) WithFinalizers(values ...string) *ExperimentApplyConfiguration
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 (*ExperimentApplyConfiguration) WithGenerateName ¶
func (b *ExperimentApplyConfiguration) WithGenerateName(value string) *ExperimentApplyConfiguration
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 (*ExperimentApplyConfiguration) WithGeneration ¶
func (b *ExperimentApplyConfiguration) WithGeneration(value int64) *ExperimentApplyConfiguration
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 (*ExperimentApplyConfiguration) WithKind ¶
func (b *ExperimentApplyConfiguration) WithKind(value string) *ExperimentApplyConfiguration
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 (*ExperimentApplyConfiguration) WithLabels ¶
func (b *ExperimentApplyConfiguration) WithLabels(entries map[string]string) *ExperimentApplyConfiguration
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 (*ExperimentApplyConfiguration) WithName ¶
func (b *ExperimentApplyConfiguration) WithName(value string) *ExperimentApplyConfiguration
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 (*ExperimentApplyConfiguration) WithNamespace ¶
func (b *ExperimentApplyConfiguration) WithNamespace(value string) *ExperimentApplyConfiguration
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 (*ExperimentApplyConfiguration) WithOwnerReferences ¶
func (b *ExperimentApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ExperimentApplyConfiguration
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 (*ExperimentApplyConfiguration) WithResourceVersion ¶
func (b *ExperimentApplyConfiguration) WithResourceVersion(value string) *ExperimentApplyConfiguration
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 (*ExperimentApplyConfiguration) WithSpec ¶
func (b *ExperimentApplyConfiguration) WithSpec(value *ExperimentSpecApplyConfiguration) *ExperimentApplyConfiguration
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 (*ExperimentApplyConfiguration) WithStatus ¶
func (b *ExperimentApplyConfiguration) WithStatus(value *ExperimentStatusApplyConfiguration) *ExperimentApplyConfiguration
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 (*ExperimentApplyConfiguration) WithUID ¶
func (b *ExperimentApplyConfiguration) WithUID(value types.UID) *ExperimentApplyConfiguration
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 ExperimentConditionApplyConfiguration ¶
type ExperimentConditionApplyConfiguration struct { Type *v1beta1.ExperimentConditionType `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"` }
ExperimentConditionApplyConfiguration represents an declarative configuration of the ExperimentCondition type for use with apply.
func ExperimentCondition ¶
func ExperimentCondition() *ExperimentConditionApplyConfiguration
ExperimentConditionApplyConfiguration constructs an declarative configuration of the ExperimentCondition type for use with apply.
func (*ExperimentConditionApplyConfiguration) WithLastTransitionTime ¶
func (b *ExperimentConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *ExperimentConditionApplyConfiguration
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 (*ExperimentConditionApplyConfiguration) WithLastUpdateTime ¶
func (b *ExperimentConditionApplyConfiguration) WithLastUpdateTime(value metav1.Time) *ExperimentConditionApplyConfiguration
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 (*ExperimentConditionApplyConfiguration) WithMessage ¶
func (b *ExperimentConditionApplyConfiguration) WithMessage(value string) *ExperimentConditionApplyConfiguration
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 (*ExperimentConditionApplyConfiguration) WithReason ¶
func (b *ExperimentConditionApplyConfiguration) WithReason(value string) *ExperimentConditionApplyConfiguration
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 (*ExperimentConditionApplyConfiguration) WithStatus ¶
func (b *ExperimentConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *ExperimentConditionApplyConfiguration
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 (*ExperimentConditionApplyConfiguration) WithType ¶
func (b *ExperimentConditionApplyConfiguration) WithType(value v1beta1.ExperimentConditionType) *ExperimentConditionApplyConfiguration
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 ExperimentSpecApplyConfiguration ¶
type ExperimentSpecApplyConfiguration struct { Parameters []ParameterSpecApplyConfiguration `json:"parameters,omitempty"` Objective *commonv1beta1.ObjectiveSpecApplyConfiguration `json:"objective,omitempty"` Algorithm *commonv1beta1.AlgorithmSpecApplyConfiguration `json:"algorithm,omitempty"` EarlyStopping *commonv1beta1.EarlyStoppingSpecApplyConfiguration `json:"earlyStopping,omitempty"` TrialTemplate *TrialTemplateApplyConfiguration `json:"trialTemplate,omitempty"` ParallelTrialCount *int32 `json:"parallelTrialCount,omitempty"` MaxTrialCount *int32 `json:"maxTrialCount,omitempty"` MaxFailedTrialCount *int32 `json:"maxFailedTrialCount,omitempty"` MetricsCollectorSpec *commonv1beta1.MetricsCollectorSpecApplyConfiguration `json:"metricsCollectorSpec,omitempty"` NasConfig *NasConfigApplyConfiguration `json:"nasConfig,omitempty"` ResumePolicy *experimentsv1beta1.ResumePolicyType `json:"resumePolicy,omitempty"` }
ExperimentSpecApplyConfiguration represents an declarative configuration of the ExperimentSpec type for use with apply.
func ExperimentSpec ¶
func ExperimentSpec() *ExperimentSpecApplyConfiguration
ExperimentSpecApplyConfiguration constructs an declarative configuration of the ExperimentSpec type for use with apply.
func (*ExperimentSpecApplyConfiguration) WithAlgorithm ¶
func (b *ExperimentSpecApplyConfiguration) WithAlgorithm(value *commonv1beta1.AlgorithmSpecApplyConfiguration) *ExperimentSpecApplyConfiguration
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 (*ExperimentSpecApplyConfiguration) WithEarlyStopping ¶
func (b *ExperimentSpecApplyConfiguration) WithEarlyStopping(value *commonv1beta1.EarlyStoppingSpecApplyConfiguration) *ExperimentSpecApplyConfiguration
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 (*ExperimentSpecApplyConfiguration) WithMaxFailedTrialCount ¶
func (b *ExperimentSpecApplyConfiguration) WithMaxFailedTrialCount(value int32) *ExperimentSpecApplyConfiguration
WithMaxFailedTrialCount sets the MaxFailedTrialCount 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 MaxFailedTrialCount field is set to the value of the last call.
func (*ExperimentSpecApplyConfiguration) WithMaxTrialCount ¶
func (b *ExperimentSpecApplyConfiguration) WithMaxTrialCount(value int32) *ExperimentSpecApplyConfiguration
WithMaxTrialCount sets the MaxTrialCount 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 MaxTrialCount field is set to the value of the last call.
func (*ExperimentSpecApplyConfiguration) WithMetricsCollectorSpec ¶
func (b *ExperimentSpecApplyConfiguration) WithMetricsCollectorSpec(value *commonv1beta1.MetricsCollectorSpecApplyConfiguration) *ExperimentSpecApplyConfiguration
WithMetricsCollectorSpec sets the MetricsCollectorSpec 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 MetricsCollectorSpec field is set to the value of the last call.
func (*ExperimentSpecApplyConfiguration) WithNasConfig ¶
func (b *ExperimentSpecApplyConfiguration) WithNasConfig(value *NasConfigApplyConfiguration) *ExperimentSpecApplyConfiguration
WithNasConfig sets the NasConfig 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 NasConfig field is set to the value of the last call.
func (*ExperimentSpecApplyConfiguration) WithObjective ¶
func (b *ExperimentSpecApplyConfiguration) WithObjective(value *commonv1beta1.ObjectiveSpecApplyConfiguration) *ExperimentSpecApplyConfiguration
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 (*ExperimentSpecApplyConfiguration) WithParallelTrialCount ¶
func (b *ExperimentSpecApplyConfiguration) WithParallelTrialCount(value int32) *ExperimentSpecApplyConfiguration
WithParallelTrialCount sets the ParallelTrialCount 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 ParallelTrialCount field is set to the value of the last call.
func (*ExperimentSpecApplyConfiguration) WithParameters ¶
func (b *ExperimentSpecApplyConfiguration) WithParameters(values ...*ParameterSpecApplyConfiguration) *ExperimentSpecApplyConfiguration
WithParameters adds the given value to the Parameters 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 Parameters field.
func (*ExperimentSpecApplyConfiguration) WithResumePolicy ¶
func (b *ExperimentSpecApplyConfiguration) WithResumePolicy(value experimentsv1beta1.ResumePolicyType) *ExperimentSpecApplyConfiguration
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.
func (*ExperimentSpecApplyConfiguration) WithTrialTemplate ¶
func (b *ExperimentSpecApplyConfiguration) WithTrialTemplate(value *TrialTemplateApplyConfiguration) *ExperimentSpecApplyConfiguration
WithTrialTemplate sets the TrialTemplate 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 TrialTemplate field is set to the value of the last call.
type ExperimentStatusApplyConfiguration ¶
type ExperimentStatusApplyConfiguration struct { StartTime *v1.Time `json:"startTime,omitempty"` CompletionTime *v1.Time `json:"completionTime,omitempty"` LastReconcileTime *v1.Time `json:"lastReconcileTime,omitempty"` Conditions []ExperimentConditionApplyConfiguration `json:"conditions,omitempty"` CurrentOptimalTrial *OptimalTrialApplyConfiguration `json:"currentOptimalTrial,omitempty"` RunningTrialList []string `json:"runningTrialList,omitempty"` PendingTrialList []string `json:"pendingTrialList,omitempty"` FailedTrialList []string `json:"failedTrialList,omitempty"` SucceededTrialList []string `json:"succeededTrialList,omitempty"` KilledTrialList []string `json:"killedTrialList,omitempty"` EarlyStoppedTrialList []string `json:"earlyStoppedTrialList,omitempty"` Trials *int32 `json:"trials,omitempty"` TrialsSucceeded *int32 `json:"trialsSucceeded,omitempty"` TrialsFailed *int32 `json:"trialsFailed,omitempty"` TrialsKilled *int32 `json:"trialsKilled,omitempty"` TrialsPending *int32 `json:"trialsPending,omitempty"` TrialsRunning *int32 `json:"trialsRunning,omitempty"` TrialsEarlyStopped *int32 `json:"trialsEarlyStopped,omitempty"` }
ExperimentStatusApplyConfiguration represents an declarative configuration of the ExperimentStatus type for use with apply.
func ExperimentStatus ¶
func ExperimentStatus() *ExperimentStatusApplyConfiguration
ExperimentStatusApplyConfiguration constructs an declarative configuration of the ExperimentStatus type for use with apply.
func (*ExperimentStatusApplyConfiguration) WithCompletionTime ¶
func (b *ExperimentStatusApplyConfiguration) WithCompletionTime(value v1.Time) *ExperimentStatusApplyConfiguration
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 (*ExperimentStatusApplyConfiguration) WithConditions ¶
func (b *ExperimentStatusApplyConfiguration) WithConditions(values ...*ExperimentConditionApplyConfiguration) *ExperimentStatusApplyConfiguration
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 (*ExperimentStatusApplyConfiguration) WithCurrentOptimalTrial ¶
func (b *ExperimentStatusApplyConfiguration) WithCurrentOptimalTrial(value *OptimalTrialApplyConfiguration) *ExperimentStatusApplyConfiguration
WithCurrentOptimalTrial sets the CurrentOptimalTrial 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 CurrentOptimalTrial field is set to the value of the last call.
func (*ExperimentStatusApplyConfiguration) WithEarlyStoppedTrialList ¶
func (b *ExperimentStatusApplyConfiguration) WithEarlyStoppedTrialList(values ...string) *ExperimentStatusApplyConfiguration
WithEarlyStoppedTrialList adds the given value to the EarlyStoppedTrialList 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 EarlyStoppedTrialList field.
func (*ExperimentStatusApplyConfiguration) WithFailedTrialList ¶
func (b *ExperimentStatusApplyConfiguration) WithFailedTrialList(values ...string) *ExperimentStatusApplyConfiguration
WithFailedTrialList adds the given value to the FailedTrialList 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 FailedTrialList field.
func (*ExperimentStatusApplyConfiguration) WithKilledTrialList ¶
func (b *ExperimentStatusApplyConfiguration) WithKilledTrialList(values ...string) *ExperimentStatusApplyConfiguration
WithKilledTrialList adds the given value to the KilledTrialList 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 KilledTrialList field.
func (*ExperimentStatusApplyConfiguration) WithLastReconcileTime ¶
func (b *ExperimentStatusApplyConfiguration) WithLastReconcileTime(value v1.Time) *ExperimentStatusApplyConfiguration
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 (*ExperimentStatusApplyConfiguration) WithMetricsUnavailableTrialList ¶
func (b *ExperimentStatusApplyConfiguration) WithMetricsUnavailableTrialList(values ...string) *ExperimentStatusApplyConfiguration
WithMetricsUnavailableTrialList adds the given value to the MetricsUnavailableTrialList 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 MetricsUnavailableTrialList field.
func (*ExperimentStatusApplyConfiguration) WithPendingTrialList ¶
func (b *ExperimentStatusApplyConfiguration) WithPendingTrialList(values ...string) *ExperimentStatusApplyConfiguration
WithPendingTrialList adds the given value to the PendingTrialList 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 PendingTrialList field.
func (*ExperimentStatusApplyConfiguration) WithRunningTrialList ¶
func (b *ExperimentStatusApplyConfiguration) WithRunningTrialList(values ...string) *ExperimentStatusApplyConfiguration
WithRunningTrialList adds the given value to the RunningTrialList 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 RunningTrialList field.
func (*ExperimentStatusApplyConfiguration) WithStartTime ¶
func (b *ExperimentStatusApplyConfiguration) WithStartTime(value v1.Time) *ExperimentStatusApplyConfiguration
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 (*ExperimentStatusApplyConfiguration) WithSucceededTrialList ¶
func (b *ExperimentStatusApplyConfiguration) WithSucceededTrialList(values ...string) *ExperimentStatusApplyConfiguration
WithSucceededTrialList adds the given value to the SucceededTrialList 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 SucceededTrialList field.
func (*ExperimentStatusApplyConfiguration) WithTrialMetricsUnavailable ¶
func (b *ExperimentStatusApplyConfiguration) WithTrialMetricsUnavailable(value int32) *ExperimentStatusApplyConfiguration
WithTrialMetricsUnavailable sets the TrialMetricsUnavailable 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 TrialMetricsUnavailable field is set to the value of the last call.
func (*ExperimentStatusApplyConfiguration) WithTrials ¶
func (b *ExperimentStatusApplyConfiguration) WithTrials(value int32) *ExperimentStatusApplyConfiguration
WithTrials sets the Trials 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 Trials field is set to the value of the last call.
func (*ExperimentStatusApplyConfiguration) WithTrialsEarlyStopped ¶
func (b *ExperimentStatusApplyConfiguration) WithTrialsEarlyStopped(value int32) *ExperimentStatusApplyConfiguration
WithTrialsEarlyStopped sets the TrialsEarlyStopped 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 TrialsEarlyStopped field is set to the value of the last call.
func (*ExperimentStatusApplyConfiguration) WithTrialsFailed ¶
func (b *ExperimentStatusApplyConfiguration) WithTrialsFailed(value int32) *ExperimentStatusApplyConfiguration
WithTrialsFailed sets the TrialsFailed 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 TrialsFailed field is set to the value of the last call.
func (*ExperimentStatusApplyConfiguration) WithTrialsKilled ¶
func (b *ExperimentStatusApplyConfiguration) WithTrialsKilled(value int32) *ExperimentStatusApplyConfiguration
WithTrialsKilled sets the TrialsKilled 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 TrialsKilled field is set to the value of the last call.
func (*ExperimentStatusApplyConfiguration) WithTrialsPending ¶
func (b *ExperimentStatusApplyConfiguration) WithTrialsPending(value int32) *ExperimentStatusApplyConfiguration
WithTrialsPending sets the TrialsPending 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 TrialsPending field is set to the value of the last call.
func (*ExperimentStatusApplyConfiguration) WithTrialsRunning ¶
func (b *ExperimentStatusApplyConfiguration) WithTrialsRunning(value int32) *ExperimentStatusApplyConfiguration
WithTrialsRunning sets the TrialsRunning 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 TrialsRunning field is set to the value of the last call.
func (*ExperimentStatusApplyConfiguration) WithTrialsSucceeded ¶
func (b *ExperimentStatusApplyConfiguration) WithTrialsSucceeded(value int32) *ExperimentStatusApplyConfiguration
WithTrialsSucceeded sets the TrialsSucceeded 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 TrialsSucceeded field is set to the value of the last call.
type FeasibleSpaceApplyConfiguration ¶
type FeasibleSpaceApplyConfiguration struct { Max *string `json:"max,omitempty"` Min *string `json:"min,omitempty"` List []string `json:"list,omitempty"` Step *string `json:"step,omitempty"` }
FeasibleSpaceApplyConfiguration represents an declarative configuration of the FeasibleSpace type for use with apply.
func FeasibleSpace ¶
func FeasibleSpace() *FeasibleSpaceApplyConfiguration
FeasibleSpaceApplyConfiguration constructs an declarative configuration of the FeasibleSpace type for use with apply.
func (*FeasibleSpaceApplyConfiguration) WithList ¶
func (b *FeasibleSpaceApplyConfiguration) WithList(values ...string) *FeasibleSpaceApplyConfiguration
WithList adds the given value to the List 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 List field.
func (*FeasibleSpaceApplyConfiguration) WithMax ¶
func (b *FeasibleSpaceApplyConfiguration) WithMax(value string) *FeasibleSpaceApplyConfiguration
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 (*FeasibleSpaceApplyConfiguration) WithMin ¶
func (b *FeasibleSpaceApplyConfiguration) WithMin(value string) *FeasibleSpaceApplyConfiguration
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.
func (*FeasibleSpaceApplyConfiguration) WithStep ¶
func (b *FeasibleSpaceApplyConfiguration) WithStep(value string) *FeasibleSpaceApplyConfiguration
WithStep sets the Step 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 Step field is set to the value of the last call.
type GraphConfigApplyConfiguration ¶
type GraphConfigApplyConfiguration struct { NumLayers *int32 `json:"numLayers,omitempty"` InputSizes []int32 `json:"inputSizes,omitempty"` OutputSizes []int32 `json:"outputSizes,omitempty"` }
GraphConfigApplyConfiguration represents an declarative configuration of the GraphConfig type for use with apply.
func GraphConfig ¶
func GraphConfig() *GraphConfigApplyConfiguration
GraphConfigApplyConfiguration constructs an declarative configuration of the GraphConfig type for use with apply.
func (*GraphConfigApplyConfiguration) WithInputSizes ¶
func (b *GraphConfigApplyConfiguration) WithInputSizes(values ...int32) *GraphConfigApplyConfiguration
WithInputSizes adds the given value to the InputSizes 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 InputSizes field.
func (*GraphConfigApplyConfiguration) WithNumLayers ¶
func (b *GraphConfigApplyConfiguration) WithNumLayers(value int32) *GraphConfigApplyConfiguration
WithNumLayers sets the NumLayers 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 NumLayers field is set to the value of the last call.
func (*GraphConfigApplyConfiguration) WithOutputSizes ¶
func (b *GraphConfigApplyConfiguration) WithOutputSizes(values ...int32) *GraphConfigApplyConfiguration
WithOutputSizes adds the given value to the OutputSizes 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 OutputSizes field.
type NasConfigApplyConfiguration ¶
type NasConfigApplyConfiguration struct { GraphConfig *GraphConfigApplyConfiguration `json:"graphConfig,omitempty"` Operations []OperationApplyConfiguration `json:"operations,omitempty"` }
NasConfigApplyConfiguration represents an declarative configuration of the NasConfig type for use with apply.
func NasConfig ¶
func NasConfig() *NasConfigApplyConfiguration
NasConfigApplyConfiguration constructs an declarative configuration of the NasConfig type for use with apply.
func (*NasConfigApplyConfiguration) WithGraphConfig ¶
func (b *NasConfigApplyConfiguration) WithGraphConfig(value *GraphConfigApplyConfiguration) *NasConfigApplyConfiguration
WithGraphConfig sets the GraphConfig 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 GraphConfig field is set to the value of the last call.
func (*NasConfigApplyConfiguration) WithOperations ¶
func (b *NasConfigApplyConfiguration) WithOperations(values ...*OperationApplyConfiguration) *NasConfigApplyConfiguration
WithOperations adds the given value to the Operations 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 Operations field.
type OperationApplyConfiguration ¶
type OperationApplyConfiguration struct { OperationType *string `json:"operationType,omitempty"` Parameters []ParameterSpecApplyConfiguration `json:"parameters,omitempty"` }
OperationApplyConfiguration represents an declarative configuration of the Operation type for use with apply.
func Operation ¶
func Operation() *OperationApplyConfiguration
OperationApplyConfiguration constructs an declarative configuration of the Operation type for use with apply.
func (*OperationApplyConfiguration) WithOperationType ¶
func (b *OperationApplyConfiguration) WithOperationType(value string) *OperationApplyConfiguration
WithOperationType sets the OperationType 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 OperationType field is set to the value of the last call.
func (*OperationApplyConfiguration) WithParameters ¶
func (b *OperationApplyConfiguration) WithParameters(values ...*ParameterSpecApplyConfiguration) *OperationApplyConfiguration
WithParameters adds the given value to the Parameters 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 Parameters field.
type OptimalTrialApplyConfiguration ¶
type OptimalTrialApplyConfiguration struct { BestTrialName *string `json:"bestTrialName,omitempty"` ParameterAssignments []v1beta1.ParameterAssignmentApplyConfiguration `json:"parameterAssignments,omitempty"` Observation *v1beta1.ObservationApplyConfiguration `json:"observation,omitempty"` }
OptimalTrialApplyConfiguration represents an declarative configuration of the OptimalTrial type for use with apply.
func OptimalTrial ¶
func OptimalTrial() *OptimalTrialApplyConfiguration
OptimalTrialApplyConfiguration constructs an declarative configuration of the OptimalTrial type for use with apply.
func (*OptimalTrialApplyConfiguration) WithBestTrialName ¶
func (b *OptimalTrialApplyConfiguration) WithBestTrialName(value string) *OptimalTrialApplyConfiguration
WithBestTrialName sets the BestTrialName 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 BestTrialName field is set to the value of the last call.
func (*OptimalTrialApplyConfiguration) WithObservation ¶
func (b *OptimalTrialApplyConfiguration) WithObservation(value *v1beta1.ObservationApplyConfiguration) *OptimalTrialApplyConfiguration
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 (*OptimalTrialApplyConfiguration) WithParameterAssignments ¶
func (b *OptimalTrialApplyConfiguration) WithParameterAssignments(values ...*v1beta1.ParameterAssignmentApplyConfiguration) *OptimalTrialApplyConfiguration
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.
type ParameterSpecApplyConfiguration ¶
type ParameterSpecApplyConfiguration struct { Name *string `json:"name,omitempty"` ParameterType *v1beta1.ParameterType `json:"parameterType,omitempty"` FeasibleSpace *FeasibleSpaceApplyConfiguration `json:"feasibleSpace,omitempty"` }
ParameterSpecApplyConfiguration represents an declarative configuration of the ParameterSpec type for use with apply.
func ParameterSpec ¶
func ParameterSpec() *ParameterSpecApplyConfiguration
ParameterSpecApplyConfiguration constructs an declarative configuration of the ParameterSpec type for use with apply.
func (*ParameterSpecApplyConfiguration) WithFeasibleSpace ¶
func (b *ParameterSpecApplyConfiguration) WithFeasibleSpace(value *FeasibleSpaceApplyConfiguration) *ParameterSpecApplyConfiguration
WithFeasibleSpace sets the FeasibleSpace 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 FeasibleSpace field is set to the value of the last call.
func (*ParameterSpecApplyConfiguration) WithName ¶
func (b *ParameterSpecApplyConfiguration) WithName(value string) *ParameterSpecApplyConfiguration
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 (*ParameterSpecApplyConfiguration) WithParameterType ¶
func (b *ParameterSpecApplyConfiguration) WithParameterType(value v1beta1.ParameterType) *ParameterSpecApplyConfiguration
WithParameterType sets the ParameterType 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 ParameterType field is set to the value of the last call.
type TrialParameterSpecApplyConfiguration ¶
type TrialParameterSpecApplyConfiguration struct { Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` Reference *string `json:"reference,omitempty"` }
TrialParameterSpecApplyConfiguration represents an declarative configuration of the TrialParameterSpec type for use with apply.
func TrialParameterSpec ¶
func TrialParameterSpec() *TrialParameterSpecApplyConfiguration
TrialParameterSpecApplyConfiguration constructs an declarative configuration of the TrialParameterSpec type for use with apply.
func (*TrialParameterSpecApplyConfiguration) WithDescription ¶
func (b *TrialParameterSpecApplyConfiguration) WithDescription(value string) *TrialParameterSpecApplyConfiguration
WithDescription sets the Description 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 Description field is set to the value of the last call.
func (*TrialParameterSpecApplyConfiguration) WithName ¶
func (b *TrialParameterSpecApplyConfiguration) WithName(value string) *TrialParameterSpecApplyConfiguration
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 (*TrialParameterSpecApplyConfiguration) WithReference ¶
func (b *TrialParameterSpecApplyConfiguration) WithReference(value string) *TrialParameterSpecApplyConfiguration
WithReference sets the Reference 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 Reference field is set to the value of the last call.
type TrialSourceApplyConfiguration ¶
type TrialSourceApplyConfiguration struct { TrialSpec *unstructured.Unstructured `json:"trialSpec,omitempty"` ConfigMap *ConfigMapSourceApplyConfiguration `json:"configMap,omitempty"` }
TrialSourceApplyConfiguration represents an declarative configuration of the TrialSource type for use with apply.
func TrialSource ¶
func TrialSource() *TrialSourceApplyConfiguration
TrialSourceApplyConfiguration constructs an declarative configuration of the TrialSource type for use with apply.
func (*TrialSourceApplyConfiguration) WithConfigMap ¶
func (b *TrialSourceApplyConfiguration) WithConfigMap(value *ConfigMapSourceApplyConfiguration) *TrialSourceApplyConfiguration
WithConfigMap sets the ConfigMap 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 ConfigMap field is set to the value of the last call.
func (*TrialSourceApplyConfiguration) WithTrialSpec ¶
func (b *TrialSourceApplyConfiguration) WithTrialSpec(value unstructured.Unstructured) *TrialSourceApplyConfiguration
WithTrialSpec sets the TrialSpec 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 TrialSpec field is set to the value of the last call.
type TrialTemplateApplyConfiguration ¶
type TrialTemplateApplyConfiguration struct { Retain *bool `json:"retain,omitempty"` TrialSourceApplyConfiguration `json:",inline"` TrialParameters []TrialParameterSpecApplyConfiguration `json:"trialParameters,omitempty"` PrimaryPodLabels map[string]string `json:"primaryPodLabels,omitempty"` PrimaryContainerName *string `json:"primaryContainerName,omitempty"` SuccessCondition *string `json:"successCondition,omitempty"` FailureCondition *string `json:"failureCondition,omitempty"` }
TrialTemplateApplyConfiguration represents an declarative configuration of the TrialTemplate type for use with apply.
func TrialTemplate ¶
func TrialTemplate() *TrialTemplateApplyConfiguration
TrialTemplateApplyConfiguration constructs an declarative configuration of the TrialTemplate type for use with apply.
func (*TrialTemplateApplyConfiguration) WithConfigMap ¶
func (b *TrialTemplateApplyConfiguration) WithConfigMap(value *ConfigMapSourceApplyConfiguration) *TrialTemplateApplyConfiguration
WithConfigMap sets the ConfigMap 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 ConfigMap field is set to the value of the last call.
func (*TrialTemplateApplyConfiguration) WithFailureCondition ¶
func (b *TrialTemplateApplyConfiguration) WithFailureCondition(value string) *TrialTemplateApplyConfiguration
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 (*TrialTemplateApplyConfiguration) WithPrimaryContainerName ¶
func (b *TrialTemplateApplyConfiguration) WithPrimaryContainerName(value string) *TrialTemplateApplyConfiguration
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 (*TrialTemplateApplyConfiguration) WithPrimaryPodLabels ¶
func (b *TrialTemplateApplyConfiguration) WithPrimaryPodLabels(entries map[string]string) *TrialTemplateApplyConfiguration
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 (*TrialTemplateApplyConfiguration) WithRetain ¶
func (b *TrialTemplateApplyConfiguration) WithRetain(value bool) *TrialTemplateApplyConfiguration
WithRetain sets the Retain 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 Retain field is set to the value of the last call.
func (*TrialTemplateApplyConfiguration) WithSuccessCondition ¶
func (b *TrialTemplateApplyConfiguration) WithSuccessCondition(value string) *TrialTemplateApplyConfiguration
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.
func (*TrialTemplateApplyConfiguration) WithTrialParameters ¶
func (b *TrialTemplateApplyConfiguration) WithTrialParameters(values ...*TrialParameterSpecApplyConfiguration) *TrialTemplateApplyConfiguration
WithTrialParameters adds the given value to the TrialParameters 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 TrialParameters field.
func (*TrialTemplateApplyConfiguration) WithTrialSpec ¶
func (b *TrialTemplateApplyConfiguration) WithTrialSpec(value unstructured.Unstructured) *TrialTemplateApplyConfiguration
WithTrialSpec sets the TrialSpec 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 TrialSpec field is set to the value of the last call.