Documentation
¶
Overview ¶
Package group GENERATED BY gengo:enum DON'T EDIT THIS FILE
Package group GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
Package group GENERATED BY gengo:table DON'T EDIT THIS FILE
Index ¶
- Variables
- type Account
- type Deployment
- func (Deployment) Indexes() github_com_octohelm_storage_pkg_sqlbuilder.Indexes
- func (Deployment) Primary() []string
- func (v Deployment) RuntimeDoc(names ...string) ([]string, bool)
- func (Deployment) TableName() string
- func (Deployment) UniqueIndexes() github_com_octohelm_storage_pkg_sqlbuilder.Indexes
- type DeploymentDataList
- type DeploymentHistory
- func (DeploymentHistory) Indexes() github_com_octohelm_storage_pkg_sqlbuilder.Indexes
- func (DeploymentHistory) Primary() []string
- func (v DeploymentHistory) RuntimeDoc(names ...string) ([]string, bool)
- func (DeploymentHistory) TableName() string
- func (DeploymentHistory) UniqueIndexes() github_com_octohelm_storage_pkg_sqlbuilder.Indexes
- type DeploymentHistoryID
- type DeploymentID
- type DeploymentSetting
- func (DeploymentSetting) Indexes() github_com_octohelm_storage_pkg_sqlbuilder.Indexes
- func (DeploymentSetting) Primary() []string
- func (v DeploymentSetting) RuntimeDoc(names ...string) ([]string, bool)
- func (DeploymentSetting) TableName() string
- func (DeploymentSetting) UniqueIndexes() github_com_octohelm_storage_pkg_sqlbuilder.Indexes
- type DeploymentSettingID
- type DeploymentValues
- type DeploymentWithKubePkg
- type Env
- type EnvCluster
- type EnvID
- type EnvInfo
- type EnvType
- func (EnvType) EnumValues() []any
- func (v EnvType) Label() string
- func (v EnvType) MarshalText() ([]byte, error)
- func (EnvType) RuntimeDoc(names ...string) ([]string, bool)
- func (v *EnvType) Scan(src any) error
- func (v EnvType) String() string
- func (v *EnvType) UnmarshalText(data []byte) error
- func (v EnvType) Value() (database_sql_driver.Value, error)
- type EnvWithCluster
- type Group
- type ID
- type Info
- type KubepkgRel
- type Robot
- type RobotDataList
- type RobotQueryParams
- type RoleInfo
- type RoleType
- func (RoleType) EnumValues() []any
- func (v RoleType) Label() string
- func (v RoleType) MarshalText() ([]byte, error)
- func (RoleType) RuntimeDoc(names ...string) ([]string, bool)
- func (v *RoleType) Scan(src any) error
- func (v RoleType) String() string
- func (v *RoleType) UnmarshalText(data []byte) error
- func (v RoleType) Value() (database_sql_driver.Value, error)
- type Type
- func (Type) EnumValues() []any
- func (v Type) Label() string
- func (v Type) MarshalText() ([]byte, error)
- func (Type) RuntimeDoc(names ...string) ([]string, bool)
- func (v *Type) Scan(src any) error
- func (v Type) String() string
- func (v *Type) UnmarshalText(data []byte) error
- func (v Type) Value() (database_sql_driver.Value, error)
- type User
- type UserDataList
- type UserQueryParams
Constants ¶
This section is empty.
Variables ¶
var AccountT = &tableAccount{ ID: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[github_com_octohelm_storage_pkg_datatypes.SFID](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Account{}).F("ID")), AccountID: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[github_com_octohelm_kubepkg_internal_dashboard_domain_account.ID](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Account{}).F("AccountID")), GroupID: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[ID](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Account{}).F("GroupID")), RoleType: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[RoleType](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Account{}).F("RoleType")), CreatedAt: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[github_com_octohelm_storage_pkg_datatypes.Timestamp](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Account{}).F("CreatedAt")), UpdatedAt: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[github_com_octohelm_storage_pkg_datatypes.Timestamp](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Account{}).F("UpdatedAt")), I: indexNameOfAccount{ Primary: github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Account{}).Cols([]string{ "ID", }...), IGroupAccount: github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Account{}).Cols([]string{ "GroupID", "AccountID", }...), }, table: github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Account{}), }
var DeploymentHistoryT = &tableDeploymentHistory{ DeploymentID: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[DeploymentID](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&DeploymentHistory{}).F("DeploymentID")), DeploymentHistoryID: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[DeploymentHistoryID](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&DeploymentHistory{}).F("DeploymentHistoryID")), KubepkgID: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[github_com_octohelm_kubepkg_internal_dashboard_domain_kubepkg.ID](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&DeploymentHistory{}).F("KubepkgID")), KubepkgRevisionID: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[github_com_octohelm_kubepkg_internal_dashboard_domain_kubepkg.RevisionID](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&DeploymentHistory{}).F("KubepkgRevisionID")), DeploymentSettingID: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[DeploymentSettingID](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&DeploymentHistory{}).F("DeploymentSettingID")), CreatedAt: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[github_com_octohelm_storage_pkg_datatypes.Timestamp](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&DeploymentHistory{}).F("CreatedAt")), I: indexNameOfDeploymentHistory{ Primary: github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&DeploymentHistory{}).Cols([]string{ "DeploymentHistoryID", }...), IDeploymentRevision: github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&DeploymentHistory{}).Cols([]string{ "KubepkgRevisionID", "DeploymentSettingID", }...), }, table: github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&DeploymentHistory{}), }
var DeploymentSettingT = &tableDeploymentSetting{ DeploymentSettingID: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[DeploymentSettingID](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&DeploymentSetting{}).F("DeploymentSettingID")), DeploymentID: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[DeploymentID](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&DeploymentSetting{}).F("DeploymentID")), Digest: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[string](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&DeploymentSetting{}).F("Digest")), EncryptedSetting: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[[]uint8](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&DeploymentSetting{}).F("EncryptedSetting")), CreatedAt: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[github_com_octohelm_storage_pkg_datatypes.Timestamp](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&DeploymentSetting{}).F("CreatedAt")), I: indexNameOfDeploymentSetting{ Primary: github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&DeploymentSetting{}).Cols([]string{ "DeploymentSettingID", }...), IHash: github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&DeploymentSetting{}).Cols([]string{ "DeploymentID", "Digest", }...), }, table: github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&DeploymentSetting{}), }
var DeploymentT = &tableDeployment{ GroupEnvID: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[EnvID](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Deployment{}).F("GroupEnvID")), DeploymentID: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[DeploymentID](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Deployment{}).F("DeploymentID")), DeploymentName: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[string](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Deployment{}).F("DeploymentName")), CreatedAt: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[github_com_octohelm_storage_pkg_datatypes.Timestamp](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Deployment{}).F("CreatedAt")), UpdatedAt: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[github_com_octohelm_storage_pkg_datatypes.Timestamp](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Deployment{}).F("UpdatedAt")), KubepkgID: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[github_com_octohelm_kubepkg_internal_dashboard_domain_kubepkg.ID](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Deployment{}).F("KubepkgID")), KubepkgChannel: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[github_com_octohelm_kubepkg_internal_dashboard_domain_kubepkg.Channel](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Deployment{}).F("KubepkgChannel")), I: indexNameOfDeployment{ Primary: github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Deployment{}).Cols([]string{ "DeploymentID", }...), IDeploymentName: github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Deployment{}).Cols([]string{ "GroupEnvID", "DeploymentName", }...), }, table: github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Deployment{}), }
var EnvT = &tableEnv{ EnvID: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[EnvID](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Env{}).F("EnvID")), GroupID: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[ID](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Env{}).F("GroupID")), EnvName: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[string](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Env{}).F("EnvName")), Desc: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[string](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Env{}).F("Desc")), EnvType: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[EnvType](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Env{}).F("EnvType")), ClusterID: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[github_com_octohelm_kubepkg_internal_dashboard_domain_cluster.ID](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Env{}).F("ClusterID")), Namespace: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[string](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Env{}).F("Namespace")), RandPassword: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[[]uint8](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Env{}).F("RandPassword")), CreatedAt: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[github_com_octohelm_storage_pkg_datatypes.Timestamp](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Env{}).F("CreatedAt")), UpdatedAt: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[github_com_octohelm_storage_pkg_datatypes.Timestamp](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Env{}).F("UpdatedAt")), DeletedAt: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[github_com_octohelm_storage_pkg_datatypes.Timestamp](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Env{}).F("DeletedAt")), I: indexNameOfEnv{ Primary: github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Env{}).Cols([]string{ "EnvID", "DeletedAt", }...), IEnvName: github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Env{}).Cols([]string{ "GroupID", "EnvName", }...), }, table: github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Env{}), }
var GroupT = &tableGroup{ ID: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[ID](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Group{}).F("ID")), Name: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[string](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Group{}).F("Name")), Type: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[Type](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Group{}).F("Type")), Desc: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[string](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Group{}).F("Desc")), CreatedAt: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[github_com_octohelm_storage_pkg_datatypes.Timestamp](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Group{}).F("CreatedAt")), UpdatedAt: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[github_com_octohelm_storage_pkg_datatypes.Timestamp](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Group{}).F("UpdatedAt")), DeletedAt: github_com_octohelm_storage_pkg_sqlbuilder.CastCol[github_com_octohelm_storage_pkg_datatypes.Timestamp](github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Group{}).F("DeletedAt")), I: indexNameOfGroup{ Primary: github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Group{}).Cols([]string{ "ID", "DeletedAt", }...), IGroupName: github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Group{}).Cols([]string{ "Name", }...), }, table: github_com_octohelm_storage_pkg_sqlbuilder.TableFromModel(&Group{}), }
var InvalidEnvType = github_com_pkg_errors.New("invalid EnvType")
var InvalidRoleType = github_com_pkg_errors.New("invalid RoleType")
var InvalidType = github_com_pkg_errors.New("invalid Type")
var T = &sqlbuilder.Tables{}
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { ID datatypes.SFID `db:"f_id" json:"-"` // 账户 ID AccountID account.ID `db:"f_account_id" json:"accountID"` // 组织 ID GroupID ID `db:"f_group_id" json:"groupID"` // 角色 RoleType RoleType `db:"f_role_type" json:"roleType"` datatypes.CreationUpdationTime }
+gengo:table:register=T +gengo:table:group=group
@def primary ID @def unique_index i_group_account GroupID AccountID @def index i_role_type RoleType @def index i_created_at CreatedAt @def index i_updated_at UpdatedAt
func (Account) Indexes ¶
func (Account) Indexes() github_com_octohelm_storage_pkg_sqlbuilder.Indexes
func (Account) UniqueIndexes ¶
func (Account) UniqueIndexes() github_com_octohelm_storage_pkg_sqlbuilder.Indexes
type Deployment ¶
type Deployment struct { GroupEnvID EnvID `db:"f_group_env_id" json:"groupEnvID"` DeploymentID DeploymentID `db:"f_deployment_id" json:"-"` // DeploymentName default is EnvName of Kubepkg DeploymentName string `db:"f_deployment_name" json:"deploymentName"` datatypes.CreationUpdationTime KubepkgRel }
+gengo:table:register=T +gengo:table:group=group @def primary DeploymentID @def unique_index i_deployment_name GroupEnvID DeploymentName @def index i_updated_at CreatedAt @def index i_updated_at UpdatedAt
func (Deployment) Indexes ¶
func (Deployment) Indexes() github_com_octohelm_storage_pkg_sqlbuilder.Indexes
func (Deployment) Primary ¶
func (Deployment) Primary() []string
func (Deployment) RuntimeDoc ¶
func (v Deployment) RuntimeDoc(names ...string) ([]string, bool)
func (Deployment) TableName ¶
func (Deployment) TableName() string
func (Deployment) UniqueIndexes ¶
func (Deployment) UniqueIndexes() github_com_octohelm_storage_pkg_sqlbuilder.Indexes
type DeploymentDataList ¶
type DeploymentDataList struct { Data []*v1alpha1.KubePkg `json:"data"` Total int `json:"total,omitempty"` }
func (DeploymentDataList) RuntimeDoc ¶
func (v DeploymentDataList) RuntimeDoc(names ...string) ([]string, bool)
type DeploymentHistory ¶
type DeploymentHistory struct { DeploymentID DeploymentID `db:"f_deployment_id" json:"deploymentID"` DeploymentHistoryID DeploymentHistoryID `db:"f_deployment_history_id" json:"deploymentHistoryID"` KubepkgID kubepkg.ID `db:"f_kubepkg_id" json:"kubepkgID"` KubepkgRevisionID kubepkg.RevisionID `db:"f_kubepkg_revision_id,default=0" json:"kubepkgRevisionID"` DeploymentSettingID DeploymentSettingID `db:"f_deployment_setting_id,default=0" json:"deploymentSettingID"` datatypes.CreationTime }
+gengo:table:register=T +gengo:table:group=group @def primary DeploymentHistoryID @def unique_index i_deployment_revision KubepkgRevisionID DeploymentSettingID @def index i_deployment DeploymentID @def index i_kubepkg KubepkgID @def index i_updated_at CreatedAt
func (DeploymentHistory) Indexes ¶
func (DeploymentHistory) Indexes() github_com_octohelm_storage_pkg_sqlbuilder.Indexes
func (DeploymentHistory) Primary ¶
func (DeploymentHistory) Primary() []string
func (DeploymentHistory) RuntimeDoc ¶
func (v DeploymentHistory) RuntimeDoc(names ...string) ([]string, bool)
func (DeploymentHistory) TableName ¶
func (DeploymentHistory) TableName() string
func (DeploymentHistory) UniqueIndexes ¶ added in v0.3.0
func (DeploymentHistory) UniqueIndexes() github_com_octohelm_storage_pkg_sqlbuilder.Indexes
type DeploymentHistoryID ¶
type DeploymentHistoryID uint64
func (DeploymentHistoryID) MarshalText ¶
func (id DeploymentHistoryID) MarshalText() (text []byte, err error)
func (DeploymentHistoryID) RuntimeDoc ¶
func (DeploymentHistoryID) RuntimeDoc(names ...string) ([]string, bool)
func (DeploymentHistoryID) String ¶
func (id DeploymentHistoryID) String() string
func (*DeploymentHistoryID) UnmarshalText ¶
func (id *DeploymentHistoryID) UnmarshalText(text []byte) error
type DeploymentID ¶
type DeploymentID uint64
func (DeploymentID) MarshalText ¶
func (id DeploymentID) MarshalText() (text []byte, err error)
func (DeploymentID) RuntimeDoc ¶
func (DeploymentID) RuntimeDoc(names ...string) ([]string, bool)
func (DeploymentID) String ¶
func (id DeploymentID) String() string
func (*DeploymentID) UnmarshalText ¶
func (id *DeploymentID) UnmarshalText(text []byte) error
type DeploymentSetting ¶
type DeploymentSetting struct { DeploymentSettingID DeploymentSettingID `db:"f_deployment_setting_id" json:"deploymentSettingID"` DeploymentID DeploymentID `db:"f_deployment_id" json:"deploymentID"` Digest string `db:"f_digest" json:"digest"` EncryptedSetting []byte `db:"f_setting" json:"-"` datatypes.CreationTime }
+gengo:table:register=T +gengo:table:group=group @def primary DeploymentSettingID @def unique_index i_hash DeploymentID Digest @def index i_updated_at CreatedAt
func (DeploymentSetting) Indexes ¶
func (DeploymentSetting) Indexes() github_com_octohelm_storage_pkg_sqlbuilder.Indexes
func (DeploymentSetting) Primary ¶
func (DeploymentSetting) Primary() []string
func (DeploymentSetting) RuntimeDoc ¶
func (v DeploymentSetting) RuntimeDoc(names ...string) ([]string, bool)
func (DeploymentSetting) TableName ¶
func (DeploymentSetting) TableName() string
func (DeploymentSetting) UniqueIndexes ¶
func (DeploymentSetting) UniqueIndexes() github_com_octohelm_storage_pkg_sqlbuilder.Indexes
type DeploymentSettingID ¶
type DeploymentSettingID uint64
func (DeploymentSettingID) MarshalText ¶
func (id DeploymentSettingID) MarshalText() (text []byte, err error)
func (DeploymentSettingID) RuntimeDoc ¶
func (DeploymentSettingID) RuntimeDoc(names ...string) ([]string, bool)
func (DeploymentSettingID) String ¶
func (id DeploymentSettingID) String() string
func (*DeploymentSettingID) UnmarshalText ¶
func (id *DeploymentSettingID) UnmarshalText(text []byte) error
type DeploymentValues ¶ added in v0.4.1
type DeploymentValues struct { DeploymentSettingID DeploymentSettingID Values map[string]any }
func (DeploymentValues) RuntimeDoc ¶ added in v0.4.1
func (v DeploymentValues) RuntimeDoc(names ...string) ([]string, bool)
type DeploymentWithKubePkg ¶
type DeploymentWithKubePkg struct {
Deployment
}
func (DeploymentWithKubePkg) RuntimeDoc ¶
func (v DeploymentWithKubePkg) RuntimeDoc(names ...string) ([]string, bool)
type Env ¶
type Env struct { EnvID EnvID `db:"f_env_id" json:"envID"` // 组织 ID GroupID ID `db:"f_group_id" json:"groupID"` EnvName string `db:"f_env_name" json:"envName"` EnvInfo EnvCluster RandPassword []byte `db:"f_rand_pwd,null" json:"-"` datatypes.CreationUpdationDeletionTime }
+gengo:table:register=T +gengo:table:group=group @def primary EnvID DeletedAt @def unique_index i_env_name GroupID EnvName @def index i_env_type EnvType @def index i_bind_clusterID ClusterID @def index i_created_at CreatedAt @def index i_updated_at UpdatedAt
func (Env) Indexes ¶
func (Env) Indexes() github_com_octohelm_storage_pkg_sqlbuilder.Indexes
func (Env) UniqueIndexes ¶
func (Env) UniqueIndexes() github_com_octohelm_storage_pkg_sqlbuilder.Indexes
type EnvCluster ¶
type EnvCluster struct { // 关联集群 ClusterID cluster.ID `db:"f_cluster_id,default=0" json:"-"` // 对应 namespace // <group>--<env-name> Namespace string `db:"f_namespace,default=''" json:"namespace"` }
func (EnvCluster) RuntimeDoc ¶
func (v EnvCluster) RuntimeDoc(names ...string) ([]string, bool)
type EnvInfo ¶
type EnvType ¶
type EnvType uint8
+gengo:enum
func ParseEnvTypeFromString ¶
func ParseEnvTypeLabelString ¶
func (EnvType) EnumValues ¶
func (EnvType) MarshalText ¶
func (*EnvType) UnmarshalText ¶
type EnvWithCluster ¶
func (EnvWithCluster) RuntimeDoc ¶
func (v EnvWithCluster) RuntimeDoc(names ...string) ([]string, bool)
type Group ¶
type Group struct { // 组织 ID ID ID `db:"f_group_id" json:"groupID"` // 组织名称 Name string `db:"f_group_name" json:"name"` Info datatypes.CreationUpdationDeletionTime }
Group +gengo:table:register=T @def primary ID DeletedAt @def unique_index i_group_name Name @def index i_created_at CreatedAt @def index i_updated_at UpdatedAt
func (Group) Indexes ¶
func (Group) Indexes() github_com_octohelm_storage_pkg_sqlbuilder.Indexes
func (Group) UniqueIndexes ¶
func (Group) UniqueIndexes() github_com_octohelm_storage_pkg_sqlbuilder.Indexes
type Info ¶
type KubepkgRel ¶
type KubepkgRel struct { // KubepkgID which to bind kubepkg KubepkgID kubepkg.ID `db:"f_kubepkg_id" json:"kubepkgID"` KubepkgChannel kubepkg.Channel `db:"f_kubepkg_channel" json:"channel"` }
func (KubepkgRel) RuntimeDoc ¶
func (v KubepkgRel) RuntimeDoc(names ...string) ([]string, bool)
type RobotDataList ¶
func (RobotDataList) RuntimeDoc ¶
func (v RobotDataList) RuntimeDoc(names ...string) ([]string, bool)
type RobotQueryParams ¶
type RobotQueryParams struct { account.RobotQueryParams RoleType []RoleType `name:"roleType,omitempty" in:"query"` }
func (RobotQueryParams) RuntimeDoc ¶
func (v RobotQueryParams) RuntimeDoc(names ...string) ([]string, bool)
type RoleType ¶
type RoleType uint8
+gengo:enum
func ParseRoleTypeFromString ¶
func (RoleType) EnumValues ¶
func (RoleType) MarshalText ¶
func (*RoleType) UnmarshalText ¶
type Type ¶ added in v0.4.0
type Type uint8
+gengo:enum
func ParseTypeFromString ¶ added in v0.4.0
func ParseTypeLabelString ¶ added in v0.4.0
func (Type) EnumValues ¶ added in v0.4.0
func (Type) MarshalText ¶ added in v0.4.0
func (*Type) UnmarshalText ¶ added in v0.4.0
type UserDataList ¶
func (UserDataList) RuntimeDoc ¶
func (v UserDataList) RuntimeDoc(names ...string) ([]string, bool)
type UserQueryParams ¶
type UserQueryParams struct { account.UserQueryParams RoleType []RoleType `name:"roleType,omitempty" in:"query"` }
func (UserQueryParams) RuntimeDoc ¶
func (v UserQueryParams) RuntimeDoc(names ...string) ([]string, bool)
Source Files
¶
Directories
¶
Path | Synopsis |
---|---|
Package repository GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
|
Package repository GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE |
Package service GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
|
Package service GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE |