1
0
mirror of https://github.com/rancher/types.git synced 2025-09-08 16:39:00 +00:00

go generate

This commit is contained in:
Max Korp
2018-08-20 14:51:57 -07:00
committed by Craig Jellick
parent 2e363610b2
commit f8ef53481d
2 changed files with 4 additions and 0 deletions

View File

@@ -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"`

View File

@@ -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"`