Documentation ¶
Index ¶
- func SecurityGroupRuleLessFunc(rs []*SecurityGroupRule) func(i, j int) bool
- type DnsRecord
- type DnsRecords
- type DnsZone
- type DnsZones
- type Elasticip
- type Elasticips
- type Group
- type Groupguest
- type Groupguests
- type Groupnetwork
- type Groupnetworks
- type Groups
- type Guest
- type Guestnetwork
- type GuestnetworkList
- type Guestnetworks
- type Guests
- type Guestsecgroup
- type Guestsecgroups
- type Host
- type Hosts
- type LoadbalancerAcl
- type LoadbalancerAcls
- type LoadbalancerListener
- type LoadbalancerListeners
- func (set LoadbalancerListeners) AddModel(i db.IModel)
- func (set LoadbalancerListeners) Copy() apihelper.IModelSet
- func (set LoadbalancerListeners) DBModelManager() db.IModelManager
- func (set LoadbalancerListeners) ModelManager() mcclient_modulebase.IBaseManager
- func (set LoadbalancerListeners) NewModel() db.IModel
- type LoadbalancerNetwork
- type LoadbalancerNetworks
- func (set LoadbalancerNetworks) AddModel(i db.IModel)
- func (set LoadbalancerNetworks) Copy() apihelper.IModelSet
- func (set LoadbalancerNetworks) DBModelManager() db.IModelManager
- func (set LoadbalancerNetworks) ModelManager() mcclient_modulebase.IBaseManager
- func (set LoadbalancerNetworks) NewModel() db.IModel
- type ModelSets
- func (mss *ModelSets) ApplyUpdates(mssNews apihelper.IModelSets) apihelper.ModelSetsUpdateResult
- func (mss *ModelSets) Copy() apihelper.IModelSets
- func (mss *ModelSets) CopyJoined() apihelper.IModelSets
- func (mss *ModelSets) FetchFromAPIMap(s *mcclient.ClientSession) (apihelper.IModelSets, error)
- func (mss *ModelSets) ModelSetList() []apihelper.IModelSet
- func (mss *ModelSets) NewEmpty() apihelper.IModelSets
- type ModelSetsMaxUpdatedAt
- type Network
- type NetworkAddress
- type NetworkAddresses
- type Networks
- func (set Networks) AddModel(i db.IModel)
- func (set Networks) Copy() apihelper.IModelSet
- func (set Networks) DBModelManager() db.IModelManager
- func (set Networks) ModelManager() mcclient_modulebase.IBaseManager
- func (set Networks) ModelParamFilter() jsonutils.JSONObject
- func (set Networks) NewModel() db.IModel
- type RouteTable
- type RouteTables
- type SecurityGroup
- type SecurityGroupRule
- type SecurityGroupRules
- func (set SecurityGroupRules) AddModel(i db.IModel)
- func (set SecurityGroupRules) Copy() apihelper.IModelSet
- func (set SecurityGroupRules) DBModelManager() db.IModelManager
- func (set SecurityGroupRules) ModelManager() mcclient_modulebase.IBaseManager
- func (set SecurityGroupRules) NewModel() db.IModel
- type SecurityGroups
- type Vpc
- type Vpcs
- type Wire
- type Wires
- func (set Wires) AddModel(i db.IModel)
- func (set Wires) Copy() apihelper.IModelSet
- func (set Wires) DBModelManager() db.IModelManager
- func (set Wires) IncludeEmulated() bool
- func (set Wires) ModelManager() mcclient_modulebase.IBaseManager
- func (set Wires) ModelParamFilter() jsonutils.JSONObject
- func (set Wires) NewModel() db.IModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SecurityGroupRuleLessFunc ¶
func SecurityGroupRuleLessFunc(rs []*SecurityGroupRule) func(i, j int) bool
Types ¶
type DnsRecord ¶
type DnsRecord struct { compute_models.SDnsRecord DnsZone *DnsZone }
type DnsRecords ¶
func (DnsRecords) AddModel ¶
func (set DnsRecords) AddModel(i db.IModel)
func (DnsRecords) Copy ¶
func (set DnsRecords) Copy() apihelper.IModelSet
func (DnsRecords) DBModelManager ¶
func (set DnsRecords) DBModelManager() db.IModelManager
func (DnsRecords) ModelManager ¶
func (set DnsRecords) ModelManager() mcclient_modulebase.IBaseManager
func (DnsRecords) NewModel ¶
func (set DnsRecords) NewModel() db.IModel
type DnsZone ¶
type DnsZone struct { compute_models.SDnsZone Records DnsRecords }
type DnsZones ¶
func (DnsZones) DBModelManager ¶
func (set DnsZones) DBModelManager() db.IModelManager
func (DnsZones) ModelManager ¶
func (set DnsZones) ModelManager() mcclient_modulebase.IBaseManager
type Elasticip ¶
type Elasticip struct { compute_models.SElasticip Network *Network `json:"-"` Guestnetwork *Guestnetwork `json:"-"` Groupnetwork *Groupnetwork `json:"-"` LoadbalancerNetwork *LoadbalancerNetwork `json:"-"` }
type Elasticips ¶
func (Elasticips) AddModel ¶
func (set Elasticips) AddModel(i db.IModel)
func (Elasticips) Copy ¶
func (set Elasticips) Copy() apihelper.IModelSet
func (Elasticips) DBModelManager ¶
func (set Elasticips) DBModelManager() db.IModelManager
func (Elasticips) ModelManager ¶
func (set Elasticips) ModelManager() mcclient_modulebase.IBaseManager
func (Elasticips) NewModel ¶
func (set Elasticips) NewModel() db.IModel
type Group ¶
type Group struct { compute_models.SGroup Groupguests Groupguests `json:"-"` Groupnetworks Groupnetworks `json:"-"` }
type Groupguest ¶
type Groupguest struct { compute_models.SGroupguest Group *Group `json:"-"` Guest *Guest `json:"-"` }
func (*Groupguest) Copy ¶
func (el *Groupguest) Copy() *Groupguest
type Groupguests ¶
type Groupguests map[string]*Groupguest
func (Groupguests) AddModel ¶
func (set Groupguests) AddModel(i db.IModel)
func (Groupguests) Copy ¶
func (set Groupguests) Copy() apihelper.IModelSet
func (Groupguests) DBModelManager ¶
func (set Groupguests) DBModelManager() db.IModelManager
func (Groupguests) ModelManager ¶
func (set Groupguests) ModelManager() mcclient_modulebase.IBaseManager
func (Groupguests) NewModel ¶
func (set Groupguests) NewModel() db.IModel
type Groupnetwork ¶
type Groupnetwork struct { compute_models.SGroupnetwork Network *Network `json:"-"` Group *Group `json:"-"` Elasticip *Elasticip `json:"-"` }
func (*Groupnetwork) Copy ¶
func (el *Groupnetwork) Copy() *Groupnetwork
func (*Groupnetwork) GetGuestNetworks ¶
func (el *Groupnetwork) GetGuestNetworks() []*Guestnetwork
type Groupnetworks ¶
type Groupnetworks map[string]*Groupnetwork
func (Groupnetworks) AddModel ¶
func (set Groupnetworks) AddModel(i db.IModel)
func (Groupnetworks) Copy ¶
func (set Groupnetworks) Copy() apihelper.IModelSet
func (Groupnetworks) DBModelManager ¶
func (set Groupnetworks) DBModelManager() db.IModelManager
func (Groupnetworks) ModelManager ¶
func (set Groupnetworks) ModelManager() mcclient_modulebase.IBaseManager
func (Groupnetworks) NewModel ¶
func (set Groupnetworks) NewModel() db.IModel
type Groups ¶
func (Groups) DBModelManager ¶
func (set Groups) DBModelManager() db.IModelManager
func (Groups) ModelManager ¶
func (set Groups) ModelManager() mcclient_modulebase.IBaseManager
type Guest ¶
type Guest struct { compute_models.SGuest Host *Host `json:"-"` AdminSecurityGroup *SecurityGroup `json:"-"` SecurityGroups SecurityGroups `json:"-"` Guestnetworks Guestnetworks `json:"-"` Groups Groups `json:"-"` }
func (*Guest) FixIsDefaults ¶
func (el *Guest) FixIsDefaults()
func (*Guest) OrderedSecurityGroupRules ¶
func (el *Guest) OrderedSecurityGroupRules() []*SecurityGroupRule
type Guestnetwork ¶
type Guestnetwork struct { compute_models.SGuestnetwork // Guest could be nil for when the guest is pending_deleted Guest *Guest `json:"-"` Network *Network `json:"-"` Elasticip *Elasticip `json:"-"` SubIPs NetworkAddresses `json:"-"` }
func (*Guestnetwork) Copy ¶
func (el *Guestnetwork) Copy() *Guestnetwork
type GuestnetworkList ¶
type GuestnetworkList []*Guestnetwork
func (GuestnetworkList) Len ¶
func (a GuestnetworkList) Len() int
func (GuestnetworkList) Less ¶
func (a GuestnetworkList) Less(i, j int) bool
func (GuestnetworkList) Swap ¶
func (a GuestnetworkList) Swap(i, j int)
type Guestnetworks ¶
type Guestnetworks map[string]*Guestnetwork // key: rowId
func (Guestnetworks) AddModel ¶
func (set Guestnetworks) AddModel(i db.IModel)
func (Guestnetworks) Copy ¶
func (set Guestnetworks) Copy() apihelper.IModelSet
func (Guestnetworks) DBModelManager ¶
func (set Guestnetworks) DBModelManager() db.IModelManager
func (Guestnetworks) ModelManager ¶
func (set Guestnetworks) ModelManager() mcclient_modulebase.IBaseManager
func (Guestnetworks) NewModel ¶
func (set Guestnetworks) NewModel() db.IModel
type Guests ¶
func (Guests) DBModelManager ¶
func (set Guests) DBModelManager() db.IModelManager
func (Guests) ModelManager ¶
func (set Guests) ModelManager() mcclient_modulebase.IBaseManager
func (Guests) ModelParamFilter ¶
func (set Guests) ModelParamFilter() jsonutils.JSONObject
type Guestsecgroup ¶
type Guestsecgroup struct { compute_models.SGuestsecgroup Guest *Guest `json:"-"` SecurityGroup *SecurityGroup `json:"-"` }
func (*Guestsecgroup) Copy ¶
func (el *Guestsecgroup) Copy() *Guestsecgroup
func (*Guestsecgroup) ModelSetKey ¶
func (el *Guestsecgroup) ModelSetKey() string
type Guestsecgroups ¶
type Guestsecgroups map[string]*Guestsecgroup // key: guestId/secgroupId
func (Guestsecgroups) AddModel ¶
func (set Guestsecgroups) AddModel(i db.IModel)
func (Guestsecgroups) Copy ¶
func (set Guestsecgroups) Copy() apihelper.IModelSet
func (Guestsecgroups) DBModelManager ¶
func (set Guestsecgroups) DBModelManager() db.IModelManager
func (Guestsecgroups) ModelManager ¶
func (set Guestsecgroups) ModelManager() mcclient_modulebase.IBaseManager
func (Guestsecgroups) NewModel ¶
func (set Guestsecgroups) NewModel() db.IModel
type Host ¶
type Host struct {
compute_models.SHost
}
type Hosts ¶
func (Hosts) DBModelManager ¶
func (set Hosts) DBModelManager() db.IModelManager
func (Hosts) ModelManager ¶
func (set Hosts) ModelManager() mcclient_modulebase.IBaseManager
func (Hosts) ModelParamFilter ¶
func (set Hosts) ModelParamFilter() jsonutils.JSONObject
type LoadbalancerAcl ¶
type LoadbalancerAcl struct {
compute_models.SLoadbalancerAcl
}
func (*LoadbalancerAcl) Copy ¶
func (el *LoadbalancerAcl) Copy() *LoadbalancerAcl
type LoadbalancerAcls ¶
type LoadbalancerAcls map[string]*LoadbalancerAcl
func (LoadbalancerAcls) AddModel ¶
func (set LoadbalancerAcls) AddModel(i db.IModel)
func (LoadbalancerAcls) Copy ¶
func (set LoadbalancerAcls) Copy() apihelper.IModelSet
func (LoadbalancerAcls) DBModelManager ¶
func (set LoadbalancerAcls) DBModelManager() db.IModelManager
func (LoadbalancerAcls) ModelManager ¶
func (set LoadbalancerAcls) ModelManager() mcclient_modulebase.IBaseManager
func (LoadbalancerAcls) NewModel ¶
func (set LoadbalancerAcls) NewModel() db.IModel
type LoadbalancerListener ¶
type LoadbalancerListener struct { compute_models.SLoadbalancerListener LoadbalancerAcl *LoadbalancerAcl `json:"-"` }
func (*LoadbalancerListener) Copy ¶
func (el *LoadbalancerListener) Copy() *LoadbalancerListener
type LoadbalancerListeners ¶
type LoadbalancerListeners map[string]*LoadbalancerListener
func (LoadbalancerListeners) AddModel ¶
func (set LoadbalancerListeners) AddModel(i db.IModel)
func (LoadbalancerListeners) Copy ¶
func (set LoadbalancerListeners) Copy() apihelper.IModelSet
func (LoadbalancerListeners) DBModelManager ¶
func (set LoadbalancerListeners) DBModelManager() db.IModelManager
func (LoadbalancerListeners) ModelManager ¶
func (set LoadbalancerListeners) ModelManager() mcclient_modulebase.IBaseManager
func (LoadbalancerListeners) NewModel ¶
func (set LoadbalancerListeners) NewModel() db.IModel
type LoadbalancerNetwork ¶
type LoadbalancerNetwork struct { compute_models.SLoadbalancerNetwork Network *Network `json:"-"` Elasticip *Elasticip `json:"-"` LoadbalancerListeners LoadbalancerListeners `json:"-"` }
func (*LoadbalancerNetwork) Copy ¶
func (el *LoadbalancerNetwork) Copy() *LoadbalancerNetwork
func (*LoadbalancerNetwork) OrderedLoadbalancerListeners ¶
func (el *LoadbalancerNetwork) OrderedLoadbalancerListeners() []*LoadbalancerListener
type LoadbalancerNetworks ¶
type LoadbalancerNetworks map[string]*LoadbalancerNetwork // key: networkId/loadbalancerId
func (LoadbalancerNetworks) AddModel ¶
func (set LoadbalancerNetworks) AddModel(i db.IModel)
func (LoadbalancerNetworks) Copy ¶
func (set LoadbalancerNetworks) Copy() apihelper.IModelSet
func (LoadbalancerNetworks) DBModelManager ¶
func (set LoadbalancerNetworks) DBModelManager() db.IModelManager
func (LoadbalancerNetworks) ModelManager ¶
func (set LoadbalancerNetworks) ModelManager() mcclient_modulebase.IBaseManager
func (LoadbalancerNetworks) NewModel ¶
func (set LoadbalancerNetworks) NewModel() db.IModel
type ModelSets ¶
type ModelSets struct { Vpcs Vpcs Wires Wires Networks Networks Guests Guests Hosts Hosts SecurityGroups SecurityGroups SecurityGroupRules SecurityGroupRules Guestnetworks Guestnetworks Guestsecgroups Guestsecgroups Elasticips Elasticips NetworkAddresses NetworkAddresses DnsZones DnsZones DnsRecords DnsRecords RouteTables RouteTables Groupguests Groupguests Groupnetworks Groupnetworks Groups Groups LoadbalancerNetworks LoadbalancerNetworks LoadbalancerListeners LoadbalancerListeners LoadbalancerAcls LoadbalancerAcls }
func NewModelSets ¶
func NewModelSets() *ModelSets
func (*ModelSets) ApplyUpdates ¶
func (mss *ModelSets) ApplyUpdates(mssNews apihelper.IModelSets) apihelper.ModelSetsUpdateResult
func (*ModelSets) Copy ¶
func (mss *ModelSets) Copy() apihelper.IModelSets
func (*ModelSets) CopyJoined ¶
func (mss *ModelSets) CopyJoined() apihelper.IModelSets
func (*ModelSets) FetchFromAPIMap ¶
func (mss *ModelSets) FetchFromAPIMap(s *mcclient.ClientSession) (apihelper.IModelSets, error)
func (*ModelSets) ModelSetList ¶
func (*ModelSets) NewEmpty ¶
func (mss *ModelSets) NewEmpty() apihelper.IModelSets
type ModelSetsMaxUpdatedAt ¶
type ModelSetsMaxUpdatedAt struct { Vpcs time.Time Wires time.Time Networks time.Time Guests time.Time Hosts time.Time SecurityGroups time.Time SecurityGroupRules time.Time Guestnetworks time.Time Guestsecgroups time.Time Elasticips time.Time NetworkAddresses time.Time DnsZones time.Time DnsRecords time.Time RouteTables time.Time Groupguests time.Time Groupnetworks time.Time LoadbalancerNetworks time.Time LoadbalancerListeners time.Time LoadbalancerAcls time.Time }
func NewModelSetsMaxUpdatedAt ¶
func NewModelSetsMaxUpdatedAt() *ModelSetsMaxUpdatedAt
type Network ¶
type Network struct { compute_models.SNetwork Vpc *Vpc `json:"-"` Wire *Wire `json:"-"` Guestnetworks Guestnetworks `json:"-"` Groupnetworks Groupnetworks `json:"-"` LoadbalancerNetworks LoadbalancerNetworks `json:"-"` Elasticips Elasticips `json:"-"` }
type NetworkAddress ¶
type NetworkAddress struct { compute_models.SNetworkAddress Guestnetwork *Guestnetwork `json:"-"` Network *Network `json:"-"` }
func (*NetworkAddress) Copy ¶
func (el *NetworkAddress) Copy() *NetworkAddress
type NetworkAddresses ¶
type NetworkAddresses map[string]*NetworkAddress
func (NetworkAddresses) AddModel ¶
func (set NetworkAddresses) AddModel(i db.IModel)
func (NetworkAddresses) Copy ¶
func (set NetworkAddresses) Copy() apihelper.IModelSet
func (NetworkAddresses) DBModelManager ¶
func (set NetworkAddresses) DBModelManager() db.IModelManager
func (NetworkAddresses) ModelManager ¶
func (set NetworkAddresses) ModelManager() mcclient_modulebase.IBaseManager
func (NetworkAddresses) NewModel ¶
func (set NetworkAddresses) NewModel() db.IModel
type Networks ¶
func (Networks) DBModelManager ¶
func (set Networks) DBModelManager() db.IModelManager
func (Networks) ModelManager ¶
func (set Networks) ModelManager() mcclient_modulebase.IBaseManager
func (Networks) ModelParamFilter ¶
func (set Networks) ModelParamFilter() jsonutils.JSONObject
type RouteTable ¶
type RouteTable struct { compute_models.SRouteTable Vpc *Vpc }
func (*RouteTable) Copy ¶
func (el *RouteTable) Copy() *RouteTable
type RouteTables ¶
type RouteTables map[string]*RouteTable
func (RouteTables) AddModel ¶
func (set RouteTables) AddModel(i db.IModel)
func (RouteTables) Copy ¶
func (set RouteTables) Copy() apihelper.IModelSet
func (RouteTables) DBModelManager ¶
func (set RouteTables) DBModelManager() db.IModelManager
func (RouteTables) ModelManager ¶
func (set RouteTables) ModelManager() mcclient_modulebase.IBaseManager
func (RouteTables) NewModel ¶
func (set RouteTables) NewModel() db.IModel
type SecurityGroup ¶
type SecurityGroup struct { compute_models.SSecurityGroup SecurityGroupRules SecurityGroupRules `json:"-"` }
func (*SecurityGroup) Copy ¶
func (el *SecurityGroup) Copy() *SecurityGroup
type SecurityGroupRule ¶
type SecurityGroupRule struct { compute_models.SSecurityGroupRule SecurityGroup *SecurityGroup `json:"-"` }
func (*SecurityGroupRule) Copy ¶
func (el *SecurityGroupRule) Copy() *SecurityGroupRule
type SecurityGroupRules ¶
type SecurityGroupRules map[string]*SecurityGroupRule
func (SecurityGroupRules) AddModel ¶
func (set SecurityGroupRules) AddModel(i db.IModel)
func (SecurityGroupRules) Copy ¶
func (set SecurityGroupRules) Copy() apihelper.IModelSet
func (SecurityGroupRules) DBModelManager ¶
func (set SecurityGroupRules) DBModelManager() db.IModelManager
func (SecurityGroupRules) ModelManager ¶
func (set SecurityGroupRules) ModelManager() mcclient_modulebase.IBaseManager
func (SecurityGroupRules) NewModel ¶
func (set SecurityGroupRules) NewModel() db.IModel
type SecurityGroups ¶
type SecurityGroups map[string]*SecurityGroup
func (SecurityGroups) AddModel ¶
func (set SecurityGroups) AddModel(i db.IModel)
func (SecurityGroups) Copy ¶
func (set SecurityGroups) Copy() apihelper.IModelSet
func (SecurityGroups) DBModelManager ¶
func (set SecurityGroups) DBModelManager() db.IModelManager
func (SecurityGroups) ModelManager ¶
func (set SecurityGroups) ModelManager() mcclient_modulebase.IBaseManager
func (SecurityGroups) NewModel ¶
func (set SecurityGroups) NewModel() db.IModel
type Vpc ¶
type Vpc struct { compute_models.SVpc RouteTable *RouteTable `json:"-"` Wire *Wire `json:"-"` Networks Networks `json:"-"` }
type Vpcs ¶
func (Vpcs) DBModelManager ¶
func (set Vpcs) DBModelManager() db.IModelManager
func (Vpcs) ModelManager ¶
func (set Vpcs) ModelManager() mcclient_modulebase.IBaseManager
func (Vpcs) ModelParamFilter ¶
func (set Vpcs) ModelParamFilter() jsonutils.JSONObject
type Wire ¶
type Wire struct { compute_models.SWire Vpc *Vpc }
type Wires ¶
func (Wires) DBModelManager ¶
func (set Wires) DBModelManager() db.IModelManager
func (Wires) IncludeEmulated ¶
func (Wires) ModelManager ¶
func (set Wires) ModelManager() mcclient_modulebase.IBaseManager
func (Wires) ModelParamFilter ¶
func (set Wires) ModelParamFilter() jsonutils.JSONObject
Click to show internal directories.
Click to hide internal directories.