mirror of
https://github.com/rancher/types.git
synced 2025-07-01 16:01:49 +00:00
Add fields to support multiple clientID in github
This commit is contained in:
parent
56c60bfefb
commit
33833b3a37
@ -150,6 +150,10 @@ type GithubConfig struct {
|
||||
TLS bool `json:"tls,omitempty" norman:"notnullable,default=true" norman:"required"`
|
||||
ClientID string `json:"clientId,omitempty" norman:"required"`
|
||||
ClientSecret string `json:"clientSecret,omitempty" norman:"required,type=password"`
|
||||
|
||||
// AdditionalClientIDs is a map of clientID to client secrets
|
||||
AdditionalClientIDs map[string]string `json:"additionalClientIds,omitempty" norman:"nocreate,noupdate"`
|
||||
HostnameToClientID map[string]string `json:"hostnameToClientId,omitempty" norman:"nocreate,noupdate"`
|
||||
}
|
||||
|
||||
type GithubConfigTestOutput struct {
|
||||
|
Loading…
Reference in New Issue
Block a user