Documentation ¶
Index ¶
- func ProbeNetworkProviders(remoteAddr string) error
- type RemoteProvider
- func (r *RemoteProvider) CheckTenantID(tenantID string) (bool, error)
- func (r *RemoteProvider) CreateLoadBalancer(loadBalancer *types.LoadBalancer, affinity api.ServiceAffinity) (string, error)
- func (r *RemoteProvider) CreateNetwork(network *types.Network) error
- func (r *RemoteProvider) DeleteLoadBalancer(name string) error
- func (r *RemoteProvider) DeleteNetwork(networkName string) error
- func (r *RemoteProvider) GetLoadBalancer(name string) (*types.LoadBalancer, error)
- func (r *RemoteProvider) GetNetwork(networkName string) (*types.Network, error)
- func (r *RemoteProvider) GetNetworkByID(networkID string) (*types.Network, error)
- func (r *RemoteProvider) LoadBalancers() networkprovider.LoadBalancers
- func (r *RemoteProvider) Networks() networkprovider.Networks
- func (r *RemoteProvider) PodStatus(podName, namespace, podInfraContainerID string, network *types.Network, ...) (string, error)
- func (r *RemoteProvider) Pods() networkprovider.Pods
- func (r *RemoteProvider) ProviderName() string
- func (r *RemoteProvider) SetupPod(podName, namespace, podInfraContainerID string, network *types.Network, ...) error
- func (r *RemoteProvider) TeardownPod(podName, namespace, podInfraContainerID string, network *types.Network, ...) error
- func (r *RemoteProvider) UpdateLoadBalancer(name string, hosts []*types.HostPort, externalIPs []string) (string, error)
- func (r *RemoteProvider) UpdateNetwork(network *types.Network) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProbeNetworkProviders ¶
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
func (r *RemoteProvider) Pods() networkprovider.Pods
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
Click to show internal directories.
Click to hide internal directories.