Skip to content

Commit

Permalink
PANDARIA: go generate
Browse files Browse the repository at this point in the history
  • Loading branch information
STARRY-S committed Nov 26, 2024
1 parent 4b9d97f commit b8f42b0
Show file tree
Hide file tree
Showing 41 changed files with 1,195 additions and 200 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ const (
ActiveDirectoryConfigFieldGroupSearchFilter = "groupSearchFilter"
ActiveDirectoryConfigFieldGroupUniqueIDAttribute = "groupUniqueIdAttribute"
ActiveDirectoryConfigFieldLabels = "labels"
ActiveDirectoryConfigFieldLogoutAllSupported = "logoutAllSupported"
ActiveDirectoryConfigFieldName = "name"
ActiveDirectoryConfigFieldNestedGroupMembershipEnabled = "nestedGroupMembershipEnabled"
ActiveDirectoryConfigFieldOwnerReferences = "ownerReferences"
Expand Down Expand Up @@ -66,7 +65,6 @@ type ActiveDirectoryConfig struct {
GroupSearchFilter string `json:"groupSearchFilter,omitempty" yaml:"groupSearchFilter,omitempty"`
GroupUniqueIDAttribute string `json:"groupUniqueIdAttribute,omitempty" yaml:"groupUniqueIdAttribute,omitempty"`
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
LogoutAllSupported bool `json:"logoutAllSupported,omitempty" yaml:"logoutAllSupported,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`
NestedGroupMembershipEnabled *bool `json:"nestedGroupMembershipEnabled,omitempty" yaml:"nestedGroupMembershipEnabled,omitempty"`
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ const (
ADFSConfigFieldGroupsField = "groupsField"
ADFSConfigFieldIDPMetadataContent = "idpMetadataContent"
ADFSConfigFieldLabels = "labels"
ADFSConfigFieldLogoutAllEnabled = "logoutAllEnabled"
ADFSConfigFieldLogoutAllForced = "logoutAllForced"
ADFSConfigFieldLogoutAllSupported = "logoutAllSupported"
ADFSConfigFieldName = "name"
ADFSConfigFieldOwnerReferences = "ownerReferences"
ADFSConfigFieldRancherAPIHost = "rancherApiHost"
Expand All @@ -41,9 +38,6 @@ type ADFSConfig struct {
GroupsField string `json:"groupsField,omitempty" yaml:"groupsField,omitempty"`
IDPMetadataContent string `json:"idpMetadataContent,omitempty" yaml:"idpMetadataContent,omitempty"`
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
LogoutAllEnabled bool `json:"logoutAllEnabled,omitempty" yaml:"logoutAllEnabled,omitempty"`
LogoutAllForced bool `json:"logoutAllForced,omitempty" yaml:"logoutAllForced,omitempty"`
LogoutAllSupported bool `json:"logoutAllSupported,omitempty" yaml:"logoutAllSupported,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
RancherAPIHost string `json:"rancherApiHost,omitempty" yaml:"rancherApiHost,omitempty"`
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ const (
AuthConfigFieldCreatorID = "creatorId"
AuthConfigFieldEnabled = "enabled"
AuthConfigFieldLabels = "labels"
AuthConfigFieldLogoutAllSupported = "logoutAllSupported"
AuthConfigFieldName = "name"
AuthConfigFieldOwnerReferences = "ownerReferences"
AuthConfigFieldRemoved = "removed"
Expand All @@ -31,7 +30,6 @@ type AuthConfig struct {
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
Enabled bool `json:"enabled,omitempty" yaml:"enabled,omitempty"`
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
LogoutAllSupported bool `json:"logoutAllSupported,omitempty" yaml:"logoutAllSupported,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"`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ const (
AzureADConfigFieldGraphEndpoint = "graphEndpoint"
AzureADConfigFieldGroupMembershipFilter = "groupMembershipFilter"
AzureADConfigFieldLabels = "labels"
AzureADConfigFieldLogoutAllSupported = "logoutAllSupported"
AzureADConfigFieldName = "name"
AzureADConfigFieldOwnerReferences = "ownerReferences"
AzureADConfigFieldRancherURL = "rancherUrl"
Expand All @@ -43,7 +42,6 @@ type AzureADConfig struct {
GraphEndpoint string `json:"graphEndpoint,omitempty" yaml:"graphEndpoint,omitempty"`
GroupMembershipFilter string `json:"groupMembershipFilter,omitempty" yaml:"groupMembershipFilter,omitempty"`
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
LogoutAllSupported bool `json:"logoutAllSupported,omitempty" yaml:"logoutAllSupported,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
RancherURL string `json:"rancherUrl,omitempty" yaml:"rancherUrl,omitempty"`
Expand Down
12 changes: 0 additions & 12 deletions clients/rancher/generated/management/v3/zz_generated_basic_auth.go

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ const (
ClusterFieldDriver = "driver"
ClusterFieldEKSConfig = "eksConfig"
ClusterFieldEKSStatus = "eksStatus"
ClusterFieldEnableClusterAlerting = "enableClusterAlerting"
ClusterFieldEnableClusterMonitoring = "enableClusterMonitoring"
ClusterFieldEnableGPUManagement = "enableGPUManagement"
ClusterFieldEnableNetworkPolicy = "enableNetworkPolicy"
ClusterFieldExternalFlags = "externalFlags"
Expand Down Expand Up @@ -143,8 +141,6 @@ type Cluster struct {
Driver string `json:"driver,omitempty" yaml:"driver,omitempty"`
EKSConfig *EKSClusterConfigSpec `json:"eksConfig,omitempty" yaml:"eksConfig,omitempty"`
EKSStatus *EKSStatus `json:"eksStatus,omitempty" yaml:"eksStatus,omitempty"`
EnableClusterAlerting bool `json:"enableClusterAlerting,omitempty" yaml:"enableClusterAlerting,omitempty"`
EnableClusterMonitoring bool `json:"enableClusterMonitoring,omitempty" yaml:"enableClusterMonitoring,omitempty"`
EnableGPUManagement bool `json:"enableGPUManagement,omitempty" yaml:"enableGPUManagement,omitempty"`
EnableNetworkPolicy *bool `json:"enableNetworkPolicy,omitempty" yaml:"enableNetworkPolicy,omitempty"`
ExternalFlags *ExternalFlags `json:"externalFlags,omitempty" yaml:"externalFlags,omitempty"`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ const (
ClusterSpecFieldDisplayName = "displayName"
ClusterSpecFieldDockerRootDir = "dockerRootDir"
ClusterSpecFieldEKSConfig = "eksConfig"
ClusterSpecFieldEnableClusterAlerting = "enableClusterAlerting"
ClusterSpecFieldEnableClusterMonitoring = "enableClusterMonitoring"
ClusterSpecFieldEnableGPUManagement = "enableGPUManagement"
ClusterSpecFieldEnableNetworkPolicy = "enableNetworkPolicy"
ClusterSpecFieldExternalFlags = "externalFlags"
Expand Down Expand Up @@ -67,8 +65,6 @@ type ClusterSpec struct {
DisplayName string `json:"displayName,omitempty" yaml:"displayName,omitempty"`
DockerRootDir string `json:"dockerRootDir,omitempty" yaml:"dockerRootDir,omitempty"`
EKSConfig *EKSClusterConfigSpec `json:"eksConfig,omitempty" yaml:"eksConfig,omitempty"`
EnableClusterAlerting bool `json:"enableClusterAlerting,omitempty" yaml:"enableClusterAlerting,omitempty"`
EnableClusterMonitoring bool `json:"enableClusterMonitoring,omitempty" yaml:"enableClusterMonitoring,omitempty"`
EnableGPUManagement bool `json:"enableGPUManagement,omitempty" yaml:"enableGPUManagement,omitempty"`
EnableNetworkPolicy *bool `json:"enableNetworkPolicy,omitempty" yaml:"enableNetworkPolicy,omitempty"`
ExternalFlags *ExternalFlags `json:"externalFlags,omitempty" yaml:"externalFlags,omitempty"`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ const (
ClusterSpecBaseFieldDesiredAgentImage = "desiredAgentImage"
ClusterSpecBaseFieldDesiredAuthImage = "desiredAuthImage"
ClusterSpecBaseFieldDockerRootDir = "dockerRootDir"
ClusterSpecBaseFieldEnableClusterAlerting = "enableClusterAlerting"
ClusterSpecBaseFieldEnableClusterMonitoring = "enableClusterMonitoring"
ClusterSpecBaseFieldEnableGPUManagement = "enableGPUManagement"
ClusterSpecBaseFieldEnableNetworkPolicy = "enableNetworkPolicy"
ClusterSpecBaseFieldFleetAgentDeploymentCustomization = "fleetAgentDeploymentCustomization"
Expand All @@ -33,8 +31,6 @@ type ClusterSpecBase struct {
DesiredAgentImage string `json:"desiredAgentImage,omitempty" yaml:"desiredAgentImage,omitempty"`
DesiredAuthImage string `json:"desiredAuthImage,omitempty" yaml:"desiredAuthImage,omitempty"`
DockerRootDir string `json:"dockerRootDir,omitempty" yaml:"dockerRootDir,omitempty"`
EnableClusterAlerting bool `json:"enableClusterAlerting,omitempty" yaml:"enableClusterAlerting,omitempty"`
EnableClusterMonitoring bool `json:"enableClusterMonitoring,omitempty" yaml:"enableClusterMonitoring,omitempty"`
EnableGPUManagement bool `json:"enableGPUManagement,omitempty" yaml:"enableGPUManagement,omitempty"`
EnableNetworkPolicy *bool `json:"enableNetworkPolicy,omitempty" yaml:"enableNetworkPolicy,omitempty"`
FleetAgentDeploymentCustomization *AgentDeploymentCustomization `json:"fleetAgentDeploymentCustomization,omitempty" yaml:"fleetAgentDeploymentCustomization,omitempty"`
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ const (
FreeIpaConfigFieldGroupSearchFilter = "groupSearchFilter"
FreeIpaConfigFieldGroupUniqueIDAttribute = "groupUniqueIdAttribute"
FreeIpaConfigFieldLabels = "labels"
FreeIpaConfigFieldLogoutAllSupported = "logoutAllSupported"
FreeIpaConfigFieldName = "name"
FreeIpaConfigFieldOwnerReferences = "ownerReferences"
FreeIpaConfigFieldPort = "port"
Expand Down Expand Up @@ -64,7 +63,6 @@ type FreeIpaConfig struct {
GroupSearchFilter string `json:"groupSearchFilter,omitempty" yaml:"groupSearchFilter,omitempty"`
GroupUniqueIDAttribute string `json:"groupUniqueIdAttribute,omitempty" yaml:"groupUniqueIdAttribute,omitempty"`
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
LogoutAllSupported bool `json:"logoutAllSupported,omitempty" yaml:"logoutAllSupported,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
Port int64 `json:"port,omitempty" yaml:"port,omitempty"`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ const (
GithubConfigFieldHostname = "hostname"
GithubConfigFieldHostnameToClientID = "hostnameToClientId"
GithubConfigFieldLabels = "labels"
GithubConfigFieldLogoutAllSupported = "logoutAllSupported"
GithubConfigFieldName = "name"
GithubConfigFieldOwnerReferences = "ownerReferences"
GithubConfigFieldRemoved = "removed"
Expand All @@ -37,7 +36,6 @@ type GithubConfig struct {
Hostname string `json:"hostname,omitempty" yaml:"hostname,omitempty"`
HostnameToClientID map[string]string `json:"hostnameToClientId,omitempty" yaml:"hostnameToClientId,omitempty"`
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
LogoutAllSupported bool `json:"logoutAllSupported,omitempty" yaml:"logoutAllSupported,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"`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ const (
GoogleOauthConfigFieldEnabled = "enabled"
GoogleOauthConfigFieldHostname = "hostname"
GoogleOauthConfigFieldLabels = "labels"
GoogleOauthConfigFieldLogoutAllSupported = "logoutAllSupported"
GoogleOauthConfigFieldName = "name"
GoogleOauthConfigFieldNestedGroupMembershipEnabled = "nestedGroupMembershipEnabled"
GoogleOauthConfigFieldOauthCredential = "oauthCredential"
Expand All @@ -34,7 +33,6 @@ type GoogleOauthConfig struct {
Enabled bool `json:"enabled,omitempty" yaml:"enabled,omitempty"`
Hostname string `json:"hostname,omitempty" yaml:"hostname,omitempty"`
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
LogoutAllSupported bool `json:"logoutAllSupported,omitempty" yaml:"logoutAllSupported,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`
NestedGroupMembershipEnabled bool `json:"nestedGroupMembershipEnabled,omitempty" yaml:"nestedGroupMembershipEnabled,omitempty"`
OauthCredential string `json:"oauthCredential,omitempty" yaml:"oauthCredential,omitempty"`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ const (
KeyCloakConfigFieldGroupsField = "groupsField"
KeyCloakConfigFieldIDPMetadataContent = "idpMetadataContent"
KeyCloakConfigFieldLabels = "labels"
KeyCloakConfigFieldLogoutAllEnabled = "logoutAllEnabled"
KeyCloakConfigFieldLogoutAllForced = "logoutAllForced"
KeyCloakConfigFieldLogoutAllSupported = "logoutAllSupported"
KeyCloakConfigFieldName = "name"
KeyCloakConfigFieldOwnerReferences = "ownerReferences"
KeyCloakConfigFieldRancherAPIHost = "rancherApiHost"
Expand All @@ -41,9 +38,6 @@ type KeyCloakConfig struct {
GroupsField string `json:"groupsField,omitempty" yaml:"groupsField,omitempty"`
IDPMetadataContent string `json:"idpMetadataContent,omitempty" yaml:"idpMetadataContent,omitempty"`
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
LogoutAllEnabled bool `json:"logoutAllEnabled,omitempty" yaml:"logoutAllEnabled,omitempty"`
LogoutAllForced bool `json:"logoutAllForced,omitempty" yaml:"logoutAllForced,omitempty"`
LogoutAllSupported bool `json:"logoutAllSupported,omitempty" yaml:"logoutAllSupported,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
RancherAPIHost string `json:"rancherApiHost,omitempty" yaml:"rancherApiHost,omitempty"`
Expand Down
Loading

0 comments on commit b8f42b0

Please sign in to comment.