Files
Yuki IwaiandGitHub 152f19185e Add shellcheck (#1857)
* add shellcheck

* fix /test/e2e/v1beta1/scripts/run-e2e-experiment.sh

* fix test/e2e/v1beta1/scripts/setup-katib.sh

* fix pkg/apis/manager/[v1beta1|health]/build.sh

* fix scripts/v1beta1/deploy.sh

* fix scripts/v1beta1/release.sh

* fix scripts/v1beta1/update-images.sh

* fix scripts/v1beta1/undeploy.sh

* fix hack/update-openapigen.sh

* update boilerplate

* fix hack/gen-python-sdk/gen-sdk.sh

* fix hack/update-codegen.sh

* fix hack/update-mockgen.sh

* use /usr/bin/env bash

* add path to update-boilerplate.sh

* fix script to update boilerplate

* fix comment
2022-05-03 01:15:00 +00:00

332 lines
9.1 KiB
Go

//go:build !ignore_autogenerated
// +build !ignore_autogenerated
/*
Copyright 2022 The Kubeflow Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// Code generated by deepcopy-gen. DO NOT EDIT.
package v1beta1
import (
v1 "k8s.io/api/core/v1"
)
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *AlgorithmSetting) DeepCopyInto(out *AlgorithmSetting) {
*out = *in
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlgorithmSetting.
func (in *AlgorithmSetting) DeepCopy() *AlgorithmSetting {
if in == nil {
return nil
}
out := new(AlgorithmSetting)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *AlgorithmSpec) DeepCopyInto(out *AlgorithmSpec) {
*out = *in
if in.AlgorithmSettings != nil {
in, out := &in.AlgorithmSettings, &out.AlgorithmSettings
*out = make([]AlgorithmSetting, len(*in))
copy(*out, *in)
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlgorithmSpec.
func (in *AlgorithmSpec) DeepCopy() *AlgorithmSpec {
if in == nil {
return nil
}
out := new(AlgorithmSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *CollectorSpec) DeepCopyInto(out *CollectorSpec) {
*out = *in
if in.CustomCollector != nil {
in, out := &in.CustomCollector, &out.CustomCollector
*out = new(v1.Container)
(*in).DeepCopyInto(*out)
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CollectorSpec.
func (in *CollectorSpec) DeepCopy() *CollectorSpec {
if in == nil {
return nil
}
out := new(CollectorSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *EarlyStoppingRule) DeepCopyInto(out *EarlyStoppingRule) {
*out = *in
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EarlyStoppingRule.
func (in *EarlyStoppingRule) DeepCopy() *EarlyStoppingRule {
if in == nil {
return nil
}
out := new(EarlyStoppingRule)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *EarlyStoppingSetting) DeepCopyInto(out *EarlyStoppingSetting) {
*out = *in
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EarlyStoppingSetting.
func (in *EarlyStoppingSetting) DeepCopy() *EarlyStoppingSetting {
if in == nil {
return nil
}
out := new(EarlyStoppingSetting)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *EarlyStoppingSpec) DeepCopyInto(out *EarlyStoppingSpec) {
*out = *in
if in.AlgorithmSettings != nil {
in, out := &in.AlgorithmSettings, &out.AlgorithmSettings
*out = make([]EarlyStoppingSetting, len(*in))
copy(*out, *in)
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EarlyStoppingSpec.
func (in *EarlyStoppingSpec) DeepCopy() *EarlyStoppingSpec {
if in == nil {
return nil
}
out := new(EarlyStoppingSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *FileSystemPath) DeepCopyInto(out *FileSystemPath) {
*out = *in
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileSystemPath.
func (in *FileSystemPath) DeepCopy() *FileSystemPath {
if in == nil {
return nil
}
out := new(FileSystemPath)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *FilterSpec) DeepCopyInto(out *FilterSpec) {
*out = *in
if in.MetricsFormat != nil {
in, out := &in.MetricsFormat, &out.MetricsFormat
*out = make([]string, len(*in))
copy(*out, *in)
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilterSpec.
func (in *FilterSpec) DeepCopy() *FilterSpec {
if in == nil {
return nil
}
out := new(FilterSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Metric) DeepCopyInto(out *Metric) {
*out = *in
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Metric.
func (in *Metric) DeepCopy() *Metric {
if in == nil {
return nil
}
out := new(Metric)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *MetricStrategy) DeepCopyInto(out *MetricStrategy) {
*out = *in
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricStrategy.
func (in *MetricStrategy) DeepCopy() *MetricStrategy {
if in == nil {
return nil
}
out := new(MetricStrategy)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *MetricsCollectorSpec) DeepCopyInto(out *MetricsCollectorSpec) {
*out = *in
if in.Source != nil {
in, out := &in.Source, &out.Source
*out = new(SourceSpec)
(*in).DeepCopyInto(*out)
}
if in.Collector != nil {
in, out := &in.Collector, &out.Collector
*out = new(CollectorSpec)
(*in).DeepCopyInto(*out)
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsCollectorSpec.
func (in *MetricsCollectorSpec) DeepCopy() *MetricsCollectorSpec {
if in == nil {
return nil
}
out := new(MetricsCollectorSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ObjectiveSpec) DeepCopyInto(out *ObjectiveSpec) {
*out = *in
if in.Goal != nil {
in, out := &in.Goal, &out.Goal
*out = new(float64)
**out = **in
}
if in.AdditionalMetricNames != nil {
in, out := &in.AdditionalMetricNames, &out.AdditionalMetricNames
*out = make([]string, len(*in))
copy(*out, *in)
}
if in.MetricStrategies != nil {
in, out := &in.MetricStrategies, &out.MetricStrategies
*out = make([]MetricStrategy, len(*in))
copy(*out, *in)
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectiveSpec.
func (in *ObjectiveSpec) DeepCopy() *ObjectiveSpec {
if in == nil {
return nil
}
out := new(ObjectiveSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Observation) DeepCopyInto(out *Observation) {
*out = *in
if in.Metrics != nil {
in, out := &in.Metrics, &out.Metrics
*out = make([]Metric, len(*in))
copy(*out, *in)
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Observation.
func (in *Observation) DeepCopy() *Observation {
if in == nil {
return nil
}
out := new(Observation)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ParameterAssignment) DeepCopyInto(out *ParameterAssignment) {
*out = *in
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParameterAssignment.
func (in *ParameterAssignment) DeepCopy() *ParameterAssignment {
if in == nil {
return nil
}
out := new(ParameterAssignment)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *SourceSpec) DeepCopyInto(out *SourceSpec) {
*out = *in
if in.HttpGet != nil {
in, out := &in.HttpGet, &out.HttpGet
*out = new(v1.HTTPGetAction)
(*in).DeepCopyInto(*out)
}
if in.FileSystemPath != nil {
in, out := &in.FileSystemPath, &out.FileSystemPath
*out = new(FileSystemPath)
**out = **in
}
if in.Filter != nil {
in, out := &in.Filter, &out.Filter
*out = new(FilterSpec)
(*in).DeepCopyInto(*out)
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceSpec.
func (in *SourceSpec) DeepCopy() *SourceSpec {
if in == nil {
return nil
}
out := new(SourceSpec)
in.DeepCopyInto(out)
return out
}