|
|
@@ -20,10 +20,10 @@ package v1alpha1
|
|
|
|
|
|
import (
|
|
|
"github.com/external-secrets/external-secrets/apis/externalsecrets/v1beta1"
|
|
|
- "github.com/external-secrets/external-secrets/apis/meta/v1"
|
|
|
- apiextensionsv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
|
|
|
- metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
|
|
- runtime "k8s.io/apimachinery/pkg/runtime"
|
|
|
+ metav1 "github.com/external-secrets/external-secrets/apis/meta/v1"
|
|
|
+ "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
|
|
|
+ apismetav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
|
|
+ "k8s.io/apimachinery/pkg/runtime"
|
|
|
)
|
|
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
|
@@ -162,7 +162,7 @@ func (in *AWSAuthSecretRef) DeepCopyInto(out *AWSAuthSecretRef) {
|
|
|
in.SecretAccessKey.DeepCopyInto(&out.SecretAccessKey)
|
|
|
if in.SessionToken != nil {
|
|
|
in, out := &in.SessionToken, &out.SessionToken
|
|
|
- *out = new(v1.SecretKeySelector)
|
|
|
+ *out = new(metav1.SecretKeySelector)
|
|
|
(*in).DeepCopyInto(*out)
|
|
|
}
|
|
|
}
|
|
|
@@ -182,7 +182,7 @@ func (in *AWSJWTAuth) DeepCopyInto(out *AWSJWTAuth) {
|
|
|
*out = *in
|
|
|
if in.ServiceAccountRef != nil {
|
|
|
in, out := &in.ServiceAccountRef, &out.ServiceAccountRef
|
|
|
- *out = new(v1.ServiceAccountSelector)
|
|
|
+ *out = new(metav1.ServiceAccountSelector)
|
|
|
(*in).DeepCopyInto(*out)
|
|
|
}
|
|
|
}
|
|
|
@@ -250,7 +250,7 @@ func (in *AzureACRWorkloadIdentityAuth) DeepCopyInto(out *AzureACRWorkloadIdenti
|
|
|
*out = *in
|
|
|
if in.ServiceAccountRef != nil {
|
|
|
in, out := &in.ServiceAccountRef, &out.ServiceAccountRef
|
|
|
- *out = new(v1.ServiceAccountSelector)
|
|
|
+ *out = new(metav1.ServiceAccountSelector)
|
|
|
(*in).DeepCopyInto(*out)
|
|
|
}
|
|
|
}
|
|
|
@@ -698,6 +698,11 @@ func (in *GeneratorSpec) DeepCopyInto(out *GeneratorSpec) {
|
|
|
*out = new(WebhookSpec)
|
|
|
(*in).DeepCopyInto(*out)
|
|
|
}
|
|
|
+ if in.GrafanaSpec != nil {
|
|
|
+ in, out := &in.GrafanaSpec, &out.GrafanaSpec
|
|
|
+ *out = new(GrafanaSpec)
|
|
|
+ **out = **in
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeneratorSpec.
|
|
|
@@ -710,6 +715,132 @@ func (in *GeneratorSpec) DeepCopy() *GeneratorSpec {
|
|
|
return out
|
|
|
}
|
|
|
|
|
|
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
|
+func (in *GeneratorState) DeepCopyInto(out *GeneratorState) {
|
|
|
+ *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 GeneratorState.
|
|
|
+func (in *GeneratorState) DeepCopy() *GeneratorState {
|
|
|
+ if in == nil {
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ out := new(GeneratorState)
|
|
|
+ in.DeepCopyInto(out)
|
|
|
+ return out
|
|
|
+}
|
|
|
+
|
|
|
+// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
|
+func (in *GeneratorState) 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 *GeneratorStateList) DeepCopyInto(out *GeneratorStateList) {
|
|
|
+ *out = *in
|
|
|
+ out.TypeMeta = in.TypeMeta
|
|
|
+ in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
|
+ if in.Items != nil {
|
|
|
+ in, out := &in.Items, &out.Items
|
|
|
+ *out = make([]GeneratorState, len(*in))
|
|
|
+ for i := range *in {
|
|
|
+ (*in)[i].DeepCopyInto(&(*out)[i])
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeneratorStateList.
|
|
|
+func (in *GeneratorStateList) DeepCopy() *GeneratorStateList {
|
|
|
+ if in == nil {
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ out := new(GeneratorStateList)
|
|
|
+ in.DeepCopyInto(out)
|
|
|
+ return out
|
|
|
+}
|
|
|
+
|
|
|
+// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
|
+func (in *GeneratorStateList) 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 *GeneratorStateSpec) DeepCopyInto(out *GeneratorStateSpec) {
|
|
|
+ *out = *in
|
|
|
+ if in.GarbageCollectionDeadline != nil {
|
|
|
+ in, out := &in.GarbageCollectionDeadline, &out.GarbageCollectionDeadline
|
|
|
+ *out = (*in).DeepCopy()
|
|
|
+ }
|
|
|
+ if in.Resource != nil {
|
|
|
+ in, out := &in.Resource, &out.Resource
|
|
|
+ *out = new(v1.JSON)
|
|
|
+ (*in).DeepCopyInto(*out)
|
|
|
+ }
|
|
|
+ if in.State != nil {
|
|
|
+ in, out := &in.State, &out.State
|
|
|
+ *out = new(v1.JSON)
|
|
|
+ (*in).DeepCopyInto(*out)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeneratorStateSpec.
|
|
|
+func (in *GeneratorStateSpec) DeepCopy() *GeneratorStateSpec {
|
|
|
+ if in == nil {
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ out := new(GeneratorStateSpec)
|
|
|
+ in.DeepCopyInto(out)
|
|
|
+ return out
|
|
|
+}
|
|
|
+
|
|
|
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
|
+func (in *GeneratorStateStatus) DeepCopyInto(out *GeneratorStateStatus) {
|
|
|
+ *out = *in
|
|
|
+ if in.Conditions != nil {
|
|
|
+ in, out := &in.Conditions, &out.Conditions
|
|
|
+ *out = make([]GeneratorStateStatusCondition, len(*in))
|
|
|
+ for i := range *in {
|
|
|
+ (*in)[i].DeepCopyInto(&(*out)[i])
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeneratorStateStatus.
|
|
|
+func (in *GeneratorStateStatus) DeepCopy() *GeneratorStateStatus {
|
|
|
+ if in == nil {
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ out := new(GeneratorStateStatus)
|
|
|
+ in.DeepCopyInto(out)
|
|
|
+ return out
|
|
|
+}
|
|
|
+
|
|
|
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
|
+func (in *GeneratorStateStatusCondition) DeepCopyInto(out *GeneratorStateStatusCondition) {
|
|
|
+ *out = *in
|
|
|
+ in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
|
|
|
+}
|
|
|
+
|
|
|
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeneratorStateStatusCondition.
|
|
|
+func (in *GeneratorStateStatusCondition) DeepCopy() *GeneratorStateStatusCondition {
|
|
|
+ if in == nil {
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ out := new(GeneratorStateStatusCondition)
|
|
|
+ in.DeepCopyInto(out)
|
|
|
+ return out
|
|
|
+}
|
|
|
+
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
|
func (in *GithubAccessToken) DeepCopyInto(out *GithubAccessToken) {
|
|
|
*out = *in
|
|
|
@@ -828,6 +959,158 @@ func (in *GithubSecretRef) DeepCopy() *GithubSecretRef {
|
|
|
return out
|
|
|
}
|
|
|
|
|
|
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
|
+func (in *Grafana) DeepCopyInto(out *Grafana) {
|
|
|
+ *out = *in
|
|
|
+ out.TypeMeta = in.TypeMeta
|
|
|
+ in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
|
+ out.Spec = in.Spec
|
|
|
+}
|
|
|
+
|
|
|
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Grafana.
|
|
|
+func (in *Grafana) DeepCopy() *Grafana {
|
|
|
+ if in == nil {
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ out := new(Grafana)
|
|
|
+ in.DeepCopyInto(out)
|
|
|
+ return out
|
|
|
+}
|
|
|
+
|
|
|
+// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
|
+func (in *Grafana) 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 *GrafanaAuth) DeepCopyInto(out *GrafanaAuth) {
|
|
|
+ *out = *in
|
|
|
+ out.Token = in.Token
|
|
|
+}
|
|
|
+
|
|
|
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaAuth.
|
|
|
+func (in *GrafanaAuth) DeepCopy() *GrafanaAuth {
|
|
|
+ if in == nil {
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ out := new(GrafanaAuth)
|
|
|
+ in.DeepCopyInto(out)
|
|
|
+ return out
|
|
|
+}
|
|
|
+
|
|
|
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
|
+func (in *GrafanaList) DeepCopyInto(out *GrafanaList) {
|
|
|
+ *out = *in
|
|
|
+ out.TypeMeta = in.TypeMeta
|
|
|
+ in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
|
+ if in.Items != nil {
|
|
|
+ in, out := &in.Items, &out.Items
|
|
|
+ *out = make([]Grafana, len(*in))
|
|
|
+ for i := range *in {
|
|
|
+ (*in)[i].DeepCopyInto(&(*out)[i])
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaList.
|
|
|
+func (in *GrafanaList) DeepCopy() *GrafanaList {
|
|
|
+ if in == nil {
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ out := new(GrafanaList)
|
|
|
+ in.DeepCopyInto(out)
|
|
|
+ return out
|
|
|
+}
|
|
|
+
|
|
|
+// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
|
+func (in *GrafanaList) 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 *GrafanaServiceAccount) DeepCopyInto(out *GrafanaServiceAccount) {
|
|
|
+ *out = *in
|
|
|
+}
|
|
|
+
|
|
|
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaServiceAccount.
|
|
|
+func (in *GrafanaServiceAccount) DeepCopy() *GrafanaServiceAccount {
|
|
|
+ if in == nil {
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ out := new(GrafanaServiceAccount)
|
|
|
+ in.DeepCopyInto(out)
|
|
|
+ return out
|
|
|
+}
|
|
|
+
|
|
|
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
|
+func (in *GrafanaServiceAccountTokenState) DeepCopyInto(out *GrafanaServiceAccountTokenState) {
|
|
|
+ *out = *in
|
|
|
+ in.ServiceAccount.DeepCopyInto(&out.ServiceAccount)
|
|
|
+}
|
|
|
+
|
|
|
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaServiceAccountTokenState.
|
|
|
+func (in *GrafanaServiceAccountTokenState) DeepCopy() *GrafanaServiceAccountTokenState {
|
|
|
+ if in == nil {
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ out := new(GrafanaServiceAccountTokenState)
|
|
|
+ in.DeepCopyInto(out)
|
|
|
+ return out
|
|
|
+}
|
|
|
+
|
|
|
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
|
+func (in *GrafanaSpec) DeepCopyInto(out *GrafanaSpec) {
|
|
|
+ *out = *in
|
|
|
+ out.Auth = in.Auth
|
|
|
+ out.ServiceAccount = in.ServiceAccount
|
|
|
+}
|
|
|
+
|
|
|
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaSpec.
|
|
|
+func (in *GrafanaSpec) DeepCopy() *GrafanaSpec {
|
|
|
+ if in == nil {
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ out := new(GrafanaSpec)
|
|
|
+ in.DeepCopyInto(out)
|
|
|
+ return out
|
|
|
+}
|
|
|
+
|
|
|
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
|
+func (in *GrafanaStateServiceAccount) DeepCopyInto(out *GrafanaStateServiceAccount) {
|
|
|
+ *out = *in
|
|
|
+ if in.ServiceAccountID != nil {
|
|
|
+ in, out := &in.ServiceAccountID, &out.ServiceAccountID
|
|
|
+ *out = new(int64)
|
|
|
+ **out = **in
|
|
|
+ }
|
|
|
+ if in.ServiceAccountLogin != nil {
|
|
|
+ in, out := &in.ServiceAccountLogin, &out.ServiceAccountLogin
|
|
|
+ *out = new(string)
|
|
|
+ **out = **in
|
|
|
+ }
|
|
|
+ if in.ServiceAccountTokenID != nil {
|
|
|
+ in, out := &in.ServiceAccountTokenID, &out.ServiceAccountTokenID
|
|
|
+ *out = new(int64)
|
|
|
+ **out = **in
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaStateServiceAccount.
|
|
|
+func (in *GrafanaStateServiceAccount) DeepCopy() *GrafanaStateServiceAccount {
|
|
|
+ if in == nil {
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ out := new(GrafanaStateServiceAccount)
|
|
|
+ in.DeepCopyInto(out)
|
|
|
+ return out
|
|
|
+}
|
|
|
+
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
|
func (in *Password) DeepCopyInto(out *Password) {
|
|
|
*out = *in
|
|
|
@@ -1250,7 +1533,7 @@ func (in *VaultDynamicSecretSpec) DeepCopyInto(out *VaultDynamicSecretSpec) {
|
|
|
*out = *in
|
|
|
if in.Parameters != nil {
|
|
|
in, out := &in.Parameters, &out.Parameters
|
|
|
- *out = new(apiextensionsv1.JSON)
|
|
|
+ *out = new(v1.JSON)
|
|
|
(*in).DeepCopyInto(*out)
|
|
|
}
|
|
|
if in.RetrySettings != nil {
|
|
|
@@ -1396,7 +1679,7 @@ func (in *WebhookSpec) DeepCopyInto(out *WebhookSpec) {
|
|
|
}
|
|
|
if in.Timeout != nil {
|
|
|
in, out := &in.Timeout, &out.Timeout
|
|
|
- *out = new(metav1.Duration)
|
|
|
+ *out = new(apismetav1.Duration)
|
|
|
**out = **in
|
|
|
}
|
|
|
out.Result = in.Result
|