Documentation ¶
Index ¶
- type OsdnRegistryInterface
- func (oi *OsdnRegistryInterface) CreateSubnet(nodeName string, sub *osdnapi.Subnet) error
- func (oi *OsdnRegistryInterface) DeleteNetNamespace(name string) error
- func (oi *OsdnRegistryInterface) DeleteSubnet(nodeName string) error
- func (oi *OsdnRegistryInterface) GetClusterNetworkCIDR() (string, error)
- func (oi *OsdnRegistryInterface) GetNamespaces() ([]string, string, error)
- func (oi *OsdnRegistryInterface) GetNetNamespace(name string) (osdnapi.NetNamespace, error)
- func (oi *OsdnRegistryInterface) GetNetNamespaces() ([]osdnapi.NetNamespace, string, error)
- func (oi *OsdnRegistryInterface) GetNodes() ([]osdnapi.Node, string, error)
- func (oi *OsdnRegistryInterface) GetPods() ([]osdnapi.Pod, string, error)
- func (oi *OsdnRegistryInterface) GetRunningPods(nodeName, namespace string) ([]osdnapi.Pod, error)
- func (oi *OsdnRegistryInterface) GetServices() ([]osdnapi.Service, string, error)
- func (oi *OsdnRegistryInterface) GetServicesForNamespace(namespace string) ([]osdnapi.Service, error)
- func (oi *OsdnRegistryInterface) GetServicesNetworkCIDR() (string, error)
- func (oi *OsdnRegistryInterface) GetSubnet(nodeName string) (*osdnapi.Subnet, error)
- func (oi *OsdnRegistryInterface) GetSubnets() ([]osdnapi.Subnet, string, error)
- func (oi *OsdnRegistryInterface) OnEndpointsUpdate(allEndpoints []kapi.Endpoints)
- func (oi *OsdnRegistryInterface) SetBaseEndpointsHandler(base pconfig.EndpointsConfigHandler)
- func (oi *OsdnRegistryInterface) WatchNamespaces(receiver chan<- *osdnapi.NamespaceEvent, ready chan<- bool, ...) error
- func (oi *OsdnRegistryInterface) WatchNetNamespaces(receiver chan<- *osdnapi.NetNamespaceEvent, ready chan<- bool, ...) error
- func (oi *OsdnRegistryInterface) WatchNodes(receiver chan<- *osdnapi.NodeEvent, ready chan<- bool, start <-chan string, ...) error
- func (oi *OsdnRegistryInterface) WatchPods(ready chan<- bool, start <-chan string, stop <-chan bool) error
- func (oi *OsdnRegistryInterface) WatchServices(receiver chan<- *osdnapi.ServiceEvent, ready chan<- bool, start <-chan string, ...) error
- func (oi *OsdnRegistryInterface) WatchSubnets(receiver chan<- *osdnapi.SubnetEvent, ready chan<- bool, start <-chan string, ...) error
- func (oi *OsdnRegistryInterface) WriteNetNamespace(name string, id uint) error
- func (oi *OsdnRegistryInterface) WriteNetworkConfig(network string, subnetLength uint, serviceNetwork string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OsdnRegistryInterface ¶
type OsdnRegistryInterface struct {
// contains filtered or unexported fields
}
func NewOsdnRegistryInterface ¶
func NewOsdnRegistryInterface(osClient *osclient.Client, kClient *kclient.Client) *OsdnRegistryInterface
func (*OsdnRegistryInterface) CreateSubnet ¶
func (oi *OsdnRegistryInterface) CreateSubnet(nodeName string, sub *osdnapi.Subnet) error
func (*OsdnRegistryInterface) DeleteNetNamespace ¶
func (oi *OsdnRegistryInterface) DeleteNetNamespace(name string) error
func (*OsdnRegistryInterface) DeleteSubnet ¶
func (oi *OsdnRegistryInterface) DeleteSubnet(nodeName string) error
func (*OsdnRegistryInterface) GetClusterNetworkCIDR ¶
func (oi *OsdnRegistryInterface) GetClusterNetworkCIDR() (string, error)
func (*OsdnRegistryInterface) GetNamespaces ¶
func (oi *OsdnRegistryInterface) GetNamespaces() ([]string, string, error)
func (*OsdnRegistryInterface) GetNetNamespace ¶
func (oi *OsdnRegistryInterface) GetNetNamespace(name string) (osdnapi.NetNamespace, error)
func (*OsdnRegistryInterface) GetNetNamespaces ¶
func (oi *OsdnRegistryInterface) GetNetNamespaces() ([]osdnapi.NetNamespace, string, error)
func (*OsdnRegistryInterface) GetNodes ¶
func (oi *OsdnRegistryInterface) GetNodes() ([]osdnapi.Node, string, error)
func (*OsdnRegistryInterface) GetPods ¶
func (oi *OsdnRegistryInterface) GetPods() ([]osdnapi.Pod, string, error)
func (*OsdnRegistryInterface) GetRunningPods ¶
func (oi *OsdnRegistryInterface) GetRunningPods(nodeName, namespace string) ([]osdnapi.Pod, error)
func (*OsdnRegistryInterface) GetServices ¶
func (oi *OsdnRegistryInterface) GetServices() ([]osdnapi.Service, string, error)
func (*OsdnRegistryInterface) GetServicesForNamespace ¶
func (oi *OsdnRegistryInterface) GetServicesForNamespace(namespace string) ([]osdnapi.Service, error)
func (*OsdnRegistryInterface) GetServicesNetworkCIDR ¶
func (oi *OsdnRegistryInterface) GetServicesNetworkCIDR() (string, error)
func (*OsdnRegistryInterface) GetSubnet ¶
func (oi *OsdnRegistryInterface) GetSubnet(nodeName string) (*osdnapi.Subnet, error)
func (*OsdnRegistryInterface) GetSubnets ¶
func (oi *OsdnRegistryInterface) GetSubnets() ([]osdnapi.Subnet, string, error)
func (*OsdnRegistryInterface) OnEndpointsUpdate ¶
func (oi *OsdnRegistryInterface) OnEndpointsUpdate(allEndpoints []kapi.Endpoints)
func (*OsdnRegistryInterface) SetBaseEndpointsHandler ¶
func (oi *OsdnRegistryInterface) SetBaseEndpointsHandler(base pconfig.EndpointsConfigHandler)
FilteringEndpointsConfigHandler implementation
func (*OsdnRegistryInterface) WatchNamespaces ¶
func (oi *OsdnRegistryInterface) WatchNamespaces(receiver chan<- *osdnapi.NamespaceEvent, ready chan<- bool, start <-chan string, stop <-chan bool) error
func (*OsdnRegistryInterface) WatchNetNamespaces ¶
func (oi *OsdnRegistryInterface) WatchNetNamespaces(receiver chan<- *osdnapi.NetNamespaceEvent, ready chan<- bool, start <-chan string, stop <-chan bool) error
func (*OsdnRegistryInterface) WatchNodes ¶
func (*OsdnRegistryInterface) WatchPods ¶
func (oi *OsdnRegistryInterface) WatchPods(ready chan<- bool, start <-chan string, stop <-chan bool) error
func (*OsdnRegistryInterface) WatchServices ¶
func (oi *OsdnRegistryInterface) WatchServices(receiver chan<- *osdnapi.ServiceEvent, ready chan<- bool, start <-chan string, stop <-chan bool) error
func (*OsdnRegistryInterface) WatchSubnets ¶
func (oi *OsdnRegistryInterface) WatchSubnets(receiver chan<- *osdnapi.SubnetEvent, ready chan<- bool, start <-chan string, stop <-chan bool) error
func (*OsdnRegistryInterface) WriteNetNamespace ¶
func (oi *OsdnRegistryInterface) WriteNetNamespace(name string, id uint) error
func (*OsdnRegistryInterface) WriteNetworkConfig ¶
func (oi *OsdnRegistryInterface) WriteNetworkConfig(network string, subnetLength uint, serviceNetwork string) error
Click to show internal directories.
Click to hide internal directories.