remote

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2016 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProbeNetworkProviders

func ProbeNetworkProviders(remoteAddr string) error

Types

type RemoteProvider added in v0.4.0

type RemoteProvider struct {
	// contains filtered or unexported fields
}

func (*RemoteProvider) CheckTenantID added in v0.4.0

func (r *RemoteProvider) CheckTenantID(tenantID string) (bool, error)

func (*RemoteProvider) CreateLoadBalancer added in v0.4.0

func (r *RemoteProvider) CreateLoadBalancer(loadBalancer *types.LoadBalancer, affinity api.ServiceAffinity) (string, error)

Create load balancer, return vip

func (*RemoteProvider) CreateNetwork added in v0.4.0

func (r *RemoteProvider) CreateNetwork(network *types.Network) error

Create network

func (*RemoteProvider) DeleteLoadBalancer added in v0.4.0

func (r *RemoteProvider) DeleteLoadBalancer(name string) error

Delete load balancer

func (*RemoteProvider) DeleteNetwork added in v0.4.0

func (r *RemoteProvider) DeleteNetwork(networkName string) error

Delete network by networkName

func (*RemoteProvider) GetLoadBalancer added in v0.4.0

func (r *RemoteProvider) GetLoadBalancer(name string) (*types.LoadBalancer, error)

Get load balancer by name

func (*RemoteProvider) GetNetwork added in v0.4.0

func (r *RemoteProvider) GetNetwork(networkName string) (*types.Network, error)

Get network by networkName

func (*RemoteProvider) GetNetworkByID added in v0.4.0

func (r *RemoteProvider) GetNetworkByID(networkID string) (*types.Network, error)

Get network by networkID

func (*RemoteProvider) LoadBalancers added in v0.4.0

func (r *RemoteProvider) LoadBalancers() networkprovider.LoadBalancers

LoadBalancer interface is self

func (*RemoteProvider) Networks added in v0.4.0

func (r *RemoteProvider) Networks() networkprovider.Networks

Network interface is self

func (*RemoteProvider) PodStatus added in v0.4.0

func (r *RemoteProvider) PodStatus(podName, namespace, podInfraContainerID string, network *types.Network, containerRuntime string) (string, error)

Status of pod

func (*RemoteProvider) Pods added in v0.4.0

Pods interface is self

func (*RemoteProvider) ProviderName added in v0.4.0

func (r *RemoteProvider) ProviderName() string

func (*RemoteProvider) SetupPod added in v0.4.0

func (r *RemoteProvider) SetupPod(podName, namespace, podInfraContainerID string, network *types.Network, containerRuntime string) error

Setup pod

func (*RemoteProvider) TeardownPod added in v0.4.0

func (r *RemoteProvider) TeardownPod(podName, namespace, podInfraContainerID string, network *types.Network, containerRuntime string) error

Teardown pod

func (*RemoteProvider) UpdateLoadBalancer added in v0.4.0

func (r *RemoteProvider) UpdateLoadBalancer(name string, hosts []*types.HostPort, externalIPs []string) (string, error)

Update load balancer, return externalIP

func (*RemoteProvider) UpdateNetwork added in v0.4.0

func (r *RemoteProvider) UpdateNetwork(network *types.Network) error

Update network

Jump to

Keyboard shortcuts

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