Documentation ¶
Index ¶
- func SecurityGroupRuleLessFunc(rs []*SecurityGroupRule) func(i, j int) bool
- type DnsRecord
- type DnsRecords
- type Elasticip
- type Elasticips
- type Group
- type Groupguest
- type Groupguests
- type Groupnetwork
- type Groupnetworks
- type Groups
- type Guest
- type Guestnetwork
- type Guestnetworks
- type Guests
- type Guestsecgroup
- type Guestsecgroups
- type Host
- type Hosts
- type LoadbalancerAcl
- type LoadbalancerAcls
- type LoadbalancerListener
- type LoadbalancerListeners
- type LoadbalancerNetwork
- type LoadbalancerNetworks
- 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) ModelSetList() []apihelper.IModelSet
- func (mss *ModelSets) NewEmpty() apihelper.IModelSets
- type ModelSetsMaxUpdatedAt
- type Network
- type NetworkAddress
- type NetworkAddresses
- type Networks
- type RouteTable
- type RouteTables
- type SecurityGroup
- type SecurityGroupRule
- type SecurityGroupRules
- type SecurityGroups
- type Vpc
- type Vpcs
- type Wire
- type Wires
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
}
type DnsRecords ¶
func (DnsRecords) AddModel ¶
func (set DnsRecords) AddModel(i db.IModel)
func (DnsRecords) Copy ¶
func (set DnsRecords) Copy() apihelper.IModelSet
func (DnsRecords) ModelManager ¶
func (set DnsRecords) ModelManager() mcclient_modulebase.IBaseManager
func (DnsRecords) NewModel ¶
func (set DnsRecords) NewModel() db.IModel
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) 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) 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) ModelManager ¶
func (set Groupnetworks) ModelManager() mcclient_modulebase.IBaseManager
func (Groupnetworks) NewModel ¶
func (set Groupnetworks) NewModel() db.IModel
type Groups ¶
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) 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 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) ModelManager ¶
func (set Guestnetworks) ModelManager() mcclient_modulebase.IBaseManager
func (Guestnetworks) NewModel ¶
func (set Guestnetworks) NewModel() db.IModel
type Guests ¶
func (Guests) ModelManager ¶
func (set Guests) ModelManager() mcclient_modulebase.IBaseManager
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) 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) ModelManager ¶
func (set Hosts) ModelManager() mcclient_modulebase.IBaseManager
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) 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) 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) 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 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) 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 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) ModelManager ¶
func (set NetworkAddresses) ModelManager() mcclient_modulebase.IBaseManager
func (NetworkAddresses) NewModel ¶
func (set NetworkAddresses) NewModel() db.IModel
type Networks ¶
func (Networks) ModelManager ¶
func (set Networks) ModelManager() mcclient_modulebase.IBaseManager
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) 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) 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) 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) ModelManager ¶
func (set Vpcs) ModelManager() mcclient_modulebase.IBaseManager
type Wire ¶
type Wire struct { compute_models.SWire Vpc *Vpc }
type Wires ¶
func (Wires) IncludeEmulated ¶
func (Wires) ModelManager ¶
func (set Wires) ModelManager() mcclient_modulebase.IBaseManager
Click to show internal directories.
Click to hide internal directories.