mirror of
https://github.com/rancher/types.git
synced 2025-08-16 19:46:28 +00:00
Generated changes
This commit is contained in:
parent
9c1fdca0fc
commit
ccaf175432
@ -2603,6 +2603,11 @@ func (in *GlobalDNSSpec) DeepCopyInto(out *GlobalDNSSpec) {
|
||||
*out = make([]string, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
if in.Members != nil {
|
||||
in, out := &in.Members, &out.Members
|
||||
*out = make([]Member, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
@ -3650,6 +3655,22 @@ func (in MapStringInterface) DeepCopyInto(out *MapStringInterface) {
|
||||
}
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *Member) DeepCopyInto(out *Member) {
|
||||
*out = *in
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Member.
|
||||
func (in *Member) DeepCopy() *Member {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(Member)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *MetadataOpenstackOpts) DeepCopyInto(out *MetadataOpenstackOpts) {
|
||||
*out = *in
|
||||
@ -3940,6 +3961,11 @@ func (in *MultiClusterAppSpec) DeepCopyInto(out *MultiClusterAppSpec) {
|
||||
*out = make([]Target, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
if in.Members != nil {
|
||||
in, out := &in.Members, &out.Members
|
||||
*out = make([]Member, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
@ -11,6 +11,7 @@ const (
|
||||
GlobalDNSFieldCreatorID = "creatorId"
|
||||
GlobalDNSFieldFQDN = "fqdn"
|
||||
GlobalDNSFieldLabels = "labels"
|
||||
GlobalDNSFieldMembers = "members"
|
||||
GlobalDNSFieldMultiClusterAppID = "multiClusterAppId"
|
||||
GlobalDNSFieldName = "name"
|
||||
GlobalDNSFieldOwnerReferences = "ownerReferences"
|
||||
@ -31,6 +32,7 @@ type GlobalDNS struct {
|
||||
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
|
||||
FQDN string `json:"fqdn,omitempty" yaml:"fqdn,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
|
||||
Members []Member `json:"members,omitempty" yaml:"members,omitempty"`
|
||||
MultiClusterAppID string `json:"multiClusterAppId,omitempty" yaml:"multiClusterAppId,omitempty"`
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
|
||||
|
@ -3,6 +3,7 @@ package client
|
||||
const (
|
||||
GlobalDNSSpecType = "globalDnsSpec"
|
||||
GlobalDNSSpecFieldFQDN = "fqdn"
|
||||
GlobalDNSSpecFieldMembers = "members"
|
||||
GlobalDNSSpecFieldMultiClusterAppID = "multiClusterAppId"
|
||||
GlobalDNSSpecFieldProjectIDs = "projectIds"
|
||||
GlobalDNSSpecFieldProviderID = "providerId"
|
||||
@ -10,6 +11,7 @@ const (
|
||||
|
||||
type GlobalDNSSpec struct {
|
||||
FQDN string `json:"fqdn,omitempty" yaml:"fqdn,omitempty"`
|
||||
Members []Member `json:"members,omitempty" yaml:"members,omitempty"`
|
||||
MultiClusterAppID string `json:"multiClusterAppId,omitempty" yaml:"multiClusterAppId,omitempty"`
|
||||
ProjectIDs []string `json:"projectIds,omitempty" yaml:"projectIds,omitempty"`
|
||||
ProviderID string `json:"providerId,omitempty" yaml:"providerId,omitempty"`
|
||||
|
14
client/management/v3/zz_generated_member.go
Normal file
14
client/management/v3/zz_generated_member.go
Normal file
@ -0,0 +1,14 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
MemberType = "member"
|
||||
MemberFieldAccessType = "accessType"
|
||||
MemberFieldGroupPrincipalID = "groupPrincipalId"
|
||||
MemberFieldUserPrincipalID = "userPrincipalId"
|
||||
)
|
||||
|
||||
type Member struct {
|
||||
AccessType string `json:"accessType,omitempty" yaml:"accessType,omitempty"`
|
||||
GroupPrincipalID string `json:"groupPrincipalId,omitempty" yaml:"groupPrincipalId,omitempty"`
|
||||
UserPrincipalID string `json:"userPrincipalId,omitempty" yaml:"userPrincipalId,omitempty"`
|
||||
}
|
@ -11,6 +11,7 @@ const (
|
||||
MultiClusterAppFieldCreated = "created"
|
||||
MultiClusterAppFieldCreatorID = "creatorId"
|
||||
MultiClusterAppFieldLabels = "labels"
|
||||
MultiClusterAppFieldMembers = "members"
|
||||
MultiClusterAppFieldName = "name"
|
||||
MultiClusterAppFieldOwnerReferences = "ownerReferences"
|
||||
MultiClusterAppFieldRemoved = "removed"
|
||||
@ -30,6 +31,7 @@ type MultiClusterApp struct {
|
||||
Created string `json:"created,omitempty" yaml:"created,omitempty"`
|
||||
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
|
||||
Members []Member `json:"members,omitempty" yaml:"members,omitempty"`
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
|
||||
Removed string `json:"removed,omitempty" yaml:"removed,omitempty"`
|
||||
|
@ -3,12 +3,14 @@ package client
|
||||
const (
|
||||
MultiClusterAppSpecType = "multiClusterAppSpec"
|
||||
MultiClusterAppSpecFieldAnswers = "answers"
|
||||
MultiClusterAppSpecFieldMembers = "members"
|
||||
MultiClusterAppSpecFieldTargets = "targets"
|
||||
MultiClusterAppSpecFieldTemplateVersionID = "templateVersionId"
|
||||
)
|
||||
|
||||
type MultiClusterAppSpec struct {
|
||||
Answers []Answer `json:"answers,omitempty" yaml:"answers,omitempty"`
|
||||
Members []Member `json:"members,omitempty" yaml:"members,omitempty"`
|
||||
Targets []Target `json:"targets,omitempty" yaml:"targets,omitempty"`
|
||||
TemplateVersionID string `json:"templateVersionId,omitempty" yaml:"templateVersionId,omitempty"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user