mirror of
https://github.com/rancher/types.git
synced 2025-09-18 16:10:58 +00:00
generated code
This commit is contained in:
@@ -9,6 +9,7 @@ const (
|
||||
AuthConfigFieldAnnotations = "annotations"
|
||||
AuthConfigFieldCreated = "created"
|
||||
AuthConfigFieldCreatorID = "creatorId"
|
||||
AuthConfigFieldEnabled = "enabled"
|
||||
AuthConfigFieldLabels = "labels"
|
||||
AuthConfigFieldName = "name"
|
||||
AuthConfigFieldOwnerReferences = "ownerReferences"
|
||||
@@ -22,6 +23,7 @@ type AuthConfig struct {
|
||||
Annotations map[string]string `json:"annotations,omitempty"`
|
||||
Created string `json:"created,omitempty"`
|
||||
CreatorID string `json:"creatorId,omitempty"`
|
||||
Enabled *bool `json:"enabled,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"`
|
||||
|
@@ -13,7 +13,7 @@ const (
|
||||
GithubConfigFieldName = "name"
|
||||
GithubConfigFieldOwnerReferences = "ownerReferences"
|
||||
GithubConfigFieldRemoved = "removed"
|
||||
GithubConfigFieldScheme = "scheme"
|
||||
GithubConfigFieldTLS = "tls"
|
||||
GithubConfigFieldType = "type"
|
||||
GithubConfigFieldUuid = "uuid"
|
||||
)
|
||||
@@ -30,7 +30,7 @@ type GithubConfig struct {
|
||||
Name string `json:"name,omitempty"`
|
||||
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"`
|
||||
Removed string `json:"removed,omitempty"`
|
||||
Scheme string `json:"scheme,omitempty"`
|
||||
TLS bool `json:"tls,omitempty"`
|
||||
Type string `json:"type,omitempty"`
|
||||
Uuid string `json:"uuid,omitempty"`
|
||||
}
|
||||
|
@@ -1,12 +0,0 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
GithubConfigTestInputType = "githubConfigTestInput"
|
||||
GithubConfigTestInputFieldEnabled = "enabled"
|
||||
GithubConfigTestInputFieldGithubConfig = "githubConfig"
|
||||
)
|
||||
|
||||
type GithubConfigTestInput struct {
|
||||
Enabled *bool `json:"enabled,omitempty"`
|
||||
GithubConfig *GithubConfig `json:"githubConfig,omitempty"`
|
||||
}
|
@@ -0,0 +1,10 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
GithubConfigTestOutputType = "githubConfigTestOutput"
|
||||
GithubConfigTestOutputFieldRedirectURL = "redirectUrl"
|
||||
)
|
||||
|
||||
type GithubConfigTestOutput struct {
|
||||
RedirectURL string `json:"redirectUrl,omitempty"`
|
||||
}
|
@@ -5,10 +5,12 @@ const (
|
||||
LocalConfigFieldAnnotations = "annotations"
|
||||
LocalConfigFieldCreated = "created"
|
||||
LocalConfigFieldCreatorID = "creatorId"
|
||||
LocalConfigFieldEnabled = "enabled"
|
||||
LocalConfigFieldLabels = "labels"
|
||||
LocalConfigFieldName = "name"
|
||||
LocalConfigFieldOwnerReferences = "ownerReferences"
|
||||
LocalConfigFieldRemoved = "removed"
|
||||
LocalConfigFieldType = "type"
|
||||
LocalConfigFieldUuid = "uuid"
|
||||
)
|
||||
|
||||
@@ -16,9 +18,11 @@ type LocalConfig struct {
|
||||
Annotations map[string]string `json:"annotations,omitempty"`
|
||||
Created string `json:"created,omitempty"`
|
||||
CreatorID string `json:"creatorId,omitempty"`
|
||||
Enabled *bool `json:"enabled,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"`
|
||||
Removed string `json:"removed,omitempty"`
|
||||
Type string `json:"type,omitempty"`
|
||||
Uuid string `json:"uuid,omitempty"`
|
||||
}
|
||||
|
@@ -19,6 +19,7 @@ const (
|
||||
PrincipalFieldOwnerReferences = "ownerReferences"
|
||||
PrincipalFieldProfilePicture = "profilePicture"
|
||||
PrincipalFieldProfileURL = "profileURL"
|
||||
PrincipalFieldProvider = "provider"
|
||||
PrincipalFieldRemoved = "removed"
|
||||
PrincipalFieldUuid = "uuid"
|
||||
)
|
||||
@@ -38,6 +39,7 @@ type Principal struct {
|
||||
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"`
|
||||
ProfilePicture string `json:"profilePicture,omitempty"`
|
||||
ProfileURL string `json:"profileURL,omitempty"`
|
||||
Provider string `json:"provider,omitempty"`
|
||||
Removed string `json:"removed,omitempty"`
|
||||
Uuid string `json:"uuid,omitempty"`
|
||||
}
|
||||
|
@@ -8,6 +8,7 @@ const (
|
||||
GithubProviderFieldLabels = "labels"
|
||||
GithubProviderFieldName = "name"
|
||||
GithubProviderFieldOwnerReferences = "ownerReferences"
|
||||
GithubProviderFieldRedirectURL = "redirectUrl"
|
||||
GithubProviderFieldRemoved = "removed"
|
||||
GithubProviderFieldType = "type"
|
||||
GithubProviderFieldUuid = "uuid"
|
||||
@@ -20,6 +21,7 @@ type GithubProvider struct {
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"`
|
||||
RedirectURL string `json:"redirectUrl,omitempty"`
|
||||
Removed string `json:"removed,omitempty"`
|
||||
Type string `json:"type,omitempty"`
|
||||
Uuid string `json:"uuid,omitempty"`
|
||||
|
Reference in New Issue
Block a user