Documentation ¶
Index ¶
- Constants
- func AviRestOperateWrapper(restOp *RestOperations, aviClient *clients.AviClient, operation *utils.RestOp) error
- func GetHMCacheObj(gsName string, key avicache.TenantName) avicache.AviHmObj
- func GetHMCacheObjFromGSCache(gsCacheObj *avicache.AviGSCache) []avicache.AviHmObj
- func GetHmMarkers() []*avimodels.RoleFilterMatchLabel
- func RestRespArrToObjByType(operation *utils.RestOp, objType string, key string) (map[string]interface{}, error)
- func SyncFromNodesLayer(key interface{}, wg *sync.WaitGroup) error
- type RestOperations
- func (restOp *RestOperations) AviGSBuild(gsMeta *nodes.AviGSObjectGraph, restMethod utils.RestMethod, ...) *utils.RestOp
- func (restOp *RestOperations) AviGSCacheAdd(operation *utils.RestOp, key string) error
- func (restOp *RestOperations) AviGSCacheDel(gsCache *avicache.AviCache, op *utils.RestOp, key string)
- func (restOp *RestOperations) AviGSDel(uuid string, tenant string, key string, gsName string) *utils.RestOp
- func (restOp *RestOperations) AviGSHmCacheAdd(operation *utils.RestOp, key string) error
- func (restOp *RestOperations) AviGSHmCacheDel(hmCache *avicache.AviHmCache, op *utils.RestOp, key string)
- func (restOp *RestOperations) AviGsHmBuild(gsMeta *nodes.AviGSObjectGraph, restMethod utils.RestMethod, ...) *utils.RestOp
- func (restOp *RestOperations) AviGsHmDel(uuid string, tenant string, key string, hmName string) *utils.RestOp
- func (restOp *RestOperations) DqNodes(key string)
- func (restOp *RestOperations) ExecuteRestAndPopulateCache(operation *utils.RestOp, gsKey, hmKey *avicache.TenantName, key string)
- func (restOp *RestOperations) GetGSCacheObj(gsKey avicache.TenantName, key string) *avicache.AviGSCache
- func (restOp *RestOperations) PublishKeyToRetryLayer(gsKey, hmKey *avicache.TenantName, webApiErr error, key string)
- func (restOp *RestOperations) RestOperation(gsName, tenant string, aviGSGraph *nodes.AviGSObjectGraph, ...)
Constants ¶
View Source
const ( ControllerNotLeaderErr = "Config Operations can be done ONLY on leader" ControllerInMaintenanceMode = "GSLB system is in maintenance mode." GsGroupNamePrefix = "amko-gs-group-" )
Variables ¶
This section is empty.
Functions ¶
func AviRestOperateWrapper ¶
func GetHMCacheObj ¶
func GetHMCacheObj(gsName string, key avicache.TenantName) avicache.AviHmObj
func GetHMCacheObjFromGSCache ¶
func GetHMCacheObjFromGSCache(gsCacheObj *avicache.AviGSCache) []avicache.AviHmObj
func GetHmMarkers ¶
func GetHmMarkers() []*avimodels.RoleFilterMatchLabel
func RestRespArrToObjByType ¶
func SyncFromNodesLayer ¶
Types ¶
type RestOperations ¶
type RestOperations struct {
// contains filtered or unexported fields
}
func NewRestOperations ¶
func NewRestOperations(cache *avicache.AviCache, hmCache *avicache.AviHmCache) *RestOperations
func (*RestOperations) AviGSBuild ¶
func (restOp *RestOperations) AviGSBuild(gsMeta *nodes.AviGSObjectGraph, restMethod utils.RestMethod, cacheObj *avicache.AviGSCache, key string, hmRequired bool) *utils.RestOp
func (*RestOperations) AviGSCacheAdd ¶
func (restOp *RestOperations) AviGSCacheAdd(operation *utils.RestOp, key string) error
func (*RestOperations) AviGSCacheDel ¶
func (*RestOperations) AviGSHmCacheAdd ¶
func (restOp *RestOperations) AviGSHmCacheAdd(operation *utils.RestOp, key string) error
func (*RestOperations) AviGSHmCacheDel ¶
func (restOp *RestOperations) AviGSHmCacheDel(hmCache *avicache.AviHmCache, op *utils.RestOp, key string)
func (*RestOperations) AviGsHmBuild ¶
func (restOp *RestOperations) AviGsHmBuild(gsMeta *nodes.AviGSObjectGraph, restMethod utils.RestMethod, hmCacheObj *avicache.AviHmObj, key string, pathHm string) *utils.RestOp
func (*RestOperations) AviGsHmDel ¶
func (*RestOperations) DqNodes ¶
func (restOp *RestOperations) DqNodes(key string)
func (*RestOperations) ExecuteRestAndPopulateCache ¶
func (restOp *RestOperations) ExecuteRestAndPopulateCache(operation *utils.RestOp, gsKey, hmKey *avicache.TenantName, key string)
func (*RestOperations) GetGSCacheObj ¶
func (restOp *RestOperations) GetGSCacheObj(gsKey avicache.TenantName, key string) *avicache.AviGSCache
func (*RestOperations) PublishKeyToRetryLayer ¶
func (restOp *RestOperations) PublishKeyToRetryLayer(gsKey, hmKey *avicache.TenantName, webApiErr error, key string)
func (*RestOperations) RestOperation ¶
func (restOp *RestOperations) RestOperation(gsName, tenant string, aviGSGraph *nodes.AviGSObjectGraph, gsCacheObj *avicache.AviGSCache, key string)
Click to show internal directories.
Click to hide internal directories.