mirror of
https://github.com/grafana/grafana.git
synced 2025-07-29 05:22:32 +08:00

* wip * Use serviceaccount model from /apps/iam * revert version update * Add tembinding, userteam, other improvements * Change serviceaccounttoken spec * Revert the change of ServiceAccountToken * Revert the change of UserTeam * Clean up * Remove files that are not needed for now * Lint * Update sql query's integration tests * Fix tests * update openapi spec * Move LastSeenAt to the annotations * Updte openapi_snapshots * Change lastSeenAt annotation name
351 lines
9.4 KiB
Go
351 lines
9.4 KiB
Go
//go:build !ignore_autogenerated
|
|
// +build !ignore_autogenerated
|
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
// Code generated by deepcopy-gen. DO NOT EDIT.
|
|
|
|
package v0alpha1
|
|
|
|
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 *Display) DeepCopyInto(out *Display) {
|
|
*out = *in
|
|
out.Identity = in.Identity
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Display.
|
|
func (in *Display) DeepCopy() *Display {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Display)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *DisplayList) DeepCopyInto(out *DisplayList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Keys != nil {
|
|
in, out := &in.Keys, &out.Keys
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.InvalidKeys != nil {
|
|
in, out := &in.InvalidKeys, &out.InvalidKeys
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]Display, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DisplayList.
|
|
func (in *DisplayList) DeepCopy() *DisplayList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(DisplayList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *DisplayList) 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 *IdentityRef) DeepCopyInto(out *IdentityRef) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityRef.
|
|
func (in *IdentityRef) DeepCopy() *IdentityRef {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(IdentityRef)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *SSOSetting) DeepCopyInto(out *SSOSetting) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSOSetting.
|
|
func (in *SSOSetting) DeepCopy() *SSOSetting {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SSOSetting)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *SSOSetting) 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 *SSOSettingList) DeepCopyInto(out *SSOSettingList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]SSOSetting, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSOSettingList.
|
|
func (in *SSOSettingList) DeepCopy() *SSOSettingList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SSOSettingList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *SSOSettingList) 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 *SSOSettingSpec) DeepCopyInto(out *SSOSettingSpec) {
|
|
*out = *in
|
|
in.Settings.DeepCopyInto(&out.Settings)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSOSettingSpec.
|
|
func (in *SSOSettingSpec) DeepCopy() *SSOSettingSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SSOSettingSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ServiceAccountToken) DeepCopyInto(out *ServiceAccountToken) {
|
|
*out = *in
|
|
if in.Expires != nil {
|
|
in, out := &in.Expires, &out.Expires
|
|
*out = (*in).DeepCopy()
|
|
}
|
|
if in.LastUsed != nil {
|
|
in, out := &in.LastUsed, &out.LastUsed
|
|
*out = (*in).DeepCopy()
|
|
}
|
|
in.Created.DeepCopyInto(&out.Created)
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountToken.
|
|
func (in *ServiceAccountToken) DeepCopy() *ServiceAccountToken {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ServiceAccountToken)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *ServiceAccountTokenList) DeepCopyInto(out *ServiceAccountTokenList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]ServiceAccountToken, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountTokenList.
|
|
func (in *ServiceAccountTokenList) DeepCopy() *ServiceAccountTokenList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ServiceAccountTokenList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *ServiceAccountTokenList) 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 *TeamMember) DeepCopyInto(out *TeamMember) {
|
|
*out = *in
|
|
out.Display = in.Display
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamMember.
|
|
func (in *TeamMember) DeepCopy() *TeamMember {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TeamMember)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TeamMemberList) DeepCopyInto(out *TeamMemberList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]TeamMember, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamMemberList.
|
|
func (in *TeamMemberList) DeepCopy() *TeamMemberList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TeamMemberList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *TeamMemberList) 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 *TeamRef) DeepCopyInto(out *TeamRef) {
|
|
*out = *in
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamRef.
|
|
func (in *TeamRef) DeepCopy() *TeamRef {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TeamRef)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *TeamSubject) DeepCopyInto(out *TeamSubject) {
|
|
*out = *in
|
|
out.Identity = in.Identity
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamSubject.
|
|
func (in *TeamSubject) DeepCopy() *TeamSubject {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TeamSubject)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *UserTeam) DeepCopyInto(out *UserTeam) {
|
|
*out = *in
|
|
out.TeamRef = in.TeamRef
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserTeam.
|
|
func (in *UserTeam) DeepCopy() *UserTeam {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(UserTeam)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
func (in *UserTeamList) DeepCopyInto(out *UserTeamList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]UserTeam, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
return
|
|
}
|
|
|
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserTeamList.
|
|
func (in *UserTeamList) DeepCopy() *UserTeamList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(UserTeamList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
|
func (in *UserTeamList) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|