cloudmanaged_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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudManagedEgressIPProvisioner

type CloudManagedEgressIPProvisioner struct {
	Log logr.Logger
	// Cloud is the low level interface to the cloudprovider for managing IPs on instances.
	Cloud cloudprovider.CloudProvider
	// OpenShift is the static Egress IP provisioner which is called internally for managing the OCP part of the IP management.
	OpenShift ocp_static_provisioner.OcpStaticEgressIPProvisioner
}

func (CloudManagedEgressIPProvisioner) AddRandomIP

func (a CloudManagedEgressIPProvisioner) AddRandomIP(ctx context.Context, hostName string) (*net.IP, error)

func (CloudManagedEgressIPProvisioner) AddSpecifiedIP

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

func (CloudManagedEgressIPProvisioner) AssignCIDR

func (CloudManagedEgressIPProvisioner) CheckIP

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

func (CloudManagedEgressIPProvisioner) FindHostForNewIP

func (a CloudManagedEgressIPProvisioner) FindHostForNewIP(ctx context.Context, failureDomain string) (string, error)

func (CloudManagedEgressIPProvisioner) MoveIP

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

func (CloudManagedEgressIPProvisioner) RemoveIP

func (a CloudManagedEgressIPProvisioner) 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