From 2c4117689680bf937dbf49f062f03091f3e90b34 Mon Sep 17 00:00:00 2001 From: Daniel Helfand Date: Fri, 9 Jul 2021 09:57:45 -0500 Subject: [PATCH] update kapp-controller dependency --- go.mod | 1 - go.sum | 2 - .../kappctrl_k14s_io_v1alpha1_app.go | 2 +- .../github.com/k14s/kapp-controller/LICENSE | 176 ----- vendor/github.com/k14s/kapp-controller/NOTICE | 7 - .../pkg/apis/kappctrl/v1alpha1/doc.go | 4 - .../pkg/apis/kappctrl/v1alpha1/register.go | 33 - .../pkg/apis/kappctrl/v1alpha1/types.go | 114 --- .../apis/kappctrl/v1alpha1/types_deploy.go | 22 - .../pkg/apis/kappctrl/v1alpha1/types_fetch.go | 85 -- .../apis/kappctrl/v1alpha1/types_template.go | 40 - .../v1alpha1/zz_generated.deepcopy.go | 745 ------------------ vendor/modules.txt | 3 - 13 files changed, 1 insertion(+), 1233 deletions(-) delete mode 100644 vendor/github.com/k14s/kapp-controller/LICENSE delete mode 100644 vendor/github.com/k14s/kapp-controller/NOTICE delete mode 100644 vendor/github.com/k14s/kapp-controller/pkg/apis/kappctrl/v1alpha1/doc.go delete mode 100644 vendor/github.com/k14s/kapp-controller/pkg/apis/kappctrl/v1alpha1/register.go delete mode 100644 vendor/github.com/k14s/kapp-controller/pkg/apis/kappctrl/v1alpha1/types.go delete mode 100644 vendor/github.com/k14s/kapp-controller/pkg/apis/kappctrl/v1alpha1/types_deploy.go delete mode 100644 vendor/github.com/k14s/kapp-controller/pkg/apis/kappctrl/v1alpha1/types_fetch.go delete mode 100644 vendor/github.com/k14s/kapp-controller/pkg/apis/kappctrl/v1alpha1/types_template.go delete mode 100644 vendor/github.com/k14s/kapp-controller/pkg/apis/kappctrl/v1alpha1/zz_generated.deepcopy.go diff --git a/go.mod b/go.mod index fc7715332..9ed59ec02 100644 --- a/go.mod +++ b/go.mod @@ -10,7 +10,6 @@ require ( github.com/ghodss/yaml v1.0.0 github.com/hashicorp/go-version v1.3.0 github.com/k14s/difflib v0.0.0-20200108171459-b101e55e0592 - github.com/k14s/kapp-controller v0.1.0 github.com/mitchellh/go-wordwrap v1.0.1 github.com/spf13/cobra v1.1.3 github.com/spf13/pflag v1.0.5 diff --git a/go.sum b/go.sum index a2172f350..8f58f4fcb 100644 --- a/go.sum +++ b/go.sum @@ -481,8 +481,6 @@ github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfV github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= github.com/k14s/difflib v0.0.0-20200108171459-b101e55e0592 h1:Qt52IIUgcCU2lHWbmBTTzp5IDJ0UM4Kc5BKmGmhTZJ0= github.com/k14s/difflib v0.0.0-20200108171459-b101e55e0592/go.mod h1:B0xN2MiNBGWOWi9CcfAo9LBI8IU4J1utlbOIJCsmKr4= -github.com/k14s/kapp-controller v0.1.0 h1:i+tp/20p5c4m+CVBjeSdU3iWD/sbigZPPP/xYkyRbAc= -github.com/k14s/kapp-controller v0.1.0/go.mod h1:fugFj3Mwg1YPEgVBrkmoibmDx3paS0bNFFxABbG0PGU= github.com/k14s/semver/v4 v4.0.1-0.20210701191048-266d47ac6115 h1:wKSifC/VbCaQMqXYn6/gSFqle82OX4bE3KYALDU9FlU= github.com/k14s/semver/v4 v4.0.1-0.20210701191048-266d47ac6115/go.mod h1:mGrnmO5qnhJIaSiwMo05cvRL6Ww9ccYbTgNFcm6RHZQ= github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= diff --git a/pkg/kapp/resourcesmisc/kappctrl_k14s_io_v1alpha1_app.go b/pkg/kapp/resourcesmisc/kappctrl_k14s_io_v1alpha1_app.go index 048634bfc..ac13f92bb 100644 --- a/pkg/kapp/resourcesmisc/kappctrl_k14s_io_v1alpha1_app.go +++ b/pkg/kapp/resourcesmisc/kappctrl_k14s_io_v1alpha1_app.go @@ -6,8 +6,8 @@ package resourcesmisc import ( "fmt" - kcv1alpha1 "github.com/k14s/kapp-controller/pkg/apis/kappctrl/v1alpha1" ctlres "github.com/k14s/kapp/pkg/kapp/resources" + kcv1alpha1 "github.com/vmware-tanzu/carvel-kapp-controller/pkg/apis/kappctrl/v1alpha1" corev1 "k8s.io/api/core/v1" "k8s.io/client-go/kubernetes/scheme" ) diff --git a/vendor/github.com/k14s/kapp-controller/LICENSE b/vendor/github.com/k14s/kapp-controller/LICENSE deleted file mode 100644 index 1a9893b43..000000000 --- a/vendor/github.com/k14s/kapp-controller/LICENSE +++ /dev/null @@ -1,176 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS diff --git a/vendor/github.com/k14s/kapp-controller/NOTICE b/vendor/github.com/k14s/kapp-controller/NOTICE deleted file mode 100644 index 2ca8bb6ed..000000000 --- a/vendor/github.com/k14s/kapp-controller/NOTICE +++ /dev/null @@ -1,7 +0,0 @@ -kapp-controller - -Copyright (c) 2019 - Present Pivotal Software, Inc. All Rights Reserved. - -This product is licensed to you under the Apache License, Version 2.0 (the "License"). You may not use this product except in compliance with the License. - -This product may include a number of subcomponents with separate copyright notices and license terms. Your use of these subcomponents is subject to the terms and conditions of the subcomponent's license, as noted in the LICENSE file. diff --git a/vendor/github.com/k14s/kapp-controller/pkg/apis/kappctrl/v1alpha1/doc.go b/vendor/github.com/k14s/kapp-controller/pkg/apis/kappctrl/v1alpha1/doc.go deleted file mode 100644 index 7813f838d..000000000 --- a/vendor/github.com/k14s/kapp-controller/pkg/apis/kappctrl/v1alpha1/doc.go +++ /dev/null @@ -1,4 +0,0 @@ -// +k8s:deepcopy-gen=package -// +k8s:defaulter-gen=TypeMeta -// +groupName=kappctrl -package v1alpha1 diff --git a/vendor/github.com/k14s/kapp-controller/pkg/apis/kappctrl/v1alpha1/register.go b/vendor/github.com/k14s/kapp-controller/pkg/apis/kappctrl/v1alpha1/register.go deleted file mode 100644 index 5f89b3874..000000000 --- a/vendor/github.com/k14s/kapp-controller/pkg/apis/kappctrl/v1alpha1/register.go +++ /dev/null @@ -1,33 +0,0 @@ -package v1alpha1 - -import ( - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/apimachinery/pkg/runtime/schema" -) - -var SchemeGroupVersion = schema.GroupVersion{Group: "kappctrl.k14s.io", Version: "v1alpha1"} - -var ( - SchemeBuilder runtime.SchemeBuilder - localSchemeBuilder = &SchemeBuilder - AddToScheme = localSchemeBuilder.AddToScheme -) - -func init() { - localSchemeBuilder.Register(func(scheme *runtime.Scheme) error { - scheme.AddKnownTypes(SchemeGroupVersion, - &App{}, - &AppList{}, - ) - scheme.AddKnownTypes(SchemeGroupVersion, - &metav1.Status{}, - ) - metav1.AddToGroupVersion(scheme, SchemeGroupVersion) - return nil - }) -} - -func Resource(resource string) schema.GroupResource { - return SchemeGroupVersion.WithResource(resource).GroupResource() -} diff --git a/vendor/github.com/k14s/kapp-controller/pkg/apis/kappctrl/v1alpha1/types.go b/vendor/github.com/k14s/kapp-controller/pkg/apis/kappctrl/v1alpha1/types.go deleted file mode 100644 index 0c5f5f89a..000000000 --- a/vendor/github.com/k14s/kapp-controller/pkg/apis/kappctrl/v1alpha1/types.go +++ /dev/null @@ -1,114 +0,0 @@ -package v1alpha1 - -import ( - corev1 "k8s.io/api/core/v1" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" -) - -// +genclient -// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object -type App struct { - metav1.TypeMeta `json:",inline"` - - // Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata. - // +optional - metav1.ObjectMeta `json:"metadata,omitempty"` - - Spec AppSpec `json:"spec"` - Status AppStatus `json:"status"` -} - -// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object -type AppList struct { - metav1.TypeMeta `json:",inline"` - - // Standard list metadata. - // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds - // +optional - metav1.ListMeta `json:"metadata,omitempty"` - - Items []App `json:"items"` -} - -type AppSpec struct { - Fetch []AppFetch `json:"fetch,omitempty"` - Template []AppTemplate `json:"template,omitempty"` - Deploy []AppDeploy `json:"deploy,omitempty"` - - // Paused when set to true will ignore all pending changes, - // once it set back to false, pending changes will be applied - Paused bool `json:"paused,omitempty"` - // Canceled when set to true will stop all active changes - Canceled bool `json:"canceled,omitempty"` -} - -type AppStatus struct { - ManagedAppName string `json:"managedAppName,omitempty"` - - Fetch *AppStatusFetch `json:"fetch,omitempty"` - Template *AppStatusTemplate `json:"template,omitempty"` - Deploy *AppStatusDeploy `json:"deploy,omitempty"` - Inspect *AppStatusInspect `json:"inspect,omitempty"` - - ObservedGeneration int64 `json:"observedGeneration"` - Conditions []AppCondition `json:"conditions"` - - FriendlyDescription string `json:"friendlyDescription"` -} - -type AppStatusFetch struct { - Stderr string `json:"stderr,omitempty"` - ExitCode int `json:"exitCode"` - Error string `json:"error,omitempty"` - StartedAt metav1.Time `json:"startedAt,omitempty"` - UpdatedAt metav1.Time `json:"updatedAt,omitempty"` -} - -type AppStatusTemplate struct { - Stderr string `json:"stderr,omitempty"` - ExitCode int `json:"exitCode"` - Error string `json:"error,omitempty"` - UpdatedAt metav1.Time `json:"updatedAt,omitempty"` -} - -type AppStatusDeploy struct { - Stdout string `json:"stdout,omitempty"` - Stderr string `json:"stderr,omitempty"` - Finished bool `json:"finished"` - ExitCode int `json:"exitCode"` - Error string `json:"error,omitempty"` - StartedAt metav1.Time `json:"startedAt,omitempty"` - UpdatedAt metav1.Time `json:"updatedAt,omitempty"` -} - -type AppStatusInspect struct { - Stdout string `json:"stdout,omitempty"` - Stderr string `json:"stderr,omitempty"` - ExitCode int `json:"exitCode"` - Error string `json:"error,omitempty"` - UpdatedAt metav1.Time `json:"updatedAt,omitempty"` -} - -type AppConditionType string - -const ( - Reconciling AppConditionType = "Reconciling" - ReconcileFailed AppConditionType = "ReconcileFailed" - ReconcileSucceeded AppConditionType = "ReconcileSucceeded" - - Deleting AppConditionType = "Deleting" - DeleteFailed AppConditionType = "DeleteFailed" -) - -type AppCondition struct { - Type AppConditionType `json:"type"` - Status corev1.ConditionStatus `json:"status"` - // Unique, this should be a short, machine understandable string that gives the reason - // for condition's last transition. If it reports "ResizeStarted" that means the underlying - // persistent volume is being resized. - // +optional - Reason string `json:"reason,omitempty"` - // Human-readable message indicating details about last transition. - // +optional - Message string `json:"message,omitempty"` -} diff --git a/vendor/github.com/k14s/kapp-controller/pkg/apis/kappctrl/v1alpha1/types_deploy.go b/vendor/github.com/k14s/kapp-controller/pkg/apis/kappctrl/v1alpha1/types_deploy.go deleted file mode 100644 index f1aadc6ee..000000000 --- a/vendor/github.com/k14s/kapp-controller/pkg/apis/kappctrl/v1alpha1/types_deploy.go +++ /dev/null @@ -1,22 +0,0 @@ -package v1alpha1 - -type AppDeploy struct { - Kapp *AppDeployKapp `json:"kapp,omitempty"` -} - -type AppDeployKapp struct { - IntoNs string `json:"intoNs,omitempty"` - MapNs []string `json:"mapNs,omitempty"` - RawOptions []string `json:"rawOptions,omitempty"` - - Inspect *AppDeployKappInspect `json:"inspect,omitempty"` - Delete *AppDeployKappDelete `json:"delete,omitempty"` -} - -type AppDeployKappInspect struct { - RawOptions []string `json:"rawOptions,omitempty"` -} - -type AppDeployKappDelete struct { - RawOptions []string `json:"rawOptions,omitempty"` -} diff --git a/vendor/github.com/k14s/kapp-controller/pkg/apis/kappctrl/v1alpha1/types_fetch.go b/vendor/github.com/k14s/kapp-controller/pkg/apis/kappctrl/v1alpha1/types_fetch.go deleted file mode 100644 index 706ad352f..000000000 --- a/vendor/github.com/k14s/kapp-controller/pkg/apis/kappctrl/v1alpha1/types_fetch.go +++ /dev/null @@ -1,85 +0,0 @@ -package v1alpha1 - -import ( - corev1 "k8s.io/api/core/v1" -) - -type AppFetch struct { - Inline *AppFetchInline `json:"inline,omitempty"` - Image *AppFetchImage `json:"image,omitempty"` - HTTP *AppFetchHTTP `json:"http,omitempty"` - Git *AppFetchGit `json:"git,omitempty"` - HelmChart *AppFetchHelmChart `json:"helmChart,omitempty"` -} - -type AppFetchInline struct { - Paths map[string]string `json:"paths,omitempty"` - PathsFrom []AppFetchInlineSource `json:"pathsFrom,omitempty"` -} - -type AppFetchInlineSource struct { - SecretRef *AppFetchInlineSourceRef `json:"secretRef,omitempty"` - ConfigMapRef *AppFetchInlineSourceRef `json:"configMapRef,omitempty"` -} - -type AppFetchInlineSourceRef struct { - DirectoryPath string `json:"directoryPath,omitempty"` - corev1.LocalObjectReference `json:",inline" protobuf:"bytes,1,opt,name=localObjectReference"` -} - -type AppFetchImage struct { - // Example: username/app1-config:v0.1.0 - URL string `json:"url,omitempty"` - // Secret may include one or more keys: username, password, token. - // By default anonymous access is used for authentication. - // TODO support docker config formated secret - // +optional - SecretRef *AppFetchLocalRef `json:"secretRef,omitempty"` - // +optional - SubPath string `json:"subPath,omitempty"` -} - -type AppFetchHTTP struct { - // URL can point to one of following formats: text, tgz, zip - URL string `json:"url,omitempty"` - // +optional - SHA256 string `json:"sha256,omitempty"` - // Secret may include one or more keys: username, password - // +optional - SecretRef *AppFetchLocalRef `json:"secretRef,omitempty"` - // +optional - SubPath string `json:"subPath,omitempty"` -} - -// TODO implement git -type AppFetchGit struct { - URL string `json:"url,omitempty"` - // +optional - Ref string `json:"ref,omitempty"` - // Secret may include one or more keys: ssh-privatekey, ssh-knownhosts - // +optional - SecretRef *AppFetchLocalRef `json:"secretRef,omitempty"` - // +optional - SubPath string `json:"subPath,omitempty"` - // +optional - LFSSkipSmudge bool `json:"lfsSkipSmudge,omitempty"` -} - -type AppFetchHelmChart struct { - // Example: stable/redis - Name string `json:"name,omitempty"` - // +optional - Version string `json:"version,omitempty"` - Repository *AppFetchHelmChartRepo `json:"repository,omitempty"` -} - -type AppFetchHelmChartRepo struct { - URL string `json:"url,omitempty"` - // +optional - SecretRef *AppFetchLocalRef `json:"secretRef,omitempty"` -} - -type AppFetchLocalRef struct { - // Object is expected to be within same namespace - corev1.LocalObjectReference `json:",inline" protobuf:"bytes,1,opt,name=localObjectReference"` -} diff --git a/vendor/github.com/k14s/kapp-controller/pkg/apis/kappctrl/v1alpha1/types_template.go b/vendor/github.com/k14s/kapp-controller/pkg/apis/kappctrl/v1alpha1/types_template.go deleted file mode 100644 index f25db6612..000000000 --- a/vendor/github.com/k14s/kapp-controller/pkg/apis/kappctrl/v1alpha1/types_template.go +++ /dev/null @@ -1,40 +0,0 @@ -package v1alpha1 - -import ( - corev1 "k8s.io/api/core/v1" -) - -type AppTemplate struct { - Ytt *AppTemplateYtt `json:"ytt,omitempty"` - Kbld *AppTemplateKbld `json:"kbld,omitempty"` - HelmTemplate *AppTemplateHelmTemplate `json:"helmTemplate,omitempty"` - Kustomize *AppTemplateKustomize `json:"kustomize,omitempty"` - Jsonnet *AppTemplateJsonnet `json:"jsonnet,omitempty"` -} - -type AppTemplateYtt struct { - IgnoreUnknownComments bool `json:"ignoreUnknownComments,omitempty"` - Strict bool `json:"strict,omitempty"` - Inline *AppFetchInline `json:"inline,omitempty"` -} - -type AppTemplateKbld struct{} - -type AppTemplateHelmTemplate struct { - ValuesFrom []AppTemplateHelmTemplateValuesSource `json:"valuesFrom,omitempty"` -} - -type AppTemplateHelmTemplateValuesSource struct { - SecretRef *AppTemplateHelmTemplateValuesSourceRef `json:"secretRef,omitempty"` - ConfigMapRef *AppTemplateHelmTemplateValuesSourceRef `json:"configMapRef,omitempty"` -} - -type AppTemplateHelmTemplateValuesSourceRef struct { - corev1.LocalObjectReference `json:",inline" protobuf:"bytes,1,opt,name=localObjectReference"` -} - -// TODO implement kustomize -type AppTemplateKustomize struct{} - -// TODO implement jsonnet -type AppTemplateJsonnet struct{} diff --git a/vendor/github.com/k14s/kapp-controller/pkg/apis/kappctrl/v1alpha1/zz_generated.deepcopy.go b/vendor/github.com/k14s/kapp-controller/pkg/apis/kappctrl/v1alpha1/zz_generated.deepcopy.go deleted file mode 100644 index 1720cbe52..000000000 --- a/vendor/github.com/k14s/kapp-controller/pkg/apis/kappctrl/v1alpha1/zz_generated.deepcopy.go +++ /dev/null @@ -1,745 +0,0 @@ -// +build !ignore_autogenerated - -// Code generated by deepcopy-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 *App) DeepCopyInto(out *App) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - in.Status.DeepCopyInto(&out.Status) - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new App. -func (in *App) DeepCopy() *App { - if in == nil { - return nil - } - out := new(App) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *App) 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 *AppCondition) DeepCopyInto(out *AppCondition) { - *out = *in - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppCondition. -func (in *AppCondition) DeepCopy() *AppCondition { - if in == nil { - return nil - } - out := new(AppCondition) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AppDeploy) DeepCopyInto(out *AppDeploy) { - *out = *in - if in.Kapp != nil { - in, out := &in.Kapp, &out.Kapp - *out = new(AppDeployKapp) - (*in).DeepCopyInto(*out) - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppDeploy. -func (in *AppDeploy) DeepCopy() *AppDeploy { - if in == nil { - return nil - } - out := new(AppDeploy) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AppDeployKapp) DeepCopyInto(out *AppDeployKapp) { - *out = *in - if in.MapNs != nil { - in, out := &in.MapNs, &out.MapNs - *out = make([]string, len(*in)) - copy(*out, *in) - } - if in.RawOptions != nil { - in, out := &in.RawOptions, &out.RawOptions - *out = make([]string, len(*in)) - copy(*out, *in) - } - if in.Inspect != nil { - in, out := &in.Inspect, &out.Inspect - *out = new(AppDeployKappInspect) - (*in).DeepCopyInto(*out) - } - if in.Delete != nil { - in, out := &in.Delete, &out.Delete - *out = new(AppDeployKappDelete) - (*in).DeepCopyInto(*out) - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppDeployKapp. -func (in *AppDeployKapp) DeepCopy() *AppDeployKapp { - if in == nil { - return nil - } - out := new(AppDeployKapp) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AppDeployKappDelete) DeepCopyInto(out *AppDeployKappDelete) { - *out = *in - if in.RawOptions != nil { - in, out := &in.RawOptions, &out.RawOptions - *out = make([]string, len(*in)) - copy(*out, *in) - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppDeployKappDelete. -func (in *AppDeployKappDelete) DeepCopy() *AppDeployKappDelete { - if in == nil { - return nil - } - out := new(AppDeployKappDelete) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AppDeployKappInspect) DeepCopyInto(out *AppDeployKappInspect) { - *out = *in - if in.RawOptions != nil { - in, out := &in.RawOptions, &out.RawOptions - *out = make([]string, len(*in)) - copy(*out, *in) - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppDeployKappInspect. -func (in *AppDeployKappInspect) DeepCopy() *AppDeployKappInspect { - if in == nil { - return nil - } - out := new(AppDeployKappInspect) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AppFetch) DeepCopyInto(out *AppFetch) { - *out = *in - if in.Inline != nil { - in, out := &in.Inline, &out.Inline - *out = new(AppFetchInline) - (*in).DeepCopyInto(*out) - } - if in.Image != nil { - in, out := &in.Image, &out.Image - *out = new(AppFetchImage) - (*in).DeepCopyInto(*out) - } - if in.HTTP != nil { - in, out := &in.HTTP, &out.HTTP - *out = new(AppFetchHTTP) - (*in).DeepCopyInto(*out) - } - if in.Git != nil { - in, out := &in.Git, &out.Git - *out = new(AppFetchGit) - (*in).DeepCopyInto(*out) - } - if in.HelmChart != nil { - in, out := &in.HelmChart, &out.HelmChart - *out = new(AppFetchHelmChart) - (*in).DeepCopyInto(*out) - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppFetch. -func (in *AppFetch) DeepCopy() *AppFetch { - if in == nil { - return nil - } - out := new(AppFetch) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AppFetchGit) DeepCopyInto(out *AppFetchGit) { - *out = *in - if in.SecretRef != nil { - in, out := &in.SecretRef, &out.SecretRef - *out = new(AppFetchLocalRef) - **out = **in - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppFetchGit. -func (in *AppFetchGit) DeepCopy() *AppFetchGit { - if in == nil { - return nil - } - out := new(AppFetchGit) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AppFetchHTTP) DeepCopyInto(out *AppFetchHTTP) { - *out = *in - if in.SecretRef != nil { - in, out := &in.SecretRef, &out.SecretRef - *out = new(AppFetchLocalRef) - **out = **in - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppFetchHTTP. -func (in *AppFetchHTTP) DeepCopy() *AppFetchHTTP { - if in == nil { - return nil - } - out := new(AppFetchHTTP) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AppFetchHelmChart) DeepCopyInto(out *AppFetchHelmChart) { - *out = *in - if in.Repository != nil { - in, out := &in.Repository, &out.Repository - *out = new(AppFetchHelmChartRepo) - (*in).DeepCopyInto(*out) - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppFetchHelmChart. -func (in *AppFetchHelmChart) DeepCopy() *AppFetchHelmChart { - if in == nil { - return nil - } - out := new(AppFetchHelmChart) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AppFetchHelmChartRepo) DeepCopyInto(out *AppFetchHelmChartRepo) { - *out = *in - if in.SecretRef != nil { - in, out := &in.SecretRef, &out.SecretRef - *out = new(AppFetchLocalRef) - **out = **in - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppFetchHelmChartRepo. -func (in *AppFetchHelmChartRepo) DeepCopy() *AppFetchHelmChartRepo { - if in == nil { - return nil - } - out := new(AppFetchHelmChartRepo) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AppFetchImage) DeepCopyInto(out *AppFetchImage) { - *out = *in - if in.SecretRef != nil { - in, out := &in.SecretRef, &out.SecretRef - *out = new(AppFetchLocalRef) - **out = **in - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppFetchImage. -func (in *AppFetchImage) DeepCopy() *AppFetchImage { - if in == nil { - return nil - } - out := new(AppFetchImage) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AppFetchInline) DeepCopyInto(out *AppFetchInline) { - *out = *in - if in.Paths != nil { - in, out := &in.Paths, &out.Paths - *out = make(map[string]string, len(*in)) - for key, val := range *in { - (*out)[key] = val - } - } - if in.PathsFrom != nil { - in, out := &in.PathsFrom, &out.PathsFrom - *out = make([]AppFetchInlineSource, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppFetchInline. -func (in *AppFetchInline) DeepCopy() *AppFetchInline { - if in == nil { - return nil - } - out := new(AppFetchInline) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AppFetchInlineSource) DeepCopyInto(out *AppFetchInlineSource) { - *out = *in - if in.SecretRef != nil { - in, out := &in.SecretRef, &out.SecretRef - *out = new(AppFetchInlineSourceRef) - **out = **in - } - if in.ConfigMapRef != nil { - in, out := &in.ConfigMapRef, &out.ConfigMapRef - *out = new(AppFetchInlineSourceRef) - **out = **in - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppFetchInlineSource. -func (in *AppFetchInlineSource) DeepCopy() *AppFetchInlineSource { - if in == nil { - return nil - } - out := new(AppFetchInlineSource) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AppFetchInlineSourceRef) DeepCopyInto(out *AppFetchInlineSourceRef) { - *out = *in - out.LocalObjectReference = in.LocalObjectReference - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppFetchInlineSourceRef. -func (in *AppFetchInlineSourceRef) DeepCopy() *AppFetchInlineSourceRef { - if in == nil { - return nil - } - out := new(AppFetchInlineSourceRef) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AppFetchLocalRef) DeepCopyInto(out *AppFetchLocalRef) { - *out = *in - out.LocalObjectReference = in.LocalObjectReference - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppFetchLocalRef. -func (in *AppFetchLocalRef) DeepCopy() *AppFetchLocalRef { - if in == nil { - return nil - } - out := new(AppFetchLocalRef) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AppList) DeepCopyInto(out *AppList) { - *out = *in - out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]App, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppList. -func (in *AppList) DeepCopy() *AppList { - if in == nil { - return nil - } - out := new(AppList) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *AppList) 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 *AppSpec) DeepCopyInto(out *AppSpec) { - *out = *in - if in.Fetch != nil { - in, out := &in.Fetch, &out.Fetch - *out = make([]AppFetch, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Template != nil { - in, out := &in.Template, &out.Template - *out = make([]AppTemplate, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - if in.Deploy != nil { - in, out := &in.Deploy, &out.Deploy - *out = make([]AppDeploy, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppSpec. -func (in *AppSpec) DeepCopy() *AppSpec { - if in == nil { - return nil - } - out := new(AppSpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AppStatus) DeepCopyInto(out *AppStatus) { - *out = *in - if in.Fetch != nil { - in, out := &in.Fetch, &out.Fetch - *out = new(AppStatusFetch) - (*in).DeepCopyInto(*out) - } - if in.Template != nil { - in, out := &in.Template, &out.Template - *out = new(AppStatusTemplate) - (*in).DeepCopyInto(*out) - } - if in.Deploy != nil { - in, out := &in.Deploy, &out.Deploy - *out = new(AppStatusDeploy) - (*in).DeepCopyInto(*out) - } - if in.Inspect != nil { - in, out := &in.Inspect, &out.Inspect - *out = new(AppStatusInspect) - (*in).DeepCopyInto(*out) - } - if in.Conditions != nil { - in, out := &in.Conditions, &out.Conditions - *out = make([]AppCondition, len(*in)) - copy(*out, *in) - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppStatus. -func (in *AppStatus) DeepCopy() *AppStatus { - if in == nil { - return nil - } - out := new(AppStatus) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AppStatusDeploy) DeepCopyInto(out *AppStatusDeploy) { - *out = *in - in.StartedAt.DeepCopyInto(&out.StartedAt) - in.UpdatedAt.DeepCopyInto(&out.UpdatedAt) - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppStatusDeploy. -func (in *AppStatusDeploy) DeepCopy() *AppStatusDeploy { - if in == nil { - return nil - } - out := new(AppStatusDeploy) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AppStatusFetch) DeepCopyInto(out *AppStatusFetch) { - *out = *in - in.StartedAt.DeepCopyInto(&out.StartedAt) - in.UpdatedAt.DeepCopyInto(&out.UpdatedAt) - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppStatusFetch. -func (in *AppStatusFetch) DeepCopy() *AppStatusFetch { - if in == nil { - return nil - } - out := new(AppStatusFetch) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AppStatusInspect) DeepCopyInto(out *AppStatusInspect) { - *out = *in - in.UpdatedAt.DeepCopyInto(&out.UpdatedAt) - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppStatusInspect. -func (in *AppStatusInspect) DeepCopy() *AppStatusInspect { - if in == nil { - return nil - } - out := new(AppStatusInspect) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AppStatusTemplate) DeepCopyInto(out *AppStatusTemplate) { - *out = *in - in.UpdatedAt.DeepCopyInto(&out.UpdatedAt) - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppStatusTemplate. -func (in *AppStatusTemplate) DeepCopy() *AppStatusTemplate { - if in == nil { - return nil - } - out := new(AppStatusTemplate) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AppTemplate) DeepCopyInto(out *AppTemplate) { - *out = *in - if in.Ytt != nil { - in, out := &in.Ytt, &out.Ytt - *out = new(AppTemplateYtt) - (*in).DeepCopyInto(*out) - } - if in.Kbld != nil { - in, out := &in.Kbld, &out.Kbld - *out = new(AppTemplateKbld) - **out = **in - } - if in.HelmTemplate != nil { - in, out := &in.HelmTemplate, &out.HelmTemplate - *out = new(AppTemplateHelmTemplate) - (*in).DeepCopyInto(*out) - } - if in.Kustomize != nil { - in, out := &in.Kustomize, &out.Kustomize - *out = new(AppTemplateKustomize) - **out = **in - } - if in.Jsonnet != nil { - in, out := &in.Jsonnet, &out.Jsonnet - *out = new(AppTemplateJsonnet) - **out = **in - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppTemplate. -func (in *AppTemplate) DeepCopy() *AppTemplate { - if in == nil { - return nil - } - out := new(AppTemplate) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AppTemplateHelmTemplate) DeepCopyInto(out *AppTemplateHelmTemplate) { - *out = *in - if in.ValuesFrom != nil { - in, out := &in.ValuesFrom, &out.ValuesFrom - *out = make([]AppTemplateHelmTemplateValuesSource, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppTemplateHelmTemplate. -func (in *AppTemplateHelmTemplate) DeepCopy() *AppTemplateHelmTemplate { - if in == nil { - return nil - } - out := new(AppTemplateHelmTemplate) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AppTemplateHelmTemplateValuesSource) DeepCopyInto(out *AppTemplateHelmTemplateValuesSource) { - *out = *in - if in.SecretRef != nil { - in, out := &in.SecretRef, &out.SecretRef - *out = new(AppTemplateHelmTemplateValuesSourceRef) - **out = **in - } - if in.ConfigMapRef != nil { - in, out := &in.ConfigMapRef, &out.ConfigMapRef - *out = new(AppTemplateHelmTemplateValuesSourceRef) - **out = **in - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppTemplateHelmTemplateValuesSource. -func (in *AppTemplateHelmTemplateValuesSource) DeepCopy() *AppTemplateHelmTemplateValuesSource { - if in == nil { - return nil - } - out := new(AppTemplateHelmTemplateValuesSource) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AppTemplateHelmTemplateValuesSourceRef) DeepCopyInto(out *AppTemplateHelmTemplateValuesSourceRef) { - *out = *in - out.LocalObjectReference = in.LocalObjectReference - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppTemplateHelmTemplateValuesSourceRef. -func (in *AppTemplateHelmTemplateValuesSourceRef) DeepCopy() *AppTemplateHelmTemplateValuesSourceRef { - if in == nil { - return nil - } - out := new(AppTemplateHelmTemplateValuesSourceRef) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AppTemplateJsonnet) DeepCopyInto(out *AppTemplateJsonnet) { - *out = *in - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppTemplateJsonnet. -func (in *AppTemplateJsonnet) DeepCopy() *AppTemplateJsonnet { - if in == nil { - return nil - } - out := new(AppTemplateJsonnet) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AppTemplateKbld) DeepCopyInto(out *AppTemplateKbld) { - *out = *in - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppTemplateKbld. -func (in *AppTemplateKbld) DeepCopy() *AppTemplateKbld { - if in == nil { - return nil - } - out := new(AppTemplateKbld) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AppTemplateKustomize) DeepCopyInto(out *AppTemplateKustomize) { - *out = *in - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppTemplateKustomize. -func (in *AppTemplateKustomize) DeepCopy() *AppTemplateKustomize { - if in == nil { - return nil - } - out := new(AppTemplateKustomize) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AppTemplateYtt) DeepCopyInto(out *AppTemplateYtt) { - *out = *in - if in.Inline != nil { - in, out := &in.Inline, &out.Inline - *out = new(AppFetchInline) - (*in).DeepCopyInto(*out) - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppTemplateYtt. -func (in *AppTemplateYtt) DeepCopy() *AppTemplateYtt { - if in == nil { - return nil - } - out := new(AppTemplateYtt) - in.DeepCopyInto(out) - return out -} diff --git a/vendor/modules.txt b/vendor/modules.txt index bec56571e..2099fb97f 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -63,9 +63,6 @@ github.com/json-iterator/go # github.com/k14s/difflib v0.0.0-20200108171459-b101e55e0592 ## explicit github.com/k14s/difflib -# github.com/k14s/kapp-controller v0.1.0 -## explicit -github.com/k14s/kapp-controller/pkg/apis/kappctrl/v1alpha1 # github.com/k14s/semver/v4 v4.0.1-0.20210701191048-266d47ac6115 github.com/k14s/semver/v4 # github.com/mattn/go-colorable v0.1.6