Documentation ¶
Index ¶
Constants ¶
View Source
const (
InitPlusStatusCapabilityEx = "InitPlusStatusCapabilityEx"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Capability ¶
type Capability struct { Provider CapabilityEx Config *Config *logger.Logger }
func (*Capability) GetConfigValidator ¶
func (cap *Capability) GetConfigValidator() (v validator.Validator)
func (*Capability) GetInitFuncName ¶
func (cap *Capability) GetInitFuncName() (name string)
func (*Capability) GetStatusCapabilityEx ¶
func (cap *Capability) GetStatusCapabilityEx() (capEx CapabilityEx)
func (*Capability) InitProvider ¶
func (cap *Capability) InitProvider(sym plugin.Symbol)
type CapabilityEx ¶
type CapabilityEx interface {
GetStatusInfo() (info *PlusStatusInfo)
}
type PlusStatusInfo ¶
type PlusStatusInfo struct { IsEnabled bool `json:"is_enabled"` IsTrial bool `json:"is_trial"` ValidLicense bool `json:"valid_license"` LicenseInfo licensecap.PlusLicenseInfo `json:"lic_info"` PlusVersion string `json:"plus_version"` PlusBuildTime string `json:"build_time"` PlusLocalBuild string `json:"local_build"` RportGitRef string `json:"rport_git_ref"` RportCommitID string `json:"rport_commit_id"` }
Click to show internal directories.
Click to hide internal directories.