1
0
mirror of https://github.com/rancher/types.git synced 2025-09-23 02:47:07 +00:00

Merge pull request #245 from gitlawr/token_perms

set perms on pipeline token fields
This commit is contained in:
Alena Prokharchyk
2018-02-26 09:25:18 -08:00
committed by GitHub

View File

@@ -85,7 +85,7 @@ type PipelineStatus struct {
LastStarted string `json:"lastStarted,omitempty" yaml:"lastStarted,omitempty"`
NextStart string `json:"nextStart,omitempty" yaml:"nextStart,omitempty"`
WebHookID string `json:"webhookId,omitempty" yaml:"webhookId,omitempty"`
Token string `json:"token,omitempty" yaml:"token,omitempty"`
Token string `json:"token,omitempty" yaml:"token,omitempty" norman:"writeOnly,noupdate"`
}
type PipelineSpec struct {
@@ -172,7 +172,7 @@ type SourceCodeCredentialSpec struct {
AvatarURL string `json:"avatarUrl,omitempty"`
HTMLURL string `json:"htmlUrl,omitempty"`
LoginName string `json:"loginName,omitempty"`
AccessToken string `json:"accessToken,omitempty"`
AccessToken string `json:"accessToken,omitempty" norman:"writeOnly,noupdate"`
}
type SourceCodeCredentialStatus struct {