add iam crd

Signed-off-by: hongming <talonwan@yunify.com>
This commit is contained in:
hongming
2020-04-05 03:52:12 +08:00
parent 3c73471f79
commit 0e814bb5e4
879 changed files with 5869 additions and 139213 deletions

View File

@@ -1,15 +1,13 @@
// +build !ignore_autogenerated
// This file was autogenerated by deepcopy-gen. Do not edit it manually!
// Code generated by deepcopy-gen. DO NOT EDIT.
package v1
import (
core_v1 "k8s.io/api/core/v1"
meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
corev1 "k8s.io/api/core/v1"
runtime "k8s.io/apimachinery/pkg/runtime"
intstr "k8s.io/apimachinery/pkg/util/intstr"
unsafe "unsafe"
)
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
@@ -17,7 +15,7 @@ func (in *CustomDeploymentStrategyParams) DeepCopyInto(out *CustomDeploymentStra
*out = *in
if in.Environment != nil {
in, out := &in.Environment, &out.Environment
*out = make([]core_v1.EnvVar, len(*in))
*out = make([]corev1.EnvVar, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
@@ -45,12 +43,8 @@ func (in *DeploymentCause) DeepCopyInto(out *DeploymentCause) {
*out = *in
if in.ImageTrigger != nil {
in, out := &in.ImageTrigger, &out.ImageTrigger
if *in == nil {
*out = nil
} else {
*out = new(DeploymentCauseImageTrigger)
**out = **in
}
*out = new(DeploymentCauseImageTrigger)
**out = **in
}
return
}
@@ -100,26 +94,6 @@ func (in *DeploymentCondition) DeepCopy() *DeploymentCondition {
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DeploymentConditionType) DeepCopyInto(out *DeploymentConditionType) {
{
in := (*string)(unsafe.Pointer(in))
out := (*string)(unsafe.Pointer(out))
*out = *in
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentConditionType.
func (in *DeploymentConditionType) DeepCopy() *DeploymentConditionType {
if in == nil {
return nil
}
out := new(DeploymentConditionType)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DeploymentConfig) DeepCopyInto(out *DeploymentConfig) {
*out = *in
@@ -144,16 +118,15 @@ func (in *DeploymentConfig) DeepCopy() *DeploymentConfig {
func (in *DeploymentConfig) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
} else {
return nil
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DeploymentConfigList) DeepCopyInto(out *DeploymentConfigList) {
*out = *in
out.TypeMeta = in.TypeMeta
out.ListMeta = in.ListMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]DeploymentConfig, len(*in))
@@ -178,9 +151,8 @@ func (in *DeploymentConfigList) DeepCopy() *DeploymentConfigList {
func (in *DeploymentConfigList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
} else {
return nil
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
@@ -212,9 +184,8 @@ func (in *DeploymentConfigRollback) DeepCopy() *DeploymentConfigRollback {
func (in *DeploymentConfigRollback) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
} else {
return nil
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
@@ -247,12 +218,8 @@ func (in *DeploymentConfigSpec) DeepCopyInto(out *DeploymentConfigSpec) {
}
if in.RevisionHistoryLimit != nil {
in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
if *in == nil {
*out = nil
} else {
*out = new(int32)
**out = **in
}
*out = new(int32)
**out = **in
}
if in.Selector != nil {
in, out := &in.Selector, &out.Selector
@@ -263,12 +230,8 @@ func (in *DeploymentConfigSpec) DeepCopyInto(out *DeploymentConfigSpec) {
}
if in.Template != nil {
in, out := &in.Template, &out.Template
if *in == nil {
*out = nil
} else {
*out = new(core_v1.PodTemplateSpec)
(*in).DeepCopyInto(*out)
}
*out = new(corev1.PodTemplateSpec)
(*in).DeepCopyInto(*out)
}
return
}
@@ -288,12 +251,8 @@ func (in *DeploymentConfigStatus) DeepCopyInto(out *DeploymentConfigStatus) {
*out = *in
if in.Details != nil {
in, out := &in.Details, &out.Details
if *in == nil {
*out = nil
} else {
*out = new(DeploymentDetails)
(*in).DeepCopyInto(*out)
}
*out = new(DeploymentDetails)
(*in).DeepCopyInto(*out)
}
if in.Conditions != nil {
in, out := &in.Conditions, &out.Conditions
@@ -359,9 +318,8 @@ func (in *DeploymentLog) DeepCopy() *DeploymentLog {
func (in *DeploymentLog) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
} else {
return nil
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
@@ -370,48 +328,27 @@ func (in *DeploymentLogOptions) DeepCopyInto(out *DeploymentLogOptions) {
out.TypeMeta = in.TypeMeta
if in.SinceSeconds != nil {
in, out := &in.SinceSeconds, &out.SinceSeconds
if *in == nil {
*out = nil
} else {
*out = new(int64)
**out = **in
}
*out = new(int64)
**out = **in
}
if in.SinceTime != nil {
in, out := &in.SinceTime, &out.SinceTime
if *in == nil {
*out = nil
} else {
*out = new(meta_v1.Time)
(*in).DeepCopyInto(*out)
}
*out = (*in).DeepCopy()
}
if in.TailLines != nil {
in, out := &in.TailLines, &out.TailLines
if *in == nil {
*out = nil
} else {
*out = new(int64)
**out = **in
}
*out = new(int64)
**out = **in
}
if in.LimitBytes != nil {
in, out := &in.LimitBytes, &out.LimitBytes
if *in == nil {
*out = nil
} else {
*out = new(int64)
**out = **in
}
*out = new(int64)
**out = **in
}
if in.Version != nil {
in, out := &in.Version, &out.Version
if *in == nil {
*out = nil
} else {
*out = new(int64)
**out = **in
}
*out = new(int64)
**out = **in
}
return
}
@@ -430,9 +367,8 @@ func (in *DeploymentLogOptions) DeepCopy() *DeploymentLogOptions {
func (in *DeploymentLogOptions) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
} else {
return nil
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
@@ -461,9 +397,8 @@ func (in *DeploymentRequest) DeepCopy() *DeploymentRequest {
func (in *DeploymentRequest) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
} else {
return nil
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
@@ -471,30 +406,18 @@ func (in *DeploymentStrategy) DeepCopyInto(out *DeploymentStrategy) {
*out = *in
if in.CustomParams != nil {
in, out := &in.CustomParams, &out.CustomParams
if *in == nil {
*out = nil
} else {
*out = new(CustomDeploymentStrategyParams)
(*in).DeepCopyInto(*out)
}
*out = new(CustomDeploymentStrategyParams)
(*in).DeepCopyInto(*out)
}
if in.RecreateParams != nil {
in, out := &in.RecreateParams, &out.RecreateParams
if *in == nil {
*out = nil
} else {
*out = new(RecreateDeploymentStrategyParams)
(*in).DeepCopyInto(*out)
}
*out = new(RecreateDeploymentStrategyParams)
(*in).DeepCopyInto(*out)
}
if in.RollingParams != nil {
in, out := &in.RollingParams, &out.RollingParams
if *in == nil {
*out = nil
} else {
*out = new(RollingDeploymentStrategyParams)
(*in).DeepCopyInto(*out)
}
*out = new(RollingDeploymentStrategyParams)
(*in).DeepCopyInto(*out)
}
in.Resources.DeepCopyInto(&out.Resources)
if in.Labels != nil {
@@ -513,12 +436,8 @@ func (in *DeploymentStrategy) DeepCopyInto(out *DeploymentStrategy) {
}
if in.ActiveDeadlineSeconds != nil {
in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds
if *in == nil {
*out = nil
} else {
*out = new(int64)
**out = **in
}
*out = new(int64)
**out = **in
}
return
}
@@ -533,26 +452,6 @@ func (in *DeploymentStrategy) DeepCopy() *DeploymentStrategy {
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DeploymentStrategyType) DeepCopyInto(out *DeploymentStrategyType) {
{
in := (*string)(unsafe.Pointer(in))
out := (*string)(unsafe.Pointer(out))
*out = *in
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStrategyType.
func (in *DeploymentStrategyType) DeepCopy() *DeploymentStrategyType {
if in == nil {
return nil
}
out := new(DeploymentStrategyType)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DeploymentTriggerImageChangeParams) DeepCopyInto(out *DeploymentTriggerImageChangeParams) {
*out = *in
@@ -576,26 +475,25 @@ func (in *DeploymentTriggerImageChangeParams) DeepCopy() *DeploymentTriggerImage
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DeploymentTriggerPolicies) DeepCopyInto(out *DeploymentTriggerPolicies) {
func (in DeploymentTriggerPolicies) DeepCopyInto(out *DeploymentTriggerPolicies) {
{
in := (*[]DeploymentTriggerPolicy)(unsafe.Pointer(in))
out := (*[]DeploymentTriggerPolicy)(unsafe.Pointer(out))
*out = make([]DeploymentTriggerPolicy, len(*in))
in := &in
*out = make(DeploymentTriggerPolicies, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
return
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentTriggerPolicies.
func (in *DeploymentTriggerPolicies) DeepCopy() *DeploymentTriggerPolicies {
func (in DeploymentTriggerPolicies) DeepCopy() DeploymentTriggerPolicies {
if in == nil {
return nil
}
out := new(DeploymentTriggerPolicies)
in.DeepCopyInto(out)
return out
return *out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
@@ -603,12 +501,8 @@ func (in *DeploymentTriggerPolicy) DeepCopyInto(out *DeploymentTriggerPolicy) {
*out = *in
if in.ImageChangeParams != nil {
in, out := &in.ImageChangeParams, &out.ImageChangeParams
if *in == nil {
*out = nil
} else {
*out = new(DeploymentTriggerImageChangeParams)
(*in).DeepCopyInto(*out)
}
*out = new(DeploymentTriggerImageChangeParams)
(*in).DeepCopyInto(*out)
}
return
}
@@ -623,26 +517,6 @@ func (in *DeploymentTriggerPolicy) DeepCopy() *DeploymentTriggerPolicy {
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *DeploymentTriggerType) DeepCopyInto(out *DeploymentTriggerType) {
{
in := (*string)(unsafe.Pointer(in))
out := (*string)(unsafe.Pointer(out))
*out = *in
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentTriggerType.
func (in *DeploymentTriggerType) DeepCopy() *DeploymentTriggerType {
if in == nil {
return nil
}
out := new(DeploymentTriggerType)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ExecNewPodHook) DeepCopyInto(out *ExecNewPodHook) {
*out = *in
@@ -653,7 +527,7 @@ func (in *ExecNewPodHook) DeepCopyInto(out *ExecNewPodHook) {
}
if in.Env != nil {
in, out := &in.Env, &out.Env
*out = make([]core_v1.EnvVar, len(*in))
*out = make([]corev1.EnvVar, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
@@ -681,12 +555,8 @@ func (in *LifecycleHook) DeepCopyInto(out *LifecycleHook) {
*out = *in
if in.ExecNewPod != nil {
in, out := &in.ExecNewPod, &out.ExecNewPod
if *in == nil {
*out = nil
} else {
*out = new(ExecNewPodHook)
(*in).DeepCopyInto(*out)
}
*out = new(ExecNewPodHook)
(*in).DeepCopyInto(*out)
}
if in.TagImages != nil {
in, out := &in.TagImages, &out.TagImages
@@ -706,64 +576,28 @@ func (in *LifecycleHook) DeepCopy() *LifecycleHook {
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *LifecycleHookFailurePolicy) DeepCopyInto(out *LifecycleHookFailurePolicy) {
{
in := (*string)(unsafe.Pointer(in))
out := (*string)(unsafe.Pointer(out))
*out = *in
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LifecycleHookFailurePolicy.
func (in *LifecycleHookFailurePolicy) DeepCopy() *LifecycleHookFailurePolicy {
if in == nil {
return nil
}
out := new(LifecycleHookFailurePolicy)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *RecreateDeploymentStrategyParams) DeepCopyInto(out *RecreateDeploymentStrategyParams) {
*out = *in
if in.TimeoutSeconds != nil {
in, out := &in.TimeoutSeconds, &out.TimeoutSeconds
if *in == nil {
*out = nil
} else {
*out = new(int64)
**out = **in
}
*out = new(int64)
**out = **in
}
if in.Pre != nil {
in, out := &in.Pre, &out.Pre
if *in == nil {
*out = nil
} else {
*out = new(LifecycleHook)
(*in).DeepCopyInto(*out)
}
*out = new(LifecycleHook)
(*in).DeepCopyInto(*out)
}
if in.Mid != nil {
in, out := &in.Mid, &out.Mid
if *in == nil {
*out = nil
} else {
*out = new(LifecycleHook)
(*in).DeepCopyInto(*out)
}
*out = new(LifecycleHook)
(*in).DeepCopyInto(*out)
}
if in.Post != nil {
in, out := &in.Post, &out.Post
if *in == nil {
*out = nil
} else {
*out = new(LifecycleHook)
(*in).DeepCopyInto(*out)
}
*out = new(LifecycleHook)
(*in).DeepCopyInto(*out)
}
return
}
@@ -783,66 +617,38 @@ func (in *RollingDeploymentStrategyParams) DeepCopyInto(out *RollingDeploymentSt
*out = *in
if in.UpdatePeriodSeconds != nil {
in, out := &in.UpdatePeriodSeconds, &out.UpdatePeriodSeconds
if *in == nil {
*out = nil
} else {
*out = new(int64)
**out = **in
}
*out = new(int64)
**out = **in
}
if in.IntervalSeconds != nil {
in, out := &in.IntervalSeconds, &out.IntervalSeconds
if *in == nil {
*out = nil
} else {
*out = new(int64)
**out = **in
}
*out = new(int64)
**out = **in
}
if in.TimeoutSeconds != nil {
in, out := &in.TimeoutSeconds, &out.TimeoutSeconds
if *in == nil {
*out = nil
} else {
*out = new(int64)
**out = **in
}
*out = new(int64)
**out = **in
}
if in.MaxUnavailable != nil {
in, out := &in.MaxUnavailable, &out.MaxUnavailable
if *in == nil {
*out = nil
} else {
*out = new(intstr.IntOrString)
**out = **in
}
*out = new(intstr.IntOrString)
**out = **in
}
if in.MaxSurge != nil {
in, out := &in.MaxSurge, &out.MaxSurge
if *in == nil {
*out = nil
} else {
*out = new(intstr.IntOrString)
**out = **in
}
*out = new(intstr.IntOrString)
**out = **in
}
if in.Pre != nil {
in, out := &in.Pre, &out.Pre
if *in == nil {
*out = nil
} else {
*out = new(LifecycleHook)
(*in).DeepCopyInto(*out)
}
*out = new(LifecycleHook)
(*in).DeepCopyInto(*out)
}
if in.Post != nil {
in, out := &in.Post, &out.Post
if *in == nil {
*out = nil
} else {
*out = new(LifecycleHook)
(*in).DeepCopyInto(*out)
}
*out = new(LifecycleHook)
(*in).DeepCopyInto(*out)
}
return
}