1
0
mirror of https://github.com/rancher/types.git synced 2025-08-31 12:48:45 +00:00

run go generate

This commit is contained in:
carolyn
2018-05-15 12:57:02 -07:00
committed by Craig Jellick
parent 398db1812c
commit b0633c4115
5 changed files with 171 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
package client
const (
AzureADConfigType = "azureADConfig"
AzureADConfigFieldAccessMode = "accessMode"
AzureADConfigFieldAdminAccountPassword = "adminAccountPassword"
AzureADConfigFieldAdminAccountUsername = "adminAccountUsername"
AzureADConfigFieldAllowedPrincipalIDs = "allowedPrincipalIds"
AzureADConfigFieldAnnotations = "annotations"
AzureADConfigFieldClientID = "clientId"
AzureADConfigFieldClientSecret = "clientSecret"
AzureADConfigFieldCreated = "created"
AzureADConfigFieldCreatorID = "creatorId"
AzureADConfigFieldDomain = "domain"
AzureADConfigFieldEnabled = "enabled"
AzureADConfigFieldLabels = "labels"
AzureADConfigFieldName = "name"
AzureADConfigFieldOwnerReferences = "ownerReferences"
AzureADConfigFieldRemoved = "removed"
AzureADConfigFieldTenantID = "tenantId"
AzureADConfigFieldType = "type"
AzureADConfigFieldUuid = "uuid"
)
type AzureADConfig struct {
AccessMode string `json:"accessMode,omitempty" yaml:"accessMode,omitempty"`
AdminAccountPassword string `json:"adminAccountPassword,omitempty" yaml:"adminAccountPassword,omitempty"`
AdminAccountUsername string `json:"adminAccountUsername,omitempty" yaml:"adminAccountUsername,omitempty"`
AllowedPrincipalIDs []string `json:"allowedPrincipalIds,omitempty" yaml:"allowedPrincipalIds,omitempty"`
Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"`
ClientID string `json:"clientId,omitempty" yaml:"clientId,omitempty"`
ClientSecret string `json:"clientSecret,omitempty" yaml:"clientSecret,omitempty"`
Created string `json:"created,omitempty" yaml:"created,omitempty"`
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
Domain string `json:"domain,omitempty" yaml:"domain,omitempty"`
Enabled bool `json:"enabled,omitempty" yaml:"enabled,omitempty"`
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
Removed string `json:"removed,omitempty" yaml:"removed,omitempty"`
TenantID string `json:"tenantId,omitempty" yaml:"tenantId,omitempty"`
Type string `json:"type,omitempty" yaml:"type,omitempty"`
Uuid string `json:"uuid,omitempty" yaml:"uuid,omitempty"`
}

View File

@@ -0,0 +1,16 @@
package client
const (
AzureADTestAndApplyInputType = "azureADTestAndApplyInput"
AzureADTestAndApplyInputFieldAzureADConfig = "azureAdConfig"
AzureADTestAndApplyInputFieldEnabled = "enabled"
AzureADTestAndApplyInputFieldPassword = "password"
AzureADTestAndApplyInputFieldUsername = "username"
)
type AzureADTestAndApplyInput struct {
AzureADConfig *AzureADConfig `json:"azureAdConfig,omitempty" yaml:"azureAdConfig,omitempty"`
Enabled bool `json:"enabled,omitempty" yaml:"enabled,omitempty"`
Password string `json:"password,omitempty" yaml:"password,omitempty"`
Username string `json:"username,omitempty" yaml:"username,omitempty"`
}

View File

@@ -0,0 +1,26 @@
package client
const (
AzureADProviderType = "azureADProvider"
AzureADProviderFieldAnnotations = "annotations"
AzureADProviderFieldCreated = "created"
AzureADProviderFieldCreatorID = "creatorId"
AzureADProviderFieldLabels = "labels"
AzureADProviderFieldName = "name"
AzureADProviderFieldOwnerReferences = "ownerReferences"
AzureADProviderFieldRemoved = "removed"
AzureADProviderFieldType = "type"
AzureADProviderFieldUuid = "uuid"
)
type AzureADProvider struct {
Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"`
Created string `json:"created,omitempty" yaml:"created,omitempty"`
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
Removed string `json:"removed,omitempty" yaml:"removed,omitempty"`
Type string `json:"type,omitempty" yaml:"type,omitempty"`
Uuid string `json:"uuid,omitempty" yaml:"uuid,omitempty"`
}