mirror of
https://github.com/hanzo-ml/katib.git
synced 2026-09-24 00:31:27 +00:00
212 lines
6.4 KiB
Go
212 lines
6.4 KiB
Go
//go: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 controller-gen. DO NOT EDIT.
|
|
|
|
package v1beta1
|
|
|
|
import (
|
|
"k8s.io/apimachinery/pkg/runtime"
|
|
)
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *CertGeneratorConfig) DeepCopyInto(out *CertGeneratorConfig) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertGeneratorConfig.
|
|
func (in *CertGeneratorConfig) DeepCopy() *CertGeneratorConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CertGeneratorConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ControllerConfig) DeepCopyInto(out *ControllerConfig) {
|
|
*out = *in
|
|
if in.EnableGRPCProbeInSuggestion != nil {
|
|
in, out := &in.EnableGRPCProbeInSuggestion, &out.EnableGRPCProbeInSuggestion
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
if in.TrialResources != nil {
|
|
in, out := &in.TrialResources, &out.TrialResources
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.WebhookPort != nil {
|
|
in, out := &in.WebhookPort, &out.WebhookPort
|
|
*out = new(int)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerConfig.
|
|
func (in *ControllerConfig) DeepCopy() *ControllerConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ControllerConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *EarlyStoppingConfig) DeepCopyInto(out *EarlyStoppingConfig) {
|
|
*out = *in
|
|
in.Resource.DeepCopyInto(&out.Resource)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EarlyStoppingConfig.
|
|
func (in *EarlyStoppingConfig) DeepCopy() *EarlyStoppingConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(EarlyStoppingConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *InitConfig) DeepCopyInto(out *InitConfig) {
|
|
*out = *in
|
|
in.ControllerConfig.DeepCopyInto(&out.ControllerConfig)
|
|
out.CertGeneratorConfig = in.CertGeneratorConfig
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitConfig.
|
|
func (in *InitConfig) DeepCopy() *InitConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(InitConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *KatibConfig) DeepCopyInto(out *KatibConfig) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.RuntimeConfig.DeepCopyInto(&out.RuntimeConfig)
|
|
in.InitConfig.DeepCopyInto(&out.InitConfig)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KatibConfig.
|
|
func (in *KatibConfig) DeepCopy() *KatibConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(KatibConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *KatibConfig) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *MetricsCollectorConfig) DeepCopyInto(out *MetricsCollectorConfig) {
|
|
*out = *in
|
|
in.Resource.DeepCopyInto(&out.Resource)
|
|
if in.WaitAllProcesses != nil {
|
|
in, out := &in.WaitAllProcesses, &out.WaitAllProcesses
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsCollectorConfig.
|
|
func (in *MetricsCollectorConfig) DeepCopy() *MetricsCollectorConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MetricsCollectorConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *RuntimeConfig) DeepCopyInto(out *RuntimeConfig) {
|
|
*out = *in
|
|
if in.SuggestionConfigs != nil {
|
|
in, out := &in.SuggestionConfigs, &out.SuggestionConfigs
|
|
*out = make([]SuggestionConfig, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.EarlyStoppingConfigs != nil {
|
|
in, out := &in.EarlyStoppingConfigs, &out.EarlyStoppingConfigs
|
|
*out = make([]EarlyStoppingConfig, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.MetricsCollectorConfigs != nil {
|
|
in, out := &in.MetricsCollectorConfigs, &out.MetricsCollectorConfigs
|
|
*out = make([]MetricsCollectorConfig, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeConfig.
|
|
func (in *RuntimeConfig) DeepCopy() *RuntimeConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(RuntimeConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *SuggestionConfig) DeepCopyInto(out *SuggestionConfig) {
|
|
*out = *in
|
|
in.Container.DeepCopyInto(&out.Container)
|
|
in.PersistentVolumeClaimSpec.DeepCopyInto(&out.PersistentVolumeClaimSpec)
|
|
in.PersistentVolumeSpec.DeepCopyInto(&out.PersistentVolumeSpec)
|
|
if in.PersistentVolumeLabels != nil {
|
|
in, out := &in.PersistentVolumeLabels, &out.PersistentVolumeLabels
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SuggestionConfig.
|
|
func (in *SuggestionConfig) DeepCopy() *SuggestionConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SuggestionConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|