Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindAllUsingPolicy ¶
Types ¶
type AddAction ¶
func (*AddAction) RunPost ¶
func (this *AddAction) RunPost(params struct { Name string StorageFormat string StorageTemplate string StorageType string // file FilePath string // es EsEndpoint string EsIndex string EsMappingType string // mysql MysqlHost string MysqlPort int MysqlUsername string MysqlPassword string MysqlDatabase string MysqlTable string MysqlLogField string // tcp TcpNetwork string TcpAddr string // command CommandCommand string CommandArgs string CommandDir string On bool Must *actions.Must })
保存提交
type DeleteAction ¶
func (*DeleteAction) RunPost ¶
func (this *DeleteAction) RunPost(params struct { PolicyId string })
删除策略
type Helper ¶
type Helper struct { }
func (*Helper) BeforeAction ¶
func (this *Helper) BeforeAction(action *actions.ActionObject)
相关Helper
type IndexAction ¶
type PolicyAction ¶
func (*PolicyAction) RunGet ¶
func (this *PolicyAction) RunGet(params struct { PolicyId string })
策略详情
type UpdateAction ¶
func (*UpdateAction) RunGet ¶
func (this *UpdateAction) RunGet(params struct { PolicyId string })
修改策略
func (*UpdateAction) RunPost ¶
func (this *UpdateAction) RunPost(params struct { PolicyId string Name string StorageFormat string StorageTemplate string StorageType string // file FilePath string // es EsEndpoint string EsIndex string EsMappingType string // mysql MysqlHost string MysqlPort int MysqlUsername string MysqlPassword string MysqlDatabase string MysqlTable string MysqlLogField string // tcp TcpNetwork string TcpAddr string // command CommandCommand string CommandArgs string CommandDir string On bool Must *actions.Must })
保存提交
Click to show internal directories.
Click to hide internal directories.