forms

package
v1.21.0-rc.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatusVeryHigh = "very_high" // 非常高,要扩容
	StatusHigh     = "high"      // 高,要扩容
	StatusLow      = "low"       // 低,要缩容

	ColorYellow = "yellow"
	ColorRed    = "red"

	Ki = 1 << 10 // 1024
	Mi = 1 << 20
	Gi = 1 << 30
)

Variables

This section is empty.

Functions

func Convert_ApplicationCommon_Application

func Convert_ApplicationCommon_Application(f *ApplicationCommon) *orm.Application

func Convert_ApplicationCommon_Application_slice

func Convert_ApplicationCommon_Application_slice(arr []*ApplicationCommon) []*orm.Application

func Convert_ApplicationDetail_Application

func Convert_ApplicationDetail_Application(f *ApplicationDetail) *orm.Application

func Convert_ApplicationDetail_Application_slice

func Convert_ApplicationDetail_Application_slice(arr []*ApplicationDetail) []*orm.Application

func Convert_AuditLogCommon_AuditLog

func Convert_AuditLogCommon_AuditLog(f *AuditLogCommon) *orm.AuditLog

func Convert_AuditLogCommon_AuditLog_slice

func Convert_AuditLogCommon_AuditLog_slice(arr []*AuditLogCommon) []*orm.AuditLog

func Convert_AuthSourceCommon_AuthSource

func Convert_AuthSourceCommon_AuthSource(f *AuthSourceCommon) *orm.AuthSource

func Convert_AuthSourceCommon_AuthSource_slice

func Convert_AuthSourceCommon_AuthSource_slice(arr []*AuthSourceCommon) []*orm.AuthSource

func Convert_ChartRepoCommon_ChartRepo

func Convert_ChartRepoCommon_ChartRepo(f *ChartRepoCommon) *orm.ChartRepo

func Convert_ChartRepoCommon_ChartRepo_slice

func Convert_ChartRepoCommon_ChartRepo_slice(arr []*ChartRepoCommon) []*orm.ChartRepo

func Convert_ClusterCommon_Cluster

func Convert_ClusterCommon_Cluster(f *ClusterCommon) *orm.Cluster

func Convert_ClusterCommon_Cluster_slice

func Convert_ClusterCommon_Cluster_slice(arr []*ClusterCommon) []*orm.Cluster

func Convert_ClusterDetail_Cluster

func Convert_ClusterDetail_Cluster(f *ClusterDetail) *orm.Cluster

func Convert_ClusterDetail_Cluster_slice

func Convert_ClusterDetail_Cluster_slice(arr []*ClusterDetail) []*orm.Cluster

func Convert_ContainerCommon_Container

func Convert_ContainerCommon_Container(f *ContainerCommon) *orm.Container

func Convert_ContainerCommon_Container_slice

func Convert_ContainerCommon_Container_slice(arr []*ContainerCommon) []*orm.Container

func Convert_EnvironmentCommon_Environment

func Convert_EnvironmentCommon_Environment(f *EnvironmentCommon) *orm.Environment

func Convert_EnvironmentCommon_Environment_slice

func Convert_EnvironmentCommon_Environment_slice(arr []*EnvironmentCommon) []*orm.Environment

func Convert_EnvironmentDetail_Environment

func Convert_EnvironmentDetail_Environment(f *EnvironmentDetail) *orm.Environment

func Convert_EnvironmentDetail_Environment_slice

func Convert_EnvironmentDetail_Environment_slice(arr []*EnvironmentDetail) []*orm.Environment

func Convert_EnvironmentResourceCommon_EnvironmentResource

func Convert_EnvironmentResourceCommon_EnvironmentResource(f *EnvironmentResourceCommon) *orm.EnvironmentResource

func Convert_EnvironmentResourceCommon_EnvironmentResource_slice

func Convert_EnvironmentResourceCommon_EnvironmentResource_slice(arr []*EnvironmentResourceCommon) []*orm.EnvironmentResource

func Convert_EnvironmentUserRelCommon_EnvironmentUserRel

func Convert_EnvironmentUserRelCommon_EnvironmentUserRel(f *EnvironmentUserRelCommon) *orm.EnvironmentUserRel

func Convert_EnvironmentUserRelCommon_EnvironmentUserRel_slice

func Convert_EnvironmentUserRelCommon_EnvironmentUserRel_slice(arr []*EnvironmentUserRelCommon) []*orm.EnvironmentUserRel

func Convert_LogQueryHistoryCommon_LogQueryHistory

func Convert_LogQueryHistoryCommon_LogQueryHistory(f *LogQueryHistoryCommon) *orm.LogQueryHistory

func Convert_LogQueryHistoryCommon_LogQueryHistory_slice

func Convert_LogQueryHistoryCommon_LogQueryHistory_slice(arr []*LogQueryHistoryCommon) []*orm.LogQueryHistory

func Convert_LogQuerySnapshotCommon_LogQuerySnapshot

func Convert_LogQuerySnapshotCommon_LogQuerySnapshot(f *LogQuerySnapshotCommon) *orm.LogQuerySnapshot

func Convert_LogQuerySnapshotCommon_LogQuerySnapshot_slice

func Convert_LogQuerySnapshotCommon_LogQuerySnapshot_slice(arr []*LogQuerySnapshotCommon) []*orm.LogQuerySnapshot

func Convert_MessageCommon_Message

func Convert_MessageCommon_Message(f *MessageCommon) *orm.Message

func Convert_MessageCommon_Message_slice

func Convert_MessageCommon_Message_slice(arr []*MessageCommon) []*orm.Message

func Convert_OpenAPPCommon_OpenAPP

func Convert_OpenAPPCommon_OpenAPP(f *OpenAPPCommon) *orm.OpenAPP

func Convert_OpenAPPCommon_OpenAPP_slice

func Convert_OpenAPPCommon_OpenAPP_slice(arr []*OpenAPPCommon) []*orm.OpenAPP

func Convert_OpenAPPDetail_OpenAPP

func Convert_OpenAPPDetail_OpenAPP(f *OpenAPPDetail) *orm.OpenAPP

func Convert_OpenAPPDetail_OpenAPP_slice

func Convert_OpenAPPDetail_OpenAPP_slice(arr []*OpenAPPDetail) []*orm.OpenAPP

func Convert_ProjectCommon_Project

func Convert_ProjectCommon_Project(f *ProjectCommon) *orm.Project

func Convert_ProjectCommon_Project_slice

func Convert_ProjectCommon_Project_slice(arr []*ProjectCommon) []*orm.Project

func Convert_ProjectDetail_Project

func Convert_ProjectDetail_Project(f *ProjectDetail) *orm.Project

func Convert_ProjectDetail_Project_slice

func Convert_ProjectDetail_Project_slice(arr []*ProjectDetail) []*orm.Project

func Convert_ProjectUserRelCommon_ProjectUserRel

func Convert_ProjectUserRelCommon_ProjectUserRel(f *ProjectUserRelCommon) *orm.ProjectUserRel

func Convert_ProjectUserRelCommon_ProjectUserRel_slice

func Convert_ProjectUserRelCommon_ProjectUserRel_slice(arr []*ProjectUserRelCommon) []*orm.ProjectUserRel

func Convert_RegistryCommon_Registry

func Convert_RegistryCommon_Registry(f *RegistryCommon) *orm.Registry

func Convert_RegistryCommon_Registry_slice

func Convert_RegistryCommon_Registry_slice(arr []*RegistryCommon) []*orm.Registry

func Convert_RegistryDetail_Registry

func Convert_RegistryDetail_Registry(f *RegistryDetail) *orm.Registry

func Convert_RegistryDetail_Registry_slice

func Convert_RegistryDetail_Registry_slice(arr []*RegistryDetail) []*orm.Registry

func Convert_SystemRoleCommon_SystemRole

func Convert_SystemRoleCommon_SystemRole(f *SystemRoleCommon) *orm.SystemRole

func Convert_SystemRoleCommon_SystemRole_slice

func Convert_SystemRoleCommon_SystemRole_slice(arr []*SystemRoleCommon) []*orm.SystemRole

func Convert_SystemRoleDetail_SystemRole

func Convert_SystemRoleDetail_SystemRole(f *SystemRoleDetail) *orm.SystemRole

func Convert_SystemRoleDetail_SystemRole_slice

func Convert_SystemRoleDetail_SystemRole_slice(arr []*SystemRoleDetail) []*orm.SystemRole

func Convert_TenantCommon_Tenant

func Convert_TenantCommon_Tenant(f *TenantCommon) *orm.Tenant

func Convert_TenantCommon_Tenant_slice

func Convert_TenantCommon_Tenant_slice(arr []*TenantCommon) []*orm.Tenant

func Convert_TenantDetail_Tenant

func Convert_TenantDetail_Tenant(f *TenantDetail) *orm.Tenant

func Convert_TenantDetail_Tenant_slice

func Convert_TenantDetail_Tenant_slice(arr []*TenantDetail) []*orm.Tenant

func Convert_TenantResourceQuotaApplyCommon_TenantResourceQuotaApply

func Convert_TenantResourceQuotaApplyCommon_TenantResourceQuotaApply(f *TenantResourceQuotaApplyCommon) *orm.TenantResourceQuotaApply

func Convert_TenantResourceQuotaApplyCommon_TenantResourceQuotaApply_slice

func Convert_TenantResourceQuotaApplyCommon_TenantResourceQuotaApply_slice(arr []*TenantResourceQuotaApplyCommon) []*orm.TenantResourceQuotaApply

func Convert_TenantResourceQuotaCommon_TenantResourceQuota

func Convert_TenantResourceQuotaCommon_TenantResourceQuota(f *TenantResourceQuotaCommon) *orm.TenantResourceQuota

func Convert_TenantResourceQuotaCommon_TenantResourceQuota_slice

func Convert_TenantResourceQuotaCommon_TenantResourceQuota_slice(arr []*TenantResourceQuotaCommon) []*orm.TenantResourceQuota

func Convert_TenantUserRelCommon_TenantUserRel

func Convert_TenantUserRelCommon_TenantUserRel(f *TenantUserRelCommon) *orm.TenantUserRel

func Convert_TenantUserRelCommon_TenantUserRel_slice

func Convert_TenantUserRelCommon_TenantUserRel_slice(arr []*TenantUserRelCommon) []*orm.TenantUserRel

func Convert_UserCommon_User

func Convert_UserCommon_User(f *UserCommon) *orm.User

func Convert_UserCommon_User_slice

func Convert_UserCommon_User_slice(arr []*UserCommon) []*orm.User

func Convert_UserDetail_User

func Convert_UserDetail_User(f *UserDetail) *orm.User

func Convert_UserDetail_User_slice

func Convert_UserDetail_User_slice(arr []*UserDetail) []*orm.User

func Convert_UserInternal_User

func Convert_UserInternal_User(f *UserInternal) *orm.User

func Convert_UserInternal_User_slice

func Convert_UserInternal_User_slice(arr []*UserInternal) []*orm.User

func Convert_UserMessageStatusCommon_UserMessageStatus

func Convert_UserMessageStatusCommon_UserMessageStatus(f *UserMessageStatusCommon) *orm.UserMessageStatus

func Convert_UserMessageStatusCommon_UserMessageStatus_slice

func Convert_UserMessageStatusCommon_UserMessageStatus_slice(arr []*UserMessageStatusCommon) []*orm.UserMessageStatus

func Convert_UserSetting_User

func Convert_UserSetting_User(f *UserSetting) *orm.User

func Convert_UserSetting_User_slice

func Convert_UserSetting_User_slice(arr []*UserSetting) []*orm.User

func Convert_VirtualDomainCommon_VirtualDomain

func Convert_VirtualDomainCommon_VirtualDomain(f *VirtualDomainCommon) *orm.VirtualDomain

func Convert_VirtualDomainCommon_VirtualDomain_slice

func Convert_VirtualDomainCommon_VirtualDomain_slice(arr []*VirtualDomainCommon) []*orm.VirtualDomain

func Convert_VirtualSpaceCommon_VirtualSpace

func Convert_VirtualSpaceCommon_VirtualSpace(f *VirtualSpaceCommon) *orm.VirtualSpace

func Convert_VirtualSpaceCommon_VirtualSpace_slice

func Convert_VirtualSpaceCommon_VirtualSpace_slice(arr []*VirtualSpaceCommon) []*orm.VirtualSpace

func Convert_VirtualSpaceUserRelCommon_VirtualSpaceUserRel

func Convert_VirtualSpaceUserRelCommon_VirtualSpaceUserRel(f *VirtualSpaceUserRelCommon) *orm.VirtualSpaceUserRel

func Convert_VirtualSpaceUserRelCommon_VirtualSpaceUserRel_slice

func Convert_VirtualSpaceUserRelCommon_VirtualSpaceUserRel_slice(arr []*VirtualSpaceUserRelCommon) []*orm.VirtualSpaceUserRel

func Convert_WorkloadCommon_Workload

func Convert_WorkloadCommon_Workload(f *WorkloadCommon) *orm.Workload

func Convert_WorkloadCommon_Workload_slice

func Convert_WorkloadCommon_Workload_slice(arr []*WorkloadCommon) []*orm.Workload

Types

type ApplicationCommon

type ApplicationCommon struct {
	BaseForm
	ID        uint       `json:"id,omitempty"`
	Name      string     `json:"name,omitempty"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

+genform object:Application

func Convert_Application_ApplicationCommon

func Convert_Application_ApplicationCommon(f *orm.Application) *ApplicationCommon

func Convert_Application_ApplicationCommon_slice

func Convert_Application_ApplicationCommon_slice(arr []*orm.Application) []*ApplicationCommon

func (*ApplicationCommon) Data

func (*ApplicationCommon) DataPtr

func (u *ApplicationCommon) DataPtr() interface{}

func (*ApplicationCommon) Object

func (r *ApplicationCommon) Object() client.Object

type ApplicationCommonList

type ApplicationCommonList struct {
	BaseListForm
	Items []*ApplicationCommon
}

func (*ApplicationCommonList) Data

func (*ApplicationCommonList) DataPtr

func (ul *ApplicationCommonList) DataPtr() interface{}

func (*ApplicationCommonList) Object

type ApplicationDetail

type ApplicationDetail struct {
	BaseForm
	ID            uint               `json:"id,omitempty"`
	Name          string             `json:"name,omitempty"`
	CreatedAt     *time.Time         `json:"createdAt,omitempty"`
	UpdatedAt     *time.Time         `json:"updatedAt,omitempty"`
	Environment   *EnvironmentCommon `json:"environment,omitempty"`
	EnvironmentID *uint              `json:"environmentID,omitempty"`
	Project       *ProjectCommon     `json:"project,omitempty"`
	ProjectID     uint               `json:"projectID,omitempty"`
	Manifest      datatypes.JSON     `json:"manifest,omitempty"` // 应用manifest
	Remark        string             `json:"remark,omitempty"`   // 备注
	Kind          string             `json:"kind,omitempty"`     // 类型
	Enabled       bool               `json:"enabled,omitempty"`  // 激活状态
	Images        datatypes.JSON     `json:"images,omitempty"`   // 镜像,逗号分割
	Labels        datatypes.JSON     `json:"labels,omitempty"`   // Label
	Creator       string             `json:"creator,omitempty"`  // 创建人
}

+genform object:Application

func Convert_Application_ApplicationDetail

func Convert_Application_ApplicationDetail(f *orm.Application) *ApplicationDetail

func Convert_Application_ApplicationDetail_slice

func Convert_Application_ApplicationDetail_slice(arr []*orm.Application) []*ApplicationDetail

func (*ApplicationDetail) Data

func (*ApplicationDetail) DataPtr

func (u *ApplicationDetail) DataPtr() interface{}

func (*ApplicationDetail) Object

func (r *ApplicationDetail) Object() client.Object

type ApplicationDetailList

type ApplicationDetailList struct {
	BaseListForm
	Items []*ApplicationDetail
}

func (*ApplicationDetailList) Data

func (*ApplicationDetailList) DataPtr

func (ul *ApplicationDetailList) DataPtr() interface{}

func (*ApplicationDetailList) Object

type AuditLogCommon

type AuditLogCommon struct {
	BaseForm
	ID        uint           `json:"id,omitempty"`
	CreatedAt *time.Time     `json:"createdAt,omitempty"`
	UpdatedAt *time.Time     `json:"updatedAt,omitempty"`
	DeletedAt gorm.DeletedAt `json:"deletedAt,omitempty"`
	Username  string         `json:"username,omitempty"`
	Tenant    string         `json:"tenant,omitempty"`
	Module    string         `json:"module,omitempty"`
	Name      string         `json:"name,omitempty"`
	Action    string         `json:"action,omitempty"`
	Success   bool           `json:"success,omitempty"`
	ClientIP  string         `json:"clientIP,omitempty"`
	Labels    datatypes.JSON `json:"labels,omitempty"`
	RawData   datatypes.JSON `json:"rawData,omitempty"`
}

+genform object:AuditLog

func Convert_AuditLog_AuditLogCommon

func Convert_AuditLog_AuditLogCommon(f *orm.AuditLog) *AuditLogCommon

func Convert_AuditLog_AuditLogCommon_slice

func Convert_AuditLog_AuditLogCommon_slice(arr []*orm.AuditLog) []*AuditLogCommon

func (*AuditLogCommon) Data

func (u *AuditLogCommon) Data() *AuditLogCommon

func (*AuditLogCommon) DataPtr

func (u *AuditLogCommon) DataPtr() interface{}

func (*AuditLogCommon) Object

func (r *AuditLogCommon) Object() client.Object

type AuditLogCommonList

type AuditLogCommonList struct {
	BaseListForm
	Items []*AuditLogCommon
}

func (*AuditLogCommonList) Data

func (ul *AuditLogCommonList) Data() []*AuditLogCommon

func (*AuditLogCommonList) DataPtr

func (ul *AuditLogCommonList) DataPtr() interface{}

func (*AuditLogCommonList) Object

type AuthSourceCommon

type AuthSourceCommon struct {
	BaseForm
	ID        uint           `json:"id"`
	Name      string         `json:"name"` // auth plugin name
	Kind      string         `json:"kind"` // ldap, oauth
	TokenType string         `json:"tokenType"`
	Config    datatypes.JSON `json:"config"`
	Enabled   bool           `json:"enabled"`
	CreatedAt *time.Time     `json:"createAt"`
	UpdatedAt *time.Time     `json:"updateAt"`
}

+genform object:AuthSource

func Convert_AuthSource_AuthSourceCommon

func Convert_AuthSource_AuthSourceCommon(f *orm.AuthSource) *AuthSourceCommon

func Convert_AuthSource_AuthSourceCommon_slice

func Convert_AuthSource_AuthSourceCommon_slice(arr []*orm.AuthSource) []*AuthSourceCommon

func (*AuthSourceCommon) Data

func (*AuthSourceCommon) DataPtr

func (u *AuthSourceCommon) DataPtr() interface{}

func (*AuthSourceCommon) Object

func (r *AuthSourceCommon) Object() client.Object

type AuthSourceCommonList

type AuthSourceCommonList struct {
	BaseListForm
	Items []*AuthSourceCommon
}

func (*AuthSourceCommonList) Data

func (ul *AuthSourceCommonList) Data() []*AuthSourceCommon

func (*AuthSourceCommonList) DataPtr

func (ul *AuthSourceCommonList) DataPtr() interface{}

func (*AuthSourceCommonList) Object

type BaseForm

type BaseForm struct {
	// contains filtered or unexported fields
}

type BaseListForm

type BaseListForm struct {
	// contains filtered or unexported fields
}

type CPUMemoryStatus

type CPUMemoryStatus struct {
	CurrentRate  float64
	CurrentLimit string // 带单位

	Status string // 扩容或缩容

	SuggestLimit    string // 带单位
	SuggestMinLimit string // 带单位
	SuggestMaxLimit string // 带单位
}

func (*CPUMemoryStatus) AddSuggest

func (status *CPUMemoryStatus) AddSuggest(SuggestType string, currentUsage float64) *CPUMemoryStatus

type ChartRepoCommon

type ChartRepoCommon struct {
	BaseForm
	ID          uint       `json:"id,omitempty"`
	Name        string     `json:"name,omitempty"`
	URL         string     `json:"url,omitempty"`
	LastSync    *time.Time `json:"lastSync,omitempty"`
	SyncStatus  string     `json:"syncStatus,omitempty"`
	SyncMessage string     `json:"syncMessage,omitempty"`
}

+genform object:ChartRepo

func Convert_ChartRepo_ChartRepoCommon

func Convert_ChartRepo_ChartRepoCommon(f *orm.ChartRepo) *ChartRepoCommon

func Convert_ChartRepo_ChartRepoCommon_slice

func Convert_ChartRepo_ChartRepoCommon_slice(arr []*orm.ChartRepo) []*ChartRepoCommon

func (*ChartRepoCommon) Data

func (u *ChartRepoCommon) Data() *ChartRepoCommon

func (*ChartRepoCommon) DataPtr

func (u *ChartRepoCommon) DataPtr() interface{}

func (*ChartRepoCommon) Object

func (r *ChartRepoCommon) Object() client.Object

type ChartRepoCommonList

type ChartRepoCommonList struct {
	BaseListForm
	Items []*ChartRepoCommon
}

func (*ChartRepoCommonList) Data

func (ul *ChartRepoCommonList) Data() []*ChartRepoCommon

func (*ChartRepoCommonList) DataPtr

func (ul *ChartRepoCommonList) DataPtr() interface{}

func (*ChartRepoCommonList) Object

type ClusterCommon

type ClusterCommon struct {
	BaseForm
	ID        uint   `json:"id,omitempty"`
	Name      string `json:"name,omitempty"`
	Primary   bool   `json:"primary,omitempty"`
	APIServer string `json:"apiServer,omitempty"`
	Version   string `json:"version,omitempty"`
	Runtime   string `json:"runtime,omitempty"`
}

+genform object:Cluster

func Convert_Cluster_ClusterCommon

func Convert_Cluster_ClusterCommon(f *orm.Cluster) *ClusterCommon

func Convert_Cluster_ClusterCommon_slice

func Convert_Cluster_ClusterCommon_slice(arr []*orm.Cluster) []*ClusterCommon

func (*ClusterCommon) Data

func (u *ClusterCommon) Data() *ClusterCommon

func (*ClusterCommon) DataPtr

func (u *ClusterCommon) DataPtr() interface{}

func (*ClusterCommon) Object

func (r *ClusterCommon) Object() client.Object

type ClusterCommonList

type ClusterCommonList struct {
	BaseListForm
	Items []*ClusterCommon
}

func (*ClusterCommonList) Data

func (ul *ClusterCommonList) Data() []*ClusterCommon

func (*ClusterCommonList) DataPtr

func (ul *ClusterCommonList) DataPtr() interface{}

func (*ClusterCommonList) Object

type ClusterDetail

type ClusterDetail struct {
	BaseForm
	ID                   uint                 `json:"id,omitempty"`
	Name                 string               `json:"name,omitempty"`
	APIServer            string               `json:"apiServer,omitempty"`
	KubeConfig           datatypes.JSON       `json:"kubeConfig,omitempty"`
	Version              string               `json:"version,omitempty"`
	AgentAddr            string               `json:"agentAddr,omitempty"`
	AgentCA              string               `json:"agentCA,omitempty"`
	AgentCert            string               `json:"agentCert,omitempty"`
	AgentKey             string               `json:"agentKey,omitempty"`
	Mode                 string               `json:"mode,omitempty"`
	Runtime              string               `json:"runtime,omitempty"`
	Primary              bool                 `json:"primary,omitempty"`
	OversoldConfig       datatypes.JSON       `json:"oversoldConfig,omitempty"`
	Environments         []*EnvironmentCommon `json:"environments,omitempty"`
	ClusterResourceQuota datatypes.JSON       `json:"clusterResourceQuota,omitempty"`
}

+genform object:Cluster

func Convert_Cluster_ClusterDetail

func Convert_Cluster_ClusterDetail(f *orm.Cluster) *ClusterDetail

func Convert_Cluster_ClusterDetail_slice

func Convert_Cluster_ClusterDetail_slice(arr []*orm.Cluster) []*ClusterDetail

func (*ClusterDetail) Data

func (u *ClusterDetail) Data() *ClusterDetail

func (*ClusterDetail) DataPtr

func (u *ClusterDetail) DataPtr() interface{}

func (*ClusterDetail) Object

func (r *ClusterDetail) Object() client.Object

type ClusterDetailList

type ClusterDetailList struct {
	BaseListForm
	Items []*ClusterDetail
}

func (*ClusterDetailList) Data

func (ul *ClusterDetailList) Data() []*ClusterDetail

func (*ClusterDetailList) DataPtr

func (ul *ClusterDetailList) DataPtr() interface{}

func (*ClusterDetailList) Object

type Condition

type Condition struct {
	Pods         []string
	CPUStatus    *CPUMemoryStatus `json:"CPUStatus"`
	MemoryStatus *CPUMemoryStatus `json:"MemoryStatus"`

	MaxCPUContainer    *ContainerCommon `json:"-"`
	MaxMemoryContainer *ContainerCommon `json:"-"`
	CPULimitCore       float64          `json:"-"`
	MemoryLimitBytes   int64            `json:"-"`
}

type ContainerCommon

type ContainerCommon struct {
	BaseForm
	ID               uint            `json:"id,omitempty"`
	Name             string          `json:"name,omitempty"`
	Pod              string          `json:"pod,omitempty"`
	CPULimitCore     float64         `json:"cpuLimitCore,omitempty"`
	MemoryLimitBytes int64           `json:"memoryLimitBytes,omitempty"`
	CPUUsageCore     float64         `json:"cpuUsageCore,omitempty"`
	CPUPercent       float64         `json:"cpuPercent,omitempty"`
	MemoryUsageBytes float64         `json:"memoryUsageBytes,omitempty"`
	MemoryPercent    float64         `json:"memoryPercent,omitempty"`
	WorkloadID       uint            `json:"workloadID,omitempty"`
	Workload         *WorkloadCommon `json:"workload,omitempty"`
}

+genform object:Container

func Convert_Container_ContainerCommon

func Convert_Container_ContainerCommon(f *orm.Container) *ContainerCommon

func Convert_Container_ContainerCommon_slice

func Convert_Container_ContainerCommon_slice(arr []*orm.Container) []*ContainerCommon

func (*ContainerCommon) Data

func (u *ContainerCommon) Data() *ContainerCommon

func (*ContainerCommon) DataPtr

func (u *ContainerCommon) DataPtr() interface{}

func (*ContainerCommon) Object

func (r *ContainerCommon) Object() client.Object

type ContainerCommonList

type ContainerCommonList struct {
	BaseListForm
	Items []*ContainerCommon
}

func (*ContainerCommonList) Data

func (ul *ContainerCommonList) Data() []*ContainerCommon

func (*ContainerCommonList) DataPtr

func (ul *ContainerCommonList) DataPtr() interface{}

func (*ContainerCommonList) Object

type EnvironmentCommon

type EnvironmentCommon struct {
	BaseForm
	ID           uint   `json:"id,omitempty"`
	Name         string `json:"name,omitempty"`
	Namespace    string `json:"namespace,omitempty"`
	Remark       string `json:"remark,omitempty"`
	MetaType     string `json:"metaType,omitempty"`
	DeletePolicy string `json:"deletePolicy,omitempty"`
}

+genform object:Environment

func Convert_Environment_EnvironmentCommon

func Convert_Environment_EnvironmentCommon(f *orm.Environment) *EnvironmentCommon

func Convert_Environment_EnvironmentCommon_slice

func Convert_Environment_EnvironmentCommon_slice(arr []*orm.Environment) []*EnvironmentCommon

func (*EnvironmentCommon) Data

func (*EnvironmentCommon) DataPtr

func (u *EnvironmentCommon) DataPtr() interface{}

func (*EnvironmentCommon) Object

func (r *EnvironmentCommon) Object() client.Object

type EnvironmentCommonList

type EnvironmentCommonList struct {
	BaseListForm
	Items []*EnvironmentCommon
}

func (*EnvironmentCommonList) Data

func (*EnvironmentCommonList) DataPtr

func (ul *EnvironmentCommonList) DataPtr() interface{}

func (*EnvironmentCommonList) Object

type EnvironmentDetail

type EnvironmentDetail struct {
	BaseForm
	ID             uint                 `json:"id,omitempty"`
	Name           string               `json:"name,omitempty"`
	Namespace      string               `json:"namespace,omitempty"`
	Remark         string               `json:"remark,omitempty"`
	MetaType       string               `json:"metaType,omitempty"`
	DeletePolicy   string               `json:"deletePolicy,omitempty"`
	Creator        *UserCommon          `json:"creator,omitempty"`
	Cluster        *ClusterCommon       `json:"cluster,omitempty"`
	Project        *ProjectCommon       `json:"project,omitempty"`
	ResourceQuota  datatypes.JSON       `json:"resourceQuota,omitempty"`
	LimitRange     datatypes.JSON       `json:"limitRange,omitempty"`
	ProjectID      uint                 `json:"projectID,omitempty"`
	ClusterID      uint                 `json:"clusterID,omitempty"`
	CreatorID      uint                 `json:"creatorID,omitempty"`
	Applications   []*ApplicationCommon `json:"applications,omitempty"`
	Users          []*UserCommon        `json:"users,omitempty"`
	VirtualSpaceID *uint                `json:"virtualSpaceID,omitempty"`
	VirtualSpace   *VirtualSpaceCommon  `json:"virtualSpace,omitempty"`
}

+genform object:Environment

func Convert_Environment_EnvironmentDetail

func Convert_Environment_EnvironmentDetail(f *orm.Environment) *EnvironmentDetail

func Convert_Environment_EnvironmentDetail_slice

func Convert_Environment_EnvironmentDetail_slice(arr []*orm.Environment) []*EnvironmentDetail

func (*EnvironmentDetail) Data

func (*EnvironmentDetail) DataPtr

func (u *EnvironmentDetail) DataPtr() interface{}

func (*EnvironmentDetail) Object

func (r *EnvironmentDetail) Object() client.Object

type EnvironmentDetailList

type EnvironmentDetailList struct {
	BaseListForm
	Items []*EnvironmentDetail
}

func (*EnvironmentDetailList) Data

func (*EnvironmentDetailList) DataPtr

func (ul *EnvironmentDetailList) DataPtr() interface{}

func (*EnvironmentDetailList) Object

type EnvironmentResourceCommon

type EnvironmentResourceCommon struct {
	BaseForm
	ID        uint       `json:"id,omitempty"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`

	Cluster     string `json:"cluster,omitempty"`
	Tenant      string `json:"tenant,omitempty"`
	Project     string `json:"project,omitempty"`
	Environment string `json:"environment,omitempty"`

	MaxCPUUsageCore    float64 `json:"maxCPUUsageCore,omitempty"`
	MaxMemoryUsageByte float64 `json:"maxMemoryUsageByte,omitempty"`
	MinCPUUsageCore    float64 `json:"minCPUUsageCore,omitempty"`
	MinMemoryUsageByte float64 `json:"minMemoryUsageByte,omitempty"`
	AvgCPUUsageCore    float64 `json:"avgCPUUsageCore,omitempty"`
	AvgMemoryUsageByte float64 `json:"avgMemoryUsageByte,omitempty"`
	NetworkReceiveByte float64 `json:"networkReceiveByte,omitempty"`
	NetworkSendByte    float64 `json:"networkSendByte,omitempty"`

	MaxPVCUsageByte float64 `json:"maxPVCUsageByte,omitempty"`
	MinPVCUsageByte float64 `json:"minPVCUsageByte,omitempty"`
	AvgPVCUsageByte float64 `json:"avgPVCUsageByte,omitempty"`
}

+genform object:EnvironmentResource

func Convert_EnvironmentResource_EnvironmentResourceCommon

func Convert_EnvironmentResource_EnvironmentResourceCommon(f *orm.EnvironmentResource) *EnvironmentResourceCommon

func Convert_EnvironmentResource_EnvironmentResourceCommon_slice

func Convert_EnvironmentResource_EnvironmentResourceCommon_slice(arr []*orm.EnvironmentResource) []*EnvironmentResourceCommon

func (*EnvironmentResourceCommon) Data

func (*EnvironmentResourceCommon) DataPtr

func (u *EnvironmentResourceCommon) DataPtr() interface{}

func (*EnvironmentResourceCommon) Object

type EnvironmentResourceCommonList

type EnvironmentResourceCommonList struct {
	BaseListForm
	Items []*EnvironmentResourceCommon
}

func (*EnvironmentResourceCommonList) Data

func (*EnvironmentResourceCommonList) DataPtr

func (ul *EnvironmentResourceCommonList) DataPtr() interface{}

func (*EnvironmentResourceCommonList) Object

type EnvironmentUserRelCommon

type EnvironmentUserRelCommon struct {
	BaseForm
	ID            uint               `json:"id,omitempty"`
	User          *UserCommon        `json:"user,omitempty"`
	Environment   *EnvironmentCommon `json:"environment,omitempty"`
	UserID        uint               `json:"userID,omitempty"`
	EnvironmentID uint               `json:"environmentID,omitempty"`
	Role          string             `json:"role,omitempty"`
}

+genform object:EnvironmentUserRel

func Convert_EnvironmentUserRel_EnvironmentUserRelCommon

func Convert_EnvironmentUserRel_EnvironmentUserRelCommon(f *orm.EnvironmentUserRel) *EnvironmentUserRelCommon

func Convert_EnvironmentUserRel_EnvironmentUserRelCommon_slice

func Convert_EnvironmentUserRel_EnvironmentUserRelCommon_slice(arr []*orm.EnvironmentUserRel) []*EnvironmentUserRelCommon

func (*EnvironmentUserRelCommon) Data

func (*EnvironmentUserRelCommon) DataPtr

func (u *EnvironmentUserRelCommon) DataPtr() interface{}

func (*EnvironmentUserRelCommon) Object

type EnvironmentUserRelCommonList

type EnvironmentUserRelCommonList struct {
	BaseListForm
	Items []*EnvironmentUserRelCommon
}

func (*EnvironmentUserRelCommonList) Data

func (*EnvironmentUserRelCommonList) DataPtr

func (ul *EnvironmentUserRelCommonList) DataPtr() interface{}

func (*EnvironmentUserRelCommonList) Object

type FormInterface

type FormInterface interface {
	// 将表单对象转换成模型对象
	Object() client.Object
	// 将模型对象转换成表单对象
	DataPtr() interface{}
}

type FormListInterface

type FormListInterface interface {
	// 将表单对象转换成模型对象
	Object() client.ObjectListIface
	// 将模型对象转换成表单对象
	DataPtr() interface{}
}

type LogQueryHistoryCommon

type LogQueryHistoryCommon struct {
	BaseForm
	ID         uint           `json:"id,omitempty"`
	Cluster    *ClusterCommon `json:"cluster,omitempty"`
	ClusterID  uint           `json:"clusterID,omitempty"`
	LabelJSON  string         `json:"labelJSON,omitempty"`
	FilterJSON string         `json:"filterJSON,omitempty"`
	LogQL      string         `json:"logQL,omitempty"`
	CreateAt   *time.Time     `json:"createAt,omitempty"`
	Creator    *UserCommon    `json:"creator,omitempty"`
	CreatorID  uint           `json:"creatorID,omitempty"`
}

+genform object:LogQueryHistory

func Convert_LogQueryHistory_LogQueryHistoryCommon

func Convert_LogQueryHistory_LogQueryHistoryCommon(f *orm.LogQueryHistory) *LogQueryHistoryCommon

func Convert_LogQueryHistory_LogQueryHistoryCommon_slice

func Convert_LogQueryHistory_LogQueryHistoryCommon_slice(arr []*orm.LogQueryHistory) []*LogQueryHistoryCommon

func (*LogQueryHistoryCommon) Data

func (*LogQueryHistoryCommon) DataPtr

func (u *LogQueryHistoryCommon) DataPtr() interface{}

func (*LogQueryHistoryCommon) Object

func (r *LogQueryHistoryCommon) Object() client.Object

type LogQueryHistoryCommonList

type LogQueryHistoryCommonList struct {
	BaseListForm
	Items []*LogQueryHistoryCommon
}

func (*LogQueryHistoryCommonList) Data

func (*LogQueryHistoryCommonList) DataPtr

func (ul *LogQueryHistoryCommonList) DataPtr() interface{}

func (*LogQueryHistoryCommonList) Object

type LogQuerySnapshotCommon

type LogQuerySnapshotCommon struct {
	BaseForm
	ID            uint           `json:"id,omitempty"`
	Cluster       *ClusterCommon `json:"cluster,omitempty"`
	ClusterID     uint           `json:"clusterID,omitempty"`
	Name          string         `json:"name,omitempty"`
	SourceFile    string         `json:"sourceFile,omitempty"`
	SnapshotCount int            `json:"snapshotCount,omitempty"`
	DownloadURL   string         `json:"downloadURL,omitempty"`
	StartTime     *time.Time     `json:"startTime,omitempty"`
	EndTime       *time.Time     `json:"endTime,omitempty"`
	CreateAt      *time.Time     `json:"createAt,omitempty"`
	Creator       *UserCommon    `json:"creator,omitempty"`
	CreatorID     uint           `json:"creatorID,omitempty"`
}

+genform object:LogQuerySnapshot

func Convert_LogQuerySnapshot_LogQuerySnapshotCommon

func Convert_LogQuerySnapshot_LogQuerySnapshotCommon(f *orm.LogQuerySnapshot) *LogQuerySnapshotCommon

func Convert_LogQuerySnapshot_LogQuerySnapshotCommon_slice

func Convert_LogQuerySnapshot_LogQuerySnapshotCommon_slice(arr []*orm.LogQuerySnapshot) []*LogQuerySnapshotCommon

func (*LogQuerySnapshotCommon) Data

func (*LogQuerySnapshotCommon) DataPtr

func (u *LogQuerySnapshotCommon) DataPtr() interface{}

func (*LogQuerySnapshotCommon) Object

func (r *LogQuerySnapshotCommon) Object() client.Object

type LogQuerySnapshotCommonList

type LogQuerySnapshotCommonList struct {
	BaseListForm
	Items []*LogQuerySnapshotCommon
}

func (*LogQuerySnapshotCommonList) Data

func (*LogQuerySnapshotCommonList) DataPtr

func (ul *LogQuerySnapshotCommonList) DataPtr() interface{}

func (*LogQuerySnapshotCommonList) Object

type MessageCommon

type MessageCommon struct {
	BaseForm
	ID          uint           `json:"id,omitempty"`
	MessageType string         `json:"messageType,omitempty"`
	Title       string         `json:"title,omitempty"`
	Content     datatypes.JSON `json:"content,omitempty"`
	CreatedAt   *time.Time     `json:"createdAt,omitempty"`
}

+genform object:Message

func Convert_Message_MessageCommon

func Convert_Message_MessageCommon(f *orm.Message) *MessageCommon

func Convert_Message_MessageCommon_slice

func Convert_Message_MessageCommon_slice(arr []*orm.Message) []*MessageCommon

func (*MessageCommon) Data

func (u *MessageCommon) Data() *MessageCommon

func (*MessageCommon) DataPtr

func (u *MessageCommon) DataPtr() interface{}

func (*MessageCommon) Object

func (r *MessageCommon) Object() client.Object

type MessageCommonList

type MessageCommonList struct {
	BaseListForm
	Items []*MessageCommon
}

func (*MessageCommonList) Data

func (ul *MessageCommonList) Data() []*MessageCommon

func (*MessageCommonList) DataPtr

func (ul *MessageCommonList) DataPtr() interface{}

func (*MessageCommonList) Object

type Notice

type Notice struct {
	Color      string               // eg, yellow
	Conditions map[string]Condition // 按容器名分组
}

type OpenAPPCommon

type OpenAPPCommon struct {
	BaseForm
	Name           string `json:"name,omitempty"`
	ID             uint   `json:"id,omitempty"`
	AppID          string `json:"appID,omitempty"`
	PermScopes     string `json:"permScopes,omitempty"`
	TenantScope    string `json:"tenantScope,omitempty"`
	RequestLimiter int    `json:"requestLimiter,omitempty"`
}

+genform object:OpenAPP

func Convert_OpenAPP_OpenAPPCommon

func Convert_OpenAPP_OpenAPPCommon(f *orm.OpenAPP) *OpenAPPCommon

func Convert_OpenAPP_OpenAPPCommon_slice

func Convert_OpenAPP_OpenAPPCommon_slice(arr []*orm.OpenAPP) []*OpenAPPCommon

func (*OpenAPPCommon) Data

func (u *OpenAPPCommon) Data() *OpenAPPCommon

func (*OpenAPPCommon) DataPtr

func (u *OpenAPPCommon) DataPtr() interface{}

func (*OpenAPPCommon) Object

func (r *OpenAPPCommon) Object() client.Object

type OpenAPPCommonList

type OpenAPPCommonList struct {
	BaseListForm
	Items []*OpenAPPCommon
}

func (*OpenAPPCommonList) Data

func (ul *OpenAPPCommonList) Data() []*OpenAPPCommon

func (*OpenAPPCommonList) DataPtr

func (ul *OpenAPPCommonList) DataPtr() interface{}

func (*OpenAPPCommonList) Object

type OpenAPPDetail

type OpenAPPDetail struct {
	BaseForm
	Name           string `json:"name,omitempty"`
	ID             uint   `json:"id,omitempty"`
	AppID          string `json:"appID,omitempty"`
	AppSecret      string `json:"appSecret,omitempty"`
	PermScopes     string `json:"permScopes,omitempty"`
	TenantScope    string `json:"tenantScope,omitempty"`
	RequestLimiter int    `json:"requestLimiter,omitempty"`
}

+genform object:OpenAPP

func Convert_OpenAPP_OpenAPPDetail

func Convert_OpenAPP_OpenAPPDetail(f *orm.OpenAPP) *OpenAPPDetail

func Convert_OpenAPP_OpenAPPDetail_slice

func Convert_OpenAPP_OpenAPPDetail_slice(arr []*orm.OpenAPP) []*OpenAPPDetail

func (*OpenAPPDetail) Data

func (u *OpenAPPDetail) Data() *OpenAPPDetail

func (*OpenAPPDetail) DataPtr

func (u *OpenAPPDetail) DataPtr() interface{}

func (*OpenAPPDetail) GetEmail

func (u *OpenAPPDetail) GetEmail() string

func (*OpenAPPDetail) GetID

func (u *OpenAPPDetail) GetID() uint

func (*OpenAPPDetail) GetSource

func (u *OpenAPPDetail) GetSource() string

func (*OpenAPPDetail) GetSystemRoleID

func (u *OpenAPPDetail) GetSystemRoleID() uint

func (*OpenAPPDetail) GetUserKind

func (u *OpenAPPDetail) GetUserKind() string

func (*OpenAPPDetail) GetUsername

func (u *OpenAPPDetail) GetUsername() string

func (*OpenAPPDetail) MarshalBinary

func (i *OpenAPPDetail) MarshalBinary() ([]byte, error)

func (*OpenAPPDetail) Object

func (r *OpenAPPDetail) Object() client.Object

func (*OpenAPPDetail) SetLastLogin

func (u *OpenAPPDetail) SetLastLogin(t *time.Time)

func (*OpenAPPDetail) UnmarshalBinary

func (i *OpenAPPDetail) UnmarshalBinary(data []byte) error

type OpenAPPDetailList

type OpenAPPDetailList struct {
	BaseListForm
	Items []*OpenAPPDetail
}

func (*OpenAPPDetailList) Data

func (ul *OpenAPPDetailList) Data() []*OpenAPPDetail

func (*OpenAPPDetailList) DataPtr

func (ul *OpenAPPDetailList) DataPtr() interface{}

func (*OpenAPPDetailList) Object

type ProjectCommon

type ProjectCommon struct {
	BaseForm
	ID           uint       `json:"id"`
	CreatedAt    *time.Time `json:"createAt"`
	Name         string     `json:"projectName"`
	ProjectAlias string     `json:"projectAlias"`
	Remark       string     `json:"remark"`
}

+genform object:Project

func Convert_Project_ProjectCommon

func Convert_Project_ProjectCommon(f *orm.Project) *ProjectCommon

func Convert_Project_ProjectCommon_slice

func Convert_Project_ProjectCommon_slice(arr []*orm.Project) []*ProjectCommon

func (*ProjectCommon) Data

func (u *ProjectCommon) Data() *ProjectCommon

func (*ProjectCommon) DataPtr

func (u *ProjectCommon) DataPtr() interface{}

func (*ProjectCommon) Object

func (r *ProjectCommon) Object() client.Object

type ProjectCommonList

type ProjectCommonList struct {
	BaseListForm
	Items []*ProjectCommon
}

func (*ProjectCommonList) Data

func (ul *ProjectCommonList) Data() []*ProjectCommon

func (*ProjectCommonList) DataPtr

func (ul *ProjectCommonList) DataPtr() interface{}

func (*ProjectCommonList) Object

type ProjectCreateForm

type ProjectCreateForm struct {
	BaseForm
	Name          string `json:"name" validate:"required"`
	Remark        string `json:"remark" validate:"required"`
	ResourceQuota string `json:"quota" validate:"json"`
}

type ProjectDetail

type ProjectDetail struct {
	BaseForm
	ID            uint                 `json:"id"`
	CreatedAt     *time.Time           `json:"createAt"`
	Name          string               `json:"projectName"`
	ProjectAlias  string               `json:"projectAlias"`
	Remark        string               `json:"remark"`
	ResourceQuota datatypes.JSON       `json:"resourecQuota"`
	Applications  []*ApplicationCommon `json:"applications,omitempty"`
	Environments  []*EnvironmentCommon `json:"environments,omitempty"`
	Users         []*UserCommon        `json:"users,omitempty"`
	Tenant        *TenantCommon        `json:"tenant,omitempty"`
	TenantID      uint                 `json:"tenantId,omitempty"`
}

+genform object:Project

func Convert_Project_ProjectDetail

func Convert_Project_ProjectDetail(f *orm.Project) *ProjectDetail

func Convert_Project_ProjectDetail_slice

func Convert_Project_ProjectDetail_slice(arr []*orm.Project) []*ProjectDetail

func (*ProjectDetail) Data

func (u *ProjectDetail) Data() *ProjectDetail

func (*ProjectDetail) DataPtr

func (u *ProjectDetail) DataPtr() interface{}

func (*ProjectDetail) Object

func (r *ProjectDetail) Object() client.Object

type ProjectDetailList

type ProjectDetailList struct {
	BaseListForm
	Items []*ProjectDetail
}

func (*ProjectDetailList) Data

func (ul *ProjectDetailList) Data() []*ProjectDetail

func (*ProjectDetailList) DataPtr

func (ul *ProjectDetailList) DataPtr() interface{}

func (*ProjectDetailList) Object

type ProjectUserRelCommon

type ProjectUserRelCommon struct {
	BaseForm
	ID        uint           `json:"id"`
	User      *UserCommon    `json:"user,omitempty"`
	Project   *ProjectCommon `json:"project,omitempty"`
	UserID    uint           `json:"userId"`
	ProjectID uint           `json:"projectId"`
	Role      string         `json:"role"`
}

+genform object:ProjectUserRel

func Convert_ProjectUserRel_ProjectUserRelCommon

func Convert_ProjectUserRel_ProjectUserRelCommon(f *orm.ProjectUserRel) *ProjectUserRelCommon

func Convert_ProjectUserRel_ProjectUserRelCommon_slice

func Convert_ProjectUserRel_ProjectUserRelCommon_slice(arr []*orm.ProjectUserRel) []*ProjectUserRelCommon

func (*ProjectUserRelCommon) Data

func (*ProjectUserRelCommon) DataPtr

func (u *ProjectUserRelCommon) DataPtr() interface{}

func (*ProjectUserRelCommon) Object

func (r *ProjectUserRelCommon) Object() client.Object

type ProjectUserRelCommonList

type ProjectUserRelCommonList struct {
	BaseListForm
	Items []*ProjectUserRelCommon
}

func (*ProjectUserRelCommonList) Data

func (*ProjectUserRelCommonList) DataPtr

func (ul *ProjectUserRelCommonList) DataPtr() interface{}

func (*ProjectUserRelCommonList) Object

type RegistryCommon

type RegistryCommon struct {
	BaseForm
	ID         uint           `json:"id,omitempty"`
	Name       string         `json:"registryName,omitempty"`
	Address    string         `json:"address,omitempty"`
	UpdateTime *time.Time     `json:"updateTime,omitempty"`
	Creator    *UserCommon    `json:"creator,omitempty"`
	CreatorID  uint           `json:"creatorID,omitempty"`
	Project    *ProjectCommon `json:"project,omitempty"`
	ProjectID  uint           `json:"projectID,omitempty"`
	IsDefault  bool           `json:"isDefault,omitempty"`
}

+genform object:Registry

func Convert_Registry_RegistryCommon

func Convert_Registry_RegistryCommon(f *orm.Registry) *RegistryCommon

func Convert_Registry_RegistryCommon_slice

func Convert_Registry_RegistryCommon_slice(arr []*orm.Registry) []*RegistryCommon

func (*RegistryCommon) Data

func (u *RegistryCommon) Data() *RegistryCommon

func (*RegistryCommon) DataPtr

func (u *RegistryCommon) DataPtr() interface{}

func (*RegistryCommon) Object

func (r *RegistryCommon) Object() client.Object

type RegistryCommonList

type RegistryCommonList struct {
	BaseListForm
	Items []*RegistryCommon
}

func (*RegistryCommonList) Data

func (ul *RegistryCommonList) Data() []*RegistryCommon

func (*RegistryCommonList) DataPtr

func (ul *RegistryCommonList) DataPtr() interface{}

func (*RegistryCommonList) Object

type RegistryDetail

type RegistryDetail struct {
	BaseForm
	ID         uint           `json:"id,omitempty"`
	Name       string         `json:"name,omitempty"`
	Address    string         `json:"address,omitempty"`
	Username   string         `json:"username,omitempty"`
	Password   string         `json:"password,omitempty"`
	Creator    *UserCommon    `json:"creator,omitempty"`
	UpdateTime *time.Time     `json:"updateTime,omitempty"`
	CreatorID  uint           `json:"creatorID,omitempty"`
	Project    *ProjectCommon `json:"project,omitempty"`
	ProjectID  uint           `json:"projectID,omitempty"`
	IsDefault  bool           `json:"isDefault,omitempty"`
}

+genform object:Registry

func Convert_Registry_RegistryDetail

func Convert_Registry_RegistryDetail(f *orm.Registry) *RegistryDetail

func Convert_Registry_RegistryDetail_slice

func Convert_Registry_RegistryDetail_slice(arr []*orm.Registry) []*RegistryDetail

func (*RegistryDetail) Data

func (u *RegistryDetail) Data() *RegistryDetail

func (*RegistryDetail) DataPtr

func (u *RegistryDetail) DataPtr() interface{}

func (*RegistryDetail) Object

func (r *RegistryDetail) Object() client.Object

type RegistryDetailList

type RegistryDetailList struct {
	BaseListForm
	Items []*RegistryDetail
}

func (*RegistryDetailList) Data

func (ul *RegistryDetailList) Data() []*RegistryDetail

func (*RegistryDetailList) DataPtr

func (ul *RegistryDetailList) DataPtr() interface{}

func (*RegistryDetailList) Object

type SystemRoleCommon

type SystemRoleCommon struct {
	BaseForm
	ID   uint   `json:"id"`
	Name string `json:"roleName" binding:"required"`
	Code string `json:"roleCode" binding:"required"`
}

+genform pkg:orm object:SystemRole

func Convert_SystemRole_SystemRoleCommon

func Convert_SystemRole_SystemRoleCommon(f *orm.SystemRole) *SystemRoleCommon

func Convert_SystemRole_SystemRoleCommon_slice

func Convert_SystemRole_SystemRoleCommon_slice(arr []*orm.SystemRole) []*SystemRoleCommon

func (*SystemRoleCommon) Data

func (*SystemRoleCommon) DataPtr

func (u *SystemRoleCommon) DataPtr() interface{}

func (*SystemRoleCommon) Object

func (r *SystemRoleCommon) Object() client.Object

type SystemRoleCommonList

type SystemRoleCommonList struct {
	BaseListForm
	Items []*SystemRoleCommon
}

func (*SystemRoleCommonList) Data

func (ul *SystemRoleCommonList) Data() []*SystemRoleCommon

func (*SystemRoleCommonList) DataPtr

func (ul *SystemRoleCommonList) DataPtr() interface{}

func (*SystemRoleCommonList) Object

type SystemRoleDetail

type SystemRoleDetail struct {
	BaseForm
	ID    uint          `json:"id"`
	Name  string        `json:"roleName" binding:"required"`
	Code  string        `json:"roleCode" binding:"required"`
	Users []*UserCommon `json:"users"`
}

+genform pkg:orm object:SystemRole

func Convert_SystemRole_SystemRoleDetail

func Convert_SystemRole_SystemRoleDetail(f *orm.SystemRole) *SystemRoleDetail

func Convert_SystemRole_SystemRoleDetail_slice

func Convert_SystemRole_SystemRoleDetail_slice(arr []*orm.SystemRole) []*SystemRoleDetail

func (*SystemRoleDetail) Data

func (*SystemRoleDetail) DataPtr

func (u *SystemRoleDetail) DataPtr() interface{}

func (*SystemRoleDetail) Object

func (r *SystemRoleDetail) Object() client.Object

type SystemRoleDetailList

type SystemRoleDetailList struct {
	BaseListForm
	Items []*SystemRoleDetail
}

func (*SystemRoleDetailList) Data

func (ul *SystemRoleDetailList) Data() []*SystemRoleDetail

func (*SystemRoleDetailList) DataPtr

func (ul *SystemRoleDetailList) DataPtr() interface{}

func (*SystemRoleDetailList) Object

type TenantCommon

type TenantCommon struct {
	BaseForm
	ID   uint   `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

+genform object:Tenant

func Convert_Tenant_TenantCommon

func Convert_Tenant_TenantCommon(f *orm.Tenant) *TenantCommon

func Convert_Tenant_TenantCommon_slice

func Convert_Tenant_TenantCommon_slice(arr []*orm.Tenant) []*TenantCommon

func (*TenantCommon) Data

func (u *TenantCommon) Data() *TenantCommon

func (*TenantCommon) DataPtr

func (u *TenantCommon) DataPtr() interface{}

func (*TenantCommon) Object

func (r *TenantCommon) Object() client.Object

type TenantCommonList

type TenantCommonList struct {
	BaseListForm
	Items []*TenantCommon
}

func (*TenantCommonList) Data

func (ul *TenantCommonList) Data() []*TenantCommon

func (*TenantCommonList) DataPtr

func (ul *TenantCommonList) DataPtr() interface{}

func (*TenantCommonList) Object

type TenantDetail

type TenantDetail struct {
	BaseForm
	ID       uint          `json:"id,omitempty"`
	Name     string        `json:"name,omitempty"`
	Remark   string        `json:"remark,omitempty"`
	IsActive bool          `json:"isActive,omitempty"`
	Users    []*UserCommon `json:"users,omitempty"`
}

+genform object:Tenant

func Convert_Tenant_TenantDetail

func Convert_Tenant_TenantDetail(f *orm.Tenant) *TenantDetail

func Convert_Tenant_TenantDetail_slice

func Convert_Tenant_TenantDetail_slice(arr []*orm.Tenant) []*TenantDetail

func (*TenantDetail) Data

func (u *TenantDetail) Data() *TenantDetail

func (*TenantDetail) DataPtr

func (u *TenantDetail) DataPtr() interface{}

func (*TenantDetail) Object

func (r *TenantDetail) Object() client.Object

type TenantDetailList

type TenantDetailList struct {
	BaseListForm
	Items []*TenantDetail
}

func (*TenantDetailList) Data

func (ul *TenantDetailList) Data() []*TenantDetail

func (*TenantDetailList) DataPtr

func (ul *TenantDetailList) DataPtr() interface{}

func (*TenantDetailList) Object

type TenantResourceQuotaApplyCommon

type TenantResourceQuotaApplyCommon struct {
	BaseForm
	ID        uint           `json:"id,omitempty"`
	Content   datatypes.JSON `json:"content,omitempty"`
	Status    string         `json:"status,omitempty"`
	CreateAt  *time.Time     `json:"updatedAt,omitempty"`
	TenantID  uint           `json:"tenantID,omitempty"`
	ClusterID uint           `json:"clusterID,omitempty"`
	Tenant    *TenantCommon  `json:"tenant,omitempty"`
	Cluster   *ClusterCommon `json:"cluster,omitempty"`
	Creator   *UserCommon    `json:"creator,omitempty"`
	CreatorID uint           `json:"creatorID,omitempty"`
}

+genform object:TenantResourceQuotaApply

func Convert_TenantResourceQuotaApply_TenantResourceQuotaApplyCommon

func Convert_TenantResourceQuotaApply_TenantResourceQuotaApplyCommon(f *orm.TenantResourceQuotaApply) *TenantResourceQuotaApplyCommon

func Convert_TenantResourceQuotaApply_TenantResourceQuotaApplyCommon_slice

func Convert_TenantResourceQuotaApply_TenantResourceQuotaApplyCommon_slice(arr []*orm.TenantResourceQuotaApply) []*TenantResourceQuotaApplyCommon

func (*TenantResourceQuotaApplyCommon) Data

func (*TenantResourceQuotaApplyCommon) DataPtr

func (u *TenantResourceQuotaApplyCommon) DataPtr() interface{}

func (*TenantResourceQuotaApplyCommon) Object

type TenantResourceQuotaApplyCommonList

type TenantResourceQuotaApplyCommonList struct {
	BaseListForm
	Items []*TenantResourceQuotaApplyCommon
}

func (*TenantResourceQuotaApplyCommonList) Data

func (*TenantResourceQuotaApplyCommonList) DataPtr

func (ul *TenantResourceQuotaApplyCommonList) DataPtr() interface{}

func (*TenantResourceQuotaApplyCommonList) Object

type TenantResourceQuotaCommon

type TenantResourceQuotaCommon struct {
	BaseForm
	ID        uint           `json:"id,omitempty"`
	Content   datatypes.JSON `json:"content,omitempty"`
	TenantID  uint           `json:"tenantID,omitempty"`
	ClusterID uint           `json:"clusterID,omitempty"`
	Tenant    *TenantCommon  `json:"tenant,omitempty"`
	Cluster   *ClusterCommon `json:"cluster,omitempty"`
}

+genform object:TenantResourceQuota

func Convert_TenantResourceQuota_TenantResourceQuotaCommon

func Convert_TenantResourceQuota_TenantResourceQuotaCommon(f *orm.TenantResourceQuota) *TenantResourceQuotaCommon

func Convert_TenantResourceQuota_TenantResourceQuotaCommon_slice

func Convert_TenantResourceQuota_TenantResourceQuotaCommon_slice(arr []*orm.TenantResourceQuota) []*TenantResourceQuotaCommon

func (*TenantResourceQuotaCommon) Data

func (*TenantResourceQuotaCommon) DataPtr

func (u *TenantResourceQuotaCommon) DataPtr() interface{}

func (*TenantResourceQuotaCommon) Object

type TenantResourceQuotaCommonList

type TenantResourceQuotaCommonList struct {
	BaseListForm
	Items []*TenantResourceQuotaCommon
}

func (*TenantResourceQuotaCommonList) Data

func (*TenantResourceQuotaCommonList) DataPtr

func (ul *TenantResourceQuotaCommonList) DataPtr() interface{}

func (*TenantResourceQuotaCommonList) Object

type TenantUserCreateModifyForm

type TenantUserCreateModifyForm struct {
	BaseForm
	Tenant string `json:"tenant" validate:"required"`
	User   string `json:"user" validate:"required"`
	Role   string `json:"role" validate:"required"`
}

type TenantUserRelCommon

type TenantUserRelCommon struct {
	BaseForm
	ID       uint          `json:"id,omitempty"`
	Tenant   *TenantCommon `json:"tenant,omitempty"`
	TenantID uint          `json:"tenantID,omitempty"`
	User     *UserCommon   `json:"user,omitempty"`
	UserID   uint          `json:"userID,omitempty"`
	Role     string        `json:"role,omitempty"`
}

+genform object:TenantUserRel

func Convert_TenantUserRel_TenantUserRelCommon

func Convert_TenantUserRel_TenantUserRelCommon(f *orm.TenantUserRel) *TenantUserRelCommon

func Convert_TenantUserRel_TenantUserRelCommon_slice

func Convert_TenantUserRel_TenantUserRelCommon_slice(arr []*orm.TenantUserRel) []*TenantUserRelCommon

func (*TenantUserRelCommon) Data

func (*TenantUserRelCommon) DataPtr

func (u *TenantUserRelCommon) DataPtr() interface{}

func (*TenantUserRelCommon) Object

func (r *TenantUserRelCommon) Object() client.Object

type TenantUserRelCommonList

type TenantUserRelCommonList struct {
	BaseListForm
	Items []*TenantUserRelCommon
}

func (*TenantUserRelCommonList) Data

func (*TenantUserRelCommonList) DataPtr

func (ul *TenantUserRelCommonList) DataPtr() interface{}

func (*TenantUserRelCommonList) Object

type UserCommon

type UserCommon struct {
	BaseForm
	ID    uint   `json:"id"`
	Name  string `json:"name" binding:"required"`
	Email string `json:"email" binding:"required"`
	Role  string `json:"role,omitempty"`
}

+genform object:User

func Convert_User_UserCommon

func Convert_User_UserCommon(f *orm.User) *UserCommon

func Convert_User_UserCommon_slice

func Convert_User_UserCommon_slice(arr []*orm.User) []*UserCommon

func (*UserCommon) Data

func (u *UserCommon) Data() *UserCommon

func (*UserCommon) DataPtr

func (u *UserCommon) DataPtr() interface{}

func (*UserCommon) Object

func (r *UserCommon) Object() client.Object

type UserCommonList

type UserCommonList struct {
	BaseListForm
	Items []*UserCommon
}

func (*UserCommonList) Data

func (ul *UserCommonList) Data() []*UserCommon

func (*UserCommonList) DataPtr

func (ul *UserCommonList) DataPtr() interface{}

func (*UserCommonList) Object

func (ul *UserCommonList) Object() client.ObjectListIface

type UserDetail

type UserDetail struct {
	BaseForm
	ID           uint              `json:"id,omitempty"`
	Name         string            `json:"name,omitempty"`
	Email        string            `json:"email,omitempty"`
	Phone        string            `json:"phone,omitempty"`
	Source       string            `json:"source,omitempty"`
	IsActive     *bool             `json:"isActive,omitempty"`
	CreatedAt    *time.Time        `json:"createdAt,omitempty"`
	LastLoginAt  *time.Time        `json:"lastLoginAt,omitempty"`
	SystemRole   *SystemRoleCommon `json:"systemRole,omitempty"`
	SystemRoleID uint              `json:"systemRoleID,omitempty"`

	Role string `json:"role,omitempty"`
}

+genform object:User

func Convert_User_UserDetail

func Convert_User_UserDetail(f *orm.User) *UserDetail

func Convert_User_UserDetail_slice

func Convert_User_UserDetail_slice(arr []*orm.User) []*UserDetail

func (*UserDetail) Data

func (u *UserDetail) Data() *UserDetail

func (*UserDetail) DataPtr

func (u *UserDetail) DataPtr() interface{}

func (*UserDetail) Object

func (r *UserDetail) Object() client.Object

type UserDetailList

type UserDetailList struct {
	BaseListForm
	Items []*UserDetail
}

func (*UserDetailList) Data

func (ul *UserDetailList) Data() []*UserDetail

func (*UserDetailList) DataPtr

func (ul *UserDetailList) DataPtr() interface{}

func (*UserDetailList) Object

func (ul *UserDetailList) Object() client.ObjectListIface

type UserInternal

type UserInternal struct {
	BaseForm
	ID           uint              `json:"id,omitempty"`
	Name         string            `json:"name,omitempty"`
	Password     string            `json:"password,omitempty"`
	Email        string            `json:"email,omitempty"`
	Role         string            `json:"role,omitempty"`
	Phone        string            `json:"phone,omitempty"`
	Source       string            `json:"source,omitempty"`
	IsActive     *bool             `json:"isActive,omitempty"`
	CreatedAt    *time.Time        `json:"createdAt,omitempty"`
	LastLoginAt  *time.Time        `json:"lastLoginAt,omitempty"`
	SystemRole   *SystemRoleCommon `json:"systemRole,omitempty"`
	SystemRoleID uint              `json:"systemRoleID,omitempty"`
}

+genform object:User

func Convert_User_UserInternal

func Convert_User_UserInternal(f *orm.User) *UserInternal

func Convert_User_UserInternal_slice

func Convert_User_UserInternal_slice(arr []*orm.User) []*UserInternal

func (*UserInternal) Data

func (u *UserInternal) Data() *UserInternal

func (*UserInternal) DataPtr

func (u *UserInternal) DataPtr() interface{}

func (*UserInternal) GetEmail

func (u *UserInternal) GetEmail() string

func (*UserInternal) GetID

func (u *UserInternal) GetID() uint

func (*UserInternal) GetSource

func (u *UserInternal) GetSource() string

func (*UserInternal) GetSystemRoleID

func (u *UserInternal) GetSystemRoleID() uint

func (*UserInternal) GetUserKind

func (u *UserInternal) GetUserKind() string

func (*UserInternal) GetUsername

func (u *UserInternal) GetUsername() string

func (*UserInternal) MarshalBinary

func (i *UserInternal) MarshalBinary() ([]byte, error)

func (*UserInternal) Object

func (r *UserInternal) Object() client.Object

func (*UserInternal) SetLastLogin

func (u *UserInternal) SetLastLogin(t *time.Time)

func (*UserInternal) UnmarshalBinary

func (i *UserInternal) UnmarshalBinary(data []byte) error

type UserInternalList

type UserInternalList struct {
	BaseListForm
	Items []*UserInternal
}

func (*UserInternalList) Data

func (ul *UserInternalList) Data() []*UserInternal

func (*UserInternalList) DataPtr

func (ul *UserInternalList) DataPtr() interface{}

func (*UserInternalList) Object

type UserMessageStatusCommon

type UserMessageStatusCommon struct {
	BaseForm
	ID        uint           `json:"id,omitempty"`
	UserID    uint           `json:"userID,omitempty"`
	User      *UserCommon    `json:"user,omitempty"`
	MessageID uint           `json:"messageID,omitempty"`
	Message   *MessageCommon `json:"message,omitempty"`
	IsRead    bool           `json:"isRead,omitempty"`
}

+genform object:UserMessageStatus

func Convert_UserMessageStatus_UserMessageStatusCommon

func Convert_UserMessageStatus_UserMessageStatusCommon(f *orm.UserMessageStatus) *UserMessageStatusCommon

func Convert_UserMessageStatus_UserMessageStatusCommon_slice

func Convert_UserMessageStatus_UserMessageStatusCommon_slice(arr []*orm.UserMessageStatus) []*UserMessageStatusCommon

func (*UserMessageStatusCommon) Data

func (*UserMessageStatusCommon) DataPtr

func (u *UserMessageStatusCommon) DataPtr() interface{}

func (*UserMessageStatusCommon) Object

type UserMessageStatusCommonList

type UserMessageStatusCommonList struct {
	BaseListForm
	Items []*UserMessageStatusCommon
}

func (*UserMessageStatusCommonList) Data

func (*UserMessageStatusCommonList) DataPtr

func (ul *UserMessageStatusCommonList) DataPtr() interface{}

func (*UserMessageStatusCommonList) Object

type UserSetting

type UserSetting struct {
	BaseForm
	ID           uint              `json:"id,omitempty"`
	Name         string            `json:"name,omitempty"`
	Phone        string            `json:"phone,omitempty"`
	Email        string            `json:"email,omitempty"`
	Password     string            `json:"password,omitempty"`
	IsActive     *bool             `json:"isActive,omitempty"`
	SystemRole   *SystemRoleCommon `json:"systemRole,omitempty"`
	SystemRoleID uint              `json:"systemRoleID,omitempty"`
}

+genform object:User

func Convert_User_UserSetting

func Convert_User_UserSetting(f *orm.User) *UserSetting

func Convert_User_UserSetting_slice

func Convert_User_UserSetting_slice(arr []*orm.User) []*UserSetting

func (*UserSetting) Data

func (u *UserSetting) Data() *UserSetting

func (*UserSetting) DataPtr

func (u *UserSetting) DataPtr() interface{}

func (*UserSetting) Object

func (r *UserSetting) Object() client.Object

type UserSettingList

type UserSettingList struct {
	BaseListForm
	Items []*UserSetting
}

func (*UserSettingList) Data

func (ul *UserSettingList) Data() []*UserSetting

func (*UserSettingList) DataPtr

func (ul *UserSettingList) DataPtr() interface{}

func (*UserSettingList) Object

func (ul *UserSettingList) Object() client.ObjectListIface

type VirtualDomainCommon

type VirtualDomainCommon struct {
	BaseForm
	ID        uint       `json:"id,omitempty"`
	Name      string     `json:"name,omitempty"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	IsActive  bool       `json:"isActive,omitempty"`
	CreatedBy string     `json:"createdBy,omitempty"`
}

+genform object:VirtualDomain

func Convert_VirtualDomain_VirtualDomainCommon

func Convert_VirtualDomain_VirtualDomainCommon(f *orm.VirtualDomain) *VirtualDomainCommon

func Convert_VirtualDomain_VirtualDomainCommon_slice

func Convert_VirtualDomain_VirtualDomainCommon_slice(arr []*orm.VirtualDomain) []*VirtualDomainCommon

func (*VirtualDomainCommon) Data

func (*VirtualDomainCommon) DataPtr

func (u *VirtualDomainCommon) DataPtr() interface{}

func (*VirtualDomainCommon) Object

func (r *VirtualDomainCommon) Object() client.Object

type VirtualDomainCommonList

type VirtualDomainCommonList struct {
	BaseListForm
	Items []*VirtualDomainCommon
}

func (*VirtualDomainCommonList) Data

func (*VirtualDomainCommonList) DataPtr

func (ul *VirtualDomainCommonList) DataPtr() interface{}

func (*VirtualDomainCommonList) Object

type VirtualSpaceCommon

type VirtualSpaceCommon struct {
	BaseForm
	Name string `json:"name,omitempty"`
	ID   uint   `json:"id,omitempty"`
}

+genform object:VirtualSpace

func Convert_VirtualSpace_VirtualSpaceCommon

func Convert_VirtualSpace_VirtualSpaceCommon(f *orm.VirtualSpace) *VirtualSpaceCommon

func Convert_VirtualSpace_VirtualSpaceCommon_slice

func Convert_VirtualSpace_VirtualSpaceCommon_slice(arr []*orm.VirtualSpace) []*VirtualSpaceCommon

func (*VirtualSpaceCommon) Data

func (*VirtualSpaceCommon) DataPtr

func (u *VirtualSpaceCommon) DataPtr() interface{}

func (*VirtualSpaceCommon) Object

func (r *VirtualSpaceCommon) Object() client.Object

type VirtualSpaceCommonList

type VirtualSpaceCommonList struct {
	BaseListForm
	Items []*VirtualSpaceCommon
}

func (*VirtualSpaceCommonList) Data

func (*VirtualSpaceCommonList) DataPtr

func (ul *VirtualSpaceCommonList) DataPtr() interface{}

func (*VirtualSpaceCommonList) Object

type VirtualSpaceUserRelCommon

type VirtualSpaceUserRelCommon struct {
	BaseForm
	ID             uint
	VirtualSpaceID uint
	VirtualSpace   *VirtualSpaceCommon
	UserID         uint
	User           *UserCommon
	Role           string
}

+genform object:VirtualSpaceUserRel

func Convert_VirtualSpaceUserRel_VirtualSpaceUserRelCommon

func Convert_VirtualSpaceUserRel_VirtualSpaceUserRelCommon(f *orm.VirtualSpaceUserRel) *VirtualSpaceUserRelCommon

func Convert_VirtualSpaceUserRel_VirtualSpaceUserRelCommon_slice

func Convert_VirtualSpaceUserRel_VirtualSpaceUserRelCommon_slice(arr []*orm.VirtualSpaceUserRel) []*VirtualSpaceUserRelCommon

func (*VirtualSpaceUserRelCommon) Data

func (*VirtualSpaceUserRelCommon) DataPtr

func (u *VirtualSpaceUserRelCommon) DataPtr() interface{}

func (*VirtualSpaceUserRelCommon) Object

type VirtualSpaceUserRelCommonList

type VirtualSpaceUserRelCommonList struct {
	BaseListForm
	Items []*VirtualSpaceUserRelCommon
}

func (*VirtualSpaceUserRelCommonList) Data

func (*VirtualSpaceUserRelCommonList) DataPtr

func (ul *VirtualSpaceUserRelCommonList) DataPtr() interface{}

func (*VirtualSpaceUserRelCommonList) Object

type WorkloadCommon

type WorkloadCommon struct {
	BaseForm
	ID                uint       `json:"id,omitempty"`
	Name              string     `json:"name,omitempty"`
	CreatedAt         *time.Time `json:"createdAt,omitempty"`
	Cluster           string     `json:"cluster,omitempty"`
	Namespace         string     `json:"namespace,omitempty"`
	Type              string     `json:"type,omitempty"`
	CPULimitStdvar    float64    `json:"cpuLimitStdvar,omitempty"`
	MemoryLimitStdvar float64    `json:"memoryLimitStdvar,omitempty"`

	Containers []*ContainerCommon `json:"containers,omitempty"`
	Notice     *Notice            `json:"notice,omitempty"`
}

+genform object:Workload

func Convert_Workload_WorkloadCommon

func Convert_Workload_WorkloadCommon(f *orm.Workload) *WorkloadCommon

func Convert_Workload_WorkloadCommon_slice

func Convert_Workload_WorkloadCommon_slice(arr []*orm.Workload) []*WorkloadCommon

func (*WorkloadCommon) AddWorkloadNotice

func (w *WorkloadCommon) AddWorkloadNotice()

func (*WorkloadCommon) Data

func (u *WorkloadCommon) Data() *WorkloadCommon

func (*WorkloadCommon) DataPtr

func (u *WorkloadCommon) DataPtr() interface{}

func (*WorkloadCommon) Object

func (r *WorkloadCommon) Object() client.Object

type WorkloadCommonList

type WorkloadCommonList struct {
	BaseListForm
	Items []*WorkloadCommon
}

func (*WorkloadCommonList) Data

func (ul *WorkloadCommonList) Data() []*WorkloadCommon

func (*WorkloadCommonList) DataPtr

func (ul *WorkloadCommonList) DataPtr() interface{}

func (*WorkloadCommonList) Object

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL