Documentation ¶
Index ¶
- Constants
- type MonitorService
- func (service *MonitorService) Add(monitor models.Monitor)
- func (service *MonitorService) GetAll() (monitors []models.Monitor)
- func (service *MonitorService) GetByName(name string) (monitor *models.Monitor, err error)
- func (service *MonitorService) Remove(monitor models.Monitor)
- func (service *MonitorService) Setup(provider config.Provider)
- func (service *MonitorService) Update(monitor models.Monitor)
Constants ¶
View Source
const (
ProjectIDAnnotation = "gcloud.monitor.stakater.com/project-id"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MonitorService ¶
type MonitorService struct {
// contains filtered or unexported fields
}
func (*MonitorService) Add ¶
func (service *MonitorService) Add(monitor models.Monitor)
func (*MonitorService) GetAll ¶
func (service *MonitorService) GetAll() (monitors []models.Monitor)
func (*MonitorService) GetByName ¶
func (service *MonitorService) GetByName(name string) (monitor *models.Monitor, err error)
func (*MonitorService) Remove ¶
func (service *MonitorService) Remove(monitor models.Monitor)
func (*MonitorService) Setup ¶
func (service *MonitorService) Setup(provider config.Provider)
func (*MonitorService) Update ¶
func (service *MonitorService) Update(monitor models.Monitor)
Click to show internal directories.
Click to hide internal directories.