Documentation ¶
Index ¶
- Variables
- func GetAppOptions(s *mcclient.ClientSession, serviceType string) (jsonutils.JSONObject, error)
- func GetNamedAddressPProfByType(s *mcclient.ClientSession, address string, profileType string, ...) (io.Reader, error)
- func GetPProfByType(s *mcclient.ClientSession, serviceType string, profileType string, seconds int) (io.Reader, error)
- func GetScopeResources(s *mcclient.ClientSession, serviceType string) (jsonutils.JSONObject, error)
- func GetVersion(s *mcclient.ClientSession, serviceType string) (string, error)
- func ListWorkers(s *mcclient.ClientSession, serviceType string) (*modulebase.ListResult, error)
- func NewActionManager(keyword, keywordPlural string, columns, adminColumns []string) modulebase.ResourceManager
- func NewAnsibleManager(keyword, keywordPlural string, columns, adminColumns []string) modulebase.ResourceManager
- func NewCloudIdManager(keyword, keywordPlural string, columns, adminColumns []string) modulebase.ResourceManager
- func NewCloudeventManager(keyword, keywordPlural string, columns, adminColumns []string) modulebase.ResourceManager
- func NewComputeManager(keyword, keywordPlural string, columns, adminColumns []string) modulebase.ResourceManager
- func NewDevtoolManager(keyword, keywordPlural string, columns, adminColumns []string) modulebase.ResourceManager
- func NewIdentityManager(keyword, keywordPlural string, columns, adminColumns []string) modulebase.ResourceManager
- func NewIdentityV3Manager(keyword, keywordPlural string, columns, adminColumns []string) modulebase.ResourceManager
- func NewImageManager(keyword, keywordPlural string, columns, adminColumns []string) modulebase.ResourceManager
- func NewJointCloudIdManager(keyword, keywordPlural string, columns, adminColumns []string, ...) modulebase.JointResourceManager
- func NewJointComputeManager(keyword, keywordPlural string, columns, adminColumns []string, ...) modulebase.JointResourceManager
- func NewJointMonitorV2Manager(keyword, keywordPlural string, columns, adminColumns []string, ...) modulebase.JointResourceManager
- func NewMonitorV2Manager(keyword, keywordPlural string, columns, adminColumns []string) modulebase.ResourceManager
- func NewNotifyManager(keyword, keywordPlural string, columns, adminColumns []string) modulebase.ResourceManager
- func NewNotifyv2Manager(keyword, keywordPlural string, columns, adminColumns []string) modulebase.ResourceManager
- func NewOfflineCloudmetaManager(keyword, keywordPlural string, columns, adminColumns []string) modulebase.ResourceManager
- func NewResourceManager(serviceType string, keyword, keywordPlural string, ...) modulebase.ResourceManager
- func NewScheduledtaskManager(keyword, keywordPlural string, columns, adminColumns []string) modulebase.ResourceManager
- func NewSchedulerManager(keyword, keywordPlural string, columns, adminColumns []string) modulebase.ResourceManager
- func NewVNCProxyManager() modulebase.ResourceManager
- func NewYunionConfManager(keyword, keywordPlural string, columns, adminColumns []string) modulebase.ResourceManager
- func Register(mod modulebase.IBaseManager)
- func RegisterCompute(mod modulebase.IBaseManager)
- func TaskComplete(man ITaskResourceManager, session *mcclient.ClientSession, taskId string, ...)
- func TaskFailed(man ITaskResourceManager, session *mcclient.ClientSession, taskId string, ...)
- type ITaskResourceManager
- type LogsManager
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Logs LogsManager IdentityLogs modulebase.ResourceManager ImageLogs modulebase.ResourceManager ActionLogs modulebase.ResourceManager CloudeventLogs modulebase.ResourceManager ComputeLogs modulebase.ResourceManager MonitorLogs modulebase.ResourceManager NotifyLogs modulebase.ResourceManager )
Functions ¶
func GetAppOptions ¶
func GetAppOptions(s *mcclient.ClientSession, serviceType string) (jsonutils.JSONObject, error)
func GetPProfByType ¶
func GetScopeResources ¶
func GetScopeResources(s *mcclient.ClientSession, serviceType string) (jsonutils.JSONObject, error)
func GetVersion ¶
func GetVersion(s *mcclient.ClientSession, serviceType string) (string, error)
func ListWorkers ¶
func ListWorkers(s *mcclient.ClientSession, serviceType string) (*modulebase.ListResult, error)
func NewActionManager ¶
func NewActionManager(keyword, keywordPlural string, columns, adminColumns []string) modulebase.ResourceManager
func NewAnsibleManager ¶
func NewAnsibleManager(keyword, keywordPlural string, columns, adminColumns []string) modulebase.ResourceManager
func NewCloudIdManager ¶
func NewCloudIdManager(keyword, keywordPlural string, columns, adminColumns []string) modulebase.ResourceManager
func NewCloudeventManager ¶
func NewCloudeventManager(keyword, keywordPlural string, columns, adminColumns []string) modulebase.ResourceManager
func NewComputeManager ¶
func NewComputeManager(keyword, keywordPlural string, columns, adminColumns []string) modulebase.ResourceManager
func NewDevtoolManager ¶
func NewDevtoolManager(keyword, keywordPlural string, columns, adminColumns []string) modulebase.ResourceManager
func NewIdentityManager ¶
func NewIdentityManager(keyword, keywordPlural string, columns, adminColumns []string) modulebase.ResourceManager
func NewIdentityV3Manager ¶
func NewIdentityV3Manager(keyword, keywordPlural string, columns, adminColumns []string) modulebase.ResourceManager
func NewImageManager ¶
func NewImageManager(keyword, keywordPlural string, columns, adminColumns []string) modulebase.ResourceManager
func NewJointCloudIdManager ¶
func NewJointCloudIdManager(keyword, keywordPlural string, columns, adminColumns []string, master, slave modulebase.Manager) modulebase.JointResourceManager
func NewJointComputeManager ¶
func NewJointComputeManager(keyword, keywordPlural string, columns, adminColumns []string, master, slave modulebase.Manager) modulebase.JointResourceManager
func NewJointMonitorV2Manager ¶
func NewJointMonitorV2Manager(keyword, keywordPlural string, columns, adminColumns []string, master, slave modulebase.Manager) modulebase.JointResourceManager
func NewMonitorV2Manager ¶
func NewMonitorV2Manager(keyword, keywordPlural string, columns, adminColumns []string) modulebase.ResourceManager
func NewNotifyManager ¶
func NewNotifyManager(keyword, keywordPlural string, columns, adminColumns []string) modulebase.ResourceManager
func NewNotifyv2Manager ¶
func NewNotifyv2Manager(keyword, keywordPlural string, columns, adminColumns []string) modulebase.ResourceManager
func NewOfflineCloudmetaManager ¶
func NewOfflineCloudmetaManager(keyword, keywordPlural string, columns, adminColumns []string) modulebase.ResourceManager
func NewResourceManager ¶
func NewResourceManager(serviceType string, keyword, keywordPlural string, columns, adminColumns []string, apiVersion string) modulebase.ResourceManager
func NewScheduledtaskManager ¶
func NewScheduledtaskManager(keyword, keywordPlural string, columns, adminColumns []string) modulebase.ResourceManager
func NewSchedulerManager ¶
func NewSchedulerManager(keyword, keywordPlural string, columns, adminColumns []string) modulebase.ResourceManager
func NewVNCProxyManager ¶
func NewVNCProxyManager() modulebase.ResourceManager
func NewYunionConfManager ¶
func NewYunionConfManager(keyword, keywordPlural string, columns, adminColumns []string) modulebase.ResourceManager
func Register ¶
func Register(mod modulebase.IBaseManager)
func RegisterCompute ¶
func RegisterCompute(mod modulebase.IBaseManager)
func TaskComplete ¶
func TaskComplete(man ITaskResourceManager, session *mcclient.ClientSession, taskId string, params jsonutils.JSONObject)
func TaskFailed ¶
func TaskFailed(man ITaskResourceManager, session *mcclient.ClientSession, taskId string, reason string)
Types ¶
type ITaskResourceManager ¶
type ITaskResourceManager interface {
PerformClassAction(session *mcclient.ClientSession, action string, params jsonutils.JSONObject) (jsonutils.JSONObject, error)
}
type LogsManager ¶
type LogsManager struct {
modulebase.ResourceManager
}
func (*LogsManager) Get ¶
func (this *LogsManager) Get(session *mcclient.ClientSession, id string, params jsonutils.JSONObject) (jsonutils.JSONObject, error)
func (*LogsManager) PerformClassAction ¶
func (this *LogsManager) PerformClassAction(session *mcclient.ClientSession, action string, params jsonutils.JSONObject) (jsonutils.JSONObject, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.