ocp_static_provisioner

package
v0.0.0-...-24ed54c Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OcpStaticEgressIPProvisioner

type OcpStaticEgressIPProvisioner struct {
	client.Client

	Log logr.Logger
}

The OcpStaticEgressIPProvisioner will manage the IP on the hosts by assigning free IPs from the failure-domain.

func (OcpStaticEgressIPProvisioner) AddRandomIP

func (o OcpStaticEgressIPProvisioner) AddRandomIP(ctx context.Context, hostName string) (*net.IP, error)

func (OcpStaticEgressIPProvisioner) AddSpecifiedIP

func (o OcpStaticEgressIPProvisioner) AddSpecifiedIP(ctx context.Context, ip *net.IP, hostName string) error

func (OcpStaticEgressIPProvisioner) AssignCIDR

func (OcpStaticEgressIPProvisioner) CheckIP

func (o OcpStaticEgressIPProvisioner) CheckIP(ctx context.Context, ip *net.IP, hostName string) error

func (OcpStaticEgressIPProvisioner) FindHostForNewIP

func (o OcpStaticEgressIPProvisioner) FindHostForNewIP(ctx context.Context, failureDomain string) (string, error)

func (OcpStaticEgressIPProvisioner) MoveIP

func (o OcpStaticEgressIPProvisioner) MoveIP(ctx context.Context, ip *net.IP, oldHostName string, newHostName string) error

func (OcpStaticEgressIPProvisioner) RemoveIP

func (o OcpStaticEgressIPProvisioner) RemoveIP(ctx context.Context, ip *net.IP, hostName string) error

Jump to

Keyboard shortcuts

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