subscriptionmodel

package
v0.3.10-0-alpha2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2022 License: Apache-2.0 Imports: 23 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SSubscriptionManager

type SSubscriptionManager struct {
	db.SVirtualResourceBaseManager
	// contains filtered or unexported fields
}
var (
	SubscriptionManager *SSubscriptionManager
)

func (*SSubscriptionManager) AddSubscription

func (self *SSubscriptionManager) AddSubscription()

func (*SSubscriptionManager) AllowPerformWrite

func (self *SSubscriptionManager) AllowPerformWrite(ctx context.Context,
	userCred mcclient.TokenCredential, query jsonutils.JSONObject, data jsonutils.JSONObject) bool

func (*SSubscriptionManager) DeleteAlert

func (self *SSubscriptionManager) DeleteAlert(alert *models.SCommonAlert)

func (*SSubscriptionManager) Eval

func (*SSubscriptionManager) GetSystemAlerts

func (self *SSubscriptionManager) GetSystemAlerts() []*models.SCommonAlert

func (*SSubscriptionManager) LoadSystemAlerts

func (self *SSubscriptionManager) LoadSystemAlerts() error

func (*SSubscriptionManager) PerformWrite

func (self *SSubscriptionManager) PerformWrite(ctx context.Context, userCred mcclient.TokenCredential,
	query jsonutils.JSONObject, data []sub.Point)

func (*SSubscriptionManager) SetAlert

func (self *SSubscriptionManager) SetAlert(alert *models.SCommonAlert)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL