Documentation ¶
Index ¶
Constants ¶
View Source
const ( // k8s annotations for create pod YUNION_CNI_NETWORK_ANNOTATION = "cni.yunion.io/network" YUNION_CNI_IPADDR_ANNOTATION = "cni.yunion.io/ip" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostStatusPredicate ¶
type HostStatusPredicate struct{}
func (*HostStatusPredicate) Clone ¶
func (p *HostStatusPredicate) Clone() IPredicate
func (*HostStatusPredicate) Name ¶
func (p *HostStatusPredicate) Name() string
func (*HostStatusPredicate) PreExecute ¶
type IPredicate ¶
type NetworkPredicate ¶
type NetworkPredicate struct {
// contains filtered or unexported fields
}
func (*NetworkPredicate) Clone ¶
func (p *NetworkPredicate) Clone() IPredicate
func (*NetworkPredicate) Name ¶
func (p *NetworkPredicate) Name() string
func (*NetworkPredicate) PreExecute ¶
type SPredicatesManager ¶
type SPredicatesManager struct {
// contains filtered or unexported fields
}
var PredicatesManager *SPredicatesManager
func (*SPredicatesManager) Has ¶
func (man *SPredicatesManager) Has(newPre IPredicate) bool
func (*SPredicatesManager) Register ¶
func (man *SPredicatesManager) Register(pres ...IPredicate) *SPredicatesManager
Click to show internal directories.
Click to hide internal directories.