mirror of
https://github.com/rancher/types.git
synced 2025-09-08 16:39:00 +00:00
go generate
This commit is contained in:
@@ -10,6 +10,7 @@ const (
|
||||
TokenFieldAuthProvider = "authProvider"
|
||||
TokenFieldCreated = "created"
|
||||
TokenFieldCreatorID = "creatorId"
|
||||
TokenFieldCurrent = "current"
|
||||
TokenFieldDescription = "description"
|
||||
TokenFieldExpired = "expired"
|
||||
TokenFieldExpiresAt = "expiresAt"
|
||||
@@ -34,6 +35,7 @@ type Token struct {
|
||||
AuthProvider string `json:"authProvider,omitempty" yaml:"authProvider,omitempty"`
|
||||
Created string `json:"created,omitempty" yaml:"created,omitempty"`
|
||||
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
|
||||
Current bool `json:"current,omitempty" yaml:"current,omitempty"`
|
||||
Description string `json:"description,omitempty" yaml:"description,omitempty"`
|
||||
Expired bool `json:"expired,omitempty" yaml:"expired,omitempty"`
|
||||
ExpiresAt string `json:"expiresAt,omitempty" yaml:"expiresAt,omitempty"`
|
||||
|
@@ -6,6 +6,7 @@ const (
|
||||
TokenFieldAuthProvider = "authProvider"
|
||||
TokenFieldCreated = "created"
|
||||
TokenFieldCreatorID = "creatorId"
|
||||
TokenFieldCurrent = "current"
|
||||
TokenFieldDescription = "description"
|
||||
TokenFieldExpired = "expired"
|
||||
TokenFieldExpiresAt = "expiresAt"
|
||||
@@ -29,6 +30,7 @@ type Token struct {
|
||||
AuthProvider string `json:"authProvider,omitempty" yaml:"authProvider,omitempty"`
|
||||
Created string `json:"created,omitempty" yaml:"created,omitempty"`
|
||||
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
|
||||
Current bool `json:"current,omitempty" yaml:"current,omitempty"`
|
||||
Description string `json:"description,omitempty" yaml:"description,omitempty"`
|
||||
Expired bool `json:"expired,omitempty" yaml:"expired,omitempty"`
|
||||
ExpiresAt string `json:"expiresAt,omitempty" yaml:"expiresAt,omitempty"`
|
||||
|
Reference in New Issue
Block a user