| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524 |
- //go:build !ignore_autogenerated
- /*
- 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 (
- externalsecretsv1 "github.com/external-secrets/external-secrets/apis/externalsecrets/v1"
- apiextensionsv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
- "k8s.io/apimachinery/pkg/apis/meta/v1"
- 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 *ClusterPushSecret) DeepCopyInto(out *ClusterPushSecret) {
- *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 ClusterPushSecret.
- func (in *ClusterPushSecret) DeepCopy() *ClusterPushSecret {
- if in == nil {
- return nil
- }
- out := new(ClusterPushSecret)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *ClusterPushSecret) 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 *ClusterPushSecretCondition) DeepCopyInto(out *ClusterPushSecretCondition) {
- *out = *in
- if in.NamespaceSelector != nil {
- in, out := &in.NamespaceSelector, &out.NamespaceSelector
- *out = new(v1.LabelSelector)
- (*in).DeepCopyInto(*out)
- }
- if in.Namespaces != nil {
- in, out := &in.Namespaces, &out.Namespaces
- *out = make([]string, len(*in))
- copy(*out, *in)
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPushSecretCondition.
- func (in *ClusterPushSecretCondition) DeepCopy() *ClusterPushSecretCondition {
- if in == nil {
- return nil
- }
- out := new(ClusterPushSecretCondition)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ClusterPushSecretList) DeepCopyInto(out *ClusterPushSecretList) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ListMeta.DeepCopyInto(&out.ListMeta)
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]ClusterPushSecret, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPushSecretList.
- func (in *ClusterPushSecretList) DeepCopy() *ClusterPushSecretList {
- if in == nil {
- return nil
- }
- out := new(ClusterPushSecretList)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *ClusterPushSecretList) 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 *ClusterPushSecretNamespaceFailure) DeepCopyInto(out *ClusterPushSecretNamespaceFailure) {
- *out = *in
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPushSecretNamespaceFailure.
- func (in *ClusterPushSecretNamespaceFailure) DeepCopy() *ClusterPushSecretNamespaceFailure {
- if in == nil {
- return nil
- }
- out := new(ClusterPushSecretNamespaceFailure)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ClusterPushSecretSpec) DeepCopyInto(out *ClusterPushSecretSpec) {
- *out = *in
- in.PushSecretSpec.DeepCopyInto(&out.PushSecretSpec)
- if in.RefreshInterval != nil {
- in, out := &in.RefreshInterval, &out.RefreshInterval
- *out = new(v1.Duration)
- **out = **in
- }
- in.PushSecretMetadata.DeepCopyInto(&out.PushSecretMetadata)
- if in.NamespaceSelectors != nil {
- in, out := &in.NamespaceSelectors, &out.NamespaceSelectors
- *out = make([]*v1.LabelSelector, len(*in))
- for i := range *in {
- if (*in)[i] != nil {
- in, out := &(*in)[i], &(*out)[i]
- *out = new(v1.LabelSelector)
- (*in).DeepCopyInto(*out)
- }
- }
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPushSecretSpec.
- func (in *ClusterPushSecretSpec) DeepCopy() *ClusterPushSecretSpec {
- if in == nil {
- return nil
- }
- out := new(ClusterPushSecretSpec)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *ClusterPushSecretStatus) DeepCopyInto(out *ClusterPushSecretStatus) {
- *out = *in
- if in.FailedNamespaces != nil {
- in, out := &in.FailedNamespaces, &out.FailedNamespaces
- *out = make([]ClusterPushSecretNamespaceFailure, len(*in))
- copy(*out, *in)
- }
- if in.ProvisionedNamespaces != nil {
- in, out := &in.ProvisionedNamespaces, &out.ProvisionedNamespaces
- *out = make([]string, len(*in))
- copy(*out, *in)
- }
- if in.Conditions != nil {
- in, out := &in.Conditions, &out.Conditions
- *out = make([]PushSecretStatusCondition, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPushSecretStatus.
- func (in *ClusterPushSecretStatus) DeepCopy() *ClusterPushSecretStatus {
- if in == nil {
- return nil
- }
- out := new(ClusterPushSecretStatus)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PushSecret) DeepCopyInto(out *PushSecret) {
- *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 PushSecret.
- func (in *PushSecret) DeepCopy() *PushSecret {
- if in == nil {
- return nil
- }
- out := new(PushSecret)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *PushSecret) 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 *PushSecretData) DeepCopyInto(out *PushSecretData) {
- *out = *in
- out.Match = in.Match
- if in.Metadata != nil {
- in, out := &in.Metadata, &out.Metadata
- *out = new(apiextensionsv1.JSON)
- (*in).DeepCopyInto(*out)
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushSecretData.
- func (in *PushSecretData) DeepCopy() *PushSecretData {
- if in == nil {
- return nil
- }
- out := new(PushSecretData)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PushSecretList) DeepCopyInto(out *PushSecretList) {
- *out = *in
- out.TypeMeta = in.TypeMeta
- in.ListMeta.DeepCopyInto(&out.ListMeta)
- if in.Items != nil {
- in, out := &in.Items, &out.Items
- *out = make([]PushSecret, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushSecretList.
- func (in *PushSecretList) DeepCopy() *PushSecretList {
- if in == nil {
- return nil
- }
- out := new(PushSecretList)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
- func (in *PushSecretList) 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 *PushSecretMatch) DeepCopyInto(out *PushSecretMatch) {
- *out = *in
- out.RemoteRef = in.RemoteRef
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushSecretMatch.
- func (in *PushSecretMatch) DeepCopy() *PushSecretMatch {
- if in == nil {
- return nil
- }
- out := new(PushSecretMatch)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PushSecretMetadata) DeepCopyInto(out *PushSecretMetadata) {
- *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.Labels != nil {
- in, out := &in.Labels, &out.Labels
- *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 PushSecretMetadata.
- func (in *PushSecretMetadata) DeepCopy() *PushSecretMetadata {
- if in == nil {
- return nil
- }
- out := new(PushSecretMetadata)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PushSecretRemoteRef) DeepCopyInto(out *PushSecretRemoteRef) {
- *out = *in
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushSecretRemoteRef.
- func (in *PushSecretRemoteRef) DeepCopy() *PushSecretRemoteRef {
- if in == nil {
- return nil
- }
- out := new(PushSecretRemoteRef)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PushSecretSecret) DeepCopyInto(out *PushSecretSecret) {
- *out = *in
- if in.Selector != nil {
- in, out := &in.Selector, &out.Selector
- *out = new(v1.LabelSelector)
- (*in).DeepCopyInto(*out)
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushSecretSecret.
- func (in *PushSecretSecret) DeepCopy() *PushSecretSecret {
- if in == nil {
- return nil
- }
- out := new(PushSecretSecret)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PushSecretSelector) DeepCopyInto(out *PushSecretSelector) {
- *out = *in
- if in.Secret != nil {
- in, out := &in.Secret, &out.Secret
- *out = new(PushSecretSecret)
- (*in).DeepCopyInto(*out)
- }
- if in.GeneratorRef != nil {
- in, out := &in.GeneratorRef, &out.GeneratorRef
- *out = new(externalsecretsv1.GeneratorRef)
- **out = **in
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushSecretSelector.
- func (in *PushSecretSelector) DeepCopy() *PushSecretSelector {
- if in == nil {
- return nil
- }
- out := new(PushSecretSelector)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PushSecretSpec) DeepCopyInto(out *PushSecretSpec) {
- *out = *in
- if in.RefreshInterval != nil {
- in, out := &in.RefreshInterval, &out.RefreshInterval
- *out = new(v1.Duration)
- **out = **in
- }
- if in.SecretStoreRefs != nil {
- in, out := &in.SecretStoreRefs, &out.SecretStoreRefs
- *out = make([]PushSecretStoreRef, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- in.Selector.DeepCopyInto(&out.Selector)
- if in.Data != nil {
- in, out := &in.Data, &out.Data
- *out = make([]PushSecretData, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- if in.Template != nil {
- in, out := &in.Template, &out.Template
- *out = new(externalsecretsv1.ExternalSecretTemplate)
- (*in).DeepCopyInto(*out)
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushSecretSpec.
- func (in *PushSecretSpec) DeepCopy() *PushSecretSpec {
- if in == nil {
- return nil
- }
- out := new(PushSecretSpec)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PushSecretStatus) DeepCopyInto(out *PushSecretStatus) {
- *out = *in
- in.RefreshTime.DeepCopyInto(&out.RefreshTime)
- if in.SyncedPushSecrets != nil {
- in, out := &in.SyncedPushSecrets, &out.SyncedPushSecrets
- *out = make(SyncedPushSecretsMap, len(*in))
- for key, val := range *in {
- var outVal map[string]PushSecretData
- if val == nil {
- (*out)[key] = nil
- } else {
- inVal := (*in)[key]
- in, out := &inVal, &outVal
- *out = make(map[string]PushSecretData, len(*in))
- for key, val := range *in {
- (*out)[key] = *val.DeepCopy()
- }
- }
- (*out)[key] = outVal
- }
- }
- if in.Conditions != nil {
- in, out := &in.Conditions, &out.Conditions
- *out = make([]PushSecretStatusCondition, len(*in))
- for i := range *in {
- (*in)[i].DeepCopyInto(&(*out)[i])
- }
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushSecretStatus.
- func (in *PushSecretStatus) DeepCopy() *PushSecretStatus {
- if in == nil {
- return nil
- }
- out := new(PushSecretStatus)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PushSecretStatusCondition) DeepCopyInto(out *PushSecretStatusCondition) {
- *out = *in
- in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushSecretStatusCondition.
- func (in *PushSecretStatusCondition) DeepCopy() *PushSecretStatusCondition {
- if in == nil {
- return nil
- }
- out := new(PushSecretStatusCondition)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in *PushSecretStoreRef) DeepCopyInto(out *PushSecretStoreRef) {
- *out = *in
- if in.LabelSelector != nil {
- in, out := &in.LabelSelector, &out.LabelSelector
- *out = new(v1.LabelSelector)
- (*in).DeepCopyInto(*out)
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushSecretStoreRef.
- func (in *PushSecretStoreRef) DeepCopy() *PushSecretStoreRef {
- if in == nil {
- return nil
- }
- out := new(PushSecretStoreRef)
- in.DeepCopyInto(out)
- return out
- }
- // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
- func (in SyncedPushSecretsMap) DeepCopyInto(out *SyncedPushSecretsMap) {
- {
- in := &in
- *out = make(SyncedPushSecretsMap, len(*in))
- for key, val := range *in {
- var outVal map[string]PushSecretData
- if val == nil {
- (*out)[key] = nil
- } else {
- inVal := (*in)[key]
- in, out := &inVal, &outVal
- *out = make(map[string]PushSecretData, len(*in))
- for key, val := range *in {
- (*out)[key] = *val.DeepCopy()
- }
- }
- (*out)[key] = outVal
- }
- }
- }
- // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncedPushSecretsMap.
- func (in SyncedPushSecretsMap) DeepCopy() SyncedPushSecretsMap {
- if in == nil {
- return nil
- }
- out := new(SyncedPushSecretsMap)
- in.DeepCopyInto(out)
- return *out
- }
|