Documentation ¶
Index ¶
- func GetNodeObject(clientset *kubernetes.Clientset, hostnameOverride string) (*apiv1.Node, error)
- func GetPodCidrFromCniSpec(cniConfFilePath string) (net.IPNet, error)
- func GetPodCidrFromNodeSpec(clientset *kubernetes.Clientset, hostnameOverride string) (string, error)
- func InsertPodCidrInCniSpec(cniConfFilePath string, cidr string) error
- type Broadcaster
- type Listener
- type ListenerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNodeObject ¶ added in v0.0.5
func GetPodCidrFromNodeSpec ¶
func GetPodCidrFromNodeSpec(clientset *kubernetes.Clientset, hostnameOverride string) (string, error)
func InsertPodCidrInCniSpec ¶
Types ¶
type Broadcaster ¶
type Broadcaster struct {
// contains filtered or unexported fields
}
func NewBroadcaster ¶
func NewBroadcaster() *Broadcaster
func (*Broadcaster) Add ¶
func (b *Broadcaster) Add(listener Listener)
func (*Broadcaster) Notify ¶
func (b *Broadcaster) Notify(instance interface{})
type ListenerFunc ¶
type ListenerFunc func(instance interface{})
func (ListenerFunc) OnUpdate ¶
func (f ListenerFunc) OnUpdate(instance interface{})
Click to show internal directories.
Click to hide internal directories.