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: 2 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlgorithmSettingApplyConfiguration

type AlgorithmSettingApplyConfiguration struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

AlgorithmSettingApplyConfiguration represents an declarative configuration of the AlgorithmSetting type for use with apply.

func AlgorithmSetting

func AlgorithmSetting() *AlgorithmSettingApplyConfiguration

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

func (*AlgorithmSettingApplyConfiguration) 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 (*AlgorithmSettingApplyConfiguration) WithValue

WithValue sets the Value 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 Value field is set to the value of the last call.

type AlgorithmSpecApplyConfiguration

type AlgorithmSpecApplyConfiguration struct {
	AlgorithmName     *string                              `json:"algorithmName,omitempty"`
	AlgorithmSettings []AlgorithmSettingApplyConfiguration `json:"algorithmSettings,omitempty"`
}

AlgorithmSpecApplyConfiguration represents an declarative configuration of the AlgorithmSpec type for use with apply.

func AlgorithmSpec

func AlgorithmSpec() *AlgorithmSpecApplyConfiguration

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

func (*AlgorithmSpecApplyConfiguration) WithAlgorithmName

WithAlgorithmName sets the AlgorithmName 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 AlgorithmName field is set to the value of the last call.

func (*AlgorithmSpecApplyConfiguration) 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.

type CollectorSpecApplyConfiguration

type CollectorSpecApplyConfiguration struct {
	Kind            *v1beta1.CollectorKind `json:"kind,omitempty"`
	CustomCollector *v1.Container          `json:"customCollector,omitempty"`
}

CollectorSpecApplyConfiguration represents an declarative configuration of the CollectorSpec type for use with apply.

func CollectorSpec

func CollectorSpec() *CollectorSpecApplyConfiguration

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

func (*CollectorSpecApplyConfiguration) WithCustomCollector

WithCustomCollector sets the CustomCollector 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 CustomCollector field is set to the value of the last call.

func (*CollectorSpecApplyConfiguration) 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.

type EarlyStoppingRuleApplyConfiguration

type EarlyStoppingRuleApplyConfiguration struct {
	Name       *string                 `json:"name,omitempty"`
	Value      *string                 `json:"value,omitempty"`
	Comparison *v1beta1.ComparisonType `json:"comparison,omitempty"`
	StartStep  *int                    `json:"startStep,omitempty"`
}

EarlyStoppingRuleApplyConfiguration represents an declarative configuration of the EarlyStoppingRule type for use with apply.

func EarlyStoppingRule

func EarlyStoppingRule() *EarlyStoppingRuleApplyConfiguration

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

func (*EarlyStoppingRuleApplyConfiguration) WithComparison

WithComparison sets the Comparison 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 Comparison field is set to the value of the last call.

func (*EarlyStoppingRuleApplyConfiguration) 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 (*EarlyStoppingRuleApplyConfiguration) WithStartStep

WithStartStep sets the StartStep 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 StartStep field is set to the value of the last call.

func (*EarlyStoppingRuleApplyConfiguration) WithValue

WithValue sets the Value 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 Value field is set to the value of the last call.

type EarlyStoppingSettingApplyConfiguration

type EarlyStoppingSettingApplyConfiguration struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

EarlyStoppingSettingApplyConfiguration represents an declarative configuration of the EarlyStoppingSetting type for use with apply.

func EarlyStoppingSetting

func EarlyStoppingSetting() *EarlyStoppingSettingApplyConfiguration

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

func (*EarlyStoppingSettingApplyConfiguration) 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 (*EarlyStoppingSettingApplyConfiguration) WithValue

WithValue sets the Value 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 Value field is set to the value of the last call.

type EarlyStoppingSpecApplyConfiguration

type EarlyStoppingSpecApplyConfiguration struct {
	AlgorithmName     *string                                  `json:"algorithmName,omitempty"`
	AlgorithmSettings []EarlyStoppingSettingApplyConfiguration `json:"algorithmSettings,omitempty"`
}

EarlyStoppingSpecApplyConfiguration represents an declarative configuration of the EarlyStoppingSpec type for use with apply.

func EarlyStoppingSpec

func EarlyStoppingSpec() *EarlyStoppingSpecApplyConfiguration

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

func (*EarlyStoppingSpecApplyConfiguration) WithAlgorithmName

WithAlgorithmName sets the AlgorithmName 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 AlgorithmName field is set to the value of the last call.

func (*EarlyStoppingSpecApplyConfiguration) 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.

type FileSystemPathApplyConfiguration

type FileSystemPathApplyConfiguration struct {
	Path   *string                 `json:"path,omitempty"`
	Kind   *v1beta1.FileSystemKind `json:"kind,omitempty"`
	Format *v1beta1.FileFormat     `json:"format,omitempty"`
}

FileSystemPathApplyConfiguration represents an declarative configuration of the FileSystemPath type for use with apply.

func FileSystemPath

func FileSystemPath() *FileSystemPathApplyConfiguration

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

func (*FileSystemPathApplyConfiguration) WithFormat

WithFormat sets the Format 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 Format field is set to the value of the last call.

func (*FileSystemPathApplyConfiguration) 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 (*FileSystemPathApplyConfiguration) WithPath

WithPath sets the Path 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 Path field is set to the value of the last call.

type FilterSpecApplyConfiguration

type FilterSpecApplyConfiguration struct {
	MetricsFormat []string `json:"metricsFormat,omitempty"`
}

FilterSpecApplyConfiguration represents an declarative configuration of the FilterSpec type for use with apply.

func FilterSpec

func FilterSpec() *FilterSpecApplyConfiguration

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

func (*FilterSpecApplyConfiguration) WithMetricsFormat

func (b *FilterSpecApplyConfiguration) WithMetricsFormat(values ...string) *FilterSpecApplyConfiguration

WithMetricsFormat adds the given value to the MetricsFormat 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 MetricsFormat field.

type MetricApplyConfiguration

type MetricApplyConfiguration struct {
	Name   *string `json:"name,omitempty"`
	Min    *string `json:"min,omitempty"`
	Max    *string `json:"max,omitempty"`
	Latest *string `json:"latest,omitempty"`
}

MetricApplyConfiguration represents an declarative configuration of the Metric type for use with apply.

func Metric

func Metric() *MetricApplyConfiguration

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

func (*MetricApplyConfiguration) WithLatest

WithLatest sets the Latest 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 Latest field is set to the value of the last call.

func (*MetricApplyConfiguration) WithMax

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

func (*MetricApplyConfiguration) WithMin

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

func (*MetricApplyConfiguration) WithName

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

type MetricStrategyApplyConfiguration

type MetricStrategyApplyConfiguration struct {
	Name  *string                     `json:"name,omitempty"`
	Value *v1beta1.MetricStrategyType `json:"value,omitempty"`
}

MetricStrategyApplyConfiguration represents an declarative configuration of the MetricStrategy type for use with apply.

func MetricStrategy

func MetricStrategy() *MetricStrategyApplyConfiguration

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

func (*MetricStrategyApplyConfiguration) 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 (*MetricStrategyApplyConfiguration) WithValue

WithValue sets the Value 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 Value field is set to the value of the last call.

type MetricsCollectorSpecApplyConfiguration

type MetricsCollectorSpecApplyConfiguration struct {
	Source    *SourceSpecApplyConfiguration    `json:"source,omitempty"`
	Collector *CollectorSpecApplyConfiguration `json:"collector,omitempty"`
}

MetricsCollectorSpecApplyConfiguration represents an declarative configuration of the MetricsCollectorSpec type for use with apply.

func MetricsCollectorSpec

func MetricsCollectorSpec() *MetricsCollectorSpecApplyConfiguration

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

func (*MetricsCollectorSpecApplyConfiguration) WithCollector

WithCollector sets the Collector 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 Collector field is set to the value of the last call.

func (*MetricsCollectorSpecApplyConfiguration) WithSource

WithSource sets the Source 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 Source field is set to the value of the last call.

type ObjectiveSpecApplyConfiguration

type ObjectiveSpecApplyConfiguration struct {
	Type                  *v1beta1.ObjectiveType             `json:"type,omitempty"`
	Goal                  *float64                           `json:"goal,omitempty"`
	ObjectiveMetricName   *string                            `json:"objectiveMetricName,omitempty"`
	AdditionalMetricNames []string                           `json:"additionalMetricNames,omitempty"`
	MetricStrategies      []MetricStrategyApplyConfiguration `json:"metricStrategies,omitempty"`
}

ObjectiveSpecApplyConfiguration represents an declarative configuration of the ObjectiveSpec type for use with apply.

func ObjectiveSpec

func ObjectiveSpec() *ObjectiveSpecApplyConfiguration

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

func (*ObjectiveSpecApplyConfiguration) WithAdditionalMetricNames

func (b *ObjectiveSpecApplyConfiguration) WithAdditionalMetricNames(values ...string) *ObjectiveSpecApplyConfiguration

WithAdditionalMetricNames adds the given value to the AdditionalMetricNames 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 AdditionalMetricNames field.

func (*ObjectiveSpecApplyConfiguration) WithGoal

WithGoal sets the Goal 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 Goal field is set to the value of the last call.

func (*ObjectiveSpecApplyConfiguration) WithMetricStrategies

WithMetricStrategies adds the given value to the MetricStrategies 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 MetricStrategies field.

func (*ObjectiveSpecApplyConfiguration) WithObjectiveMetricName

func (b *ObjectiveSpecApplyConfiguration) WithObjectiveMetricName(value string) *ObjectiveSpecApplyConfiguration

WithObjectiveMetricName sets the ObjectiveMetricName 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 ObjectiveMetricName field is set to the value of the last call.

func (*ObjectiveSpecApplyConfiguration) 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 ObservationApplyConfiguration

type ObservationApplyConfiguration struct {
	Metrics []MetricApplyConfiguration `json:"metrics,omitempty"`
}

ObservationApplyConfiguration represents an declarative configuration of the Observation type for use with apply.

func Observation

func Observation() *ObservationApplyConfiguration

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

func (*ObservationApplyConfiguration) WithMetrics

WithMetrics adds the given value to the Metrics 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 Metrics field.

type ParameterAssignmentApplyConfiguration

type ParameterAssignmentApplyConfiguration struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

ParameterAssignmentApplyConfiguration represents an declarative configuration of the ParameterAssignment type for use with apply.

func ParameterAssignment

func ParameterAssignment() *ParameterAssignmentApplyConfiguration

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

func (*ParameterAssignmentApplyConfiguration) 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 (*ParameterAssignmentApplyConfiguration) WithValue

WithValue sets the Value 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 Value field is set to the value of the last call.

type SourceSpecApplyConfiguration

type SourceSpecApplyConfiguration struct {
	HttpGet        *v1.HTTPGetAction                 `json:"httpGet,omitempty"`
	FileSystemPath *FileSystemPathApplyConfiguration `json:"fileSystemPath,omitempty"`
	Filter         *FilterSpecApplyConfiguration     `json:"filter,omitempty"`
}

SourceSpecApplyConfiguration represents an declarative configuration of the SourceSpec type for use with apply.

func SourceSpec

func SourceSpec() *SourceSpecApplyConfiguration

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

func (*SourceSpecApplyConfiguration) WithFileSystemPath

WithFileSystemPath sets the FileSystemPath 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 FileSystemPath field is set to the value of the last call.

func (*SourceSpecApplyConfiguration) WithFilter

WithFilter sets the Filter 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 Filter field is set to the value of the last call.

func (*SourceSpecApplyConfiguration) WithHttpGet

WithHttpGet sets the HttpGet 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 HttpGet field is set to the value of the last call.

Jump to

Keyboard shortcuts

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