1
0
mirror of https://github.com/rancher/types.git synced 2025-09-18 07:52:41 +00:00

Go generate

This commit is contained in:
Nathan Jenan
2018-05-10 15:44:35 -07:00
committed by Craig Jellick
parent bc35ebb540
commit d38912329a
2 changed files with 11 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ const (
RoleTemplateFieldCreated = "created"
RoleTemplateFieldCreatorID = "creatorId"
RoleTemplateFieldDescription = "description"
RoleTemplateFieldEnabled = "enabled"
RoleTemplateFieldExternal = "external"
RoleTemplateFieldHidden = "hidden"
RoleTemplateFieldLabels = "labels"
@@ -31,6 +32,7 @@ type RoleTemplate struct {
Created string `json:"created,omitempty" yaml:"created,omitempty"`
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
Description string `json:"description,omitempty" yaml:"description,omitempty"`
Enabled *bool `json:"enabled,omitempty" yaml:"enabled,omitempty"`
External bool `json:"external,omitempty" yaml:"external,omitempty"`
Hidden bool `json:"hidden,omitempty" yaml:"hidden,omitempty"`
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`