Documentation ¶
Overview ¶
Package master contains the OpenShift SDN code that runs on the master
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNodeCondition ¶
func GetNodeCondition(status *kapi.NodeStatus, conditionType kapi.NodeConditionType) (int, *kapi.NodeCondition)
TODO remove this and switch to external GetNodeCondition extracts the provided condition from the given status and returns that. Returns nil and -1 if the condition is not present, and the index of the located condition.
func Start ¶
func Start(networkConfig osconfigapi.MasterNetworkConfig, networkClient networkclient.Interface, kClient kclientset.Interface, informers kinternalinformers.SharedInformerFactory) error
Types ¶
type OsdnMaster ¶
type OsdnMaster struct {
// contains filtered or unexported fields
}
func (*OsdnMaster) SubnetStartMaster ¶
func (master *OsdnMaster) SubnetStartMaster(clusterNetwork *net.IPNet, hostSubnetLength uint32) error
func (*OsdnMaster) VnidStartMaster ¶
func (master *OsdnMaster) VnidStartMaster() error
Click to show internal directories.
Click to hide internal directories.