mirror of
https://github.com/rancher/types.git
synced 2025-06-25 05:01:33 +00:00
go generate
This commit is contained in:
parent
2e363610b2
commit
f8ef53481d
@ -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"`
|
||||
|
Loading…
Reference in New Issue
Block a user