mirror of
https://github.com/rancher/types.git
synced 2025-06-24 04:37:03 +00:00
go generate
This commit is contained in:
parent
c50d24d4b9
commit
b0c70e35cf
@ -7277,6 +7277,11 @@ func (in *Token) DeepCopyInto(out *Token) {
|
||||
(*out)[key] = val
|
||||
}
|
||||
}
|
||||
if in.Enabled != nil {
|
||||
in, out := &in.Enabled, &out.Enabled
|
||||
*out = new(bool)
|
||||
**out = **in
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
@ -12,6 +12,7 @@ const (
|
||||
TokenFieldCreatorID = "creatorId"
|
||||
TokenFieldCurrent = "current"
|
||||
TokenFieldDescription = "description"
|
||||
TokenFieldEnabled = "enabled"
|
||||
TokenFieldExpired = "expired"
|
||||
TokenFieldExpiresAt = "expiresAt"
|
||||
TokenFieldGroupPrincipals = "groupPrincipals"
|
||||
@ -37,6 +38,7 @@ type Token struct {
|
||||
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
|
||||
Current bool `json:"current,omitempty" yaml:"current,omitempty"`
|
||||
Description string `json:"description,omitempty" yaml:"description,omitempty"`
|
||||
Enabled *bool `json:"enabled,omitempty" yaml:"enabled,omitempty"`
|
||||
Expired bool `json:"expired,omitempty" yaml:"expired,omitempty"`
|
||||
ExpiresAt string `json:"expiresAt,omitempty" yaml:"expiresAt,omitempty"`
|
||||
GroupPrincipals []string `json:"groupPrincipals,omitempty" yaml:"groupPrincipals,omitempty"`
|
||||
|
@ -7,7 +7,9 @@ const (
|
||||
UserAttributeFieldCreatorID = "creatorId"
|
||||
UserAttributeFieldGroupPrincipals = "groupPrincipals"
|
||||
UserAttributeFieldLabels = "labels"
|
||||
UserAttributeFieldLastRefresh = "lastRefresh"
|
||||
UserAttributeFieldName = "name"
|
||||
UserAttributeFieldNeedsRefresh = "needsRefresh"
|
||||
UserAttributeFieldOwnerReferences = "ownerReferences"
|
||||
UserAttributeFieldRemoved = "removed"
|
||||
UserAttributeFieldUUID = "uuid"
|
||||
@ -20,7 +22,9 @@ type UserAttribute struct {
|
||||
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
|
||||
GroupPrincipals map[string]Principal `json:"groupPrincipals,omitempty" yaml:"groupPrincipals,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
|
||||
LastRefresh string `json:"lastRefresh,omitempty" yaml:"lastRefresh,omitempty"`
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
NeedsRefresh bool `json:"needsRefresh,omitempty" yaml:"needsRefresh,omitempty"`
|
||||
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
|
||||
Removed string `json:"removed,omitempty" yaml:"removed,omitempty"`
|
||||
UUID string `json:"uuid,omitempty" yaml:"uuid,omitempty"`
|
||||
|
@ -8,6 +8,7 @@ const (
|
||||
TokenFieldCreatorID = "creatorId"
|
||||
TokenFieldCurrent = "current"
|
||||
TokenFieldDescription = "description"
|
||||
TokenFieldEnabled = "enabled"
|
||||
TokenFieldExpired = "expired"
|
||||
TokenFieldExpiresAt = "expiresAt"
|
||||
TokenFieldGroupPrincipals = "groupPrincipals"
|
||||
@ -32,6 +33,7 @@ type Token struct {
|
||||
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
|
||||
Current bool `json:"current,omitempty" yaml:"current,omitempty"`
|
||||
Description string `json:"description,omitempty" yaml:"description,omitempty"`
|
||||
Enabled *bool `json:"enabled,omitempty" yaml:"enabled,omitempty"`
|
||||
Expired bool `json:"expired,omitempty" yaml:"expired,omitempty"`
|
||||
ExpiresAt string `json:"expiresAt,omitempty" yaml:"expiresAt,omitempty"`
|
||||
GroupPrincipals []string `json:"groupPrincipals,omitempty" yaml:"groupPrincipals,omitempty"`
|
||||
|
Loading…
Reference in New Issue
Block a user