osdn

package
v1.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2015 License: Apache-2.0 Imports: 22 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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 (oi *OsdnRegistryInterface) WatchNodes(receiver chan<- *osdnapi.NodeEvent, ready chan<- bool, start <-chan string, stop <-chan bool) error

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL