Documentation ¶
Index ¶
- Constants
- func ValidateAccount(bag *m.AppDBag, logger *log.Logger) error
- type AppDRestAuth
- type ControllerClient
- func (c *ControllerClient) DeleteAppDNode(nodeID int) error
- func (c *ControllerClient) DetermineNodeID(appName string, tierName string, nodeName string) (int, int, int, error)
- func (c *ControllerClient) EnableAppAnalytics(appID int, appName string) error
- func (c *ControllerClient) FindAppID(appName string) (int, error)
- func (c *ControllerClient) FindNodeID(appID int, tierName string, nodeName string) (int, int, error)
- func (c *ControllerClient) GetControllerStatus(bag *m.AppDBag) error
- func (c *ControllerClient) GetMetricID(appID int, metricPath string) (float64, error)
- func (c *ControllerClient) GetMetricID457(appID int, metricPath string) (float64, error)
- func (c *ControllerClient) MarkNodeHistorical(nodeID int)
- func (c *ControllerClient) PostMetrics(metrics m.AppDMetricList) error
- func (c *ControllerClient) RegisterMetrics(metrics m.AppDMetricList) error
- func (c *ControllerClient) StartBT(name string) appd.BtHandle
- func (c *ControllerClient) StopBT(bth appd.BtHandle)
- type ControllerInfo
- type RestClient
- func (rc *RestClient) CallAppDController(path, method string, data []byte) ([]byte, error)
- func (rc *RestClient) CreateDashboard(templatePath string) ([]byte, error)
- func (rc *RestClient) CreateSchema(schemaName string, data []byte) ([]byte, error)
- func (rc *RestClient) DeleteSchema(schemaName string) error
- func (rc *RestClient) EnsureSchema(schemaName string, current m.AppDSchemaInterface) error
- func (rc *RestClient) GetControllerVersion() ([]byte, error)
- func (rc *RestClient) GetRestAuth() (AppDRestAuth, error)
- func (rc *RestClient) LoadSchema(schemaName string) (*map[string]interface{}, error)
- func (rc *RestClient) MarkNodeHistorical(nodeId int) error
- func (rc *RestClient) PostAppDEvents(schemaName string, data []byte) []byte
- func (rc *RestClient) SchemaExists(schemaName string) bool
Constants ¶
View Source
const (
MAX_FIELD_LENGTH int = 3000
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppDRestAuth ¶
func NewRestAuth ¶
func NewRestAuth(t string, s string) AppDRestAuth
type ControllerClient ¶
type ControllerClient struct { ConfManager *config.MutexConfigManager MetricsCache map[string]float64 // contains filtered or unexported fields }
func NewControllerClient ¶
func NewControllerClient(cm *config.MutexConfigManager, logger *log.Logger) (*ControllerClient, error)
func (*ControllerClient) DeleteAppDNode ¶
func (c *ControllerClient) DeleteAppDNode(nodeID int) error
func (*ControllerClient) DetermineNodeID ¶
func (*ControllerClient) EnableAppAnalytics ¶
func (c *ControllerClient) EnableAppAnalytics(appID int, appName string) error
func (*ControllerClient) FindAppID ¶
func (c *ControllerClient) FindAppID(appName string) (int, error)
func (*ControllerClient) FindNodeID ¶
func (*ControllerClient) GetControllerStatus ¶
func (c *ControllerClient) GetControllerStatus(bag *m.AppDBag) error
func (*ControllerClient) GetMetricID ¶
func (c *ControllerClient) GetMetricID(appID int, metricPath string) (float64, error)
func (*ControllerClient) GetMetricID457 ¶ added in v0.1.12
func (c *ControllerClient) GetMetricID457(appID int, metricPath string) (float64, error)
func (*ControllerClient) MarkNodeHistorical ¶
func (c *ControllerClient) MarkNodeHistorical(nodeID int)
func (*ControllerClient) PostMetrics ¶
func (c *ControllerClient) PostMetrics(metrics m.AppDMetricList) error
func (*ControllerClient) RegisterMetrics ¶
func (c *ControllerClient) RegisterMetrics(metrics m.AppDMetricList) error
func (*ControllerClient) StopBT ¶
func (c *ControllerClient) StopBT(bth appd.BtHandle)
type ControllerInfo ¶
type RestClient ¶
func NewRestClient ¶
func NewRestClient(bag *m.AppDBag, logger *log.Logger) *RestClient
func (*RestClient) CallAppDController ¶
func (rc *RestClient) CallAppDController(path, method string, data []byte) ([]byte, error)
func (*RestClient) CreateDashboard ¶
func (rc *RestClient) CreateDashboard(templatePath string) ([]byte, error)
func (*RestClient) CreateSchema ¶
func (rc *RestClient) CreateSchema(schemaName string, data []byte) ([]byte, error)
func (*RestClient) DeleteSchema ¶
func (rc *RestClient) DeleteSchema(schemaName string) error
func (*RestClient) EnsureSchema ¶
func (rc *RestClient) EnsureSchema(schemaName string, current m.AppDSchemaInterface) error
func (*RestClient) GetControllerVersion ¶
func (rc *RestClient) GetControllerVersion() ([]byte, error)
func (*RestClient) GetRestAuth ¶
func (rc *RestClient) GetRestAuth() (AppDRestAuth, error)
func (*RestClient) LoadSchema ¶
func (rc *RestClient) LoadSchema(schemaName string) (*map[string]interface{}, error)
func (*RestClient) MarkNodeHistorical ¶
func (rc *RestClient) MarkNodeHistorical(nodeId int) error
func (*RestClient) PostAppDEvents ¶
func (rc *RestClient) PostAppDEvents(schemaName string, data []byte) []byte
func (*RestClient) SchemaExists ¶
func (rc *RestClient) SchemaExists(schemaName string) bool
Click to show internal directories.
Click to hide internal directories.