Signed-off-by: LiHui <andrewli@yunify.com> delete helm repo, release and app Signed-off-by: LiHui <andrewli@yunify.com> Fix Dockerfile Signed-off-by: LiHui <andrewli@yunify.com> add unit test for category controller Signed-off-by: LiHui <andrewli@yunify.com> resource api Signed-off-by: LiHui <andrewli@yunify.com> miscellaneous Signed-off-by: LiHui <andrewli@yunify.com> resource api Signed-off-by: LiHui <andrewli@yunify.com> add s3 repo indx Signed-off-by: LiHui <andrewli@yunify.com> attachment api Signed-off-by: LiHui <andrewli@yunify.com> repo controller test Signed-off-by: LiHui <andrewli@yunify.com> application controller test Signed-off-by: LiHui <andrewli@yunify.com> release metric Signed-off-by: LiHui <andrewli@yunify.com> helm release controller test Signed-off-by: LiHui <andrewli@yunify.com> move constants to /pkg/apis/application Signed-off-by: LiHui <andrewli@yunify.com> remove unused code Signed-off-by: LiHui <andrewli@yunify.com> add license header Signed-off-by: LiHui <andrewli@yunify.com> Fix bugs Signed-off-by: LiHui <andrewli@yunify.com> cluster cluent Signed-off-by: LiHui <andrewli@yunify.com> format code Signed-off-by: LiHui <andrewli@yunify.com> move workspace,cluster from spec to labels Signed-off-by: LiHui <andrewli@yunify.com> add license header Signed-off-by: LiHui <andrewli@yunify.com> openpitrix test Signed-off-by: LiHui <andrewli@yunify.com> add worksapce labels for app in appstore Signed-off-by: LiHui <andrewli@yunify.com>
715 lines
20 KiB
Go
Generated
715 lines
20 KiB
Go
Generated
// +build !ignore_autogenerated
|
|
|
|
/*
|
|
Copyright 2020 The KubeSphere 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 v1alpha1
|
|
|
|
import (
|
|
runtime "k8s.io/apimachinery/pkg/runtime"
|
|
)
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Audit) DeepCopyInto(out *Audit) {
|
|
*out = *in
|
|
in.Time.DeepCopyInto(&out.Time)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Audit.
|
|
func (in *Audit) DeepCopy() *Audit {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Audit)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Dependency) DeepCopyInto(out *Dependency) {
|
|
*out = *in
|
|
if in.Tags != nil {
|
|
in, out := &in.Tags, &out.Tags
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Dependency.
|
|
func (in *Dependency) DeepCopy() *Dependency {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Dependency)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *HelmApplication) DeepCopyInto(out *HelmApplication) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmApplication.
|
|
func (in *HelmApplication) DeepCopy() *HelmApplication {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HelmApplication)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *HelmApplication) 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 *HelmApplicationList) DeepCopyInto(out *HelmApplicationList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]HelmApplication, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmApplicationList.
|
|
func (in *HelmApplicationList) DeepCopy() *HelmApplicationList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HelmApplicationList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *HelmApplicationList) 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 *HelmApplicationSpec) DeepCopyInto(out *HelmApplicationSpec) {
|
|
*out = *in
|
|
if in.Attachments != nil {
|
|
in, out := &in.Attachments, &out.Attachments
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmApplicationSpec.
|
|
func (in *HelmApplicationSpec) DeepCopy() *HelmApplicationSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HelmApplicationSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *HelmApplicationStatus) DeepCopyInto(out *HelmApplicationStatus) {
|
|
*out = *in
|
|
if in.UpdateTime != nil {
|
|
in, out := &in.UpdateTime, &out.UpdateTime
|
|
*out = (*in).DeepCopy()
|
|
}
|
|
if in.StatusTime != nil {
|
|
in, out := &in.StatusTime, &out.StatusTime
|
|
*out = (*in).DeepCopy()
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmApplicationStatus.
|
|
func (in *HelmApplicationStatus) DeepCopy() *HelmApplicationStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HelmApplicationStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *HelmApplicationVersion) DeepCopyInto(out *HelmApplicationVersion) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmApplicationVersion.
|
|
func (in *HelmApplicationVersion) DeepCopy() *HelmApplicationVersion {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HelmApplicationVersion)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *HelmApplicationVersion) 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 *HelmApplicationVersionList) DeepCopyInto(out *HelmApplicationVersionList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]HelmApplicationVersion, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmApplicationVersionList.
|
|
func (in *HelmApplicationVersionList) DeepCopy() *HelmApplicationVersionList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HelmApplicationVersionList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *HelmApplicationVersionList) 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 *HelmApplicationVersionSpec) DeepCopyInto(out *HelmApplicationVersionSpec) {
|
|
*out = *in
|
|
if in.Metadata != nil {
|
|
in, out := &in.Metadata, &out.Metadata
|
|
*out = new(Metadata)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.URLs != nil {
|
|
in, out := &in.URLs, &out.URLs
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Data != nil {
|
|
in, out := &in.Data, &out.Data
|
|
*out = make([]byte, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Created != nil {
|
|
in, out := &in.Created, &out.Created
|
|
*out = (*in).DeepCopy()
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmApplicationVersionSpec.
|
|
func (in *HelmApplicationVersionSpec) DeepCopy() *HelmApplicationVersionSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HelmApplicationVersionSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *HelmApplicationVersionStatus) DeepCopyInto(out *HelmApplicationVersionStatus) {
|
|
*out = *in
|
|
if in.Audit != nil {
|
|
in, out := &in.Audit, &out.Audit
|
|
*out = make([]Audit, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmApplicationVersionStatus.
|
|
func (in *HelmApplicationVersionStatus) DeepCopy() *HelmApplicationVersionStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HelmApplicationVersionStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *HelmCategory) DeepCopyInto(out *HelmCategory) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
out.Spec = in.Spec
|
|
out.Status = in.Status
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmCategory.
|
|
func (in *HelmCategory) DeepCopy() *HelmCategory {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HelmCategory)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *HelmCategory) 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 *HelmCategoryList) DeepCopyInto(out *HelmCategoryList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]HelmCategory, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmCategoryList.
|
|
func (in *HelmCategoryList) DeepCopy() *HelmCategoryList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HelmCategoryList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *HelmCategoryList) 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 *HelmCategorySpec) DeepCopyInto(out *HelmCategorySpec) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmCategorySpec.
|
|
func (in *HelmCategorySpec) DeepCopy() *HelmCategorySpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HelmCategorySpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *HelmCategoryStatus) DeepCopyInto(out *HelmCategoryStatus) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmCategoryStatus.
|
|
func (in *HelmCategoryStatus) DeepCopy() *HelmCategoryStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HelmCategoryStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *HelmRelease) DeepCopyInto(out *HelmRelease) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmRelease.
|
|
func (in *HelmRelease) DeepCopy() *HelmRelease {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HelmRelease)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *HelmRelease) 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 *HelmReleaseDeployStatus) DeepCopyInto(out *HelmReleaseDeployStatus) {
|
|
*out = *in
|
|
in.Time.DeepCopyInto(&out.Time)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmReleaseDeployStatus.
|
|
func (in *HelmReleaseDeployStatus) DeepCopy() *HelmReleaseDeployStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HelmReleaseDeployStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *HelmReleaseList) DeepCopyInto(out *HelmReleaseList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]HelmRelease, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmReleaseList.
|
|
func (in *HelmReleaseList) DeepCopy() *HelmReleaseList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HelmReleaseList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *HelmReleaseList) 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 *HelmReleaseSpec) DeepCopyInto(out *HelmReleaseSpec) {
|
|
*out = *in
|
|
if in.Values != nil {
|
|
in, out := &in.Values, &out.Values
|
|
*out = make([]byte, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmReleaseSpec.
|
|
func (in *HelmReleaseSpec) DeepCopy() *HelmReleaseSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HelmReleaseSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *HelmReleaseStatus) DeepCopyInto(out *HelmReleaseStatus) {
|
|
*out = *in
|
|
if in.DeployStatus != nil {
|
|
in, out := &in.DeployStatus, &out.DeployStatus
|
|
*out = make([]HelmReleaseDeployStatus, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
in.LastUpdate.DeepCopyInto(&out.LastUpdate)
|
|
if in.LastDeployed != nil {
|
|
in, out := &in.LastDeployed, &out.LastDeployed
|
|
*out = (*in).DeepCopy()
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmReleaseStatus.
|
|
func (in *HelmReleaseStatus) DeepCopy() *HelmReleaseStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HelmReleaseStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *HelmRepo) DeepCopyInto(out *HelmRepo) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmRepo.
|
|
func (in *HelmRepo) DeepCopy() *HelmRepo {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HelmRepo)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *HelmRepo) 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 *HelmRepoCredential) DeepCopyInto(out *HelmRepoCredential) {
|
|
*out = *in
|
|
if in.InsecureSkipTLSVerify != nil {
|
|
in, out := &in.InsecureSkipTLSVerify, &out.InsecureSkipTLSVerify
|
|
*out = new(bool)
|
|
**out = **in
|
|
}
|
|
out.S3Config = in.S3Config
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmRepoCredential.
|
|
func (in *HelmRepoCredential) DeepCopy() *HelmRepoCredential {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HelmRepoCredential)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *HelmRepoList) DeepCopyInto(out *HelmRepoList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]HelmRepo, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmRepoList.
|
|
func (in *HelmRepoList) DeepCopy() *HelmRepoList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HelmRepoList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *HelmRepoList) 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 *HelmRepoSpec) DeepCopyInto(out *HelmRepoSpec) {
|
|
*out = *in
|
|
in.Credential.DeepCopyInto(&out.Credential)
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmRepoSpec.
|
|
func (in *HelmRepoSpec) DeepCopy() *HelmRepoSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HelmRepoSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *HelmRepoStatus) DeepCopyInto(out *HelmRepoStatus) {
|
|
*out = *in
|
|
if in.LastUpdateTime != nil {
|
|
in, out := &in.LastUpdateTime, &out.LastUpdateTime
|
|
*out = (*in).DeepCopy()
|
|
}
|
|
if in.SyncState != nil {
|
|
in, out := &in.SyncState, &out.SyncState
|
|
*out = make([]HelmRepoSyncState, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmRepoStatus.
|
|
func (in *HelmRepoStatus) DeepCopy() *HelmRepoStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HelmRepoStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *HelmRepoSyncState) DeepCopyInto(out *HelmRepoSyncState) {
|
|
*out = *in
|
|
if in.SyncTime != nil {
|
|
in, out := &in.SyncTime, &out.SyncTime
|
|
*out = (*in).DeepCopy()
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmRepoSyncState.
|
|
func (in *HelmRepoSyncState) DeepCopy() *HelmRepoSyncState {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(HelmRepoSyncState)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Maintainer) DeepCopyInto(out *Maintainer) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Maintainer.
|
|
func (in *Maintainer) DeepCopy() *Maintainer {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Maintainer)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *Metadata) DeepCopyInto(out *Metadata) {
|
|
*out = *in
|
|
if in.Sources != nil {
|
|
in, out := &in.Sources, &out.Sources
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Keywords != nil {
|
|
in, out := &in.Keywords, &out.Keywords
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Maintainers != nil {
|
|
in, out := &in.Maintainers, &out.Maintainers
|
|
*out = make([]*Maintainer, len(*in))
|
|
for i := range *in {
|
|
if (*in)[i] != nil {
|
|
in, out := &(*in)[i], &(*out)[i]
|
|
*out = new(Maintainer)
|
|
**out = **in
|
|
}
|
|
}
|
|
}
|
|
if in.Annotations != nil {
|
|
in, out := &in.Annotations, &out.Annotations
|
|
*out = make(map[string]string, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
if in.Dependencies != nil {
|
|
in, out := &in.Dependencies, &out.Dependencies
|
|
*out = make([]*Dependency, len(*in))
|
|
for i := range *in {
|
|
if (*in)[i] != nil {
|
|
in, out := &(*in)[i], &(*out)[i]
|
|
*out = new(Dependency)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Metadata.
|
|
func (in *Metadata) DeepCopy() *Metadata {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Metadata)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *S3Config) DeepCopyInto(out *S3Config) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3Config.
|
|
func (in *S3Config) DeepCopy() *S3Config {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(S3Config)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|