Documentation ¶
Index ¶
- func RegisterReferrer(man db.IModelManager)
- type SProxySetting
- func (ps *SProxySetting) HttpTransportProxyFunc() httputils.TransportProxyFunc
- func (ps *SProxySetting) PerformTest(ctx context.Context, userCred mcclient.TokenCredential, ...) (jsonutils.JSONObject, error)
- func (ps *SProxySetting) ValidateDeleteCondition(ctx context.Context, info jsonutils.JSONObject) error
- func (ps *SProxySetting) ValidateUpdateData(ctx context.Context, userCred mcclient.TokenCredential, ...) (proxyapi.ProxySettingUpdateInput, error)
- type SProxySettingManager
- func (man *SProxySettingManager) InitializeData() error
- func (man *SProxySettingManager) PerformTest(ctx context.Context, userCred mcclient.TokenCredential, ...) (jsonutils.JSONObject, error)
- func (man *SProxySettingManager) ValidateCreateData(ctx context.Context, userCred mcclient.TokenCredential, ...) (proxyapi.ProxySettingCreateInput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterReferrer ¶
func RegisterReferrer(man db.IModelManager)
Types ¶
type SProxySetting ¶
type SProxySetting struct { db.SInfrasResourceBase HTTPProxy string `create:"domain_optional" list:"domain" update:"domain"` HTTPSProxy string `create:"domain_optional" list:"domain" update:"domain"` NoProxy string `create:"domain_optional" list:"domain" update:"domain"` }
func ValidateProxySettingResourceInput ¶
func ValidateProxySettingResourceInput(ctx context.Context, userCred mcclient.TokenCredential, input proxyapi.ProxySettingResourceInput) (*SProxySetting, proxyapi.ProxySettingResourceInput, error)
func (*SProxySetting) HttpTransportProxyFunc ¶
func (ps *SProxySetting) HttpTransportProxyFunc() httputils.TransportProxyFunc
func (*SProxySetting) PerformTest ¶
func (ps *SProxySetting) PerformTest(ctx context.Context, userCred mcclient.TokenCredential, query jsonutils.JSONObject, data jsonutils.JSONObject) (jsonutils.JSONObject, error)
func (*SProxySetting) ValidateDeleteCondition ¶
func (ps *SProxySetting) ValidateDeleteCondition(ctx context.Context, info jsonutils.JSONObject) error
func (*SProxySetting) ValidateUpdateData ¶
func (ps *SProxySetting) ValidateUpdateData(ctx context.Context, userCred mcclient.TokenCredential, query jsonutils.JSONObject, data proxyapi.ProxySettingUpdateInput) (proxyapi.ProxySettingUpdateInput, error)
type SProxySettingManager ¶
type SProxySettingManager struct {
db.SInfrasResourceBaseManager
}
var ProxySettingManager *SProxySettingManager
func (*SProxySettingManager) InitializeData ¶
func (man *SProxySettingManager) InitializeData() error
func (*SProxySettingManager) PerformTest ¶
func (man *SProxySettingManager) PerformTest(ctx context.Context, userCred mcclient.TokenCredential, query jsonutils.JSONObject, data proxyapi.ProxySettingTestInput) (jsonutils.JSONObject, error)
func (*SProxySettingManager) ValidateCreateData ¶
func (man *SProxySettingManager) ValidateCreateData(ctx context.Context, userCred mcclient.TokenCredential, ownerId mcclient.IIdentityProvider, query jsonutils.JSONObject, data proxyapi.ProxySettingCreateInput) (proxyapi.ProxySettingCreateInput, error)
Click to show internal directories.
Click to hide internal directories.