feat:multi cluster application
This commit is contained in:
114
vendor/openpitrix.io/openpitrix/pkg/constants/column.go
generated
vendored
114
vendor/openpitrix.io/openpitrix/pkg/constants/column.go
generated
vendored
@@ -4,6 +4,108 @@
|
||||
|
||||
package constants
|
||||
|
||||
var Fields = []string{
|
||||
"app_id",
|
||||
"category_id",
|
||||
"chart_name",
|
||||
"cluster_id",
|
||||
"cluster_type",
|
||||
"create_time",
|
||||
"credential",
|
||||
"description",
|
||||
"executor",
|
||||
"frontgate_id",
|
||||
"home",
|
||||
"icon",
|
||||
"instance_id",
|
||||
"job_action",
|
||||
"job_id",
|
||||
"keywords",
|
||||
"label_key",
|
||||
"label_value",
|
||||
"locale",
|
||||
"maintainers",
|
||||
"name",
|
||||
"node_id",
|
||||
"key_pair_id",
|
||||
"owner",
|
||||
"owner_path",
|
||||
"package_name",
|
||||
"private_ip",
|
||||
"provider",
|
||||
"readme",
|
||||
"repo_event_id",
|
||||
"repo_id",
|
||||
"repo_label_id",
|
||||
"repo_selector_id",
|
||||
"resource_id",
|
||||
"role",
|
||||
"runtime_id",
|
||||
"runtime_credential_id",
|
||||
"runtime_url",
|
||||
"debug",
|
||||
"runtime_label_id",
|
||||
"screenshots",
|
||||
"selector_key",
|
||||
"selector_value",
|
||||
"sequence",
|
||||
"sources",
|
||||
"status",
|
||||
"status_time",
|
||||
"target",
|
||||
"task_action",
|
||||
"task_id",
|
||||
"transition_status",
|
||||
"type",
|
||||
"update_time",
|
||||
"url",
|
||||
"version_id",
|
||||
"visibility",
|
||||
"volume_id",
|
||||
"zone",
|
||||
"vpc_id",
|
||||
"env",
|
||||
"loadbalancer_listener_id",
|
||||
"result",
|
||||
"directive",
|
||||
"runtime_credential_content",
|
||||
"user_id",
|
||||
"group_id",
|
||||
"reset_id",
|
||||
"password",
|
||||
"email",
|
||||
"client_id",
|
||||
"client_secret",
|
||||
"refresh_token",
|
||||
"access_token",
|
||||
"token_id",
|
||||
"scope",
|
||||
"username",
|
||||
"attachment_id",
|
||||
"message",
|
||||
"app_default_status",
|
||||
"market_id",
|
||||
"controller",
|
||||
"active",
|
||||
"operator",
|
||||
"review_id",
|
||||
"phase",
|
||||
"reviewer",
|
||||
"company_name",
|
||||
"company_website",
|
||||
"company_profile",
|
||||
"authorizer_name",
|
||||
"authorizer_email",
|
||||
"authorizer_phone",
|
||||
"bank_name",
|
||||
"bank_account_name",
|
||||
"bank_account_number",
|
||||
"reject_message",
|
||||
"submit_time",
|
||||
"approver",
|
||||
"isv",
|
||||
}
|
||||
|
||||
const (
|
||||
ColumnAppId = "app_id"
|
||||
ColumnCategoryId = "category_id"
|
||||
@@ -144,7 +246,7 @@ var IndexedColumns = map[string][]string{
|
||||
ColumnAppDefaultStatus, ColumnOwner, ColumnController,
|
||||
},
|
||||
TableRuntime: {
|
||||
ColumnRuntimeId, ColumnProvider, ColumnZone, ColumnStatus, ColumnOwner,
|
||||
ColumnRuntimeId, ColumnProvider, ColumnZone, ColumnStatus, ColumnOwner, ColumnRuntimeCredentialId,
|
||||
},
|
||||
TableRuntimeCredential: {
|
||||
ColumnRuntimeCredentialId, ColumnStatus, ColumnProvider, ColumnOwner,
|
||||
@@ -193,6 +295,7 @@ var SearchWordColumnTable = []string{
|
||||
TableRuntimeCredential,
|
||||
TableApp,
|
||||
TableAppVersion,
|
||||
TableAppVersionReview,
|
||||
TableRepo,
|
||||
TableJob,
|
||||
TableTask,
|
||||
@@ -210,6 +313,15 @@ var SearchColumns = map[string][]string{
|
||||
TableAppVersion: {
|
||||
ColumnVersionId, ColumnAppId, ColumnName, ColumnDescription, ColumnOwner, ColumnPackageName,
|
||||
},
|
||||
TableAppVersionReview: {
|
||||
TableAppVersionReview + "." + ColumnReviewId,
|
||||
TableAppVersionReview + "." + ColumnVersionId,
|
||||
TableAppVersionReview + "." + ColumnAppId,
|
||||
TableAppVersionReview + "." + ColumnOwner,
|
||||
"app.name",
|
||||
"app_version.name",
|
||||
"app.isv",
|
||||
},
|
||||
TableJob: {
|
||||
ColumnJobId, ColumnClusterId, ColumnOwner, ColumnJobAction, ColumnExecutor, ColumnProvider, ColumnExecutor, ColumnProvider,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user