Documentation ¶
Index ¶
Constants ¶
View Source
const LogDeploymentTable = "sp_log_deployment"
LogDeploymentTable .
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogDeployment ¶
type LogDeployment struct { ID int64 `gorm:"column:id" json:"id"` OrgID string `gorm:"column:org_id" json:"org_id"` ClusterName string `gorm:"column:cluster_name" json:"cluster_name"` ClusterType int `gorm:"column:cluster_type" json:"cluster_type"` ESURL string `gorm:"column:es_url" json:"es_url"` ESConfig string `gorm:"column:es_config" json:"es_config"` CollectorURL string `gorm:"column:collector_url" json:"collector_url"` Domain string `gorm:"column:domain" json:"domain"` }
LogDeployment .
type LogDeploymentDB ¶
LogDeploymentDB .
func (*LogDeploymentDB) QueryByClusters ¶
func (db *LogDeploymentDB) QueryByClusters(clusters ...string) ([]*LogDeployment, error)
QueryByClusters .
func (*LogDeploymentDB) QueryByOrgID ¶
func (db *LogDeploymentDB) QueryByOrgID(orgID int64) ([]*LogDeployment, error)
QueryByOrgID .
Click to show internal directories.
Click to hide internal directories.